gg_winner_menu v1.6

Area to post and download Custom Addons, as well as ask the author/users for help or support.

Postby satoon101 » Thu Apr 12, 2012 8:24 pm

Updated the script. All of the changes in 1.2 and 1.3 are still available. 1.4 now makes sure that a player will receive the vote menu when playing any of GunGame's Team-based addons (gg_teamplay, gg_teamplay_deathmatch, or gg_teamwork).

I still need to redo the script a little to compensate for Bots winning the match. I will probably add another variable for whether a random gametype should just be chosen or to choose a different player on the winning team to send the menu to.

Satoon
satoon101

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

Postby satoon101 » Thu Apr 12, 2012 9:48 pm

Another update. I think I have all of the Bot stuff added in correctly. If anyone has any issues/errors, please let me know. I will continue to test, myself, as well.

Satoon
satoon101

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

Postby satoon101 » Sat Apr 14, 2012 6:21 pm

Updated to allow the player with the most kills (when playing a team-based addon) on the winning team will receive the menu.

Satoon
satoon101

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

Postby wtfaatp » Wed Apr 18, 2012 5:30 pm

GD man keep up the awesome work :D
wtfaatp

Private
Private
 
Posts: 80
Joined: Fri Mar 04, 2011 4:21 pm
Steam Friends Name: Darkangel2022000

Postby tnarocks » Fri Apr 20, 2012 8:53 pm

Its not SHowing the Menu for me. It works after i restart the Server and then i think it gets stuck. The only errors in my log file are knifenade errors. Not sure why its working when i restart the Server and then it stops working...
tnarocks

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

Re: gg_winner_menu v1.6

Postby tnarocks » Fri Apr 20, 2012 8:56 pm

Heres my configs if want to test it out or look at them.
Attachments
winnermenu.rar
(2.72 KiB) Downloaded 1692 times
tnarocks

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

Re: gg_winner_menu v1.6

Postby tnarocks » Sun Apr 22, 2012 7:06 am

ok i thought it was fixed but i guess its not. Its not coming up with the winners menu. I thought it was gg so i upload the new svn and it works when i restart the server. But then i guess after a while it quits working. Has anyone had any probs like that?
tnarocks

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

Re: gg_winner_menu v1.6

Postby tnarocks » Sun Apr 22, 2012 8:29 pm

I get these 2 errors when i try to unload and load gungame through rcon

# ================================================
# >> 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 134, in unload
AddonManager().unload_all_addons()
File "../eventscripts/gungame51/core/addons/manager.py", line 108, in unload_all_addons
del LoadedAddons[addon]
File "../eventscripts/gungame51/core/addons/loaded.py", line 55, in __delitem__
self[addon]._unload_addon()
File "../eventscripts/gungame51/core/addons/loaded.py", line 117, in _unload_addon
self._call_block('unload')
File "../eventscripts/gungame51/core/addons/loaded.py", line 151, in _call_block
self.globals[blockname](*a, **kw)
File "../eventscripts/gungame51/scripts/custom/gg_knifenade/gg_knifenade.py", line 53, in unload
knifenade.clear()
File "../eventscripts/gungame51/scripts/custom/gg_knifenade/modules/bonuses.py", line 34, in clear
File "../eventscripts/gungame51/scripts/custom/gg_knifenade/modules/players.py", line 63, in clear
File "../eventscripts/gungame51/scripts/custom/gg_knifenade/modules/players.py", line 51, in remove
File "../eventscripts/gungame51/scripts/custom/gg_knifenade/modules/players.py", line 136, in remove_player_bonuses
File "../eventscripts/_libs/python/playerlib.py", line 1310, in getPlayer
raise e
UseridError: '35' is an invalid userid
# ================================================


[EventScripts] Unloading gungame51...
[EventScripts] gungame51 has been unloaded
[KnifeSyphon] Any player can gain a health boost by killing someone with a knife.
Portal Junky™ : change map
WolfOne killed Portal Junky™ with knife.
Dick Chappy killed BigSmoke with knife.
[Knife Fight] WolfOne agrees to knife to the death!
] rcon es_load gungame51
Unknown command "mp_forcechasecam"
L 04/22/2012 - 13:44:06: server_cvar: "mp_freezetime" "3"
[1/7] Initializing GunGame 5.1.636...
[2/7] Executing configs...
[3/7] Executing custom configs...
[4/7] Parsing weapon orders...
[5/7] Registering commands...
[6/7] Starting sound system...


# ================================================
# >> GunGame 5.1 Exception Caught!
# ================================================
Traceback (most recent call last):
File "../eventscripts/es.py", line 431, in loadModuleAddon
addons.load(newaddon)
File "../eventscripts/es.py", line 229, in load
addon.load()
File "../eventscripts/gungame51/gungame51.py", line 99, in load
'with development and testing of GunGame.')
File "../eventscripts/_libs/python/cmdlib.py", line 150, in registerSayCommand
cmd_manager.registerSayCommand(*a, **kw)
File "../eventscripts/_libs/python/cmdlib.py", line 63, in registerSayCommand
if es.exists('saycommand', name): raise NameError, "'%s' is in use as a say command" % name
NameError: '!thanks' is in use as a say command
# ================================================


Could not open script for addons/eventscripts/gungame51/es_gungame51.txt
Error source (console): (no script)
Load completed. Restarting game...
[Knife Fight] Dick Chappy agrees to knife to the death!
[Knife Fight] Both Players Agreed! Fight to the death!
WolfOne killed Dick Chappy with knife.
WolfOne : !give
[KnifeSyphon] Any player can gain a health boost by killing someone with a knife.
BigSmoke killed Dick Chappy with sg550.
Portal Junky™ killed BigSmoke with sg550.
[Knife Fight] WolfOne agrees to knife to the death!
WolfOne killed Portal Junky™ with sg550.
WolfOne : !give
[Knife Fight] Portal Junky™ agrees to knife to the death!
[Knife Fight] Both Players Agreed! Fight to the death!
[KnifeSyphon] Any player can gain a health boost by killing someone with a knife.
[hop] {TAG} Regular No Awp/Auto - de_aztec (4/20) [type !servers to join]
Portal Junky™ killed WolfOne with ak47.
BigSmoke killed Portal Junky™ with ak47.
Bind key for !buylevel to Buy levels
WolfOne killed Dick Chappy with ak47.
Portal Junky™ killed BigSmoke with m249.
WolfOne : !give
[Knife Fight] WolfOne agrees to knife to the death!
Portal Junky™ killed WolfOne with m249.
[KnifeSyphon] Any player can gain a health boost by killing someone with a knife.

Server connection timed out.
tnarocks

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

Previous


Return to Downloads

Who is online

Users browsing this forum: No registered users and 5 guests