Gungame doesn't work i think?

Ask questions and share info about GunGame 5

Gungame doesn't work i think?

Postby click66 » Tue Jan 11, 2011 6:04 pm

Hi guys,

I've just installed gungame i loaded it in the console and it gives me lots off output, it also
created the config files and stuff, but still if i join only on the server I can still push the b and buy other weapons and it doesn't mention something about gungame....

When putting es_gungame51 in autoexec, i get this

could not open script for addons/eventscripts/gunegame51/es_gunegame51.txt in console?

Can someone help please?

kind regards
click66

Private
Private
 
Posts: 5
Joined: Tue Jan 11, 2011 6:01 pm

Postby tnarocks » Tue Jan 11, 2011 6:40 pm

can you post the error log in the log folder to see what you are running
tnarocks

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

Re:

Postby click66 » Tue Jan 11, 2011 6:49 pm

tnarocks wrote:can you post the error log in the log folder to see what you are running


this is the log file:

*******************************************************************************
* *
* GUNGAME v5.1 ERROR LOGGING *
* HTTP://WWW.GUNGAME5.COM/ *
* *
* GG VERSION: 5.1.500 IP: 84.196.28.39 *
* SPE VERSION: 1.5.0f r79 PORT: 27015 *
* PLATFORM: NT DATE: 01-11-2011 *
* ES VERSION: 2.1.1.360 ES CORE VERSION: 2.1.1.336 *
* MM VERSION: 1.8.5V SM VERSION: 1.3.6 *
* MANI VERSION: 1.2vb VSP EST VERSION: 0 *
* *
*******************************************************************************


-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
LAST EVENT: [01/11/2011 @ 17:44:51] TOTAL OCCURENCES: [0001]
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Traceback (most recent call last):
File "../eventscripts/es.py", line 279, in tick
x()
File "../eventscripts/_libs/python/gamethread.py", line 167, in tick
function(*a, **kw)
File "../eventscripts/gungame51/gungame51.py", line 359, in printWeaponOrder
set_weapon_order(str(gg_weapon_order_file), str(gg_weapon_order_sort_type))
File "../eventscripts/gungame51/core/weapons/shortcuts.py", line 68, in set_weapon_order
WeaponManager().load(name)
File "../eventscripts/gungame51/core/weapons/__init__.py", line 416, in load
self.__weaponorders__[name] = WeaponOrdersDict()[name]
File "../eventscripts/gungame51/core/weapons/__init__.py", line 325, in __getitem__
self[name] = BaseWeaponOrders(name)
File "../eventscripts/gungame51/core/weapons/__init__.py", line 46, in __init__
self.parse()
File "../eventscripts/gungame51/core/weapons/__init__.py", line 93, in parse
'(%s): IOError: %s' % (self.filepath, e))

IOError: Cannot parse weapon order file (c:/srcds/orangebox/cstrike/cfg/gungame51/weapon_orders/0.txt): IOError: [Errno 2] No such file or directory: path(u'c:/srcds/orangebox/cstrike/cfg/gungame51/weapon_orders/0.txt')


-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
LAST EVENT: [01/11/2011 @ 17:49:45] TOTAL OCCURENCES: [0002]
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Traceback (most recent call last):
File "../eventscripts/es.py", line 272, in triggerEvent
self.EventListeners[eventname][listener](event_var)
File "../eventscripts/gungame51/gungame51.py", line 488, in player_spawn
send_level_info_hudhint(ggPlayer)
File "../eventscripts/gungame51/gungame51.py", line 808, in send_level_info_hudhint
totalLevels = get_total_levels()
File "../eventscripts/gungame51/core/weapons/shortcuts.py", line 86, in get_total_levels
return get_weapon_order(weaponOrderName).get_total_levels()
File "../eventscripts/gungame51/core/weapons/shortcuts.py", line 33, in get_weapon_order
return WeaponManager().__weaponorders__[WeaponManager().gungameorder]

KeyError: 'default_weapon_order'
click66

