Page 1 of 1

New addon gg_teamplay

PostPosted: Tue Aug 23, 2011 2:12 am
by satoon101
gg_teamplay is currently in Beta testing. Any issues, comments, feature requests, or bugs for gg_teamplay should be posted to this thread. I will try my best to keep this main post up-to-date with everything that has been posted in it.

Satoon

PostPosted: Wed Aug 24, 2011 12:56 am
by satoon101
Errors given to us by daggerclan:
L 08/23/2011 - 16:30:48: World triggered "Round_End"
L 08/23/2011 - 16:30:48: "{iFaRt}Fearless_Foxy<3><BOT><CT>" triggered "weaponstats" (weapon "aug") (shots "6") (hits "3") (kills "1") (headshots "0") (tks "0") (damage "68") (deaths "0")
L 08/23/2011 - 16:30:48: "{iFaRt}Fearless_Foxy<3><BOT><CT>" triggered "weaponstats2" (weapon "aug") (head "0") (chest "1") (stomach "1") (leftarm "0") (rightarm "1") (leftleg "0") (rightleg "0")
L 08/23/2011 - 16:30:48: "{iFaRt}Sarge<5><BOT><CT>" triggered "weaponstats" (weapon "m249") (shots "20") (hits "5") (kills "1") (headshots "0") (tks "0") (damage "121") (deaths "0")
L 08/23/2011 - 16:30:48: "{iFaRt}Sarge<5><BOT><CT>" triggered "weaponstats2" (weapon "m249") (head "0") (chest "0") (stomach "1") (leftarm "1") (rightarm "0") (leftleg "2") (rightleg "1")
Round MVP disabled: sv_nomvp is set.
 

# ================================================
# >>                     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/__init__.py", line 439, in call_event
current_event[name](event_var)
File "../eventscripts/gungame51/scripts/included/gg_teamplay/gg_teamplay.py", line 532, in round_end
gg_teams[winner].increase_multikill()
File "../eventscripts/gungame51/scripts/included/gg_teamplay/gg_teamplay.py", line 162, in increase_multikill
if self.multikill >= get_level_multikill(self.level):
File "../eventscripts/gungame51/core/weapons/shortcuts.py", line 86, in get_level_multikill
return get_weapon_order(weaponOrderName).get_multikill(level)
File "../eventscripts/gungame51/core/weapons/__init__.py", line 316, in get_multikill
% level + ' Level is out of range (1-%s).' % len(self.order))
ValueError: Can not get multikill value for level: "24". Level is out of range (1-23).
# ================================================
 

 

# ================================================
# >>                     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/__init__.py", line 439, in call_event
current_event[name](event_var)
File "../eventscripts/gungame51/scripts/included/gg_teamplay/gg_teamplay.py", line 551, in player_spawn
gg_teams[team].set_player_level(userid)
File "../eventscripts/gungame51/scripts/included/gg_teamplay/gg_teamplay.py", line 226, in set_player_level
ggPlayer.levelup(levels, reason=info.name)
File "../eventscripts/gungame51/core/players/levels.py", line 114, in levelup
userid=victim, loser=victim, round=0)
File "../eventscripts/gungame51/core/events/eventlib/__init__.py", line 279, in __init__
setattr(self, key, value)
File "../eventscripts/gungame51/core/events/eventlib/__init__.py", line 287, in __setattr__
value = evField.to_python(value)
File "../eventscripts/gungame51/core/events/eventlib/fields.py", line 149, in to_python
self.run_validators(value)
File "../eventscripts/gungame51/core/events/eventlib/fields.py", line 55, in run_validators
raise ValidationError(errors)
ValidationError: ['The value given (0) must be greater than or equal to 2.']
# ================================================
 

 

# ================================================
# >>                     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/__init__.py", line 439, in call_event
current_event[name](event_var)
File "../eventscripts/gungame51/scripts/included/gg_teamplay/gg_teamplay.py", line 557, in player_spawn
gg_teams[team].send_hudhint_info(userid)
File "../eventscripts/gungame51/scripts/included/gg_teamplay/gg_teamplay.py", line 407, in send_hudhint_info
{'weapon': get_level_weapon(self.level)}, userid)
File "../eventscripts/gungame51/core/weapons/shortcuts.py", line 79, in get_level_weapon
return get_weapon_order(weaponOrderName).get_weapon(level)
File "../eventscripts/gungame51/core/weapons/__init__.py", line 310, in get_weapon
% level + ' Level is out of range (1-%s).' % len(self.order))
ValueError: Can not get weapon for level: "24". Level is out of range (1-23).
# ================================================
 

 

