kiova Posted October 13, 2012 Group: Members Topic Count: 23 Topics Per Day: 0.00 Content Count: 59 Reputation: 0 Joined: 09/02/12 Last Seen: October 19, 2013 Share Posted October 13, 2012 Hi I have a problem with the script attached. When I try to complete a mission gives me this error [Error]: run_script: infinity loop! [Debug]: Source (NPC): Omega Mission # 1 at prontera (170.98) NPC deputy if they can find out by mistake because I can not. mission_board.txt Quote Link to comment Share on other sites More sharing options...
AnnieRuru Posted October 13, 2012 Group: Members Topic Count: 18 Topics Per Day: 0.00 Content Count: 2044 Reputation: 682 Joined: 10/09/12 Last Seen: December 20, 2020 Share Posted October 13, 2012 how to reproduce the problem ? I see this script still works great there's at least 3 places I can remember that is challenging eathena gotocount limitation 1. when player login -> loading all player side variables 2. when player talk to the npc -> loop through all avaiable mission has deleted or timeout on that board/npc ID (which is 40) 3. when party member kill monster -> loop through 12 party members * 4 quests * 40 missions in each npc all these particular situation I've counted them many many times and made sure it wont go beyond 4,000 gotocount ... in the 1st place, have you set check_gotocount to 20480 ? if 20480 still hits, try 204800 ? Quote Link to comment Share on other sites More sharing options...
Joseph Posted October 13, 2012 Group: Members Topic Count: 5 Topics Per Day: 0.00 Content Count: 341 Reputation: 43 Joined: 01/10/12 Last Seen: June 29, 2020 Share Posted October 13, 2012 how to reproduce the problem ? I see this script still works great there's at least 3 places I can remember that is challenging eathena gotocount limitation 1. when player login -> loading all player side variables 2. when player talk to the npc -> loop through all avaiable mission has deleted or timeout on that board/npc ID (which is 40) 3. when party member kill monster -> loop through 12 party members * 4 quests * 40 missions in each npc all these particular situation I've counted them many many times and made sure it wont go beyond 4,000 gotocount ... in the 1st place, have you set check_gotocount to 20480 ? if 20480 still hits, try 204800 ? Else there's a script command in rAthena to bypass infinite loop. *freeloop(<toggle>) Toggling this to enabled (1) allows the script instance to bypass the infinite loop protection, allowing your script to loop as much as it may need. Disabling (0) will warn you if an infinite loop is detected. Quote Link to comment Share on other sites More sharing options...
AnnieRuru Posted October 14, 2012 Group: Members Topic Count: 18 Topics Per Day: 0.00 Content Count: 2044 Reputation: 682 Joined: 10/09/12 Last Seen: December 20, 2020 Share Posted October 14, 2012 WOOOOOOT !! http://trac.rathena.org/changeset/15340/rathena keyworld owns the world again still I don't think there's urgent need to use that ... yet... lol but yeah that's really great to add to my next update ( dunno when ) rather , since I've calculated that it shouldn't be over 4000 gotocount, I like to know which specific part is actually causing it Quote Link to comment Share on other sites More sharing options...
Question
kiova
Hi I have a problem with the script attached. When I try to complete a mission gives me this error
[Error]: run_script: infinity loop!
[Debug]: Source (NPC): Omega Mission # 1 at prontera (170.98)
NPC deputy if they can find out by mistake because I can not.
mission_board.txt
Link to comment
Share on other sites
3 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.