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

[TF2] Unlock Replacer


Post New Thread Reply   
 
Thread Tools Display Modes
flubber
Senior Member
Join Date: Oct 2007
Old 12-22-2009 , 11:50   Re: [TF2] Unlock Replacer
Reply With Quote #111

Quote:
Originally Posted by Wazz View Post
flubber, that is very possible however unfortunately I do not have time to make major changes to this plugin anymore. Anyone can feel free to take the code and adapt it to their own needs and post their versions.
Too bad :'(
flubber is offline
busy.orange
Member
Join Date: May 2009
Old 12-26-2009 , 17:46   Re: [TF2] Unlock Replacer
Reply With Quote #112

Wazz can u port it for SDKHooks?

Last edited by busy.orange; 12-26-2009 at 17:53.
busy.orange is offline
Wazz
SourceMod Donor
Join Date: Mar 2009
Old 12-26-2009 , 19:00   Re: [TF2] Unlock Replacer
Reply With Quote #113

I will do at some point, it seems like a fairly simple thing to do.
Wazz is offline
Wazz
SourceMod Donor
Join Date: Mar 2009
Old 12-26-2009 , 21:13   Re: [TF2] Unlock Replacer
Reply With Quote #114

Warning: Untested!

Changes:
Added gunboats
Now uses SDKHooks instead of Dukehacks.
Attached Files
File Type: sp Get Plugin or Get Source (unlockreplacer.sp - 382 views - 27.1 KB)
File Type: smx unlockreplacer.smx (13.6 KB, 203 views)
Wazz is offline
Wazz
SourceMod Donor
Join Date: Mar 2009
Old 12-27-2009 , 08:04   Re: [TF2] Unlock Replacer
Reply With Quote #115

Updated first post with new version adding gunboat support and ported to use SDKHooks instead of dukehacks.
Wazz is offline
Blade Kiro
Member
Join Date: Jul 2009
Old 12-30-2009 , 19:13   Re: [TF2] Unlock Replacer
Reply With Quote #116

Code:
L 12/31/2009 - 00:10:28: [SM]   [0]  Line 476, D:\Program Files (x86)\Steam\steamapps\redb1te\source 2007 dedicated server\orangebox\tf\addons\sourcemod\scripting\unlockreplacer.sp::ProcessEdict()
L 12/31/2009 - 00:10:28: [SM] Native "GetEntProp" reported: Property "m_iItemDefinitionIndex" not found (entity 34/infodecal)
L 12/31/2009 - 00:10:28: [SM] Displaying call stack trace for plugin "unlockreplacer.smx":
Blade Kiro is offline
Wazz
SourceMod Donor
Join Date: Mar 2009
Old 12-30-2009 , 19:41   Re: [TF2] Unlock Replacer
Reply With Quote #117

Please try this.
Warning: This hasn't been tested.
Attached Files
File Type: sp Get Plugin or Get Source (unlockreplacer.sp - 317 views - 27.0 KB)
File Type: smx unlockreplacer.smx (13.4 KB, 200 views)
Wazz is offline
busy.orange
Member
Join Date: May 2009
Old 12-31-2009 , 07:57   Re: [TF2] Unlock Replacer
Reply With Quote #118

Wazz don't work for me.
need DH version
defIdx=0

Found fix:
471 line: new defIdx =GetEntProp(edict, Prop_Send, "m_iItemDefinitionIndex"); //GetEntData(edict, offset, 4);

Last edited by busy.orange; 12-31-2009 at 09:20.
busy.orange is offline
Wazz
SourceMod Donor
Join Date: Mar 2009
Old 12-31-2009 , 09:01   Re: [TF2] Unlock Replacer
Reply With Quote #119

I would strongly recommend using SDKHooks instead of Dukehacks now, you may find a lot of other plugins that used to use DH now use SDKHooks.
Wazz is offline
Gachl
BANNED
Join Date: Feb 2009
Old 01-02-2010 , 07:27   Re: [TF2] Unlock Replacer
Reply With Quote #120

sdkhooks doesn't work for some reason on my tf2
anyways, the link here:
Quote:
Originally Posted by Wazz View Post
shows dukehacks, not sdkhooks.
Gachl 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 13:38.


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