Private
Private
 
Posts: 5
Joined: Tue Jan 11, 2011 6:01 pm

Postby tnarocks » Tue Jan 11, 2011 8:03 pm

when you installed eventscripts did you do the fix on the bottom on the page
tnarocks

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

Postby tnarocks » Tue Jan 11, 2011 8:04 pm

jacobleiter wrote:open addons\eventscripts\_libs\python\cfglib.py
goto line 106, change
Code:es.mexec(self.cfgpath.replace(self.gamedir, '', 1))
to
Code:es.mexec('..' + self.cfgpath.replace(self.gamedir, '', 1))
tnarocks

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

Re:

Postby click66 » Wed Jan 12, 2011 7:25 pm

tnarocks wrote:jacobleiter wrote:open addons\eventscripts\_libs\python\cfglib.py
goto line 106, change
Code:es.mexec(self.cfgpath.replace(self.gamedir, '', 1))
to
Code:es.mexec('..' + self.cfgpath.replace(self.gamedir, '', 1))



I already changed that but did it again, and get this error:

http://img202.imageshack.us/i/errav.jpg/

thnx for the help already:)
click66

Private
Private
 
Posts: 5
Joined: Tue Jan 11, 2011 6:01 pm

Postby tnarocks » Wed Jan 12, 2011 11:31 pm

one thing that you could try is loading gg in your server.cfg at the bottom if your loading it in your autoexec.cfg. I load mine in my server.cfg like this es_xload gungame51. Try that and see what happens. Cause these errors look like the same ones that i am getting on my elim server also
tnarocks

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

Postby satoon101 » Thu Jan 13, 2011 2:58 am

That error means that you messed up editting the file. Reinstall the original cfglib file and just add the '..' + instead of copy/pasting. Then, restart the server, and see if everything works right.

Satoon
satoon101

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

Postby satoon101 » Thu Jan 13, 2011 8:38 am

Oh, I see what happened. You 'literally' have:
Code:es.mexec('..' + self.cfgpath.replace(self.gamedir, '', 1))


That Code: part should not be there. Make sure the line is indented exactly 6 spaces . It should look exactly like this:

      es.mexec('..' + self.cfgpath.replace(self.gamedir, '', 1))


Also, both of those errors in your second post should be fixed now in the newest release (5.1.503). Let us know if you find otherwise.

Satoon
satoon101

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

Postby click66 » Thu Jan 13, 2011 10:22 pm

Oo sorry, my fault:-) then it works but when i load it ingame the server restarts and sais level 0 and stuff but then i get connection problem and this fault on the server:

http://img337.imageshack.us/i/schermafb ... 11011.png/


But is there a new version ( or how can i see i have the newest one? )
click66

Private
Private
 
Posts: 5
Joined: Tue Jan 11, 2011 6:01 pm

Postby satoon101 » Fri Jan 14, 2011 2:34 am

Version 5.1.503 is the newest. I just released it last night. That shouldn't be causing a crash like that though. You might want to check out the first section of the Known Issues section of the Installation page:

Installation Wiki page wrote:
    1.If you are having issues getting GunGame51 to load properly in your autoexec.cfg:
      1.Add the following commands (in this order) at the very top of your autoexec.cfg:
      sv_allow_wait_command 1
      stuffcmds
    2.If you are still unable to get it to load, move es_load gungame51 to the very bottom of your server.cfg
    3.If you still cannot get it to load, try using es_delayed 3 es_load gungame51 (at the bottom of your server.cfg)
Satoon
satoon101

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

Postby click66 » Fri Jan 14, 2011 7:47 pm

Thanks:-) it works, just downloaded the newest version and it just works:D
click66

Private
Private
 
Posts: 5
Joined: Tue Jan 11, 2011 6:01 pm

Postby satoon101 » Sat Jan 15, 2011 3:01 am

Awesome!! Good to hear.

Satoon
satoon101

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



Return to General Discussion

Who is online

Users browsing this forum: No registered users and 41 guests

cron