Page 1 of 2

Issues with 2/5/13 Update

PostPosted: Wed Feb 06, 2013 2:00 am
by satoon101
Valve updated CS:S again, and both EventScripts and SourcePythonExtensions are broken.

To fix EventScripts, you need to download the newest version (2.1.1.378):
http://forums.eventscripts.com/viewtopi ... 28&t=40765

Make sure you download 2.1.1.378 and not 2.1.1.371. Currently, 2.1.1.378 is marked as the HL2MP and TF2 version. Valve split CS:S from the rest of the OrangeBox games so they wouldn't break it every time they break other games. They are now simply updating CS:S to be on the newest version of the OrangeBox engine.

Unfortunately, SPE will need to be updated. Once it is, I will post a link to the update in this thread.

*Edit: Windows builds are now available with Linux to follow soon:
SPE main version - http://forums.eventscripts.com/viewtopi ... 76#p404776
SPE Alpha version - http://forums.eventscripts.com/viewtopi ... 75#p404775

Thank you for your patience,
Satoon

PostPosted: Wed Feb 06, 2013 2:04 am
by tnarocks
Thanks for the update Satoon101.

PostPosted: Thu Feb 07, 2013 6:17 am
by satoon101
Updated first post with Windows binary links.

Satoon

PostPosted: Thu Feb 07, 2013 12:37 pm
by crude
Thanks for the update.
Hope the Linux update comes soon I would hate to install the half ass sm gungame.

Re: Issues with 2/5/13 Update

PostPosted: Thu Feb 07, 2013 7:14 pm
by Serialkiller
Ayuto has updated SPE but there still seems to be an issue as the gungame script seemingly cant find the spe?

Get error message:

Unloading gungame51...
Can't load addon (gungame51): SPE Is not installed on this server! Please visit http://forums.eventscripts.com/viewtopic.php?t=29657 and download the latest version! SPE is required to run GunGame 5.1.
[EventScripts] Unloading gungame51...
[EventScripts] gungame51 was not loaded


SK

PostPosted: Thu Feb 07, 2013 7:26 pm
by Serialkiller
I updated the gungame as well to make sure I had the latest version.
Still getting the "no spe" message.

cheers

SK

Re: Issues with 2/5/13 Update

PostPosted: Thu Feb 07, 2013 10:19 pm
by Serialkiller
Has anyone got GG5.1 working on a linux server after the update?
If so what plugins you using?

Cheers

SK

PostPosted: Fri Feb 08, 2013 2:07 am
by satoon101
That error will only occur if GunGame fails to import SPE. Try using the following script:
Save that on your server as ../addons/eventscripts/test/test.py and then use "es_load test" in your server's console. That should print out the actual reason why SPE is not being imported. Post that here or in the SPE thread for whichever version you use.

Satoon

Re: Issues with 2/5/13 Update

PostPosted: Fri Feb 08, 2013 2:27 am
by Highwaywarrior
Hey everyone.

I have an issue with my GG server that you can hopefully help me out with. I'm running it on a linux box and currently have MM:S v.19.2-devV, SM v1.5.0-dev+3764 and Eventscripts v.2.1.1.378 installed (with newest snapshots). I'm running the latest version of Gungame5.1, SDK Hooks .so file and SDK Tools as well as the latest release of SPE. All these updates have been done since the last Steam update.

I've managed to get Gungame up and running and when I'm in the server playing against a bot it's working fine. When another player joins the server it crashes. I'd be really grateful if someone could point me in the right direction please! My brain is aching now!

Thanks

HW

Re: Issues with 2/5/13 Update

PostPosted: Fri Feb 08, 2013 4:00 am
by cuttep
Highwaywarrior wrote:Hey everyone.

I have an issue with my GG server that you can hopefully help me out with. I'm running it on a linux box and currently have MM:S v.19.2-devV, SM v1.5.0-dev+3764 and Eventscripts v.2.1.1.378 installed (with newest snapshots). I'm running the latest version of Gungame5.1, SDK Hooks .so file and SDK Tools as well as the latest release of SPE. All these updates have been done since the last Steam update.

I've managed to get Gungame up and running and when I'm in the server playing against a bot it's working fine. When another player joins the server it crashes. I'd be really grateful if someone could point me in the right direction please! My brain is aching now!

Thanks

HW


and same with my server GunGame51
after join players - spe down and server crash, i write it
http://forums.eventscripts.com/viewtopi ... 67#p404867

PostPosted: Fri Feb 08, 2013 4:52 am
by tnarocks
Im running gg51 on a windows server and its running great with no problems at all. And im using the new alpha spe version. And all the latest snapshots of everything.

Re: Issues with 2/5/13 Update

PostPosted: Fri Feb 08, 2013 8:48 am
by Serialkiller
*** EventScripts caught an exception:
Traceback (most recent call last):
File "/usr/local/games/css/490285/212.187.208.63:27015/css/cstrike/addons/eventscripts/es.py", line 409, in loadModuleAddon
newaddon = __import__(importname)
File "/usr/local/games/css/490285/212.187.208.63:27015/css/cstrike/addons/eventscripts/test/test.py", line 1
[syntax="python"]import spe[/syntax]
^
SyntaxError: invalid syntax
Could not open script for addons/eventscripts/test/es_test.txt
Error source (console): (no script)

PostPosted: Fri Feb 08, 2013 8:57 am
by Serialkiller
Just to be sure:

I typed :

