Jump to content
  • 0

Script runs error


Dolphin86

Question


  • Group:  Members
  • Topic Count:  257
  • Topics Per Day:  0.06
  • Content Count:  709
  • Reputation:   16
  • Joined:  01/07/12
  • Last Seen:  

as title i did make a simple warper myself, but somehow i got these error in putty, but the npc works fine as it should have

Spoiler
[Error]: buildin_doevent: fatal error ! player not attached!
[Debug]: Function: doevent (1 parameter):
[Debug]: Data: string value="Stylist::OnTalk"
[Debug]: Source (NPC): Adv. Stylist#main at ilyo_kwan (209,124)
[Debug]: Source (NPC): Adv. Stylist#main is located in: npc/custom/AdvanceStylist4.4.txt
[Error]: buildin_mes: fatal error ! player not attached!
[Debug]: Function: mes (1 parameter):
[Debug]: Data: string value="===========[Rohayu]============="
[Debug]: Source (NPC): Rohayu at ilyo_kwan (141,121)
[Debug]: Source (NPC): Rohayu is located in: npc/custom/CustomWarperNPC.txt
[Error]: buildin_mes: fatal error ! player not attached!
[Debug]: Function: mes (1 parameter):
[Debug]: Data: string value="===========[Nisa]============="
[Debug]: Source (NPC): IlyoKwan#6 at comodo (191,153)
[Debug]: Source (NPC): IlyoKwan#6 is located in: npc/custom/CustomWarperNPC.txt
[Error]: buildin_mes: fatal error ! player not attached!
[Debug]: Function: mes (1 parameter):
[Debug]: Data: string value="===========[Cik Wan]============="
[Debug]: Source (NPC): IlyoKwan#4 at alberta (114,62)
[Debug]: Source (NPC): IlyoKwan#4 is located in: npc/custom/CustomWarperNPC.txt
[Error]: buildin_mes: fatal error ! player not attached!
[Debug]: Function: mes (1 parameter):
[Debug]: Data: string value="===========[Ilyana]============="
[Debug]: Source (NPC): IlyoKwan at prontera (151,187)
[Debug]: Source (NPC): IlyoKwan is located in: npc/custom/CustomWarperNPC.txt
[Error]: buildin_mes: fatal error ! player not attached!
[Debug]: Function: mes (1 parameter):
[Debug]: Data: string value="===========[Rozita]============="
[Debug]: Source (NPC): IlyoKwan#3 at geffen (115,70)
[Debug]: Source (NPC): IlyoKwan#3 is located in: npc/custom/CustomWarperNPC.txt
[Error]: buildin_mes: fatal error ! player not attached!
[Debug]: Function: mes (1 parameter):
[Debug]: Data: string value="===========[Atirah]============="
[Debug]: Source (NPC): IlyoKwan#1 at payon (165,105)
[Debug]: Source (NPC): IlyoKwan#1 is located in: npc/custom/CustomWarperNPC.txt
[Error]: buildin_mes: fatal error ! player not attached!
[Debug]: Function: mes (1 parameter):
[Debug]: Data: string value="[Ripped]"
[Debug]: Source (NPC): Ripped Cabus#GymPass at ilyo_kwan (94,98)
[Debug]: Source (NPC): Ripped Cabus#GymPass is located in: npc/other/gympass.txt
[Error]: buildin_mes: fatal error ! player not attached!
[Debug]: Function: mes (1 parameter):
[Debug]: Data: string value="===========[Diana]============="
[Debug]: Source (NPC): IlyoKwan#2 at morocc (158,97)
[Debug]: Source (NPC): IlyoKwan#2 is located in: npc/custom/CustomWarperNPC.txt
[Error]: buildin_disableitemuse: fatal error ! player not attached!
[Debug]: Function: disable_items (no parameters)
[Debug]: Source (NPC): Wise Old Woman#eAcustom at ilyo_kwan (128,112)
[Debug]: Source (NPC): Wise Old Woman#eAcustom is located in: npc/custom/card_remover.txt
[Error]: buildin_mes: fatal error ! player not attached!
[Debug]: Function: mes (1 parameter):
[Debug]: Data: string value="===========[Rabiah]============="
[Debug]: Source (NPC): IlyoKwan#5 at aldebaran (139,119)
[Debug]: Source (NPC): IlyoKwan#5 is located in: npc/custom/CustomWarperNPC.txt

 

 

here is the script :

