View Full Version : Lich Quirks
DevNull
04-18-2006, 09:29 PM
I have noticed the following quirk with lich when running wizard's scripts. The counter variable is not working properly:
#testwiz.cmd
counter set 10
echo counter is %c
counter add -1
echo counter is %c
counter add -2
echo counter is %c
>;w testwiz
--- Lich: testwiz.cmd active.
[testwiz.cmd: counter is 10]
[testwiz.cmd: counter is 11]
[testwiz.cmd: counter is 13]
--- Lich: testwiz.cmd has finished.
Latest version, windows XP.
I'll keep posting more quirks for debugging as I find them. Oh and in case it's not obvious, this is a great program. Keep up the good work. :)
Sean of the Thread
04-18-2006, 09:54 PM
Did you also notice that your account is going to be hacked soon?
Bobmuhthol
04-18-2006, 10:09 PM
It's Lich's fault that you used add instead of subtract, I guess.
DevNull
04-18-2006, 11:19 PM
It's Lich's fault that you used add instead of subtract, I guess.
I'm posting a quirk. It's a small bug by any account, but it is nontheless a bug. Adding a negative number should work in a scripting language.
DevNull
04-18-2006, 11:26 PM
When dying, I am getting the following error message:
[..]
...departing in 10 mins...
[..]
[infomonitor: can't convert Fixnum into String]
After looking at infomonitor, the error happens when you call
Spell[6666].putup
changing the previous line
Spell.new(6666, 'Decaying', 0, 0, '1', 'IdoNOTexiStDonOTMatcHmE!!','IdoNOTexiStDonOTMatcH mE!!')
into
dur='0';cost='0';misc='1'
Spell.new(6666, 'Decaying', dur, cost, misc, 'IdoNOTexiStDonOTMatcHmE!!','IdoNOTexiStDonOTMatcH mE!!')
fixes the problem. I have not seen the code for Spell.putup, but I'm assuming it uses some sort of eval procedure that just isn't liking the 'plain' 0s there.
Shaelun
04-19-2006, 02:39 PM
What is it with you, Xyelin; that's three separate times in three separate threads you've claimed I wrote Lich to hack accounts. It might help your position if you like, oh, I dunno... provided some explanation or evidence or something like that. Either provide some sort of reasoning for your claims or stop babbling about it, would you.
Anyway. On the "counter add -2" thing: you're right, technically it's something that should be handled properly but that obviously isn't. I never considered somebody trying that... well, fixed it for the next update; thanks for pointing it out to me.
That infomonitor error must be pretty damn irritating; I'll fix the installer-distributed copy so people don't have to shut it up by hand. I don't play much and don't die very often even when I am in-game... probably been that way for ages without my noticing it.
I wish I could write a program that automatically debugs other programs. Not only would I be rich, but my life would be so, so much easier.
DevNull
04-20-2006, 08:53 AM
As usual, thanks a lot for the quick responses! :)
And autodebug would be nice, heh. At least it wasn't difficult to get infomonitor fixed. With that little change it started keeping track of my time to depart like a charm.
Aithzar
04-20-2006, 09:51 AM
Thats my bad, I fixxed the infomon bug on my end a while back, and don't die often. Usually I get these things to Shae but totally forgot about it.
Aith/Russell
Shaelun
04-20-2006, 12:15 PM
Aith's not joking... like 3/4 of the bugs I've fixed in the last month or two I only found out about because he never gets tired of telling me what's wrong with my program, lol.
And you're welcome; I'm not always around, but I try to address issues whenever I am. Keep 'em coming and I'll keep fixing 'em :)
DevNull
04-20-2006, 08:12 PM
Heh. Hmm, so am I the other 25%? :)
Shaelun
04-21-2006, 08:38 PM
Yeah, you and Toy, basically. Not many people like to bother reporting bugs.
Powered by vBulletin® Version 4.2.5 Copyright © 2025 vBulletin Solutions Inc. All rights reserved.