Page 1 of 2
Respawning Broken By the Valve Update? See here!
Posted:
Thu Aug 27, 2009 8:46 pm
by XE_ManUp
For those of you that were using ES_Tools or GunGame Utils for respawning (or any other respawning command that was broken by the August 25, 2009 update, for that matter) here is a solution that you can use.
Source Python Extensions written by your-name-here is a plugin that allows access to sigscanning which is required for respawning players. It has since been updated with the signature for respawning players, which Valve broke in the last update. I would go into more detail, but I will give you the link if you are interested in scripting with SPE:
http://forums.eventscripts.com/viewtopi ... 624#269624For those of you that simply need a replacement for your existing respawn commands, I have uploaded an attachment. This attachment is to be installed in:
...where "<MOD>" is likely to be "cstrike".
Then, you need to add the following line to your autoexec.cfg ABOVE es_load gungame:
...
es_load gg_spawn
es_load gungame
...
The command name is "gg_spawn", which is the same as GunGame Utils. If you have GunGame Utils installed on your server, since it is broken, I recommend you remove it until the author has had a chance to update it. In the meantime, this is a viable solution. Therefore, you need to change the variable gg_respawn_cmd to "gg_spawn" if it is anything other than that (located in the cfg/gungame/gg_en_config.cfg).
The package attached is Source Python Extensions 1.5.0a and a custom python script (written to be used with EventScripts) called "gg_spawn".
Re: Respawning Broken By the Valve Update? See here!
Posted:
Thu Aug 27, 2009 8:48 pm
by your-name-here
your-name-here approves of this message.
Posted:
Thu Aug 27, 2009 10:12 pm
by Warren
Good stuff.
Posted:
Thu Aug 27, 2009 10:17 pm
by crazydrummer7
I have extracted to the addons folder and modified my cfg's. No luck
Any suggestions?
Error:
AttributeError: 'module' object has no attribute 'Respawn'
Removed weapon_m4a1(weapon_m4a1)
Traceback (most recent call last):
File "C:\srcds\cstrike\addons\eventscripts\es.py", line 276, in callBlock
self.Blocks[blockname]()
File "C:\srcds\cstrike\addons\eventscripts\gg_spawn\gg_spawn.py", line 32, in
respawn
cstrike.Respawn(userid)
Posted:
Thu Aug 27, 2009 10:26 pm
by XE_ManUp
Fixed and re-uploaded. Please download again. Sorry about that.
Posted:
Thu Aug 27, 2009 10:50 pm
by XE_ManUp
Fixed for a third (and hopefully FINAL) time. I wasn't aware that you had to type cast userids as an integer.
Posted:
Fri Aug 28, 2009 12:19 am
by erazor
great, now its working xD thanks.
AQNgaming.com | TR100 UK | HLsX | DeathMatch | GunGame 5
89.238.160.145:27018
Re: Respawning Broken By the Valve Update? See here!
Posted:
Sun Aug 30, 2009 3:47 am
by ips5150
It didn't work for me
Re: Respawning Broken By the Valve Update? See here!
Posted:
Sun Aug 30, 2009 4:48 pm
by Bazillus
hi guys,
could someone please be so kind to help me?
Everytime the console writes:
unable to respanwn player with key ´1´
unable to respawn player with key ´2´ ....
best regards
Baz
Re: Respawning Broken By the Valve Update? See here!
Posted:
Thu Sep 03, 2009 3:42 am
by Warbucks
This seems to stop working randomly. Anyone else experiencing the same problem?
Posted:
Thu Sep 03, 2009 10:22 pm
by crazydrummer7
Everything has been working 100% fine since that update. I am getting error messages when the bots are on nade and when the warmup timer ends. But it doesn't affect gameplay.
Re: Respawning Broken By the Valve Update? See here!
Posted:
Fri Sep 11, 2009 12:44 am
by Brock Lee
I have been having the same problem with my GG5 DM server after the valve update.
I have done:
1. Installed the spe_package.zip
2. “Changed gg_respawn_cmd est_spawn” to “gg_respawn_cmd gg_spawn” in my gg_en_config.cfg
3. Added es_load gg_spawn to my server.cfg above es_load gungame
I was not been able to find my server autoexec.cfg so I could add the es_load gg_spawn command.
As stated aboveI put the command at the end of my server.cfg as that was where my es_load gungame command was.
I have run the server and respawn is not working at all now.
Should this be working? What have I missed? Do I need to create a autoexec.cfg?
Any help would be soooo much appreciated.
Re: Respawning Broken By the Valve Update? See here!
Posted:
Fri Sep 11, 2009 1:05 am
by Brock Lee
Below are the erroes that I am having, Is this the same thing as you guys (the valve update)
Traceback (most recent call last):
File "D:\ClientInstalls\*****\GameServers\TC46338384805306161160674\cstrike\addons\eventscripts\es.py", line 207, in tick
x()
File "D:\ClientInstalls\******\GameServers\TC46338384805306161160674\cstrike\addons\eventscripts\_libs\python\gamethread.py", line 179, in tick
_executenode(task)
File "D:\ClientInstalls\*****\GameServers\TC46338384805306161160674\cstrike\addons\eventscripts\_libs\python\gamethread.py", line 156, in _executenode
function(*a, **kw)
File "D:\ClientInstalls\*****\GameServers\TC46338384805306161160674\cstrike\addons\eventscripts\_libs\python\testrepeat.py", line 276, in fire
raise RepeatError('Cannot fire repeat: \"%s\" does not exist.' %repeatName)
RepeatError: Cannot fire repeat: "gungameWarmupTimer" does not exist.
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Exception caught: 11/09/2009 @ [08:59:49] [Occurences: 2]
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Traceback (most recent call last):
File "D:\ClientInstalls\N_Liles\GameServers\TC46338384805306161160674\cstrike\addons\eventscripts\es.py", line 207, in tick
x()
File "D:\ClientInstalls\N_Liles\GameServers\TC46338384805306161160674\cstrike\addons\eventscripts\_libs\python\gamethread.py", line 179, in tick
_executenode(task)
File "D:\ClientInstalls\N_Liles\GameServers\TC46338384805306161160674\cstrike\addons\eventscripts\_libs\python\gamethread.py", line 156, in _executenode
function(*a, **kw)
File "D:\ClientInstalls\N_Liles\GameServers\TC46338384805306161160674\cstrike\addons\eventscripts\_libs\python\testrepeat.py", line 276, in fire
raise RepeatError('Cannot fire repeat: \"%s\" does not exist.' %repeatName)
RepeatError: Cannot fire repeat: "gungameWarmupTimer" does not exist.
Posted:
Mon Sep 14, 2009 1:30 am
by darkdata
I get same errors as Brock lee any help be great
Posted:
Mon Sep 14, 2009 5:20 pm
by satoon101
That error has existed for a while, long before the Valve update. It doesn't really affect anything though, so if you are having issues with GunGame, it would be better to describe the issues.
Satoon
Re: Respawning Broken By the Valve Update? See here!
Posted:
Mon Sep 14, 2009 5:55 pm
by Brock Lee
Hey darkdata.
I have managed to fix all my problems,
Now if you were having the same problem as me I may be able to offer a solution. I can’t explain why but, someone else may be able to do that.
Well my server was crashing on gg_shotty and some other maps, as this is one of my most popular maps I didn’t want to delete it, so I put some time in to finding what was causing the crashes, with no knowledge of scripting I started very simple.
The server was only crashing when there was bots in the map and more precisely when a bot got to nade level.
I found that when I had a normal weapon order this didn’t happen, I tracked it down even further and found my server has an issue with the transition from glock to nade as I am running in rev weapon order. If I replaced glock with any other gun I would run fine with no crashes.
As I said why this happens I don’t know and it may well be different to your issues, but if it is I hope this helps you. Get rid of glock, I hate it anyway.
If anyone else can enlighten me to why this happens I would love to know.
Somehow before the update I didn’t have a problem, the funny thing is that now I have removed glock I no longer need to run GG_spawn anymore, just the est_spawn.
Brock Lee
Re: Respawning Broken By the Valve Update? See here!
Posted:
Thu Sep 24, 2009 4:35 pm
by your-name-here
Warbucks wrote:This seems to stop working randomly. Anyone else experiencing the same problem?
Can you describe any conditions that are present when this happens?
Re: Respawning Broken By the Valve Update? See here!
Posted:
Fri Sep 25, 2009 9:07 pm
by Warbucks
your-name-here wrote:Warbucks wrote:This seems to stop working randomly. Anyone else experiencing the same problem?
Can you describe any conditions that are present when this happens?
I've been investigating this a little bit further and found that It doesn't stop spawning completely. The server has 24 slots, if you are the 24th person to connect, you WILL NOT spawn until you close counter-strike and exit steam. I wonder if this is related to valve's recent update or if it's SPE causing it.
Re: Respawning Broken By the Valve Update? See here!
Posted:
Sat Sep 26, 2009 2:47 am
by your-name-here
Warbucks wrote:your-name-here wrote:Warbucks wrote:This seems to stop working randomly. Anyone else experiencing the same problem?
Can you describe any conditions that are present when this happens?
I've been investigating this a little bit further and found that It doesn't stop spawning completely. The server has 24 slots, if you are the 24th person to connect, you WILL NOT spawn until you close counter-strike and exit steam. I wonder if this is related to valve's recent update or if it's SPE causing it.
Not SPE.
Re: Respawning Broken By the Valve Update? See here!
Posted:
Fri Oct 09, 2009 8:42 am
by ravenblades1670
did it just as told and nothing seems to work. Only difference is instead of the respawning in 1sec thing staying there, it goes away, but you still don't actually respawn.