Spoiler
//=================================================//
//=============== ilyo_kwan========================//
ilyo_kwan,141,121,5	script	Rohayu	113,{
	OnInit:
	waitingroom "Warper",0;
	mes "===========[Rohayu]=============";
	mes "Hello.";
	mes "I can warp you to a few selected city for free";
	next;
	
	switch(select("- Prontera:- Payon:- Morocc:- Geffen:- Alberta:- Aldebaran:- Comodo:- Save Here:- Exit"))
	{
		case 1:
			warp "prontera",156,178; // Change this warp coordinates
			end;
		case 2:
			warp "payon",165,59; // Change this warp coordinates
			end;
		case 3:
			warp "morocc",160,85; // Change this warp coordinates
			end;
		case 4:
			warp "geffen",119,67; // Change this warp coordinates
			end;
		case 5:
			warp "alberta",117,57; // Change this warp coordinates
			end;
		case 6:
			warp "aldebaran",141,114; // Change this warp coordinates
			end;
		case 7:
			warp "comodo",196,143; // Change this warp coordinates
			end;
		case 8:
			mes "===========[Rohayu]=============";
			mes "Ok, your save point had been set to here";
			savepoint "ilyo_kwan" ,143,106;
			end;
		case 9:
			mes "===========[Rohayu]=============";
			mes "Well if you need warp just come look for me";
			close;
		
	}
}
//================== prontera ============================

prontera,151,187,5	script	IlyoKwan	113,{
	OnInit:
	waitingroom "Ilyo Kwan",0;
	mes "===========[Ilyana]=============";
	mes "Hello.";
	mes "I can warp to ilyo_kwan, our main city";
	next;
	
	switch(select("- Warp Me There:- Exit"))
	{
		case 1:
			warp "ilyo_kwan",143,112; // Change this warp coordinates
			end;
		case 2:
			mes "===========[Ilyana]=============";
			mes "Well if you need warp just come look for me";
			close;	
		
	}
}

//================ payon =================================

payon,165,105,5	script	IlyoKwan#1	113,{

	OnInit:
	waitingroom "Ilyo Kwan",0;
	mes "===========[Atirah]=============";
	mes "Hello.";
	mes "I can warp to ilyo_kwan, our main city";
	next;
	
	switch(select("- Warp Me There:- Exit"))
	{
		case 1:
			warp "ilyo_kwan",143,112; // Change this warp coordinates
			end;
		case 2:
			mes "===========[Atirah]=============";
			mes "Well if you need warp just come look for me";
			close;	
		
	}
}

//================ morocc =====================

morocc,158,97,5	script	IlyoKwan#2	113,{
	
	OnInit:
	waitingroom "Ilyo Kwan",0;
	mes "===========[Diana]=============";
	mes "Hello.";
	mes "I can warp to ilyo_kwan, our main city";
	next;
	
	switch(select("- Warp Me There:- Exit"))
	{
		case 1:
			warp "ilyo_kwan",143,112; // Change this warp coordinates
			end;
		case 2:
			mes "===========[Diana]=============";
			mes "Well if you need warp just come look for me";
			close;	
		
	}
}

//================= Geffen =============================

geffen,115,70,5	script	IlyoKwan#3	113,{
	
	OnInit:
	waitingroom "Ilyo Kwan",0;
	mes "===========[Rozita]=============";
	mes "Hello.";
	mes "I can warp to ilyo_kwan, our main city";
	next;
	
	switch(select("- Warp Me There:- Exit"))
	{
		case 1:
			warp "ilyo_kwan",143,112; // Change this warp coordinates
			end;
		case 2:
			mes "===========[Rozita]=============";
			mes "Well if you need warp just come look for me";
			close;	
		
	}
}

//================ Alberta ============================
alberta,114,62,5	script	IlyoKwan#4	113,{
	
	OnInit:
	waitingroom "Ilyo Kwan",0;
	mes "===========[Cik Wan]=============";
	mes "Hello.";
	mes "I can warp to ilyo_kwan, our main city";
	next;
	
	switch(select("- Warp Me There:- Exit"))
	{
		case 1:
			warp "ilyo_kwan",143,112; // Change this warp coordinates
			end;
		case 2:
			mes "===========[Cik Wan]=============";
			mes "Well if you need warp just come look for me";
			close;	
		
	}
}

//================ Aldebaran ============================

