Shako 97 Report post Posted October 28, 2016 Where are these errors generated from? How do we fix them? Quote Sunny Go! Online pko.host Share this post Link to post Share on other sites
Andy 39 Report post Posted October 28, 2016 i get it when i use buff ticket Quote Share this post Link to post Share on other sites
Billy 164 Report post Posted October 28, 2016 _G["0"] = function () end That will suppress those errors (function is still called though, so only a temporary fix). I got those errors when opening forge/combine etc 1 Quote Share this post Link to post Share on other sites
Angelix 374 Report post Posted October 28, 2016 Those are generated from functions beings called which are not defined, constantly happens from maps, GameServer calls the function whether they are defined or not within the scripts. 1 Quote Share this post Link to post Share on other sites
Shako 97 Report post Posted October 29, 2016 18 hours ago, Billy said: _G["0"] = function () end That will suppress those errors (function is still called though, so only a temporary fix). I got those errors when opening forge/combine etc 13 hours ago, Angelix said: Those are generated from functions beings called which are not defined, constantly happens from maps, GameServer calls the function whether they are defined or not within the scripts. 18 hours ago, Andy said: i get it when i use buff ticket Thanks for the insight that you guys also encounter this problem! Because there is no error, it doesn't tell the line that is calling a blank function. Is there any way to find this blank function? @Billy I will try this "hotfix"! I wonder where I should put it , will it work if I put it at the functions loaded after (e.g., functions after skilleffect.lua), or should I put them early in places like NPCSDK.lua? Hope to be able to fix these issues, Quote Sunny Go! Online pko.host Share this post Link to post Share on other sites
Andy 39 Report post Posted November 13, 2016 (edited) i will show an example. you get No definition DoString (0) because of Skilleffect undefined example, intence magic line: unfixed 50 Intense Magic -1 0 0 0 1 0 1 1 1 1 1 1 1 1 1 1 1 1 0 0 0 -1 0 0 0 343 -1 0 0 0 0 0 0 0 fixed 50 Intense Magic -1 0 State_Mlch_Add State_Mlch_Rem 1 0 1 1 1 1 1 1 1 1 1 1 1 1 0 0 0 -1 0 0 0 343 -1 0 0 0 0 0 0 0 you need to make sure states are added in the skilleff line and skilleffect.lua also. function State_Mlch_Add ( role , statelv ) end function State_Mlch_Rem ( role , statelv ) end Edited November 13, 2016 by Andy 1 Quote Share this post Link to post Share on other sites