Jump to content
  • 0

BUG? [Debug]: npc_scriptcont: Sala Vip#h3-1 (sd->npc_id=110494240) is not 'Unknown NPC' (id=0).


Question

Posted

So, when i am under the second prompt, if i cancel i get this error message and stuck on place till login in again:
Sample NPC to trigger the bug:
pronter

prontera.gat,156,228,5    script    Sala Vip#h3-1::Sala Vip    953,{
    set .@loop,1;
    while(.@loop){
        mes "t1";
        set .@menu$,prompt("1","2");
        switch(.@menu$){
            Case 1:
                set .@loop2,1;
                while(.@loop2) {
                    mes "t2";
                    set .@menu2$,prompt("3:4");
                    switch(.@menu2$){
                        Case 1:
                            mes "Test";
                            next;
                        Case 255:
                        Case 2:
                            close;
                    }
                }
                break;
            Case 255:
            Case 2:
                set .@loop,0;
                break;
        }
    }
    close;
}

How to trigger the bug:
Talk with the NPC
Select option "1" and click on OK

Click on cancel.

 

 

Someone knows if its a emulator bug or something i did wrong on the script?

 

1 answer 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.

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...