Raised This Month: $51 Target: $400
 12% 

[TF2] TFGunGame - [1.2.1] - [8/14/13]


Post New Thread Reply   
 
Thread Tools Display Modes
Chaosxk
Veteran Member
Join Date: Aug 2010
Location: Westeros
Old 08-14-2013 , 01:58   Re: [TF2] TFGunGame - [1.2.1] - [8/14/13]
Reply With Quote #31

Whoops, forgot to validate the weapon. Fixed O.P.

v.1.2.1
- Fixes -1 entity call stack error
__________________
Chaosxk is offline
The_dr
Senior Member
Join Date: Jan 2012
Location: Canada
Old 08-16-2013 , 12:45   Re: [TF2] TFGunGame - [1.2.1] - [8/14/13]
Reply With Quote #32

I found a bug, if you have a strange bot killer weapon, the head will attach to the gun, even if it’s the wrong gun. And when you get a kill the last head stays on but if there is another for the new weapon, it gets added on as well.
Attached Thumbnails
Click image for larger version

Name:	hl2 2013-08-16 12-39-42-60.jpg
Views:	150
Size:	86.7 KB
ID:	124357   Click image for larger version

Name:	hl2 2013-08-16 12-39-59-81.jpg
Views:	150
Size:	85.7 KB
ID:	124358   Click image for larger version

Name:	hl2 2013-08-16 12-42-06-29.jpg
Views:	172
Size:	83.1 KB
ID:	124359  
__________________
iRON Servers
The_dr is offline
Chaosxk
Veteran Member
Join Date: Aug 2010
Location: Westeros
Old 08-18-2013 , 03:39   Re: [TF2] TFGunGame - [1.2.1] - [8/14/13]
Reply With Quote #33

I have no idea why that occurs or how to fix that.

I'll do some random stuff and see if anything fixes that.
__________________
Chaosxk is offline
Rd1981
Senior Member
Join Date: Apr 2011
Old 08-18-2013 , 05:52   Re: [TF2] TFGunGame - [1.2.1] - [8/14/13]
Reply With Quote #34

L 08/18/2013 - 04:44:02: SourceMod error session started
L 08/18/2013 - 04:44:02: Info (map "cp_dustbowl") (file "errors_20130818.log")
L 08/18/2013 - 04:44:02: [SM] Plugin encountered error 25: Call was aborted
L 08/18/2013 - 04:44:02: [SM] Native "SetFailState" reported: Could not initialize call to CAttributeList::GetAttributeByName
L 08/18/2013 - 04:44:02: [SM] Displaying call stack trace for plugin "tf2attributes.smx":
L 08/18/2013 - 04:44:02: [SM] [0] Line 91, C:\sourcemod\tf2attributes.sp::OnPluginStart( )
L 08/18/2013 - 04:443: [SM] Native "TF2Items_SetAttribute" reported: Cowardly refusing to add invalid attribute index "0" to an item.
L 08/18/2013 - 04:443: [SM] Displaying call stack trace for plugin "tf2items_giveweapon.smx":
L 08/18/2013 - 04:443: [SM] [0] Line 1887, C:\sourcemod\tf2items_giveweapon.sp:repareI temHandle()
L 08/18/2013 - 04:443: [SM] [1] Line 1162, C:\sourcemod\tf2items_giveweapon.sp::GiveWeap onOfIndex()
L 08/18/2013 - 04:443: [SM] [2] Line 4948, C:\sourcemod\tf2items_giveweapon.sp::Native_G iveWeapon()
L 08/18/2013 - 04:443: [SM] Native "TF2Items_GiveWeapon" reported: Error encountered while processing a dynamic native
L 08/18/2013 - 04:443: [SM] Displaying call stack trace for plugin "tf2gungame.smx":
L 08/18/2013 - 04:443: [SM] [0] Line 387, tf2gungame.sp::GiveClientWeapons()
L 08/18/2013 - 04:443: [SM] [1] Line 294, tf2gungame.sp::OnPlayerSpawn()

What would cause these errors ?
Rd1981 is offline
bl4nk
SourceMod Developer
Join Date: Jul 2007
Old 08-18-2013 , 08:00   Re: [TF2] TFGunGame - [1.2.1] - [8/14/13]
Reply With Quote #35

Your TF2Attributes gamedata is probably out of date.
bl4nk is offline
Chaosxk
Veteran Member
Join Date: Aug 2010
Location: Westeros
Old 08-18-2013 , 13:15   Re: [TF2] TFGunGame - [1.2.1] - [8/14/13]
Reply With Quote #36

Or your adding attribute 0 to one of the weapons which doesn't exist.

Edit:
Not sure if bl4nk comment was for The_dr or Rd1981, but my comment was towards Rd1981.
__________________

Last edited by Chaosxk; 08-19-2013 at 01:33.
Chaosxk is offline
mycologist
SourceMod Donor
Join Date: Sep 2008
Location: Sep 2008
Old 08-21-2013 , 17:17   Re: [TF2] TFGunGame - [1.2.1] - [8/14/13]
Reply With Quote #37

Tried this plugin out today, very promising, but we had a few bugs.

1. The weapon models weren't showing after the first level. Not sure what could be causing this; could be an issue on our end?
2. If you progress at all during "waiting for players" your character is not reset when the round starts, but your level does.
3. The hitbox for your character is the one you select when you join the server and never changes.

Also, a quick suggestion; how about cvars for changing the sounds?

As always, great work.
__________________

