My Weather Script Crashes Server, help!
#1

Hi! I have a weather script that crases the server, but i dont know why? Please look at script
http://pastebin.com/f10873d05
and say me what needs to get edited
to make it stop crash

Thanks!

(Timers are 1, and 50 seconds. Beacuse im testing the weather ids)
Reply
#2

Your weather script?

pawn Код:
print("By Weed_");
If you downloaded this, ask in the scripts thread, not in the scripting discussion forum.
Reply
#3

Quote:
Originally Posted by Weirdosport
Your weather script?

pawn Код:
print("By Weed_");
If you downloaded this, ask in the scripts thread, not in the scripting discussion forum.
I downloaded it and modified
Reply
#4

At what point does it crash?
Reply
#5

Quote:
Originally Posted by Miokie*
At what point does it crash?
Ah, the SERVER crahses beacuse this. Not Compier. Just server, i run it. After a while. It crashes (shuts down)
Reply
#6

Код:
new strout[256];
SetWeather(gRandomWeatherIDs[rand][wt_id]);
SendClientMessageToAll(COLOR_WHITE,strout);
You are setting a string without format, hmmmm, use format.
Reply
#7

Quote:
Originally Posted by Andom
Код:
new strout[256];
SetWeather(gRandomWeatherIDs[rand][wt_id]);
SendClientMessageToAll(COLOR_WHITE,strout);
You are setting a string without format, hmmmm, use format.
Damnit I saw the string and didn't realise! Yeah if you send a blank string it's bound to crash..
Reply
#8

Quote:
Originally Posted by Weirdosport
Quote:
Originally Posted by Andom
Код:
new strout[256];
SetWeather(gRandomWeatherIDs[rand][wt_id]);
SendClientMessageToAll(COLOR_WHITE,strout);
You are setting a string without format, hmmmm, use format.
Damnit I saw the string and didn't realise! Yeah if you send a blank string it's bound to crash..
I fixed it, and now its working. Not wierd i didnt saw that. I wasnt the only one ^^
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)