aldebaran,139,119,5	script	IlyoKwan#5	113,{
	
	OnInit:
	waitingroom "Ilyo Kwan",0;
	mes "===========[Rabiah]=============";
	mes "Hello.";
	mes "I can warp to ilyo_kwan, our main city";
	next;
	
	switch(select("- Warp Me There:- Exit"))
	{
		case 1:
			warp "ilyo_kwan",143,112; // Change this warp coordinates
			end;
		case 2:
			mes "===========[Rabiah]=============";
			mes "Well if you need warp just come look for me";
			close;	
		
	}
}

//================ comodo ==================

comodo,191,153,5	script	IlyoKwan#6	113,{
	
	OnInit:
	waitingroom "Ilyo Kwan",0;
	mes "===========[Nisa]=============";
	mes "Hello.";
	mes "I can warp to ilyo_kwan, our main city";
	next;
	
	switch(select("- Warp Me There:- Exit"))
	{
		case 1:
			warp "ilyo_kwan",143,112; // Change this warp coordinates
			end;
		case 2:
			mes "===========[Nisa]=============";
			mes "Well if you need warp just come look for me";
			close;	
		
	}
}

 

i know its has something to do with the chat box, but have no idea how to fix,

Edited by Dolphin86
Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  19
  • Topics Per Day:  0.00
  • Content Count:  292
  • Reputation:   46
  • Joined:  10/30/12
  • Last Seen:  

It because == is C++ coding.

Just change ==== to ----

mes "-----------[Rohayu]-------------";

 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  257
  • Topics Per Day:  0.06
  • Content Count:  709
  • Reputation:   16
  • Joined:  01/07/12
  • Last Seen:  

@mrfizi thanks for fast reply, but i still getting these error, its really matter much since it works as it suppose to, but i would love to see clean putty with no error

Spoiler
[Error]: buildin_doevent: fatal error ! player not attached!
[Debug]: Function: doevent (1 parameter):
[Debug]: Data: string value="Stylist::OnTalk"
[Debug]: Source (NPC): Adv. Stylist#main at ilyo_kwan (209,124)
[Debug]: Source (NPC): Adv. Stylist#main is located in: npc/custom/AdvanceStylist4.4.txt
[Error]: buildin_mes: fatal error ! player not attached!
[Debug]: Function: mes (1 parameter):
[Debug]: Data: string value="[Rohayu]"
[Debug]: Source (NPC): Rohayu at ilyo_kwan (141,121)
[Debug]: Source (NPC): Rohayu is located in: npc/custom/CustomWarperNPC.txt
[Error]: buildin_mes: fatal error ! player not attached!
[Debug]: Function: mes (1 parameter):
[Debug]: Data: string value="[Nisa]"
[Debug]: Source (NPC): IlyoKwan#6 at comodo (191,153)
[Debug]: Source (NPC): IlyoKwan#6 is located in: npc/custom/CustomWarperNPC.txt
[Error]: buildin_mes: fatal error ! player not attached!
[Debug]: Function: mes (1 parameter):
[Debug]: Data: string value="[Cik Wan]"
[Debug]: Source (NPC): IlyoKwan#4 at alberta (114,62)
[Debug]: Source (NPC): IlyoKwan#4 is located in: npc/custom/CustomWarperNPC.txt
[Error]: buildin_mes: fatal error ! player not attached!
[Debug]: Function: mes (1 parameter):
[Debug]: Data: string value="[Ilyana]"
[Debug]: Source (NPC): IlyoKwan at prontera (151,187)
[Debug]: Source (NPC): IlyoKwan is located in: npc/custom/CustomWarperNPC.txt
[Error]: buildin_mes: fatal error ! player not attached!
[Debug]: Function: mes (1 parameter):
[Debug]: Data: string value="[Rozita]"
[Debug]: Source (NPC): IlyoKwan#3 at geffen (115,70)
[Debug]: Source (NPC): IlyoKwan#3 is located in: npc/custom/CustomWarperNPC.txt
[Error]: buildin_mes: fatal error ! player not attached!
[Debug]: Function: mes (1 parameter):
[Debug]: Data: string value="[Atirah]"
[Debug]: Source (NPC): IlyoKwan#1 at payon (165,105)
[Debug]: Source (NPC): IlyoKwan#1 is located in: npc/custom/CustomWarperNPC.txt

 

 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  19
  • Topics Per Day:  0.00
  • Content Count:  292
  • Reputation:   46
  • Joined:  10/30/12
  • Last Seen:  

Check your script again. 
 

npc/custom/AdvanceStylist4.4.txt
npc/custom/CustomWarperNPC.txt

 

sorry I can’t check more detail. Already close my laptop and just now I reply from my mobile.

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