I tried to fight mobs with magic but I make 0 DMG with offensive spells.
On the server the log is like this :
luautils :: Onspellscast: .\scripts/global/magic.lua:493: attemps to call method 'isAoE (a nil value)
did I done something wrong or is this a Maj who need fix ?
Spells make 0 DMG
Forum rules
NO LONGER BEING MAINTAINED!
NO LONGER BEING MAINTAINED!
Re: Spells make 0 DMG
its only a GUESS but i think there is a missing half of statement what to compare the spell:isAoe() with, i mean "spell:isAoe() == true/false/0/1/whatever". Revert your magic.lua to rev2879 solved the problem for me.
- Virtualchronos
- Posts: 53
- Joined: Wed Dec 12, 2012 8:45 am
Re: Spells make 0 DMG
don't know... I tried your advice it worked for me too ^^''
Big thanks to you !!!
Well we just have to wait a new fix now
Big thanks to you !!!
Well we just have to wait a new fix now
-
- Developer
- Posts: 539
- Joined: Sun Jul 22, 2012 12:17 am
Re: Spells make 0 DMG
Actually, the missing "== true" isn't mandatory, which you would have known wasn't the problem if you'd tried it. You can omit the condition if you're specifically looking for a not-false condition. Reverting to 2879 removed the entire code block, which is why that "fixed" the issue.
Test Server: Hanekawa | Fantasy World: Naito
An occasionally updated list of what works
Bugs reports go here. | Project chat here.
Things I've found, but don't plan to work on.
An occasionally updated list of what works
Bugs reports go here. | Project chat here.
Things I've found, but don't plan to work on.
Re: Spells make 0 DMG
is basically a mean way of saying "that's actually not the case, unfortunately, but i'm mad about the actual problem, which will hopefully get fixed tonight by the guy who made it"PrBlahBlahtson wrote:Actually, the missing "== true" isn't mandatory, which you would have known wasn't the problem if you'd tried it. You can omit the condition if you're specifically looking for a not-false condition. Reverting to 2879 removed the entire code block, which is why that "fixed" the issue.
no need to be snappy here
-
- Developer
- Posts: 176
- Joined: Tue Jul 31, 2012 7:21 am
Re: Spells make 0 DMG
Its like an echo that never gets heard eh Pr? (Tesy..your..code...
-
- Developer
- Posts: 539
- Joined: Sun Jul 22, 2012 12:17 am
Re: Spells make 0 DMG
Turns out that rebuilding the core fixes this issue.
Test Server: Hanekawa | Fantasy World: Naito
An occasionally updated list of what works
Bugs reports go here. | Project chat here.
Things I've found, but don't plan to work on.
An occasionally updated list of what works
Bugs reports go here. | Project chat here.
Things I've found, but don't plan to work on.
- Virtualchronos
- Posts: 53
- Joined: Wed Dec 12, 2012 8:45 am
Re: Spells make 0 DMG
I tried to rebuild the server and it doesn't worked for me
Edit :
After many rebuild it finaly worked
Edit :
After many rebuild it finaly worked