[syntax="python"]import spe[/syntax]

in a text file and saved it as test.py

then put that in a folder called test

then uploaded that to my eventscripts folder where you said, then went on server and typed es_load into the console?
Gave me wrong syntax?!

I am going to redo eventscripts update see ifthat changes anything!

SK

PostPosted: Fri Feb 08, 2013 10:53 am
by Serialkiller
OK I guess I did a schoolboy error and forgot to move the eventscripts so file cos I use gameservers.com.
SPE now loads fine. eventscripts works fine but:

Now gg attempts to load but I get errors that result in the server crashing:

# ================================================
# >> GunGame 5.1 Exception Caught!
# ================================================
Traceback (most recent call last):
File "../eventscripts/es.py", line 272, in triggerEvent
self.EventListeners[eventname][listener](event_var)
File "../eventscripts/gungame51/core/addons/events.py", line 130, in _call_event
callback['callback'](event_var)
File "../eventscripts/gungame51/modules/gameevents.py", line 316, in player_team
Player(int(event_var['userid'])).playsound('welcome')
File "../eventscripts/gungame51/core/players/players.py", line 373, in __new__
return _PlayerContainer()[userid]
File "../eventscripts/gungame51/core/players/players.py", line 149, in __getitem__
'The userid can not be found on the server.')
UseridError: Unable to retrieve or create a player instance for userid "2". The userid can not be found on the server.
# ================================================




# ================================================
# >> GunGame 5.1 Exception Caught!
# ================================================
Traceback (most recent call last):
File "../eventscripts/es.py", line 272, in triggerEvent
self.EventListeners[eventname][listener](event_var)
File "../eventscripts/gungame51/core/addons/events.py", line 130, in _call_event
callback['callback'](event_var)
File "../eventscripts/gungame51/modules/gameevents.py", line 165, in player_spawn
if getPlayer(userid).isdead:
File "../eventscripts/_libs/python/playerlib.py", line 1310, in getPlayer
raise e
UseridError: '2' is an invalid userid
# ================================================




# ================================================
# >> GunGame 5.1 Exception Caught!
# ================================================
Traceback (most recent call last):
File "../eventscripts/es.py", line 272, in triggerEvent
self.EventListeners[eventname][listener](event_var)
File "../eventscripts/gungame51/core/addons/events.py", line 130, in _call_event
callback['callback'](event_var)
File "../eventscripts/gungame51/modules/gameevents.py", line 165, in player_spawn
if getPlayer(userid).isdead:
File "../eventscripts/_libs/python/playerlib.py", line 1310, in getPlayer
raise e
UseridError: '2' is an invalid userid
# ================================================




# ================================================
# >> GunGame 5.1 Exception Caught!
# ================================================
Traceback (most recent call last):
File "../eventscripts/es.py", line 272, in triggerEvent
self.EventListeners[eventname][listener](event_var)
File "../eventscripts/gungame51/core/addons/events.py", line 130, in _call_event
callback['callback'](event_var)
File "../eventscripts/gungame51/modules/gameevents.py", line 333, in player_activate
Player(userid).database_update()
File "../eventscripts/gungame51/core/players/players.py", line 373, in __new__
return _PlayerContainer()[userid]
File "../eventscripts/gungame51/core/players/players.py", line 149, in __getitem__
'The userid can not be found on the server.')
UseridError: Unable to retrieve or create a player instance for userid "2". The userid can not be found on the server.
# ================================================

anything I'm doing wrong or is this gg script related?

cheers

SK

PostPosted: Fri Feb 08, 2013 1:52 pm
by Serialkiller
OK my errors relate to bots I added.
I have removed the bots from my server.cfg and gg5.1 now loads.
When I spawn as a player the server crashes.

Cant see the error message.

SK

PostPosted: Fri Feb 08, 2013 3:18 pm
by Serialkiller
Ayuto has redone the spe for linux and the gungame now works fine, (even with bots)!
Get it from here

http://forums.eventscripts.com/viewtopi ... 98#p404898

Ayuto is a legend!

Cheers

SK

PostPosted: Fri Feb 08, 2013 11:46 pm
by crude
Thanks for the update, this fix was the one that did the trick. Thanks for the heads up.

Re:

PostPosted: Sat Feb 09, 2013 2:22 am
by satoon101
Serialkiller wrote:Just to be sure:

I typed :

[syntax="python"]import spe[/syntax]

in a text file and saved it as test.py

then put that in a folder called test

then uploaded that to my eventscripts folder where you said, then went on server and typed es_load into the console?
Gave me wrong syntax?!

I am going to redo eventscripts update see ifthat changes anything!

SK
Sorry, I guess I really should have viewed my post after I posted... I used the wrong code to make a Python syntax block. However, it seems I cannot get the small script to use that syntax anyway, so I just used a basic code block (edited my previous post). Glad you got it working, though.

Satoon

PostPosted: Sat Feb 09, 2013 3:37 am
by Corvette911
Thanks for the update Gungame is back !!! ...and all seems to be working fine..after 2 days of using the SMGG..i'm glad to be have my regular Gungame back and working, Unix server btw.

PostPosted: Sat Feb 16, 2013 1:44 am
by ShadowBlade
Having a problem, on the first run of the warm up round right after the server is started if we join a team while the warm up round is still running the server crashes. However if we wait it out and join a team after the warm up round it wont crash and then we are able to join the warm up round every new map after that with no problems till the server is restarted.
We run a linux server with every thing up to date.