Quote:
Originally Posted by Rothgar
There should be a sm_afk_test command to manually move people to spectator team.
Can you try this command on the last person alive on the team and see if the round ends properly.
Also while we are doing this maybe test and see if you use the command on the player with the bomb, that the bomb drops?
|
I used that command with RCON, otherwise it was unknown.
I used it on the last person with bomb alive on the team and the result was:
rcon sm_afk_test Merel
L 08/23/2012 - 19
9:14: [SM] Plugin encountered error 4: Invalid parameter or parameter type
L 08/23/2012 - 19
9:14: [SM] Native "PrintToChat" reported: Language phrase "Move_Announce" not found
L 08/23/2012 - 19
9:14: [SM] Displaying call stack trace for plugin "cstrike-test.smx":
L 08/23/2012 - 19
9:14: [SM] [0] Line 221, /home/groups/alliedmodders/forums/files/3/2/0/9/1/106656.attach::MoveAFKClient()
L 08/23/2012 - 19
9:14: [SM] [1] Line 183, /home/groups/alliedmodders/forums/files/3/2/0/9/1/106656.attach::Command_Spec()
L 08/23/2012 - 19
9:14: rcon from "myip": command "sm_afk_test Merel"
I have afk_manager.phrases in translations from the first post and they do have "Move_Announce"....
Quote:
Originally Posted by Rothgar
The other test is that I have hooked the player_spawn event and it should print a message to chat that the event has fired.
Can you get someone to join the server and see what happens when:
- The player joins and is on the Unassigned team.
- When a player joins the spectator team.
- When a player joins one of the main teams.
player_spawn obviously should not be firing for these and then lastly maybe make sure that when a player actually spawns it fires...
|
- Event_PlayerSpawn - Client 2 (Merel) spawned
- doesn't fire
- fires only when the round was restarted because we played 1v1 so this is also the answer to your last question if it fires when player actually spawns
One more thing in AFKmanager. I reenabled it today for a few minutes. When I joined the server and a team and was of course dead waiting for next round it started to warn me if I don't leave spawn I will be put to spec. I moved the mouse a couple of times and it was Ok then.