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

[DEV] *DEAD* TF2ItemsInfo v1.8.17.7 (21 Nov 2013)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
Leonardo
Veteran Member
Join Date: Feb 2010
Location: 90's
Plugin ID:
2907
Plugin Version:
1.8.17.7-20131121
Plugin Category:
Technical/Development
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
    50 
    Plugin Description:
    Obtaining item info from items_game.txt
    Unapprover:
    Reason for Unapproving:
    No longer supported by author
    Old 04-15-2012 , 06:02   [DEV] *DEAD* TF2ItemsInfo v1.8.17.7 (21 Nov 2013)
    Reply With Quote #1

    Announcement!
    Since I have no free time, also due to lack of interest, I cannot support this plugin anymore. I hope someone would make a mem-hacking version.

    MEMORY LEAK FIX
    https://forums.alliedmods.net/showpost.php?p=2177564


    ============================================= =============================================

    What is it?
    List of natives that could be useful for plugin devs.
    What uses this?
    * [TF2Items] Bot Weapon Randomizer
    * [TF2Items] Give Weapon
    * Many private plugins
    Who is credit to team?
    * Mecha The Slag - original idea;
    * FlaminSarge - bug fixes,
    * 11530 - bug reports.
    How to install?
    * Download files from Links section (below)
    * Put tf2itemsinfo.smx in /addons/sourcemod/plugins/
    * Put tf2itemsinfo.txt in /addons/sourcemod/data/
    * Put tf2itemsinfo.sp in /addons/sourcemod/scripting/
    * Put tf2itemsinfo.inc in /addons/sourcemod/scripting/includes/
    Optional:
    Updater plugin.
    How to configure?
    Is not possible.
    Known issues?
    1/ Memory leak error. Temporary fix - manually load plugin back. Fixed!
    2/ High memory usage (22MiB). Fixed (?).
    ToDo list:
    * Add function that returns a KeyValues per item;
    * Add function that returns item model;
    * Add function that returns item styles.
    CVars & CMDs:
    PHP Code:
    // variables
    sm_tf2ii_version // version
    sm_tf2ii_logs 1 // Enable/disable logs
    sm_tf2ii_db "" // DB name (from databases.cfg)
    sm_tf2ii_fix01 0 // Fix items with 'string' attributes
    sm_tf2ii_updater 1 // enable/disable autoupdate
    // commands
    sm_tf2ii_refresh // rescan items_game.txt
    sm_tf2ii_reload // same as above
    sm_si <name> [pagenum// find items ids by name
    sm_fi <name> [pagenum// same as above
    sm_sic <classname> [pagenum// find items ids by classname
    sm_fic <classname> [pagenum// same as above
    sm_ii <id> [extra// print item info (extra value - anything except 0)
    sm_pi [id] [extra// print item info (extra value - anything except 0)
    sm_sa <id|name> [pagenum// find attributes ids by id or name
    sm_fa <id|name> [pagenum// same as above
    sm_sac <classname> [pagenum// find attributes ids by classname
    sm_fac <classname> [pagenum// same as above 
    Natives, functions, etc:
    Basic data getting functions
    Validating functions
    Getting item data
    Getting attribute data
    Additional functions
    Other stuff
    Raw item/attribute data
    Getting lists
    Fowrards (events)
    Stock functions


    Changelogs:
    Spoiler
    Attached Files
    File Type: zip tf2itemsinfo.zip (60.1 KB, 3891 views)
    File Type: sp Get Plugin or Get Source (tf2itemsinfo.sp - 1270 views - 94.7 KB)
    File Type: inc tf2itemsinfo.inc (25.4 KB, 1667 views)
    File Type: txt tf2itemsinfo.txt (22.3 KB, 1726 views)
    __________________

    Last edited by Leonardo; 05-05-2019 at 01:51. Reason: removed dead links
    Leonardo is offline
     



    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 22:13.


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