Page 1 of 1

Spell Script error

Posted: Fri Jul 03, 2009 8:25 pm
by John Adams
Just saw this fly by the console on Dev, Zcoretri. Since you're playing with Spells, thought you might want to know.

Code: Select all

   0: 22 00 06 00 31 33 30 30 - 30 35                    | "...130005
[20090703 19:37:16] [Debug] Combined Packet: 2, 0!
[20090703 19:37:17] [Debug] Combined Packet: 2, 0!
[20090703 19:37:18] [Error] Error running Spells/heal_buff.lua:11: attempt to compare number with string
   0: 22 00 06 00 31 33 30 30 - 30 36                    | "...130006
I think the player hit 130005 to get the error.

Re: Spell Script error

Posted: Fri Jul 03, 2009 9:47 pm
by Zcoretri
OK...will take a look see.

Re: Spell Script error

Posted: Sat Jul 04, 2009 9:34 pm
by Zcoretri
Well, I see the problem, ... the function is looking for 6 parameters and I am only supplying 4. It's a buff type spell so I'm not gonna be in a hurry to fix right away.