Jump to content
  • 1

script_rid2sd: fatal error ! player not attached!


Juxtaposed

Question


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  2
  • Reputation:   1
  • Joined:  06/21/17
  • Last Seen:  

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
Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

  • Group:  Content Moderator
  • Topic Count:  55
  • Topics Per Day:  0.02
  • Content Count:  1678
  • Reputation:   704
  • Joined:  12/21/14
  • Last Seen:  

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

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  2
  • Reputation:   1
  • Joined:  06/21/17
  • Last Seen:  

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!

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