.開發商. 2 Report post Posted November 19, 2023 Hello, I'm having problems involving the respawning of mobs in my resource and I don't know what it could probably be. Every mob when killed is instantly spawning in one second even though Respawn is at 120 seconds or more I've already tried the following fixes that I saw here on the forum: Is_friend to stop players from attacking land mobs across the sea All mobs Respawn time increased to 120 seconds Voyager skill change in damage function from skilleffct.lua Quote Share this post Link to post Share on other sites
Lua 35 Report post Posted November 19, 2023 1 2 Quote Share this post Link to post Share on other sites
.開發商. 2 Report post Posted November 20, 2023 10 hours ago, Lua said: unfortunately this didn't work Quote Share this post Link to post Share on other sites
Andy 39 Report post Posted November 20, 2023 (edited) its easy, just fix, edit the ss magma skill, sea thunder voy skill and voy rb skill. the bug happens because you re able to use those skill before their effects gone. and this breaks the respaw cycle Edited November 20, 2023 by Andy 3 Quote Share this post Link to post Share on other sites
.開發商. 2 Report post Posted November 21, 2023 12 hours ago, Andy said: its easy, just fix, edit the ss magma skill, sea thunder voy skill and voy rb skill. the bug happens because you re able to use those skill before their effects gone. and this breaks the respaw cycle Thank you very much I will test this @Andy Quote Share this post Link to post Share on other sites
Mdrst 47 Report post Posted November 23, 2023 On 11/20/2023 at 7:53 PM, Andy said: its easy, just fix, edit the ss magma skill, sea thunder voy skill and voy rb skill. the bug happens because you re able to use those skill before their effects gone. and this breaks the respaw cycle Just wanted to point out that this is not the proper fix, just a workaround. The real fix, IIRC, lies within the respawn queue implementation in C++ SubMap Quote "Beware of bugs in the above code; I have only proved it correct, not tried it." - Donald E. Knuth Share this post Link to post Share on other sites
Lua 35 Report post Posted December 5, 2023 On 11/20/2023 at 7:53 PM, Andy said: its easy, just fix, edit the ss magma skill, sea thunder voy skill and voy rb skill. the bug happens because you re able to use those skill before their effects gone. and this breaks the respaw cycle Sorry but how did you fixed it with this method? Quote Share this post Link to post Share on other sites
Andy 39 Report post Posted December 8, 2023 the problem is Hp_Endure_Dmg ( role , dmg ) so i changed to if ((hp - dmg) > 1) then Hp_Endure_Dmg ( role , dmg ) end Quote Share this post Link to post Share on other sites