# ================================================
# >>                     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/__init__.py", line 439, in call_event
current_event[name](event_var)
File "../eventscripts/gungame51/scripts/included/gg_teamplay/gg_teamplay.py", line 557, in player_spawn
gg_teams[team].send_hudhint_info(userid)
File "../eventscripts/gungame51/scripts/included/gg_teamplay/gg_teamplay.py", line 407, in send_hudhint_info
{'weapon': get_level_weapon(self.level)}, userid)
File "../eventscripts/gungame51/core/weapons/shortcuts.py", line 79, in get_level_weapon
return get_weapon_order(weaponOrderName).get_weapon(level)
File "../eventscripts/gungame51/core/weapons/__init__.py", line 310, in get_weapon
% level + ' Level is out of range (1-%s).' % len(self.order))
ValueError: Can not get weapon for level: "24". Level is out of range (1-23).
# ================================================
 

 

# ================================================
# >>                     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/__init__.py", line 439, in call_event
current_event[name](event_var)
File "../eventscripts/gungame51/scripts/included/gg_teamplay/gg_teamplay.py", line 557, in player_spawn
gg_teams[team].send_hudhint_info(userid)
File "../eventscripts/gungame51/scripts/included/gg_teamplay/gg_teamplay.py", line 407, in send_hudhint_info
{'weapon': get_level_weapon(self.level)}, userid)
File "../eventscripts/gungame51/core/weapons/shortcuts.py", line 79, in get_level_weapon
return get_weapon_order(weaponOrderName).get_weapon(level)
File "../eventscripts/gungame51/core/weapons/__init__.py", line 310, in get_weapon
% level + ' Level is out of range (1-%s).' % len(self.order))
ValueError: Can not get weapon for level: "24". Level is out of range (1-23).
# ================================================
 

