Jump to content
  • 0

faceworm nest error script


MyNoobScriptz

Question


  • Group:  Members
  • Topic Count:  33
  • Topics Per Day:  0.01
  • Content Count:  74
  • Reputation:   3
  • Joined:  05/01/15
  • Last Seen:  

sdfsdf.png

[Error]: buildin_isbegin_quest: Player with char id '1' is not found.
[Debug]: Source (NPC): Magic Scholar at dali (80,60)
[Info]: [Instance] Created: Faceworm's Nest (1).
[Error]: buildin_isbegin_quest: Player with char id '1' is not found.
[Debug]: Source (NPC): Interdimensional Device at dali (72,55)
[Error]: quest_add: Character 150000 already has quest 12325.
[Debug]: Source (NPC): Interdimensional Device at dali (72,55)
[Debug]: Function: setquest (1 parameter):
[Debug]: Data: number value=12325

 

Hi help me plz this script
 

dali,80,60,4    script    Magic Scholar    4_M_SAGE_C,{
    if (BaseLevel < 140) {
        mes "[Magic Scholar]";
        mes "You are not qualified enough to enter here. How about visiting other places until you become level 140.";
        close;
    }
    set .@party_id,getcharid(1);
    set .@ins_mas,getpartyleader(.@party_id,2);
    set .@p_name$,getpartyname(.@party_id);
    set .@p_reader$,strcharinfo(0);
    set .@md_name$,"Faceworm's Nest";
    set .@face_time,isbegin_quest(12325,PLAYTIME);
    if (!instance_check_party(.@party_id)) {
        mes "[Magic Scholar]";
        mes "You don't have a party? Please come back again after creating a party even if you've come alone.";
        close;
    }
    if (!.@face_time) {
        if (getcharid(0) == .@ins_mas) {
            mes "[Magic Scholar]";
            mes "What can I do for you?";
            next;
            switch (select("Reserve Faceworm's Nest:What are you doing here?:Stop Talking.")) {
                case 1:
                    switch (instance_create(.@md_name$)) {
                        case -3:
                            dispbottom "Memorial Dungeon, '"+.@md_name$+"' is already in progress.",0xFFFFFF;
                            break;
                        case -4:
                        case -2:
                        case -1:
                            mes "[Magic Scholar]";
                            mes "Oops, my hands are slip off. It is required to activate the craks again.";
                            close;
                    }
                    mes "[Magic Scholar]";
                    mes "The spaces are under control.";
                    mes "Please wait for a minute.";
                    close;
                case 2:
                    break;
                case 3:
                    mes "[Magic Scholar]";
                    mes "Okay, I got it. Please come back again if you change your mind.";
                    close;
            }
        }
        mes "[Magic Scholar]";
        mes "I am researching the dimensional cracks in space here.";
        next;
        mes "[Magic Scholar]";
        mes "My research is to stabilize the space here with magic to utilize it for dimensional travel.";
        next;
        mes "[Magic Scholar]";
        mes "This particular crack in space goes to a memory of the past. Many adventurers have been in there but no one will tell me what is in there...";
        next;
        mes "[Magic Scholar]";
        mes "And there's this strange sign here that records names and times on it which I can only assume belongs to those adventurers.";
        next;
        mes "[Magic Scholar]";
        mes "Anyways, I can activate the passage for you if you're a party leader.";
        close;
    } else if (.@face_time == 1) {
        mes "[Magic Scholar]";
        mes "The crack in time is not safe enough to pass back and forth. Please come back again if the after effect timer has passed.";
        close;
    } else if (.@face_time == 2) {
        mes "^0000ffThe trace of dimensional space travelling has disappeared. You can now move between dimensions.^000000";
        erasequest 12325;
        close;
    }
}

dali,72,55,4    script    Interdimensional Device    CLEAR_NPC,{
    if (BaseLevel < 140) {
        mes "[Interdimensional Device]";
        mes "Your power level is not high enough to travel the space. Please come back again when you reach at least level 140.";
        close;
    }
    set .@party_id,getcharid(1);
    set .@ins_mas,getpartyleader(.@party_id,2);
    set .@p_name$,getpartyname(.@party_id);
    set .@p_reader$,strcharinfo(0);
    set .@md_name$,"Faceworm's Nest";
    set .@face_time,isbegin_quest(12325,PLAYTIME);
    if (!instance_check_party(.@party_id)) {
        mes "[Interdimensional Device]";
        mes "No party? Please come back again after creating a party even if you've come alone.";
        close;
    }
    if (!.@face_time) {
        switch (instance_enter(.@md_name$)) {
            case 3:
                mes "[Interdimensional Device]";
                mes "An unknown error has occurred.";
                close;
            case 2:
                mes "[Interdimensional Device]";
                mes "The passage for space travel is not activated yet.";
                close;
            case 1: //Custom text
                mes "[Interdimensional Device]";
                mes "You are not allowed to access the device.";
                close;
            case 0:
                mapannounce "dali",.@p_name$+" party's party member "+.@p_reader$+" enters "+.@md_name$+".",bc_map,"0x00ff99";
                setquest 12325;
                warp "1@face",112,374;
                end;
        }
    } else if (.@face_time == 1) {
        mes "[Interdimensional Device]";
        mes "Traces of recent space travel have been detected. Access is denied.";
        close;
    } else if (.@face_time == 2) {
        mes "^0000ffThe trace of dimensional space travelling has disappeared. You can now move between dimensions.^000000";
        erasequest 12325;
        close;
    }
}

 

Link to comment
Share on other sites

7 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.01
  • Content Count:  75
  • Reputation:   9
  • Joined:  11/27/16
  • Last Seen:  

i think you need to update your sql also here

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  38
  • Reputation:   0
  • Joined:  09/14/15
  • Last Seen:  

already define char id

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  33
  • Topics Per Day:  0.01
  • Content Count:  74
  • Reputation:   3
  • Joined:  05/01/15
  • Last Seen:  

2 hours ago, BlazingSpear said:

i think you need to update your sql also here

You mean download new rathena from github??

If yes, i download last version from github

Or you mean reinstall my logs.sql and main.sql on my phpmyadmin

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  38
  • Reputation:   0
  • Joined:  09/14/15
  • Last Seen:  

Just fix your SQL jirayu ;)

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.01
  • Content Count:  75
  • Reputation:   9
  • Joined:  11/27/16
  • Last Seen:  

post here the solution for future reference thanks!!

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  10
  • Reputation:   0
  • Joined:  03/09/17
  • Last Seen:  

do you have resolved your problem?

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.01
  • Content Count:  66
  • Reputation:   10
  • Joined:  11/15/17
  • Last Seen:  

2 people saying fix your SQL .. like.. god damn.. how are complete noobs like me or others who are going to see this gonna be able to "fix our SQL" ???? if you know how to fix this this why dont you type it out?...  theres like a billion folders and shit in my SQL and i dont know for shit how to fix the issue. damn.

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