Jump to content
  • 0
MikZ

Error buildin_queuesize

Question

Hello!

What does this mean?

buildin_queuesize: unknown queue id 5 
script_hqueue_add: unknown queue id 5 

Here's my script.

pvp_c_room,38,85,3	script	Dice Event::Dicey	4_M_NOVELIST,{
	disablenpc "Dice#evnt1";
            .@deName$ = "[^FF0000Dice Event^000000]"; 
       .@menu$ = "Join the event:Cancel";
    if (getgmlevel() >= .gmsetting) {
        .@menu$ =  .@menu$ + ":Start Event";
    }
    switch(select(.@menu$)){
                case 1:
            if ( .dEstart == 1 ) {
                warp "quiz_01",204,89;
                end;
            }  
          else if ( .dEstart == 2 ) { 
           mes .@deName$;
            mes "Too late, the event has already started";
            close; 
           } 
           mes .@deName$;
            mes "No Event right now"; 
           close; 
                   case 2: 
           close; 
	end;
    }

// Set what time it will Start...
OnWhisperGlobal:
OnStart:
    .dEstart = 1;
	announce "Dice Event: We are going to have a Dice Event",bc_all,0xFF7F50;
	sleep 1 * .seconds;
	announce "Dice Event: For those who want to join, please meet me @go event.",bc_all,0xFF7F50;
	sleep 1 * .seconds;
	announce "Dice Event: The Warper would be open for 3 minutes",bc_all,0xFF7F50;
	sleep 30 * .seconds;
	announce "Dice Event: For those who want to join, please meet me @go event.",bc_all,0xFF7F50;
	sleep 30 * .seconds;
	announce "Dice Event: The Warper would be open for 2 minutes",bc_all,0xFF7F50;
	sleep 30 * .seconds;
	announce "Dice Event: For those who want to join, please meet me @go event.",bc_all,0xFF7F50;
	sleep 30 * .seconds;
	announce "Dice Event: The Warper would be open for 1 minute",bc_all,0xFF7F50;
	sleep 60 * .seconds;
	announce "Dice Event: Last 30 Seconds.",bc_all,0xFF7F50; 
	sleep 30 * .seconds;
	announce "Dice Event: Warper Closed.",bc_all,0xFF7F50;
	OnEnable:
if(getmapusers("quiz_01")==1){
	mapannounce "quiz_01","Dice: The Game will start minimum of TWO player...",bc_all,0xFF7F50;
	sleep 5 * .seconds;
	announce "Dice Event: Last Call. We are waiting for another challenger..",bc_all,0xFF7F50;
	sleep 5 * .seconds;
	announce "Dice Event: For those who want to join, please meet me and type @go event.",bc_all,0xFF7F50;
	sleep 10 * .seconds;
	announce "Dice Event: The Warper would be open for 1 minute",bc_all,0xFF7F50;
	sleep 30 * .seconds;
	announce "Dice Event: Last 30 Seconds.",bc_all,0xFF7F50;
	sleep 30 * .seconds;
	announce "Dice Event: Warper Closed.",bc_all,0xFF7F50;
	sleep 5 * .seconds;
if(getmapusers("quiz_01")==1){ 
	mapannounce "quiz_01","Dice: The Dice event is HALTED...",bc_all,0xFF7F50;
	warp "prontera",155,183;
       end;
            }
    } 
       .dEstart = 2; 
	mapannounce "quiz_01","Dice: We are about to start the Dice event.",0;
	sleep2 3000;
	mapannounce "quiz_01","Dice: But before we start the event here's how to play the game. . .",0;
	sleep2 3000;
	mapannounce "quiz_01","Dice: I'm only gonna say this once so read carefully.",0;
	sleep2 3000;
	mapannounce "quiz_01","Dice: I'm going to pick a number, 1 to 4. Then I'll do a count down from 5 to 0.",0;
	sleep2 3000;
	mapannounce "quiz_01","Dice: All you have to do is go to the box of the number you want.",0;
	sleep2 3000;
	mapannounce "quiz_01","Dice: Example, If I get the number of 4, All the players standing on numbers 1 to 3 will be warped back to town.",0;
	sleep2 3000;
	mapannounce "quiz_01","Dice: We will do it again and again until we only have 1 player left on the map.",0;
	sleep2 3000;
	mapannounce "quiz_01","Dice: Oh yeah! Before I forget you MUST GO INSIDE THE BOX, because if you're caught standing on the stairs you'll be automatically disqualified.",0;
	sleep2 3000;
	mapannounce "quiz_01","Dice: That's it.. Now let's play...",0;
	sleep2 5000;
	goto L_start;
	end;
L_start:
	disablenpc "Dice#evnt1";
	if(getmapusers("quiz_01") == 1)	goto L_Champ;
	if(getmapusers("quiz_01") == 0)	goto L_None;
	if(getmapusers("quiz_01") > 1) {
	mapannounce "quiz_01","Dice: . . . . .",0;
	$@number = rand(1,4);
	sleep 10000;
	mapannounce "quiz_01","Dice: I have a number now. Please go to the box of the number you want.... GO!", 0;
	sleep 10000;
	mapannounce "quiz_01","Dice: 5", 0;
	sleep 5000; 
	mapannounce "quiz_01","Dice: 4", 0;
	sleep 4000;
	mapannounce "quiz_01","Dice: 3", 0;
	sleep 3000;
	mapannounce "quiz_01","Dice: 2", 0;
	sleep 2000;
	mapannounce "quiz_01","Dice: 1", 0;
	sleep 1000;
	mapannounce "quiz_01","Dice: Time's up.", 0;
    donpcevent "evnt#1::OnEnable";
    mapannounce "quiz_01","Dice: Winning number "+$@number+".",  0;
	if(($@number != 1) && ($@number != 2) && ($@number != 3)) goto L_Lose1;
	if(($@number != 1) && ($@number != 2) && ($@number != 4)) goto L_Lose2;
	if(($@number != 1) && ($@number != 3) && ($@number != 4)) goto L_Lose3;
	if(($@number != 2) && ($@number != 3) && ($@number != 4)) goto L_Lose4;
    end;
} 
L_Lose1: 
	areawarp "quiz_01",183,81,191,60,"prontera",155,182;
	areawarp "quiz_01",195,81,203,60,"prontera",155,182;
	areawarp "quiz_01",207,81,215,60,"prontera",155,182;
	.dEstart = 0;
	goto L_start;
end;
L_Lose2:
	areawarp "quiz_01",183,81,191,60,"prontera",155,182;
	areawarp "quiz_01",195,81,203,60,"prontera",155,182;
	areawarp "quiz_01",219,81,227,60,"prontera",155,182;
	.dEstart = 0;
	goto L_start;
end;
L_Lose3:
	areawarp "quiz_01",183,81,191,60,"prontera",155,182;
	areawarp "quiz_01",207,81,215,60,"prontera",155,182;
	areawarp "quiz_01",219,81,227,60,"prontera",155,182;
	.dEstart = 0;
	goto L_start;
	end;
L_Lose4:
	areawarp "quiz_01",195,81,203,60,"prontera",155,182;
	areawarp "quiz_01",207,81,215,60,"prontera",155,182;
	areawarp "quiz_01",219,81,227,60,"prontera",155,182;
	.dEstart = 0;
	goto L_start;
	end;
L_Champ:
	enablenpc "Dice#evnt1";
	mapannounce "quiz_01","Dice: Come to me and get your Prize.",0;
	end;
L_None:
	announce "No One Wins Dice Event. Closed",0;
	end;
OnInit:
	disablenpc "Dice#evnt1";
	waitingroom "[Dice Event]",0;
	bindatcmd "dice", strnpcinfo(0)+"::OnStart", 99,100;
	.gmsetting = 60; // in which level the GMs can control this event ?
	.seconds = 1000;
//1000;
 // for debug purpose only, how many mili-second = 1 second ?
}
-	script	evnt#1	-1,{
OnEnable:
	areawarp "quiz_01",182,94,228,88,"prontera",155,182;
	areawarp "quiz_01",185,87,188,82,"prontera",155,182;
	areawarp "quiz_01",197,87,200,82,"prontera",155,182;
	areawarp "quiz_01",209,87,212,82,"prontera",155,182;
	areawarp "quiz_01",221,87,224,82,"prontera",155,182;
	end;
	}
quiz_01,204,93,6	script	Dice#evnt1	4_M_PIERROT,{
.@dName$ = "[^FF0000Dice^000000]";
	mes .@dName$;
	mes "Please tell me your name";
	next;
	input .@name$;
	if(.@name$ != strcharinfo(0)) {
		mes "Are you sure thats your character name?";
		close;
	}
	mes "Congrats. You've won.";
	close2;
	announce "Dice: We have a winner, "+.@name$+".",0;
	getitem Event_Coin,10; 
	warp "prontera",155,183;
	disablenpc "Dice#evnt1";
	.dEstart = 0;
	end;
}
// -- Mapflagsquiz_01
quiz_01	mapflag	nowarp
quiz_01	mapflag	nowarpto
quiz_01	mapflag	noteleport
quiz_01	mapflag	nosave
quiz_01	mapflag	nomemo
quiz_01	mapflag	nobranch
quiz_01	mapflag	noloot
quiz_01	mapflag	noskill
quiz_01	mapflag	nopenalty

 

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0

this script does not use queuesize() so it cannot trigger this warning, this means your issue is in another script, not this one

Share this post


Link to post
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.   Restore formatting

  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.

Loading...

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.