Jump to content
  • 1

script_rid2sd: fatal error ! player not attached!


Question

Posted (edited)

We need help asap. >.<

 

We are getting this error. The scripts are working just fine for 2 weeks or so.

Then when we restarted the server yesterday, every custom script we made has an error.

We can't trace the origin of the error.

 

Attached is the script where the "freebies for *stat*" is located.

Thank you in advance for those who are willing to help.

 

freebies.txt

error.PNG

Edited by Juxtaposed

2 answers to this question

Recommended Posts

  • 0
Posted

you have like that

new_1-1,44,112,4	script	Freebies for STR	622,{
OnInit:
waitingroom "Freebies for STR",0;

	if(#sorry == 1) goto L_1;
	mes "You will receive Some Present as a reward for joining the server";
	mes "We're gladly thankful for your support in the future too.";
	next;
	if(checkweight(2504,1) == 0 ) goto L_OverWeight;
		//items
	emotion e_thx;
	set #sorry,1;
	close;

L_OverWeight:
	mes "Sorry, you are over weight";
	emotion e_omg;
	close;

L_1:
	mes "You had already received before the gift.";
	emotion e_bzz;
	close;
}

it most be like this

new_1-1,44,112,4	script	Freebies for STR	622,{

	if(#sorry == 1) goto L_1;
	mes "You will receive Some Present as a reward for joining the server";
	mes "We're gladly thankful for your support in the future too.";
	next;
	if(checkweight(2504,1) == 0 ) goto L_OverWeight;
		//items
	emotion e_thx;
	set #sorry,1;
	close;

L_OverWeight:
	mes "Sorry, you are over weight";
	emotion e_omg;
	close;

L_1:
	mes "You had already received before the gift.";
	emotion e_bzz;
	close;
OnInit:
waitingroom "Freebies for STR",0;
end;
}

 

so don't put the OnInit in the start and end it

this is your script fixed

freebies.txt

  • 0
Posted
2 hours ago, sader1992 said:

you have like that


new_1-1,44,112,4	script	Freebies for STR	622,{
OnInit:
waitingroom "Freebies for STR",0;

	if(#sorry == 1) goto L_1;
	mes "You will receive Some Present as a reward for joining the server";
	mes "We're gladly thankful for your support in the future too.";
	next;
	if(checkweight(2504,1) == 0 ) goto L_OverWeight;
		//items
	emotion e_thx;
	set #sorry,1;
	close;

L_OverWeight:
	mes "Sorry, you are over weight";
	emotion e_omg;
	close;

L_1:
	mes "You had already received before the gift.";
	emotion e_bzz;
	close;
}

it most be like this


new_1-1,44,112,4	script	Freebies for STR	622,{

	if(#sorry == 1) goto L_1;
	mes "You will receive Some Present as a reward for joining the server";
	mes "We're gladly thankful for your support in the future too.";
	next;
	if(checkweight(2504,1) == 0 ) goto L_OverWeight;
		//items
	emotion e_thx;
	set #sorry,1;
	close;

L_OverWeight:
	mes "Sorry, you are over weight";
	emotion e_omg;
	close;

L_1:
	mes "You had already received before the gift.";
	emotion e_bzz;
	close;
OnInit:
waitingroom "Freebies for STR",0;
end;
}

 

so don't put the OnInit in the start and end it

this is your script fixed

freebies.txt

Will try that one. Thanks!

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...