I have created a script which will assign an account-wide delay timer to those who log out to avoid the warp-out NPC which I have variables attached to.
My problem is the 'ins_nyd2 value - it always returns 0.
[Warning]: script_get_val: cannot access instance variable ''ins_nyd2', defaulting to 0
The script works fine if I removethe if ('ins_nyd2 < 4) end; line, but there are cases when players genuinely disconnect, which would lock them out of finishing the instance.
Share this post
Link to post
Share on other sites