[UNSOLVED] Restart Bug?
#1

Hi everyone,

When I type certain commands (Example /register SOMETHING HERE) my gamemode/server restarts...
How can I fix this?
You can test it @ 94.23.26.143:8800

Please help me ;s
Thanks
Reply
#2

Post your code.
Reply
#3

Quote:
Originally Posted by Kyosaur!!
Post your code.
Hole GM?
There is also 1 FS running...
Reply
#4

By any chance do you have a server restarter running?
Reply
#5

Quote:
Originally Posted by Malice
By any chance do you have a server restarter running?
ServerFFS is hosting it, so I think yes...
Reply
#6

Quote:
Originally Posted by Nameless303
Quote:
Originally Posted by Malice
By any chance do you have a server restarter running?
ServerFFS is hosting it, so I think yes...
Can you post you /register code (or any command that is crashing the server) ?
Reply
#7

Quote:
Originally Posted by Kyosaur!!
Quote:
Originally Posted by Nameless303
Quote:
Originally Posted by Malice
By any chance do you have a server restarter running?
ServerFFS is hosting it, so I think yes...
Can you post you /register code (or any command that is crashing the server) ?
It's from CJ Admin Script, but I have the same bug when I tried Eazy Admin...
Код:
dcmd_register(playerid,params[])
{
	new name[90];
	GetPlayerName(playerid,name,sizeof(name));
  if (Stats[playerid][LoggedIn] == 1) return SendClientMessage(playerid,COLOR_RED,"You are logged in!");
  if (udb_Exists(name)) return SendClientMessage(playerid,COLOR_RED,"This account already exists, please login.");
  if (strlen(params) == 0) return SendClientMessage(playerid,COLOR_RED,"USAGE: /register <password>");
  if (udb_Create(name,params))
	{
  	new file[256],ip[100],tmp[260];
		GetPlayerName(playerid,name,sizeof(name)); format(file,sizeof(file),"%s.ini",udb_encode(name));
   	GetPlayerIp(playerid,ip,100);
	 	dini_Set(file,"ip",tmp);
		dUserSetINT(name).("AdminLvl",0);
  	dUserSetINT(name).("Money",0);
  	dUserSetINT(name).("Kills",0);
	  	dUserSetINT(name).("Deaths",0);
	  	Stats[playerid][LoggedIn] = 1;
	  SendClientMessage(playerid,COLOR_GREEN, "You have been registered and logged in.");
		PlayerPlaySound(playerid,1057,0.0,0.0,0.0);
		return 1;
	}
  return 1;
}
Btw; The server is SAMP 0.3.
Reply
#8

Are you sure you made the necessary files or folders in scriptfiles?
Reply
#9

Quote:
Originally Posted by Matthias_
Are you sure you made the necessary files or folders in scriptfiles?
Absolutely sure...
I just noticed that almost every other command works, except login x register...

Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)