Raised This Month: $32 Target: $400
 8% 

TF2Items - Items with custom attributes.


Post New Thread Closed Thread   
 
Thread Tools Display Modes
Tauphi
SourceMod Donor
Join Date: Sep 2004
Location: Germany
Old 12-18-2010 , 04:03   Re: TF2Items - Items with custom attributes.
#601

is there possibly something wrong with the inventory offset or the CPlayerInventory header? the m_BackPack item count returns always 0
__________________
Tauphi is offline
Send a message via ICQ to Tauphi Send a message via Skype™ to Tauphi
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 12-18-2010 , 04:26   Re: TF2Items - Items with custom attributes.
#602

Quote:
Originally Posted by Tauphi View Post
is there possibly something wrong with the inventory offset or the CPlayerInventory header? the m_BackPack item count returns always 0
The inventory offset didn't change since BackpackHook is fine, C(TF)PlayerInventory may have, it's up to you to fix if you want it.
Not that either of these things have anything to do with TF2Items .

EDIT: Scratch that, the offset changed.
__________________

Last edited by asherkin; 12-18-2010 at 05:00.
asherkin is offline
Tauphi
SourceMod Donor
Join Date: Sep 2004
Location: Germany
Old 12-18-2010 , 05:18   Re: TF2Items - Items with custom attributes.
#603

Do you know the new offset?

I am not sure how to find it ... I am able to create the offset list for CTFPlayer, but not strange thinks like this
__________________
Tauphi is offline
Send a message via ICQ to Tauphi Send a message via Skype™ to Tauphi
Leonardo
Veteran Member
Join Date: Feb 2010
Location: 90's
Old 12-18-2010 , 08:39   Re: TF2Items - Items with custom attributes.
#604

Quote:
Originally Posted by asherkin View Post
Updated.
Quote:
Originally Posted by asherkin View Post
Update (21/08/2010): Version 1.4.1 Released.
o rly?
__________________
Leonardo is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 12-18-2010 , 09:11   Re: TF2Items - Items with custom attributes.
#605

Quote:
Originally Posted by Leonardo View Post
o rly?
Rly.
Don't need to edit the post for updates broski.
__________________
asherkin is offline
Flyflo
Senior Member
Join Date: Jun 2008
Location: Grenoble, France
Old 12-18-2010 , 10:27   Re: TF2Items - Items with custom attributes.
#606

Hello,

With your last version I get the following error:
Code:
L 12/18/2010 - 16:24:20: [SM] Unable to load extension "tf2items.ext": /home/herp/serveurs/derp/orangebox/tf/addons/sourcemod/extensions/tf2items.ext.2.ep2v.so: undefined symbol: _ZN7CDetour7DestroyEv
I'm on Linux, SM 1.3.7 rev3084 MM 1.8.5 rev750.

Thx
__________________
Flyflo is offline
Tauphi
SourceMod Donor
Join Date: Sep 2004
Location: Germany
Old 12-18-2010 , 10:53   Re: TF2Items - Items with custom attributes.
#607

Here the working InventoryOffset solution for windows:

Updated CPlayerInventory header:
PHP Code:
class CPlayerInventory
{
public :
    
void *m_pVtbl_CPlayerInventory;
    
uint32 m_iUnknown1;
    
uint32 m_iAccountID;
    
uint32 m_iUnknown0;
    
CUtlVector<CScriptCreatedItemm_BackPack;
    
void *m_pSortVectorQSortContext;
    
bool m_bUnknown2;
    
uint32 m_iUnknown3;
    
void *m_pfnInventoryUpdated;
    
void *m_pCSharedObjectCache;
    
uint32 m_iUnknown6;
}; 
The new offset of the inventory for windows:
PHP Code:
"InventoryOffset"
{
    
"windows"   "4364"

__________________
Tauphi is offline
Send a message via ICQ to Tauphi Send a message via Skype™ to Tauphi
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 12-18-2010 , 11:02   Re: TF2Items - Items with custom attributes.
#608

Quote:
Originally Posted by Flyflo View Post
Code:
L 12/18/2010 - 16:24:20: [SM] Unable to load extension "tf2items.ext": /home/herp/serveurs/derp/orangebox/tf/addons/sourcemod/extensions/tf2items.ext.2.ep2v.so: undefined symbol: _ZN7CDetour7DestroyEv
Download it again, I included the wrong binary the first time.

Quote:
Originally Posted by Tauphi View Post
Codens
Thanks.
__________________
asherkin is offline
FlaminSarge
Veteran Member
Join Date: Jul 2010
Old 12-18-2010 , 11:57   Re: TF2Items - Items with custom attributes.
#609

1.4.3 by my counts, ash.
One major fix for halloween or something, one for just now.
__________________
Bread EOTL GunMettle Invasion Jungle Inferno 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
Mecha the Slag
Veteran Member
Join Date: Jun 2009
Location: Denmark
Old 12-18-2010 , 13:56   Re: TF2Items - Items with custom attributes.
#610

My server crashes every time a player dies. I removed everything gradually and found out that it stopped the moment I removed the TF2Items extension (didn't have any plugins that used it).

Windows server, using latest TF2Items.
__________________
Mecha the Slag is offline
Closed Thread


Thread Tools
Display Modes

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:59.


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