Raised This Month: $ Target: $400
 0% 

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


Post New Thread Reply   
 
Thread Tools Display Modes
FlaminSarge
Veteran Member
Join Date: Jul 2010
Old 08-11-2013 , 02:26   Re: [TF2] TF2Attributes (v1.1.0, 07/20/2013)
Reply With Quote #111

I can already (kindof) look up players' backpacks, and access the item schema (from within SM and not using TF2Items), so I'm just working on getting that down into a set of stock functions that I can use to arbitrarily grab information. Next up would be getting special attributes' values like kill eater, etc. Still working on it.

The other DefIndex natives are done, but will hold off on those for a bit so I can try and get the other stuff done.
__________________
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.

Last edited by FlaminSarge; 08-11-2013 at 02:26.
FlaminSarge is offline
friagram
Veteran Member
Join Date: Sep 2012
Location: Silicon Valley
Old 08-11-2013 , 13:57   Re: [TF2] TF2Attributes (v1.1.0, 07/20/2013)
Reply With Quote #112

Thats pretty cool. I was wondering if valve was ever planning on letting us spawn backpack items on clients.
__________________
Profile - Plugins
Add me on steam if you are seeking sp/map/model commissions.
friagram is offline
FlaminSarge
Veteran Member
Join Date: Jul 2010
Old 08-11-2013 , 16:48   Re: [TF2] TF2Attributes (v1.1.0, 07/20/2013)
Reply With Quote #113

Randomizer's next update probably will do so. Fun times.
__________________
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
Oshizu
Veteran Member
Join Date: Nov 2012
Location: Warsaw
Old 08-27-2013 , 20:41   Re: [TF2] TF2Attributes (v1.1.0, 07/20/2013)
Reply With Quote #114

Update broke plugin
__________________
...
Oshizu is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 08-27-2013 , 20:44   Re: [TF2] TF2Attributes (v1.1.0, 07/20/2013)
Reply With Quote #115

Quote:
Originally Posted by Oshizu View Post
Update broke plugin
Windows or Linux?
__________________
Not currently working on SourceMod plugin development.
Powerlord is offline
friagram
Veteran Member
Join Date: Sep 2012
Location: Silicon Valley
Old 08-27-2013 , 21:26   Re: [TF2] TF2Attributes (v1.1.0, 07/20/2013)
Reply With Quote #116

Windows gamedata is stale again
__________________
Profile - Plugins
Add me on steam if you are seeking sp/map/model commissions.
friagram is offline
FlaminSarge
Veteran Member
Join Date: Jul 2010
Old 08-28-2013 , 01:28   Re: [TF2] TF2Attributes (v1.1.1, 08/27/2013)
Reply With Quote #117

Updated with two new natives (I may rework the error/returnfalse behavior of these at some point; thoughts?), a fixed native, and fixed gamedata - 08/27/2013
__________________
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
friagram
Veteran Member
Join Date: Sep 2012
Location: Silicon Valley
Old 08-28-2013 , 02:26   Re: [TF2] TF2Attributes (v1.1.1, 08/27/2013)
Reply With Quote #118

Ah, I had found some of the offsets, didn't know how long it would take you. How do you find them so fast
Windows has no debug symbols... Is there some tool I'm missing?
__________________
Profile - Plugins
Add me on steam if you are seeking sp/map/model commissions.
friagram is offline
FlaminSarge
Veteran Member
Join Date: Jul 2010
Old 08-29-2013 , 14:24   Re: [TF2] TF2Attributes (v1.1.1, 08/27/2013)
Reply With Quote #119

GetAttributeDefinitionByName has some unique strings, and that's the only one that broke.
__________________
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
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 08-29-2013 , 14:56   Re: [TF2] TF2Attributes (v1.1.1, 08/27/2013)
Reply With Quote #120

You may want to fix the documentation for TF2Attrib_ListDefIndices at some point, since I doubt very much that it "Returns the value of m_nRefundableCurrency on an attribute."
__________________
Not currently working on SourceMod plugin development.
Powerlord 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 16:52.


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