L 08/23/2011 - 16:31:18: World triggered "Round_Start"
Terrorist bot spawned outside of a buy zone (-504, 1415, -255)
Terrorist bot spawned outside of a buy zone (-567, 1414, -255)
CT bot spawned outside of a buy zone (-1066, 132, -255)
CT bot spawned outside of a buy zone (-1223, 127, -255)
L 08/23/2011 - 16:31:31: "{iFaRt}Hooker_Mommabear<4><BOT><TERRORIST>" attacked "{iFaRt}Sarge<5><BOT><CT>" with "m249" (damage "23") (damage_armor "0") (health "77") (armor "100") (hitgroup "right leg")
L 08/23/2011 - 16:31:58: "{iFaRt}Hooker_Mommabear<4><BOT><TERRORIST>" attacked "{iFaRt}Sarge<5><BOT><CT>" with "m249" (damage "29") (damage_armor "4") (health "48") (armor "95") (hitgroup "stomach")
L 08/23/2011 - 16:31:58: "{iFaRt}Hooker_Mommabear<4><BOT><TERRORIST>" attacked "{iFaRt}Sarge<5><BOT><CT>" with "prop_physics" (damage "41") (damage_armor "7") (health "7") (armor "87") (hitgroup "generic")
L 08/23/2011 - 16:31:58: "{iFaRt}Hooker_Mommabear<4><BOT><TERRORIST>" attacked "{iFaRt}Hooker_Mommabear<4><BOT><TERRORIST>" with "prop_physics" (damage "15") (damage_armor "2") (health "85") (armor "97") (hitgroup "generic")
L 08/23/2011 - 16:31:58: "{iFaRt}Hooker_Mommabear<4><BOT><TERRORIST>" attacked "{iFaRt}Sarge<5><BOT><CT>" with "m249" (damage "29") (damage_armor "4") (health "0") (armor "82") (hitgroup "stomach")
L 08/23/2011 - 16:31:58: World triggered "killlocation" (attacker_position "-519 720 -256") (victim_position "-806 943 -192")
L 08/23/2011 - 16:31:58: "{iFaRt}Hooker_Mommabear<4><BOT><TERRORIST>" killed "{iFaRt}Sarge<5><BOT><CT>" with "m249"
L 08/23/2011 - 16:32:10: "{iFaRt}Hooker_Mommabear<4><BOT><TERRORIST>" attacked "{iFaRt}Fearless_Foxy<3><BOT><CT>" with "m249" (damage "23") (damage_armor "3") (health "77") (armor "96") (hitgroup "chest")
L 08/23/2011 - 16:32:10: "{iFaRt}Fearless_Foxy<3><BOT><CT>" attacked "{iFaRt}Hooker_Mommabear<4><BOT><TERRORIST>" with "aug" (damage "27") (damage_armor "5") (health "58") (armor "91") (hitgroup "stomach")
L 08/23/2011 - 16:32:10: "{iFaRt}Hooker_Mommabear<4><BOT><TERRORIST>" attacked "{iFaRt}Fearless_Foxy<3><BOT><CT>" with "m249" (damage "23") (damage_armor "0") (health "54") (armor "96") (hitgroup "right leg")
L 08/23/2011 - 16:32:10: "{iFaRt}Fearless_Foxy<3><BOT><CT>" attacked "{iFaRt}Hooker_Mommabear<4><BOT><TERRORIST>" with "aug" (damage "21") (damage_armor "4") (health "37") (armor "86") (hitgroup "left arm")
L 08/23/2011 - 16:32:10: "{iFaRt}Hooker_Mommabear<4><BOT><TERRORIST>" attacked "{iFaRt}Fearless_Foxy<3><BOT><CT>" with "m249" (damage "29") (damage_armor "4") (health "25") (armor "91") (hitgroup "stomach")
L 08/23/2011 - 16:32:10: "{iFaRt}Fearless_Foxy<3><BOT><CT>" attacked "{iFaRt}Hooker_Mommabear<4><BOT><TERRORIST>" with "aug" (damage "21") (damage_armor "4") (health "16") (armor "81") (hitgroup "chest")
L 08/23/2011 - 16:32:10: "{iFaRt}Hooker_Mommabear<4><BOT><TERRORIST>" attacked "{iFaRt}Fearless_Foxy<3><BOT><CT>" with "m249" (damage "29") (damage_armor "4") (health "0") (armor "86") (hitgroup "stomach")
L 08/23/2011 - 16:32:10: World triggered "killlocation" (attacker_position "-701 295 -256") (victim_position "-747 673 -192")
L 08/23/2011 - 16:32:10: "{iFaRt}Hooker_Mommabear<4><BOT><TERRORIST>" killed "{iFaRt}Fearless_Foxy<3><BOT><CT>" with "m249"
L 08/23/2011 - 16:32:10: "{iFaRt}Fearless_Foxy<3><BOT><CT>" triggered "weaponstats" (weapon "aug") (shots "3") (hits "3") (kills "0") (headshots "0") (tks "0") (damage "69") (deaths "0")
L 08/23/2011 - 16:32:10: "{iFaRt}Fearless_Foxy<3><BOT><CT>" triggered "weaponstats2" (weapon "aug") (head "0") (chest "1") (stomach "1") (leftarm "1") (rightarm "0") (leftleg "0") (rightleg "0")
L 08/23/2011 - 16:32:10: Team "TERRORIST" triggered "Terrorists_Win" (CT "33") (T "29")
L 08/23/2011 - 16:32:10: Team "CT" scored "33" with "2" players
L 08/23/2011 - 16:32:10: Team "TERRORIST" scored "29" with "2" players
L 08/23/2011 - 16:32:10: World triggered "Round_End"
L 08/23/2011 - 16:32:10: "{iFaRt}Hooker_Mommabear<4><BOT><TERRORIST>" triggered "weaponstats" (weapon "m249") (shots "21") (hits "7") (kills "2") (headshots "0") (tks "0") (damage "185") (deaths "0")
L 08/23/2011 - 16:32:10: "{iFaRt}Hooker_Mommabear<4><BOT><TERRORIST>" triggered "weaponstats2" (weapon "m249") (head "0") (chest "1") (stomach "4") (leftarm "0") (rightarm "0") (leftleg "0") (rightleg "2")
Round MVP disabled: sv_nomvp is set.
 

# ================================================
# >>                     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/__init__.py", line 439, in call_event
current_event[name](event_var)
File "../eventscripts/gungame51/scripts/included/gg_teamplay/gg_teamplay.py", line 532, in round_end
gg_teams[winner].increase_multikill()
File "../eventscripts/gungame51/scripts/included/gg_teamplay/gg_teamplay.py", line 162, in increase_multikill
if self.multikill >= get_level_multikill(self.level):
File "../eventscripts/gungame51/core/weapons/shortcuts.py", line 86, in get_level_multikill
return get_weapon_order(weaponOrderName).get_multikill(level)
File "../eventscripts/gungame51/core/weapons/__init__.py", line 316, in get_multikill
% level + ' Level is out of range (1-%s).' % len(self.order))
ValueError: Can not get multikill value for level: "24". Level is out of range (1-23).
# ================================================

PostPosted: Wed Aug 24, 2011 2:28 am
by satoon101
I "believe" I have made some good changes that will fix these errors in Revision 564. Please try with the new revision to see if you still encounter these errors (or any new ones).

Thank you for testing this for us. We really appreciate the help.

Satoon

PostPosted: Wed Aug 24, 2011 5:50 am
by daggerclan
I upgraded to r564. Woohoo.