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

[TF2] Equipment manager 1.1.8 (05/22/10)


Post New Thread Reply   
 
Thread Tools Display Modes
Thraka
AlliedModders Donor
Join Date: Aug 2005
Old 05-17-2010 , 21:24   Re: [TF2] Equipment manager 1.1.7 (01/14/10)
Reply With Quote #1011

Is the latest version of this plugin working with voogru's working extension? Because how will he release the linux version of the extension if plugins\extensions like these don't update to use it and test it?
Thraka is offline
eraserhead
Veteran Member
Join Date: Nov 2009
Old 05-17-2010 , 22:34   Re: [TF2] Equipment manager 1.1.7 (01/14/10)
Reply With Quote #1012

Quote:
Originally Posted by Damizean View Post
Yes, I will update this plugin ASAP. Sorry I couldn't do it before, but I've been too tired to mess with the plugin after work :/
^^this
eraserhead is offline
Send a message via Skype™ to eraserhead
aRcTiC
SourceMod Donor
Join Date: Apr 2010
Old 05-17-2010 , 23:19   Re: [TF2] Equipment manager 1.1.7 (01/14/10)
Reply With Quote #1013

but i bet its internal testing and not for public (us)
aRcTiC is offline
snowyiet
Member
Join Date: Jan 2010
Old 05-20-2010 , 21:03   Re: [TF2] Equipment manager 1.1.7 (01/14/10)
Reply With Quote #1014

Is this plugin going to be updated to work with voogru's patch?
snowyiet is offline
alinayg
Senior Member
Join Date: Apr 2009
Location: USA, RI
Old 05-20-2010 , 22:02   Re: [TF2] Equipment manager 1.1.7 (01/14/10)
Reply With Quote #1015

Nevar!
__________________
alinayg is offline
Damizean
SourceMod Donor
Join Date: Mar 2009
Old 05-22-2010 , 06:12   Re: [TF2] Equipment manager 1.1.8 (01/14/10)
Reply With Quote #1016

--------------------
UPDATED
--------------------

Updated the plugin with the use of voogru's extension. It seems to work flawlessly. Unfortunately the extension is Windows-only for now, but I'm sure voogru's going to release a Linux version soon.

Please read the changelog, download the latest version of the extension and DON'T EVER TRY TO USE OFFICIAL HATS.
__________________
Dat annoying guy
Damizean is offline
Send a message via AIM to Damizean Send a message via MSN to Damizean
scopesp
Senior Member
Join Date: Jan 2009
Location: Munich
Old 05-22-2010 , 06:45   Re: [TF2] Equipment manager 1.1.8 (05/22/10)
Reply With Quote #1017

baaah cant wait for linux version hope coming this weekend

thank you
scopesp is offline
eraserhead
Veteran Member
Join Date: Nov 2009
Old 05-22-2010 , 07:16   Re: [TF2] Equipment manager 1.1.7 (01/14/10)
Reply With Quote #1018

Damizean, maybe you could also implement changes below to make to add the feature to assign hats to steamIDs?

Quote:
Originally Posted by laufer View Post
Eraserhead, its not so simple as you think. You have to make some changes in plugin. Here is recipe:

1. Add global variable (array):
Code:
// ---- Item variables
new String:g_iSteamID[MAX_ITEMS][2048];
2. Add string (bold one) to procedure Item_ParseList():

Code:
// Retrieve section name, wich is pretty much the name of the wearable. Also, parse the model.
    KvGetSectionName(kvItemList,       g_strItemName[g_iItemCount],  MAX_LENGTH);
    KvGetString(kvItemList, "model",   g_strItemModel[g_iItemCount], MAX_LENGTH);
    KvGetString(kvItemList, "index",   strLine, sizeof(strLine)); g_iItemIndex[g_iItemCount]   = StringToInt(strLine);
    KvGetString(kvItemList, "flags",   strLine, sizeof(strLine)); g_iItemFlags[g_iItemCount]   = Item_ParseFlags(strLine);
    KvGetString(kvItemList, "classes", strLine, sizeof(strLine)); g_iItemClasses[g_iItemCount] = Item_ParseClasses(strLine);
    KvGetString(kvItemList, "teams",   strLine, sizeof(strLine)); g_iItemTeams[g_iItemCount]   = Item_ParseTeams(strLine);
    KvGetString(kvItemList, "slot",    strLine, sizeof(strLine)); g_iItemSlot[g_iItemCount]    = StringToInt(strLine)-1;
    KvGetString(kvItemList, "steamid", g_iSteamID[g_iItemCount], 2048, ""); // reading item permissions
3. Add strings to the function Item_IsWearable
To the begining:
Code:
Item_IsWearable(iClient, Item)
{
new String:steamid[20];
To the end:
Code:
    GetClientAuthString(iClient, steamid, sizeof(steamid));
    // if no SteamId and NOT USER_DEFAULT then NO HATS! 
    if (g_iItemFlags[Item] & FLAG_USER_DEFAULT) return 1; // If USER_DEFAULT then Hat is ON
    if StrContains(g_iSteamID[Item], steamid, false) == -1 *then return 0; // Its not USER_DEFAULT and NO SteamID - so NO HAT!
    
    // Success!
    return 1;
}
4. Add key steamid to TF2_ItemList.cfg and fill it with steamid's of desired players.

Code:
// 9th of May - Victory day!
"Pilotka"
{
        "index"      "54"
        "model"      "models/custom/items2/pilotka/pilotka.mdl"
        "flags"      "HIDE_SOLDIER_HELMET"
        "classes"    "SOLDIER"
        "teams"      "ALL"
        "slot"       "1"
        "steamid"    "STEAM_0:0:22826123,STEAM_0:0:22826124"
}
5. Compile code file, put it in plugins folder and restart map. Enjoy!

Thats all! Not very simple, but much faster than wait untill Damizean will scratch his head ;)
eraserhead is offline
Send a message via Skype™ to eraserhead
scopesp
Senior Member
Join Date: Jan 2009
Location: Munich
Old 05-22-2010 , 08:01   Re: [TF2] Equipment manager 1.1.8 (05/22/10)
Reply With Quote #1019

would be nice yes ;)
scopesp is offline
Pacmaney
Senior Member
Join Date: May 2009
Old 05-22-2010 , 09:42   Re: [TF2] Equipment manager 1.1.8 (05/22/10)
Reply With Quote #1020

Perfect! All we have to do now is wait for a Linux version of voogru's extension and things will be peachy.
__________________
Pacmaney 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 12:15.


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