Some times when i talk with a npc that i created it shows-me a whit screen (like a empt mes ""; with no "next;")
Like this one that i attached...
and it makes no sense, once my script is perfectly normal..
My script is:
1@gen,103,91,3 script Premiador416,{
mes "[^FF0000 Premiador ^000000]";//mes "Olá "+strcharinfo(0)+",";
mes "Parabéns pela vitória, como posso lhe ajudar?";
main:switch(select($menu$+"Sortear premio",$menu$+"Informações")){
next;
mes "[^FF0000 Premiador ^000000]";case1:
mes "Muito bem, vamos sortear o seu prêmio....";
next;
mes "[^FF0000 Premiador ^000000]";
mes "Prontinho, já tenho aqui seu premio, até mais!";
close2;/*do{
set @item,rand(31272,31310); //MASSA DE ITENS DO SISTEMA DE ENCANTAMENTO
}
while ((@item>=31311 && @item<=31315) || @item>31336); //IDS QUE ESTÁ NO MEIO DESSE INTERVALO E QUE ESTÁ VAZIO
*/set@item,rand(31272,31289);//MASSA DE ITENS DO SISTEMA DE ENCANTAMENTOif(rand(1,10)<7){// 70% de não conseguir o anel//mes "Parabéns! Seu premio sorteado foi 1x ^0000FF"+getitemname(@item)+"^000000!";//next;
getitem @item,1;
warp "prontera",155,208;
end;}//mes "Parabéns! Seu premio sorteado foi 1x ^0000FFAnel de GM^000000!";//next;
getitem 31354,1;// DA ANEL DE GM//getitem @item,1; // DA PREMIO SORTEADO
warp "prontera",155,208;
end;
fim:
next;
mes "[^FF0000 Premiador ^000000]";
mes "Agora vou leva-l"+(Sex?"o":"a")+" de volta a prontera!";
warp "prontera",155,208;
end;break;case2:
mes "Bom, todos que derrotam o GM Himura são recompensados com uma pedra de encantamento aleatória, e 40% de chance de ganhar um Anel de GM";
next;
mes "[^FF0000 Premiador ^000000]";
mes "As pedras podem ser dos tipos:";
mes "1- Pedras de atributo encantam equipiamentos com +5, +10 ou +15 de algum atributo.";
mes "2- Pedras de habilidades, encantam equipamentos com uma habilidade, ex: nevasca nivel 3.";
mes "3- Pedras de bonus, encantam equipamentos com um bonus, ex: 10%dano em humano.";
next;
mes "[^FF0000 Premiador ^000000]";
mes "Já o Anel de GM, é um acessório fraco mas pode ser extremamente poderoso, ele exige refinamento para se tornar forte, dando +1 em todos os estatus e habilidades e bonus para cada refinamento. Os atributos e bonus são acumulados até refinamento +15.";
next;
mes "[^FF0000 Premiador ^000000]";
mes "Bom é isso ai, posso ajudar em algo mais?";goto main;break;}}
I commented strcharinfo(0) cause i tought it maybe the name, some caracter in the nick, but stil having some problens...
Some times wheni talk with npc, it shows the message normaly, sometimes show the white screen atached here... wtf is it randon? some timrs bug some times not? o.O
I really never saw that, i don't understand...
Question
danielps
Hello everyone,
So, i'll be very direct.
Some times when i talk with a npc that i created it shows-me a whit screen (like a empt mes ""; with no "next;")
Like this one that i attached...
and it makes no sense, once my script is perfectly normal..
My script is:
I commented strcharinfo(0) cause i tought it maybe the name, some caracter in the nick, but stil having some problens...
Some times wheni talk with npc, it shows the message normaly, sometimes show the white screen atached here... wtf is it randon? some timrs bug some times not? o.O
I really never saw that, i don't understand...
Link to comment
Share on other sites
8 answers 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.