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

[TF2] BackpackHook - Forward for when an item is added to the player's inventory.


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 10-14-2010 , 16:16   [TF2] BackpackHook - Forward for when an item is added to the player's inventory.
Reply With Quote #1

It's dead, don't even try and use it.
------------------------------------------

Is fired for all items in a player's backpack when they join the server and for items added later.

The include file is fully documented, notes and all.
I suggest looking at it before complaining about the lack of info in the post.

Download: Windows | Linux | Game Data

Instructions:
  • Copy either the Windows or Linux binary (or both if you are unsure) to addons/sourcemod/extensions/
  • Copy the Gamedata file to addons/sourcemod/gamedata/

Developers: Include File | Sample Plugin

Extension Source Code

Major credits to Wazz for providing the reverse-engineered items system classes.
__________________

Last edited by asherkin; 07-22-2011 at 22:06.
asherkin is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 10-14-2010 , 16:16   Re: [TF2] BackpackHook - Forward for when an item is added to the player's inventory.
Reply With Quote #2

This was originally written to provide more reliable logging for Geit's Item Logger plugin.
This turned into a total rewrite of the system that you can see at http://items.limetech.org/.
I plan to release the new plugin / web UI once I am satisfied that no more breaking database changes need to be made and that their are no major bugs.
You can help test the system (and this extension) by idling on my TF2 server @ fennec.limetech.org:27015
__________________

Last edited by asherkin; 10-15-2010 at 04:39.
asherkin is offline
Mnkras
Senior Member
Join Date: Mar 2009
Location: 127.0.0.1
Old 10-15-2010 , 16:09   Re: [TF2] BackpackHook - Forward for when an item is added to the player's inventory.
Reply With Quote #3

its saying ellis's hat is purchased.. isn't it promotion?
and since when does customer support give us shit? 0.o
__________________
Mnkras is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 10-16-2010 , 06:57   Re: [TF2] BackpackHook - Forward for when an item is added to the player's inventory.
Reply With Quote #4

Quote:
Originally Posted by Mnkras View Post
its saying ellis's hat is purchased.. isn't it promotion?
Not according to Valve.
Quote:
Originally Posted by Mnkras View Post
and since when does customer support give us shit? 0.o
The only current usage of this one that I know of is for the Polycount pins.

The method strings were reverse engineered from the binary and matched up with the text strings in tf_english.txt.
I didn't just make them up .
__________________
asherkin is offline
Skyrider
AMX Mod X Beta Tester
Join Date: May 2005
Location: Netherlands
Old 10-19-2010 , 14:17   Re: [TF2] BackpackHook - Forward for when an item is added to the player's inventory.
Reply With Quote #5

Getting:
Quote:
weaponannouncer.ext.so: cannot open shared object file: No such file or directory
I've done these instructions:
Quote:
* Copy either the Windows or Linux binary (or both if you are unsure) to addons/sourcemod/extensions/
* Copy the Gamedata file to addons/sourcemod/gamedata/
__________________
Skyrider is offline
Send a message via AIM to Skyrider Send a message via MSN to Skyrider Send a message via Yahoo to Skyrider
ltgenkd
AlliedModders Donor
Join Date: Sep 2008
Old 10-21-2010 , 08:51   Re: [TF2] BackpackHook - Forward for when an item is added to the player's inventory.
Reply With Quote #6

When do you think you might release this plugin/webui?
I have installed the Item logger by Geit but, seems like there are alot of modifications that need to be done/edited just to get it the way you like it.
I like the way you have your webui setup. I am not to good at editing php code. Thanks for you time and effort.
__________________
ltgenkd is offline
yousif666
Junior Member
Join Date: Oct 2010
Old 11-01-2010 , 07:26   Re: [TF2] BackpackHook - Forward for when an item is added to the player's inventory.
Reply With Quote #7

Hello

I installed it but i dont know if its running or not

i did what you instructed and added the file derp.sp to scripting folder

i installed this plugin so i can use the gift timer

here

https://forums.alliedmods.net/showthread.php?t=141968
yousif666 is offline
B!PP
Member
Join Date: Sep 2009
Old 11-02-2010 , 01:06   Re: [TF2] BackpackHook - Forward for when an item is added to the player's inventory.
Reply With Quote #8

Hi.
I had the same problem as yousif666.

I've updated SM and now it's ok.
B!PP is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 11-24-2010 , 06:40   Re: [TF2] BackpackHook - Forward for when an item is added to the player's inventory.
Reply With Quote #9

Added support to get custom item descriptions, sorry for breaking existing plugins .
__________________
asherkin is offline
ltgenkd
AlliedModders Donor
Join Date: Sep 2008
Old 11-25-2010 , 17:30   Re: [TF2] BackpackHook - Forward for when an item is added to the player's inventory.
Reply With Quote #10

Quote:
I plan to release the new plugin / web UI once I am satisfied that no more breaking database changes need to be made and that their are no major bugs.
How is all this coming along?
__________________
ltgenkd 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 23:34.


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