Problem with GunGame, Not starting

Having problems with GunGame5 (NOT FOR BUGS)? Ask here!

Problem with GunGame, Not starting

Postby Deathshot » Sun Aug 07, 2011 2:32 pm

Hello guys,

I got problems with GunGame since I moved from Windows to Linux on the server.
And I've done a fresh installation a couple of times and just installed the required addons. But still no luck.
I've tried to do the "known issues" fixes but still no luck.

I can do es_unload gungame51 about 1000 times but still it won't unload. And when I do the es_load gungame51 it doesn't say anything.
Is it a problem with GunGame51 and Eventscripts? As other addons are working.

Ask me for more information. I don't know how to debug GunGame51 and where the logs are saved but you can tell me.

Thanks in advanced for help!
Deathshot

Recruit
Recruit
 
Posts: 4
Joined: Sun Aug 07, 2011 2:26 pm

Postby tnarocks » Sun Aug 07, 2011 4:23 pm

did you install spe thats need to load gungame and what version of es did you install
tnarocks

Corporal
Corporal
 
Posts: 315
Joined: Mon Jan 25, 2010 3:56 pm
Location: Florida
Steam Friends Name: {TAG}TNA ROCKS(ENGAGED)

Postby Deathshot » Sun Aug 07, 2011 4:52 pm

Loaded plugins:
---------------------
0: "Source Python Extensions, 2009 - 2010, your-name-here"
1: "Mattie's EventScripts, http://www.eventscripts.com, Version:2.1.1.370"
---------------------

SPE is loaded and the version of eventscripts is the newest one.
Deathshot

Recruit
Recruit
 
Posts: 4
Joined: Sun Aug 07, 2011 2:26 pm

Postby daggerclan » Sun Aug 07, 2011 6:43 pm

Please post the contents of any log files in your ../cfg/gungame51/logs/ directory.

Also, the contents of your console.log or server log file would be helpful.
daggerclan

Corporal
Corporal
User avatar
 
Posts: 250
Joined: Mon Jul 13, 2009 7:54 pm
Location: United States

Postby satoon101 » Sun Aug 07, 2011 7:26 pm

Also, are you using direct access to the server's console, or HLSW, or rcon, or other? If you do not have direct access to the server's console, please install this addon that can catch errors on loading GunGame:
http://addons.eventscripts.com/addons/view/excepthook

Make sure that is loaded "prior" to where you load GunGame.

Satoon
satoon101

Site Admin
Site Admin
 
Posts: 1055
Joined: Thu Oct 09, 2008 4:27 pm

Re: Problem with GunGame, Not starting

Postby Deathshot » Sun Aug 07, 2011 7:28 pm

Well thanks to that you can now probably find a problem in there.


Game.dll loaded for "Counter-Strike: Source"
[SPE]: Handle address is 148278696.
[EventScripts] Loading Mattie's EventScripts Beta 2.1.1.370...
[EventScripts] Temporary: Setting the host's IP variable from the command-line.
[EventScripts] Loaded successfully.
maxplayers set to 32
Unknown command "r_decal_cullsize"
maxplayers set to 32
[EventScripts] Loaded autokick_disabler
[1/7] Initializing GunGame 5.1.519...
[2/7] Executing configs...
[GunGame51] ===============================================================================
*** EventScripts caught an exception:
Traceback (most recent call last):
  File "/home/tcagame/Admin/4/orangebox/cstrike/addons/eventscripts/gungame51/gungame51.py", line 184, in load
    initialize()
  File "/home/tcagame/Admin/4/orangebox/cstrike/addons/eventscripts/gungame51/gungame51.py", line 287, in initialize
    loadConfig(get_config_list("main"))
  File "/home/tcagame/Admin/4/orangebox/cstrike/addons/eventscripts/gungame51/core/cfg/shortcuts.py", line 22, in loadConfig
    ConfigManager().load(config)
  File "/home/tcagame/Admin/4/orangebox/cstrike/addons/eventscripts/gungame51/core/cfg/__init__.py", line 70, in load
    config.load()
  File "/home/tcagame/Admin/4/orangebox/cstrike/addons/eventscripts/gungame51/core/cfg/files/gg_punishment_settings_config.py", line 135, in load
    config.write()
  File "/home/tcagame/Admin/4/orangebox/cstrike/addons/eventscripts/_libs/python/cfglib.py", line 55, in write
    cfgfile = open(self.cfgpath, 'w')
IOError: [Errno 13] Permission denied: '/home/tcagame/Admin/4/orangebox/cstrike/cfg/gungame51/gg_punishment_settings.cfg'
[GunGame51] ===============================================================================
Unloading gungame51...
[EventScripts] Loaded gungame51
WARNING: Port 27005 was unavailable - bound to port 27007 instead
WARNING: Port 27040 was unavailable - bound to port 27042 instead
Network: IP 46.29.251.74, mode MP, dedicated Yes, ports 27016 SV / 27007 CL
exec: couldn't exec banned_user.cfg
exec: couldn't exec banned_ip.cfg
 