mycologist is offline
Chaosxk
Veteran Member
Join Date: Aug 2010
Location: Westeros
Old 08-23-2013 , 03:00   Re: [TF2] TFGunGame - [1.2.1] - [8/14/13]
Reply With Quote #38

1. Can you show me a picture of it?
2. What do you mean the character does not reset?
3. I've seen the hitbox problem, might be a resize issue.
__________________
Chaosxk is offline
mycologist
SourceMod Donor
Join Date: Sep 2008
Location: Sep 2008
Old 08-23-2013 , 20:13   Re: [TF2] TFGunGame - [1.2.1] - [8/14/13]
Reply With Quote #39

Quote:
Originally Posted by Chaosxk View Post
1. Can you show me a picture of it?
2. What do you mean the character does not reset?
3. I've seen the hitbox problem, might be a resize issue.
1. I'll do one better, I have a video I'm uploading now.
2. So, if you level up during the "waiting for players" period, say from Heavy to Solider, you'll stay a Soldier when you respawn for the round start; however your gungame level does reset.
3. It seems the hitbox issue only happens in an odd situation. It shows up in the video I took.
__________________

mycologist is offline
mycologist
SourceMod Donor
Join Date: Sep 2008
Location: Sep 2008
Old 08-23-2013 , 22:49   Re: [TF2] TFGunGame - [1.2.1] - [8/14/13]
Reply With Quote #40

Here's the video.

http://www.youtube.com/watch?v=F4614MkSfdk

During the whole video you can't see weapon models on me or my friend's character.

@0:55 You can see that I remain a Soldier when the round begins.

@3:25 When I upgrade to a Pyro with a shotgun my movement slows for some reason. The person I was playing with also said I looked like a civilian during that period. It seems to correct itself @4:56 when upgrading to Sniper SMG. During this period the hitboxes are also off as you can see.

Here's our CFGs used for that video.

tfgungame.cfg
Code:
// This file was auto-generated by SourceMod (v1.5.0-dev+3862)
// ConVars for plugin "tf2gungame.smx"


// How many assists before a player levels up? (0 - Disable)
// -
// Default: "2"
tfgg_assist "3"

// How many deaths before a player delevels? (0 - Disable)
// -
// Default: "3"
tfgg_delevel "3"

// Enable or disable this plugin.
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
tfgg_enabled "1"

// How many levels should be played before a winner is announced?
// -
// Default: "26"
tfgg_level "32"

// Allows player to change model from the levels config. (0 - Disable)
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
tfgg_model "0"

// Allows player to resize from the levels config. (0 - Disable)
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
tfgg_resize "0"
gungame_maps.cfg
Code:
"GunGame Maps"
{
    "koth_"
    {
        "enabled"            "1"
    }
    "arena_"
    {
        "enabled"            "1"
    }
}
gungame_weapons.cfg
Code:
"GunGame Weapons"
{
    "0"
    {
        "index"            "312"
        "class"            "heavy"
    }
    "1"
    {
        "index"         "127"
        "class"         "soldier"
    }
    "2"
    {
        "index"         "20"
        "class"         "demoman"
    }
    "3"
    {
        "index"         "45"
        "class"         "scout"
    }
    "4"
    {
        "index"            "40"
        "class"            "pyro"
    }
    "5"
    {
        "index"            "414"
        "class"            "soldier"
    }
    "6"
    {
        "index"            "56"
        "class"            "sniper"
    }
    "7"
    {
        "index"            "996"
        "class"            "demoman"
    }
    "8"
    {
        "index"            "424"
        "class"            "heavy"
    }
    "9"
    {
        "index"            "460"
        "class"            "spy"
    }
    "10"
    {
        "index"            "730"
        "class"            "soldier"
    }
    "11"
    {
        "index"            "220"
        "class"            "scout"
    }
    "12"
    {
        "index"            "527"
        "class"            "engineer"
    }
    "13"
    {
        "index"            "308"
        "class"            "demoman"
    }
    "14"
    {
        "index"            "14"
        "class"            "sniper"
    }
    "15"
    {
        "index"            "12"
        "class"            "pyro"
    }
    "16"
    {
        "index"            "61"
        "class"            "spy"
    }
    "17"
    {
        "index"            "228"
        "class"            "soldier"
    }
    "18"
    {
        "index"            "351"
        "class"            "pyro"
    }
    "19"
    {
        "index"            "24"
        "class"            "spy"
    }
    "20"
    {
        "index"            "425"
        "class"            "heavy"
    }
    "21"
    {
        "index"            "588"
        "class"            "engineer"
    }
    "22"
    {
        "index"            "17"
        "class"            "medic"
    }
    "23"
    {
        "index"            "16"
        "class"            "sniper"
    }
    "24"
    {
        "index"            "331"
        "class"            "heavy"
    }
    "25"
    {
        "index"            "442"
        "class"            "soldier"
    }
    "26"
    {
        "index"            "305"
        "class"            "medic"
    }
    "27"
    {
        "index"            "39"
        "class"            "pyro"
    }
    "28"
    {
        "index"            "773"
        "class"            "scout"
    }
    "29"
    {
        "index"            "356"
        "class"            "spy"
    }
    "30"
    {
        "index"            "812"
        "class"            "scout"
    }
    "31"
    {
        "index"            "307"
        "class"            "demoman"
    }
    "32"
    {
        "index"            "169"
        "class"            "engineer"
    }
}
__________________


Last edited by mycologist; 08-23-2013 at 22:51.
mycologist is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 15:25.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode