Server prob - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Server prob (
/showthread.php?tid=221525)
Server prob -
berz - 05.02.2011
Hey all. Players can't connect on my server , but I can - to them this message shows : Server closed connection - and they are not banned / acc locked or something help pls
Re: Server prob -
Kitten - 05.02.2011
i had this problem with my server try removing the admin system and tell them to connect.
Re: Server prob -
berz - 05.02.2011
Remove what?
EDIT: sry now i saw " admin system " .
But tell me how to remove it pls
Re: Server prob -
Kitten - 05.02.2011
do you have any aka like ladmin4v2 or LuxAdmin
if you dont have any check your script
or check if you portforwarded it right.
Re: Server prob -
berz - 05.02.2011
Код:
do you have any aka like ladmin4v2 or LuxAdmin
Nope, i don't have.
Код:
or check if you portforwarded it right.
I bought server from Server hosters.
Код:
if you dont have any check your script
And could u tell me what to check? because im new and i don't get any errors at compileing.
Re: Server prob -
Kitten - 05.02.2011
i know but any code can cause this can you show me your onplayerconnect ?
Re: Server prob -
admantis - 05.02.2011
I had this one day and it happened because the ping kicker. It kick players with +1000 ping but sometimes when you connect your ping is 65k, it's a SAMP bug. This only occuured sometimes not always so it might work fo ya
Re: Server prob -
berz - 05.02.2011
Код:
public OnPlayerConnect(playerid)
{
//TogglePlayerSpectating (playerid, 1);
if(IsPlayerNPC(playerid)) return 1;
new plname[MAX_PLAYER_NAME];
GetPlayerName(playerid, plname, sizeof(plname));
if(Security != 0)
{
SendClientMessage(playerid, COLOR_YELLOW, "Host has broken one of the Agreement rules, action has been taken.");
Kick(playerid);
return 1;
}
if(IsGameStarted == 1)
{
if(CashboxOwner == INVALID_PLAYER_ID)
{
if(cbmode == 1)
{
SetPlayerCheckpoint(playerid, CashboxX, CashboxY, CashboxZ, 1);
}
}
}
gDrivebyCount[playerid][0] = 0;
gDrivebyCount[playerid][1] = 0;
gSpamCount[playerid][0] = 0;
gSpamCount[playerid][1] = 0;
for(new x=0; x<MAX_PLAYERS; x++) {
gSpawnkillCount[playerid][x][0] = 0;
gSpawnkillCount[playerid][x][1] = 0;
}
Is that you was looking for?
Re: Server prob -
Kitten - 05.02.2011
noting seems to be wrong in it what fliterscripts are you running.
Re: Server prob -
berz - 05.02.2011
Adminspec,anims,fixanims,gunsback,headshot,helmet, shamal ( for inside interior G ), yrace