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

[TF2] TF2Attributes (v1.7.2, 2022/09/18)


Post New Thread Reply   
 
Thread Tools Display Modes
404UserNotFound
BANNED
Join Date: Dec 2011
Old 04-10-2019 , 22:13   Re: [TF2] TF2Attributes (v1.2.1, 07/02/2015)
Reply With Quote #581

Quote:
Originally Posted by Powerlord View Post
I don't know about the initial value, but Valve removed set bonuses from the game some time ago.
Wait, what? I don't remember this. Oh wait, the tombstone thing, that's right. Deprecate them natives, eh.

Last edited by 404UserNotFound; 04-10-2019 at 22:13.
404UserNotFound is offline
BlazingDiancie
Member
Join Date: Sep 2014
Old 04-17-2019 , 19:13   Re: [TF2] TF2Attributes (v1.2.1, 07/02/2015)
Reply With Quote #582

Quote:
Originally Posted by 404UNF View Post
Wait, what? I don't remember this. Oh wait, the tombstone thing, that's right. Deprecate them natives, eh.
The set bonus attributes do still work. They don't, however, work if you put them on MvM Robots.
BlazingDiancie is offline
RavensBro
Veteran Member
Join Date: Sep 2009
Location: Wisonsin USA
Old 06-07-2019 , 08:09   Re: [TF2] TF2Attributes (v1.2.1, 07/02/2015)
Reply With Quote #583

L 06/06/2019 - 159:47: [SM] Exception reported: TF2Attrib_SetByName: Attribute 'level' not valid
L 06/06/2019 - 159:47: [SM] Blaming: tf2attributes.smx
L 06/06/2019 - 159:47: [SM] Call stack trace:
L 06/06/2019 - 159:47: [SM] [0] ThrowNativeError
L 06/06/2019 - 159:47: [SM] [1] Line 357, C:\Users\server\Downloads\sourcemod-1.9.0-git6248-windows\addons\sourcemod\scripting\tf2attribu tes.sp::Native_SetAttrib
L 06/06/2019 - 159:47: [SM] [3] TF2Attrib_SetByName
L 06/06/2019 - 159:47: [SM] [4] Line 600, SmashBros/SB_Engine_Weapon_Manager.sp::ApplyWeaponValue s
L 06/06/2019 - 159:47: [SM] [5] Line 296, SmashBros/SB_Engine_Weapon_Manager.sp::ApplyWeaponsOnCl ient
L 06/06/2019 - 159:47: [SM] [6] Line 326, SmashBros/SB_Engine_Weapon_Manager.sp::OnSB_EventSpawn_ Post
L 06/06/2019 - 159:47: [SM] [8] Call_Finish
L 06/06/2019 - 159:47: [SM] [9] Line 47, SmashBros/SB_Engine_InitForwards.sp:oForward_OnSB_Eve ntSpawn
L 06/06/2019 - 159:47: [SM] [10] Line 43, SmashBros/SB_001_HookEvent.sp::SB_PlayerSpawnEvent
RavensBro is offline
FlaminSarge
Veteran Member
Join Date: Jul 2010
Old 06-08-2019 , 19:50   Re: [TF2] TF2Attributes (v1.2.1, 07/02/2015)
Reply With Quote #584

Item level is its own netprop on entities, not an attribute, if I remember correctly.
__________________
Bread EOTL GunMettle Invasion Jungle Inferno 64-bit will break everything. Don't even ask.

All plugins: Randomizer/GiveWeapon, ModelManager, etc.
Post in plugin threads with questions.
Steam is for playing games.
You will be fed to javalia otherwise.
Psyduck likes replays.
FlaminSarge is offline
manicogaming
AlliedModders Donor
Join Date: Aug 2014
Old 02-01-2020 , 22:17   Re: [TF2] TF2Attributes (v1.2.1, 07/02/2015)
Reply With Quote #585

Quote:
Originally Posted by FlaminSarge View Post
Item level is its own netprop on entities, not an attribute, if I remember correctly.
Is it possible to make a plugin like this for CS:GO?
__________________
manicogaming is offline
cucamorais
Junior Member
Join Date: Feb 2016
Old 02-21-2020 , 21:19   Re: [TF2] TF2Attributes (v1.2.1, 07/02/2015)
Reply With Quote #586

Currently having this issue:

L 02/21/2020 - 23:14:01: [tf2attributes.smx] Could not initialize call to CEconItem::SetCustomName
L 02/21/2020 - 23:14:01: [SM] Exception reported: Could not initialize call to CEconItemSchema::GetAttributeDefinitionByName
L 02/21/2020 - 23:14:01: [SM] Blaming: tf2attributes.smx
L 02/21/2020 - 23:14:01: [SM] Call stack trace:
L 02/21/2020 - 23:14:01: [SM] [0] SetFailState
L 02/21/2020 - 23:14:01: [SM] [1] Line 153, C:\sourcemod\tf2attributes\tf2attributes.sp:: OnPluginStart
L 02/21/2020 - 23:14:01: [SM] Unable to load plugin "tf2attributes.smx": Error detected in plugin startup (see error logs)

While trying to compile the source code it gives me this:

