• 0
Skullz1

Dispbottom is not working

Question

Hi,

None of my NPC's that have "dispbottom" commands is working in my emulator.
I'm using a newest emulator with new refineUI.

For example:
 

-	script	gobind	-1,{

OnInit:
		bindatcmd("go","gobind::OnAtcommand",1,99);
	end;
	
OnAtcommand:
		set @warp$,[email protected]_parameters$[0];
		set @warp,@warp$;

// map name,x,y,level requirement, group id minimum requirement
if(@warp$ == "0" || @warp$ == "principal") { callsub	Process,"prontera",156,175,0,0; }
if(@warp$ == "1" || @warp$ == "pr" || @warp$ == "pro" || @warp$ == "pron" || @warp$ == "pront" || @warp$ == "prontera") { callsub	Process,"prontera",156,175,0,0; }
if(@warp$ == "2" || @warp$ == "moc" || @warp$ == "mor" || @warp$ == "moro" || @warp$ == "moroc" || @warp$ == "morocc") { callsub	Process,"morocc",156,93,0,0; }
if(@warp$ == "3" || @warp$ == "gef" || @warp$ == "geffen") { callsub	Process,"geffen",119,59,0,0; }
if(@warp$ == "4" || @warp$ == "pay" || @warp$ == "payo" || @warp$ == "payon") { callsub	Process,"payon",177,101,0,0; }
if(@warp$ == "5" || @warp$ == "al" || @warp$ == "alb" || @warp$ == "alberta") { callsub	Process,"alberta",192,147,0,0; }
if(@warp$ == "6" || @warp$ == "iz" || @warp$ == "izl" || @warp$ == "izlude") { callsub	Process,"izlude",128,114,0,0; }
if(@warp$ == "7" || @warp$ == "ald" || @warp$ == "alde" || @warp$ == "aldebaran") { callsub	Process,"aldebaran",140,131,0,0; }
if(@warp$ == "8" || @warp$ == "xmas" || @warp$ == "lutie") { callsub	Process,"xmas",147,134,0,0; }
if(@warp$ == "9" || @warp$ == "co" || @warp$ == "com" || @warp$ == "comodo") { callsub	Process,"comodo",209,143,0,0; }
if(@warp$ == "10" || @warp$ == "ju" || @warp$ == "yu" || @warp$ == "juno" || @warp$ == "yuno") { callsub	Process,"yuno",157,51,0,0; }
if(@warp$ == "11" || @warp$ == "ama" || @warp$ == "amat" || @warp$ == "amatsu") { callsub	Process,"amatsu",198,84,0,0; }
if(@warp$ == "12" || @warp$ == "gon" || @warp$ == "gonr" || @warp$ == "gonryun") { callsub	Process,"gonryun",160,120,0,0; }
if(@warp$ == "13" || @warp$ == "um" || @warp$ == "umb" || @warp$ == "umbala") { callsub	Process,"umbala",89,157,0,0; }
if(@warp$ == "14" || @warp$ == "nif" || @warp$ == "nifl" || @warp$ == "niflh" || @warp$ == "niflheim") { callsub	Process,"niflheim",21,153,0,0; }
if(@warp$ == "15" || @warp$ == "lou" || @warp$ == "ly" || @warp$ == "louyang") { callsub	Process,"louyang",217,40,0,0; }
if(@warp$ == "16" || @warp$ == "jaw" || @warp$ == "jawa" || @warp$ == "jawaii") { callsub	Process,"jawaii",249,127,0,0; }
if(@warp$ == "17" || @warp$ == "ayo" || @warp$ == "aya" || @warp$ == "ayothoya" || @warp$ == "ayathoya" || @warp$ == "ayothaya") { callsub	Process,"ayothaya",151,117,0,0; }
if(@warp$ == "18" || @warp$ == "ein" || @warp$ == "ein1" || @warp$ == "einbr" || @warp$ == "einbro" || @warp$ == "einbroch") { callsub	Process,"einbroch",64,200,0,0; }
if(@warp$ == "19" || @warp$ == "lhz" || @warp$ == "light" || @warp$ == "lighthalzen") { callsub	Process,"lighthalzen",158,92,0,0; }
if(@warp$ == "20" || @warp$ == "einbe" || @warp$ == "ein2" || @warp$ == "einbech") { callsub	Process,"einbech",70,95,0,0; }
if(@warp$ == "21" || @warp$ == "hu" || @warp$ == "hug" || @warp$ == "hugel") { callsub	Process,"hugel",96,145,0,0; }
if(@warp$ == "22" || @warp$ == "ra" || @warp$ == "rach" || @warp$ == "rachel") { callsub	Process,"rachel",130,110,0,0; }
if(@warp$ == "23" || @warp$ == "ve" || @warp$ == "vei" || @warp$ == "vein" || @warp$ == "veins") { callsub	Process,"veins",216,123,0,0; }
if(@warp$ == "24" || @warp$ == "mosc" || @warp$ == "mosk" || @warp$ == "mosco" || @warp$ == "moscov" || @warp$ == "moscovia") { callsub	Process,"moscovia",223,184,0,0; }
if(@warp$ == "25" || @warp$ == "man" || @warp$ == "manuk") { callsub	Process,"manuk",282,138,0,0; }
if(@warp$ == "26" || @warp$ == "spl" || @warp$ == "splen" || @warp$ == "splend" || @warp$ == "splendide") { callsub	Process,"splendide",197,176,0,0; }
if(@warp$ == "27" || @warp$ == "br" || @warp$ == "bra" || @warp$ == "bras" || @warp$ == "brasi" || @warp$ == "brasil" || @warp$ == "brasilis") { callsub	Process,"brasilis",182,239,0,0; }
//RebuildRO
if(@warp$ == "28") { callsub	Process,"pvp_n_1-1",106,100,0,0; }
if(@warp$ == "29") { callsub	Process,"force_1-1",100,120,0,0; }
if(@warp$ == "30") { callsub	Process,"pay_fild05",90,90,0,0; }
if(@warp$ == "31") { callsub	Process,"gld_dun02",80,33,0,0; }
if(@warp$ == "32") { callsub	Process,"gld_dun01",119,17,0,0; }
if(@warp$ == "33") { callsub	Process,"gld_dun04",99,99,0,0; }
else {
		dispbottom "--------------------------------------------------------------------------------------------"; 
		dispbottom "                                  Use: @go # "; 
		dispbottom "--------------------------------------------------------------------------------------------"; 
		dispbottom "0=Cidade Principal  1=Prontera       2=Morroc      3=Geffen     4=Payon";
		dispbottom "5=Alberta           6=Izlude         7=Al De Baran 8=Lutie      9=Comodo";
		dispbottom "10=Yuno             11=Amatsu        12=Gonryun    13=Umbala    14=Niflheim";
		dispbottom "15=Louyang          16=Jawaii        17=Ayothaya   18=Einbroch  19=Lighthalzen";
		dispbottom "20=Einbech          21=Hugel         22=Rachel     23=Veins     24=Moscovia";
		dispbottom "25=Manuk            26=Splendide     27=Brasilis                              ";         
		dispbottom "--------------------------------------------------------------------------------------------"; 
		dispbottom "                                   RebuildRO";
		dispbottom "--------------------------------------------------------------------------------------------"; 
		dispbottom "28=Mapa dos Mvps     29=Mini Boss 1        30=Mini Boss 2";
		dispbottom "31=Super Party       32=Level1 - Payon     33=Leve2 - Geffen";
		dispbottom "--------------------------------------------------------------------------------------------"; 
	end;
}
	Process:
		set @group,getarg(4);
		set @mapname$,getarg(0);
		set @x,getarg(1);
		set @y,getarg(2);
		if(@group < 0) { if(getgroupid() < @group) { dispbottom "[RebuildRO] : Você não tem permissão para usar este comando"; end;} }
		
		warp @mapname$,@x,@y;
		end;
}

This code was working very well in the other rathena emulador.
In this new, the command works fine but the dispbottom is not showing the options when I enter only "@go".

And all NPC's of mine are having the same problem.

How can I fix it?

ps: Sorry my bad English.

Thanks!

Share this post


Link to post
Share on other sites

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.