SA-MP Forums Archive
Using SpawnPlayer while being in class selection bug - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP (https://sampforum.blast.hk/forumdisplay.php?fid=3)
+--- Forum: Bug Reports (https://sampforum.blast.hk/forumdisplay.php?fid=20)
+--- Thread: Using SpawnPlayer while being in class selection bug (/showthread.php?tid=303454)



Using SpawnPlayer while being in class selection bug - BigETI - 13.12.2011

I've noticed that if you use
pawn Код:
SpawnPlayer(playerid)
while the player is at the class selection, so he/she will be kicked from the game.

SA:MP Version: SA:MP Client/Server 0.3d R2

Proof:



Console has printed out:
Код:
Player ID 0 has been kicked!
Pastebin of the test script:
http://pastebin.com/w7gHuJNP


I hope this will be fixed soon as possible.

Thanks for reading..

Regards: BigETI


Re: Using SpawnPlayer while being in class selection bug - Tomejus - 13.12.2011

Confirm, same here. have stick to 0.3d R1...


Re: Using SpawnPlayer while being in class selection bug - MP2 - 13.12.2011

I have already reported this. Kalcor said he will fix it in the next update. To fix it temporarily, use SetSpawnInfo() before SpawnPlayer().


Re : Using SpawnPlayer while being in class selection bug - decondelite - 14.12.2011

You shouldn't ever use SpawnPlayer in the class selection...


Re: Re : Using SpawnPlayer while being in class selection bug - MP2 - 14.12.2011

Quote:
Originally Posted by decondelite
Посмотреть сообщение
You shouldn't ever use SpawnPlayer in the class selection...
Why on earth not?
Not every server wants to use class selection.


Re: Using SpawnPlayer while being in class selection bug - Celson - 15.12.2011

This bug is really giving me the shits. Please get R3 out asap.


Re: Using SpawnPlayer while being in class selection bug - alextang0926 - 15.12.2011

Quote:
Originally Posted by Tomejus
Посмотреть сообщение
Confirm, same here. have stick to 0.3d R1...
is it ok for 03d r1?


Re: Using SpawnPlayer while being in class selection bug - MP2 - 15.12.2011

As I said:
Quote:
Originally Posted by MP2
Посмотреть сообщение
To fix it temporarily, use SetSpawnInfo() before SpawnPlayer().



Re: Using SpawnPlayer while being in class selection bug - jamesbond007 - 15.12.2011

i guess they are developing some kind of anti-cheat ?


Re: Using SpawnPlayer while being in class selection bug - MP2 - 16.12.2011

Kalcor said in reply to a PM I sent to him that 'there is protection against clients who spawn before calling OnPlayerRequestSpawn. They will be kicked from the server'. I guess he simply forgot about SpawnPlayer.


Quote:
Originally Posted by Kalcor
Hello,

Yes, there is protection against clients who spawn before calling OnPlayerRequestSpawn. They will be kicked from the server.

I am aware of the bug. If you want to fix it quickly, just use SetSpawnInfo on the player. Otherwise, keep using the old server until the update is ready.