"tf2attributes.sp(210) : warning 234: symbol "FCVAR_PLUGIN" is marked as deprecated: No logic using this flag ever existed in a released game. It only ever appeared in the first hl2sdk.

tf2attributes.sp(217) : warning 225: unreachable code
tf2attributes.sp(325) : error 017: undefined symbol "Address_MinimumValid"
tf2attributes.sp(333) : error 017: undefined symbol "Address_MinimumValid"
tf2attributes.sp(796) : error 017: undefined symbol "Address_MinimumValid"

3 Errors."

Last edited by cucamorais; 02-21-2020 at 21:27.
cucamorais is offline
nosoop
Veteran Member
Join Date: Aug 2014
Old 02-21-2020 , 22:12   Re: [TF2] TF2Attributes (v1.2.1, 07/02/2015)
Reply With Quote #587

Quote:
Originally Posted by cucamorais View Post
Currently having this issue:

...

While trying to compile the source code it gives me this:

...
Make sure to download the source and gamedata directly from the repository, which should compile correctly. The one in the main post (and the compiled Github releases) are some revisions behind.

You can also grab releases of my custom build, which has some additional features and massively refactored code. Some of those features were actually pull requested into upstream yesterday, so there might be an official build soon(tm).
__________________
I do TF2, TF2 servers, and TF2 plugins.
I don't do DMs over Discord -- PM me on the forums regarding inquiries.
AlliedModders Releases / Github / TF2 Server / Donate (BTC / BCH / coffee)

Last edited by nosoop; 02-21-2020 at 22:18.
nosoop is offline
cucamorais
Junior Member
Join Date: Feb 2016
Old 02-22-2020 , 00:45   Re: [TF2] TF2Attributes (v1.2.1, 07/02/2015)
Reply With Quote #588

Quote:
Originally Posted by nosoop View Post
Make sure to download the source and gamedata directly from the repository, which should compile correctly. The one in the main post (and the compiled Github releases) are some revisions behind.

You can also grab releases of my custom build, which has some additional features and massively refactored code. Some of those features were actually pull requested into upstream yesterday, so there might be an official build soon(tm).
Both of them works like a charm, i'll use yours since hopefully it's gonna be updated more often. Thanks
cucamorais is offline
Nightmare Pyro
Member
Join Date: Mar 2020
Location: Cedar Falls
Old 04-01-2020 , 17:52   Re: [TF2] TF2Attributes (v1.2.1, 07/02/2015)
Reply With Quote #589

Hey peeps!

I got this error from dodgeball server tf2

L 04/01/2020 - 16:48:06: SourceMod error session started
L 04/01/2020 - 16:48:06: Info (map "tfdb_anotherbox_v2") (file "g:\tf2 server manages\servers\db kpg\server\tf\addons\sourcemod\logs\errors_20 200401.log")
L 04/01/2020 - 16:48:06: [tf2attributes.smx] Could not initialize call to CEconItem::SetCustomName
L 04/01/2020 - 16:48:11: [SM] Exception reported: No rocket class defined.
L 04/01/2020 - 16:48:11: [SM] Blaming: tf2_dodgeball.smx
L 04/01/2020 - 16:48:11: [SM] Call stack trace:
L 04/01/2020 - 16:48:11: [SM] [0] SetFailState
L 04/01/2020 - 16:48:11: [SM] [1] Line 714, tf2_dodgeball.sp::EnableDodgeBall
L 04/01/2020 - 16:48:11: [SM] [2] Line 331, tf2_dodgeball.sp::OnConfigsExecuted

is there any way to fix it?
Nightmare Pyro is offline
Umbrozium
Junior Member
Join Date: Dec 2017
Location: ǝʌɐɹ
Old 04-06-2020 , 07:20   Re: [TF2] TF2Attributes (v1.2.1, 07/02/2015)
Reply With Quote #590

Quote:
Originally Posted by Nightmare Pyro View Post
Hey peeps!

I got this error from dodgeball server tf2

L 04/01/2020 - 16:48:06: SourceMod error session started
L 04/01/2020 - 16:48:06: Info (map "tfdb_anotherbox_v2") (file "g:\tf2 server manages\servers\db kpg\server\tf\addons\sourcemod\logs\errors_20 200401.log")
L 04/01/2020 - 16:48:06: [tf2attributes.smx] Could not initialize call to CEconItem::SetCustomName
L 04/01/2020 - 16:48:11: [SM] Exception reported: No rocket class defined.
L 04/01/2020 - 16:48:11: [SM] Blaming: tf2_dodgeball.smx
L 04/01/2020 - 16:48:11: [SM] Call stack trace:
L 04/01/2020 - 16:48:11: [SM] [0] SetFailState
L 04/01/2020 - 16:48:11: [SM] [1] Line 714, tf2_dodgeball.sp::EnableDodgeBall
L 04/01/2020 - 16:48:11: [SM] [2] Line 331, tf2_dodgeball.sp::OnConfigsExecuted

is there any way to fix it?
It's related to the unupdated FlaminSarge's gamedata txt file. Use nosoop's build release instead.
__________________
overmind searches for undermeanings
Umbrozium 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 03:46.


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