Jump to content
  • 0

Help Mission Board


Question

Posted

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

3 answers to this question

Recommended Posts

Posted

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 ?

Posted

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.

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...