spoiler alert revived game. looks like debug mode to mee
http://prntscr.com/6tw4d3
1
2
That wont be necessary.
I think
var/gui/skills/skill = src.skills[i]
is the problem, because after I made it a comment no runtime errors, just a easy undefined line to clean up. |
In response to Neonkyojin
|
|
Try testing what values i reach by adding a debug message before the problem line you pointed out. If there's any issue what that line, you'll see it when the loop runs.
|
In response to Neonkyojin
|
|
So have you fixed your problem now then?
|
In response to Turboskill
|
|
No the runtime error still pops up but everything seems to be working fine.
|
Ah ok, in that case i was going to suggest that from what i could see it was likely to do with a possible conflict between the two skills vars i saw defined in your code, one as a list under the mob path, the other under gui, which is perhaps what is being referred to in code?
|
Oh wait, nvm.. reading through again i see that your code might be setup fine actually.. though i can't see the all the relevant bits but yeah, nvm.
Actually, mind posting your skills code? (This is only of course if you wanna still work out whats going wrong) |
In response to Turboskill
|
|
Turboskill wrote:
Oh wait, nvm.. reading through again i see that your code might be setup fine actually.. though i can't see the all the relevant bits but yeah, nvm. I posted it already though. Thanks for your help. |
1
2
Did your compile message look like this? If not, DEBUG mode was not enabled.