Jump to content
  • 0

Help Mission Board


kiova

Question


  • Group:  Members
  • Topic Count:  23
  • Topics Per Day:  0.00
  • Content Count:  59
  • Reputation:   0
  • Joined:  09/02/12
  • Last Seen:  

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


  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  2044
  • Reputation:   682
  • Joined:  10/09/12
  • Last Seen:  

how to reproduce the problem ?

post-8685-0-50429900-1350169338_thumb.jpg

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 ?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  341
  • Reputation:   43
  • Joined:  01/10/12
  • Last Seen:  

how to reproduce the problem ?

post-8685-0-50429900-1350169338_thumb.jpg

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.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  2044
  • Reputation:   682
  • Joined:  10/09/12
  • Last Seen:  

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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...