Jump to content
  • 0

Error Script dont load


eclud

Question


  • Group:  Members
  • Topic Count:  20
  • Topics Per Day:  0.01
  • Content Count:  80
  • Reputation:   0
  • Joined:  08/29/15
  • Last Seen:  

Hi guys, i just make one quest script but this is not working...and i cant find the problem... heres the code:

prontera,152,180	Script	Kathy	817,{


	mes "[^F01961Kathy^000000]";
	mes "Bienvenido a nuestra tienda de gafas.";
	mes "Este lugar es sólo para las personas que aman la moda.";
	next;
	mes "[^F01961Kathy^000000]";
	mes "Aquí puedes pedirnos unas gafas";
	mes "es muy facil, Primero eliges";
	mes "el tipo de gafas que desees"
	mes "y te muestro lo que ocupamos.";
	next;
	mes "[^F01961Kathy^000000]";
	mes "Cuales gafas te gustarian?";
	menu "Gafas rojas(1)",rojas,"Gafas negras(1)",negras;
	next;
	
	rojas:
	mes "[^F01961Kathy^000000]";
	mes "Excelente opcion.";
	mes "Para las Gafas rojas ocuparia lo siguiente.";
	next;
	mes "[^F01961Kathy^000000]";
	mes "Materiales:";
	mes "1 glasses";
	mes "1 Angled Glasses";
	mes "30 Steel";
	mes "50 Dry Sand";
	mes "50 Fine Sand";
	mes "20 Witch Starsand";
	mes "10 Red Blood";
	mes "Y 300 mil.";
	next:
	mes "[^F01961Kathy^000000]";
	mes "Te gustaria crearlas?";
	menu "Si",si,"Regreso despues.",no;
	
	si:
	mes "[^F01961Kathy^000000]";
	mes "Perfecto, veamos si tienes";
	mes "Los materiales...";
	next;
	if(countitem(2203)<1)goto falta;
	if(countitem(2276)<1)goto falta;
	if(countitem(999)<30)goto falta;
	if(countitem(7264)<50)goto falta;
	if(countitem(7043)<50)goto falta;
	if(countitem(1061)<20)goto falta;
	if(countitem(990)<10)goto falta;
	if(Zeny < 300000) goto falta;
	mes "[^F01961Kathy^000000]";
	mes "Ok, parece que tienes todo!";
	next;
	delitem 2203,1;
	delitem 2276,1;
	delitem 999,30;
	delitem 7264,50;
	delitem 7043,50;
	delitem 1061,20;
	delitem 990,10;
	set Zeny,Zeny-300000;
	getitem 5288,1;
	mes "Felicidades!!!";
Close;

	falta:
	mes "Lo lamento, no tienes lo necesario.";
Close;
	no:
	mes "[^F01961Kathy^000000]";
	mes "Ok, vuelve pronto...";
Close;
	
	negras:
	mes "[^F01961Kathy^000000]";
	mes "Estas son nuestras nuevas Gafas.";
	mes "Materiales:";
	next;
	mes "[^F01961Kathy^000000]";
	mes "1 Red Glasses";
	mes "50 Dark Crystal Fragment";
	mes "10 Will Of Darkness";
	mes "1 Rune Of Darkness";
	mes "1 Black Dyestuff";
	mes "Y 500 mil.";
	next;
	mes "[^F01961Kathy^000000]";
	mes "Te gustaria crearlas?";
	menu "Si",sii,"Regreso despues.",noo;
	
	sii:
	mes "[^F01961Kathy^000000]";
	mes "Perfecto, veamos si tienes";
	mes "Los materiales...";
	next;
	if(countitem(5288)<1)goto falta;
	if(countitem(7315)<50)goto falta;
	if(countitem(7340)<10)goto falta;
	if(countitem(7511)<1)goto falta;
	if(countitem(983)<1)goto falta;
	if(Zeny < 500000) goto falta;
	mes "[^F01961Kathy^000000]";
	mes "Ok, parece que tienes todo!";
	next;
	delitem 5288,1;
	delitem 7315,50;
	delitem 7340,10;
	delitem 7511,1;
	delitem 983,1;
	set Zeny,Zeny-500000;
	getitem 5401,1;
	mes "Felicidades!!!";
Close;

	noo:
	mes "[^F01961Kathy^000000]";
	mes "Ok, vuelve pronto...";
Close;
end;
}

And this is the error:

 

 
[Error]: npc_parse_script: Invalid placement format for a script in file 'npc/custom/misquest/glasses.txt', line '1'. Skipping the rest of file...
 * w1=prontera,152,180
 * w2=Script
 * w3=Kathy
 * w4=817,{
 
Can someone help me? thanks

Solved...

Edited by eclud
Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

missing NPC direction..

prontera,152,180,<DIRECTION>	Script	Kathy	817,{
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  20
  • Topics Per Day:  0.01
  • Content Count:  80
  • Reputation:   0
  • Joined:  08/29/15
  • Last Seen:  

Thanks :)

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