Juxtaposed Posted June 30, 2017 Posted June 30, 2017 (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 Edited June 30, 2017 by Juxtaposed Quote
0 sader1992 Posted June 30, 2017 Posted June 30, 2017 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 Quote
0 Juxtaposed Posted June 30, 2017 Author Posted June 30, 2017 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! Quote
Question
Juxtaposed
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

Edited by Juxtaposed2 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.