# ================================================
# >>                     GunGame 5.1 Exception Caught!
# ================================================
Traceback (most recent call last):
File "../eventscripts/es.py", line 344, in callBlock
self.Blocks[blockname]()
File "../eventscripts/gungame51/gungame51.py", line 262, in unload
Database().close()
File "../eventscripts/gungame51/core/sql/__init__.py", line 46, in __init__
self.connect()
File "../eventscripts/gungame51/core/sql/__init__.py", line 135, in connect
'cfg/gungame51/database/gg_database.db'))
OperationalError: unable to open database file
# ================================================
 

[EventScripts] Unloading gungame51...
[EventScripts] gungame51 has been unloaded
maxplayers set to 32
Failed to load $include VMT file (materials/DE_AZTEC/GROUND01_BLEND.vmt)
[EventScripts] Map Loading Mattie's EventScripts Beta 2.1.1.370...
[EventScripts] Loaded successfully.
ConVarRef room_type doesn't point to an existing ConVar
Executing dedicated server config file
Failed to load Steam ServiceServiceStart: failed to start.
[EventScripts Version Check] Server is up-to-date.
exec: couldn't exec banned_user.cfg
exec: couldn't exec banned_ip.cfg
Connection to Steam servers successful.
   VAC secure mode is activated.
Loaded plugins:
---------------------
0:  "Source Python Extensions, 2009 - 2010, your-name-here"
1:  "Mattie's EventScripts, http://www.eventscripts.com, Version:2.1.1.370"
---------------------
---------------------
 


Interesting bits:
# ================================================
# >>                     GunGame 5.1 Exception Caught!
# ================================================
Traceback (most recent call last):
File "../eventscripts/es.py", line 344, in callBlock
self.Blocks[blockname]()
File "../eventscripts/gungame51/gungame51.py", line 262, in unload
Database().close()
File "../eventscripts/gungame51/core/sql/__init__.py", line 46, in __init__
self.connect()
File "../eventscripts/gungame51/core/sql/__init__.py", line 135, in connect
'cfg/gungame51/database/gg_database.db'))
OperationalError: unable to open database file
# ================================================
 


and

[1/7] Initializing GunGame 5.1.519...
[2/7] Executing configs...
[GunGame51] ===============================================================================
*** EventScripts caught an exception:
Traceback (most recent call last):
  File "/home/tcagame/Admin/4/orangebox/cstrike/addons/eventscripts/gungame51/gungame51.py", line 184, in load
    initialize()
  File "/home/tcagame/Admin/4/orangebox/cstrike/addons/eventscripts/gungame51/gungame51.py", line 287, in initialize
    loadConfig(get_config_list("main"))
  File "/home/tcagame/Admin/4/orangebox/cstrike/addons/eventscripts/gungame51/core/cfg/shortcuts.py", line 22, in loadConfig
    ConfigManager().load(config)
  File "/home/tcagame/Admin/4/orangebox/cstrike/addons/eventscripts/gungame51/core/cfg/__init__.py", line 70, in load
    config.load()
  File "/home/tcagame/Admin/4/orangebox/cstrike/addons/eventscripts/gungame51/core/cfg/files/gg_punishment_settings_config.py", line 135, in load
    config.write()
  File "/home/tcagame/Admin/4/orangebox/cstrike/addons/eventscripts/_libs/python/cfglib.py", line 55, in write
    cfgfile = open(self.cfgpath, 'w')
IOError: [Errno 13] Permission denied: '/home/tcagame/Admin/4/orangebox/cstrike/cfg/gungame51/gg_punishment_settings.cfg'
[GunGame51] ===============================================================================


I got full access to the css server and to the server where the css server is located. I will try that if no one can find a problem in these strings.
Deathshot

Recruit
Recruit
 
Posts: 4
Joined: Sun Aug 07, 2011 2:26 pm

Postby satoon101 » Sun Aug 07, 2011 7:34 pm

The key to your issue lies in the first error you encounter. Here is the actual error:
IOError: [Errno 13] Permission denied: '/home/tcagame/Admin/4/orangebox/cstrike/cfg/gungame51/gg_punishment_settings.cfg'
You need to set the permissions properly on all GunGame folders, which includes the cfg/gungame51/ folder and all its sub-folders. Once you have the permissions set, the cfg files and db file can be created.

Satoon
satoon101

Site Admin
Site Admin
 
Posts: 1055
Joined: Thu Oct 09, 2008 4:27 pm

Re: Problem with GunGame, Not starting

Postby Deathshot » Sun Aug 07, 2011 7:47 pm

How could I have overlooked to forget too chmod the cfg folder right? Darn.
Well I thank you.

Chmod problems is all I have had on the Linux server.


RESOLVED! Please close/delete
Deathshot

Recruit
Recruit
 
Posts: 4
Joined: Sun Aug 07, 2011 2:26 pm



Return to Troubleshooting (NOT FOR BUGS)

Who is online

Users browsing this forum: No registered users and 4 guests

cron