Bug Confirmation - Spawn Info - 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: Bug Confirmation - Spawn Info (
/showthread.php?tid=102312)
Bug Confirmation - Spawn Info -
Proteus - 14.10.2009
Why?
- I am posting this because I have found a bug and would like some people to confirm it before I put in the official bug report topic.
Details
This is a bug regarding gamemodes that use TogglePlayerSpectating before players are sent to class selection.
If you do TogglePlayerSpectating(playerid, 0)... a player will go to class selection if his spawn info isnt set. However, if you load another gamemode (/rcon changemode) that also puts players into spec mode before csel, clients will spawn when you do "TogglePlayerSpectating(playerid, 0)" without ever seeing class selection because there spawn info is still set from the last gamemode and was not cleared. If each players quits their game and reconnects it does work fine though.
To showcase this bug, I have created a gamemode that uses spectate before csel, and by using the grandlarc gm you can see this bug for yourself.
Example Gamemode:
http://www.killadel.com/files/bare.pwn
To see the bug, load the bare example gamemode ^ in your server and spawn, then do /rcon changemode grandlarc
You will spawn on grand larceny without ever seeing the class selection.
Anyone with a few minutes of spare time, please confirm this bug so it can be fixed.
Re: Bug Confirmation - Spawn Info -
Infamous - 14.10.2009
I also have this issue with 'TogglePlayerSpectating' and seccond Raekwon's report.
Re: Bug Confirmation - Spawn Info -
AhEaD_ - 14.10.2009
Same happens to me, exactly as Raekwon described.
Hope more people can confirm this so we might have it fixed on upcoming versions.
Re: Bug Confirmation - Spawn Info -
Proteus - 05.05.2010
lol this still hasnt been fixed
Re: Bug Confirmation - Spawn Info -
MaTrIx4057 - 05.05.2010
relly?
Re: Bug Confirmation - Spawn Info -
Proteus - 05.05.2010
YEA
Re: Bug Confirmation - Spawn Info -
Obie27 - 05.05.2010
I can confirm this too, Has caused alot of problems with my game mode (If this is the same problem (Which i think it is) also OnPlayerSpawn does NOT get called when this happens).
Re: Bug Confirmation - Spawn Info -
Proteus - 05.05.2010
I know RequestClass doesnt get called.