yo,weird [rep] - 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)
+--- Thread: yo,weird [rep] (
/showthread.php?tid=571029)
yo,weird [rep] -
Antoniohl - 15.04.2015
there's something wrong i've never seen a bug like that before in my server
actually i've deleted all houses from the scriptfiles and restarted the server, when i have logged on my account spawned with 0HP and he start falling in blueberry and died so many times, i've set the MAX_HOUSES to 1 and created house id 1, and everything works fine, i've deleted the house and re-connected and the same happened again falling and no hp, what's the problem?
AW: yo,weird [rep] -
Mencent - 15.04.2015
Hello!
Can you show us your OnPlayerSpawn Code?
Mencent
Re: yo,weird [rep] -
Antoniohl - 15.04.2015
Код:
public OnPlayerSpawn(playerid)
{
if(!IsPlayerConnectedEx(playerid) && !IsPlayerNPC(playerid))
{
SendInfoMessage(playerid, 0, "3", "You have been automatically expelled from the server you do not correctly enter your password.");
Kick(playerid);
return 1;
}
if(GetPVarInt(playerid, "Register") == 1)
{
if(PlayerInfo[playerid][pSex] == 1)
{
SetPlayerSkin(playerid, 29);
PlayerInfo[playerid][pClothes] = GetPlayerSkin(playerid);
}
else if(PlayerInfo[playerid][pSex] == 2)
{
SetPlayerSkin(playerid, 93);
PlayerInfo[playerid][pClothes] = GetPlayerSkin(playerid);
}
if(PlayerInfo[playerid][pCity] == 1)
{
SetPosEx(playerid, 1449.5273,-2286.9753,13.5469,94.1927,0,0);
}
else if(PlayerInfo[playerid][pCity] == 2)
{
SetPosEx(playerid, -1968.9153,137.7357,27.6875,88.9782,0,0);
}
SetPVarInt(playerid, "Register", 0);
return 1;
}
CancelSelectTextDraw(playerid);
StopAudioStreamForPlayer(playerid);
SetPlayerStats(playerid);
SetPlayerWantedLevel(playerid, PlayerInfo[playerid][pWantedLevel]);
SetPlayerSpawn(playerid);
SetPlayerWeapons(playerid);
return 1;
}
There's nothing here trust me
EDIT:
Warrnings.
Код:
Warning: client exceeded 'ackslimit' 127.0.0.1:63000 (3846) Limit: 3000/sec
Warning: client exceeded 'ackslimit' 127.0.0.1:63000 (3846) Limit: 3000/sec
Warning: client exceeded 'ackslimit' 127.0.0.1:63000 (3846) Limit: 3000/sec
Warning: client exceeded 'ackslimit' 127.0.0.1:63000 (3846) Limit: 3000/sec
Warning: client exceeded 'ackslimit' 127.0.0.1:63000 (3846) Limit: 3000/sec
Warning: client exceeded 'ackslimit' 127.0.0.1:63000 (3846) Limit: 3000/sec
Warning: client exceeded 'ackslimit' 127.0.0.1:63000 (3846) Limit: 3000/sec
Warning: client exceeded 'ackslimit' 127.0.0.1:63000 (3846) Limit: 3000/sec
Warning: client exceeded 'ackslimit' 127.0.0.1:63000 (3846) Limit: 3000/sec
Warning: client exceeded 'ackslimit' 127.0.0.1:63000 (3846) Limit: 3000/sec
Warning: client exceeded 'ackslimit' 127.0.0.1:63000 (3846) Limit: 3000/sec
Warning: client exceeded 'ackslimit' 127.0.0.1:63000 (3846) Limit: 3000/sec
Warning: client exceeded 'ackslimit' 127.0.0.1:63000 (3846) Limit: 3000/sec
Warning: client exceeded 'ackslimit' 127.0.0.1:63000 (3846) Limit: 3000/sec
Warning: client exceeded 'ackslimit' 127.0.0.1:63000 (3846) Limit: 3000/sec
Warning: client exceeded 'ackslimit' 127.0.0.1:63000 (3846) Limit: 3000/sec
Warning: client exceeded 'ackslimit' 127.0.0.1:63000 (3846) Limit: 3000/sec
Warning: client exceeded 'ackslimit' 127.0.0.1:63000 (3846) Limit: 3000/sec
Warning: client exceeded 'ackslimit' 127.0.0.1:63000 (3846) Limit: 3000/sec
Warning: client exceeded 'ackslimit' 127.0.0.1:63000 (3846) Limit: 3000/sec
Warning: client exceeded 'ackslimit' 127.0.0.1:63000 (3846) Limit: 3000/sec
Warning: client exceeded 'ackslimit' 127.0.0.1:63000 (3846) Limit: 3000/sec
Warning: client exceeded 'ackslimit' 127.0.0.1:63000 (3846) Limit: 3000/sec
Warning: client exceeded 'ackslimit' 127.0.0.1:63000 (3846) Limit: 3000/sec
Warning: client exceeded 'ackslimit' 127.0.0.1:63000 (3846) Limit: 3000/sec
Warning: client exceeded 'ackslimit' 127.0.0.1:63000 (3846) Limit: 3000/sec
Warning: client exceeded 'ackslimit' 127.0.0.1:63000 (3846) Limit: 3000/sec
Warning: client exceeded 'ackslimit' 127.0.0.1:63000 (3846) Limit: 3000/sec
Warning: client exceeded 'ackslimit' 127.0.0.1:63000 (3846) Limit: 3000/sec
Warning: client exceeded 'ackslimit' 127.0.0.1:63000 (3846) Limit: 3000/sec
Warning: client exceeded 'ackslimit' 127.0.0.1:63000 (3846) Limit: 3000/sec
Warning: client exceeded 'ackslimit' 127.0.0.1:63000 (3846) Limit: 3000/sec
Warning: client exceeded 'ackslimit' 127.0.0.1:63000 (3846) Limit: 3000/sec
Warning: client exceeded 'ackslimit' 127.0.0.1:63000 (3846) Limit: 3000/sec
Warning: client exceeded 'ackslimit' 127.0.0.1:63000 (3846) Limit: 3000/sec
Warning: client exceeded 'ackslimit' 127.0.0.1:63000 (3846) Limit: 3000/sec
Warning: client exceeded 'ackslimit' 127.0.0.1:63000 (3846) Limit: 3000/sec
Warning: client exceeded 'ackslimit' 127.0.0.1:63000 (3846) Limit: 3000/sec
Warning: client exceeded 'ackslimit' 127.0.0.1:63000 (3846) Limit: 3000/sec
Warning: client exceeded 'ackslimit' 127.0.0.1:63000 (3846) Limit: 3000/sec
Warning: client exceeded 'ackslimit' 127.0.0.1:63000 (3846) Limit: 3000/sec
Warning: client exceeded 'ackslimit' 127.0.0.1:63000 (3846) Limit: 3000/sec
Warning: client exceeded 'ackslimit' 127.0.0.1:63000 (3846) Limit: 3000/sec
Warning: client exceeded 'ackslimit' 127.0.0.1:63000 (3846) Limit: 3000/sec
Warning: client exceeded 'ackslimit' 127.0.0.1:63000 (3846) Limit: 3000/sec
Warning: client exceeded 'ackslimit' 127.0.0.1:63000 (3846) Limit: 3000/sec
Warning: client exceeded 'ackslimit' 127.0.0.1:63000 (3846) Limit: 3000/sec
Warning: client exceeded 'ackslimit' 127.0.0.1:63000 (3846) Limit: 3000/sec
Warning: client exceeded 'ackslimit' 127.0.0.1:63000 (3963) Limit: 3000/sec
Warning: client exceeded 'ackslimit' 127.0.0.1:63000 (3963) Limit: 3000/sec
Warning: client exceeded 'ackslimit' 127.0.0.1:63000 (3963) Limit: 3000/sec
Warning: client exceeded 'ackslimit' 127.0.0.1:63000 (3963) Limit: 3000/sec
AW: yo,weird [rep] -
Mencent - 15.04.2015
What is the function SetPlayerSpawn? Can you share this function?
Mencent
Re: yo,weird [rep] -
Antoniohl - 15.04.2015
The function SetPlayerSpawn it has nothing about house.. i've checked it multipe times, i think it's the problem with loading house? i'm using Y_INI anyway i will just use the old one
Re: yo,weird [rep] -
_GHT_MarK445 - 15.04.2015
Show us whole house loading stuff, that we can really see, what is going on there. By the warnings, it really do look like something is wrong with the loading.