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

[TF2] ActionProtect


Post New Thread Reply   
 
Thread Tools Display Modes
Mitchell
~lick~
Join Date: Mar 2010
Old 12-31-2013 , 13:54   Re: [TF2] ActionProtect
Reply With Quote #11

Quote:
Originally Posted by pcmaster View Post
Wouldn't it be possible to make that fix as a plugin rather than an extension?
Cant catch the command with a plugin, remember when high five taunt was crashing the servers? VoiDeD shared some of this extension with us.
Mitchell is offline
VoiDeD
AlliedModders Donor
Join Date: Mar 2009
Location: Illinois, USA
Old 12-31-2013 , 15:37   Re: [TF2] ActionProtect
Reply With Quote #12

I've released an update that does a case insensitive comparison on the action name so it matches what Valve's code does and to prevent hacks from defeating that check. I recommend updating to this version if you haven't.

Also I've made some changes to the code to make it easier to compile; previously you needed GAME_DLL defined, but now it should build fine without it.

No linux build yet, so someone will have to step up to the plate again.
__________________
VoiDeD is offline
pcmaster
AlliedModders Donor
Join Date: Sep 2009
Old 12-31-2013 , 17:38   Re: [TF2] ActionProtect
Reply With Quote #13

Quote:
Originally Posted by VoiDeD View Post
I've released an update that does a case insensitive comparison on the action name so it matches what Valve's code does and to prevent hacks from defeating that check. I recommend updating to this version if you haven't.

Also I've made some changes to the code to make it easier to compile; previously you needed GAME_DLL defined, but now it should build fine without it.

No linux build yet, so someone will have to step up to the plate again.
I could build the linux one, but where can I get the HL2SDK? I only find the OB one.
__________________
Stopped hosting servers as of November 2018, no longer active around here.

Last edited by pcmaster; 12-31-2013 at 17:39.
pcmaster is offline
VoiDeD
AlliedModders Donor
Join Date: Mar 2009
Location: Illinois, USA
Old 12-31-2013 , 17:44   Re: [TF2] ActionProtect
Reply With Quote #14

Quote:
Originally Posted by pcmaster View Post
I could build the linux one, but where can I get the HL2SDK? I only find the OB one.
You can build against hl2sdk-ob-valve or hl2sdk-tf2.
__________________
VoiDeD is offline
pcmaster
AlliedModders Donor
Join Date: Sep 2009
Old 12-31-2013 , 20:22   Re: [TF2] ActionProtect
Reply With Quote #15

I have successfully compiled against the hl2sdk-ob (had to change the path to the vstdlib/tier0). Now I am getting this error on load (set ENGINE=orangebox):

sm exts load ActionProtection
[SM] Extension ActionProtection.ext.so failed to load: /gameserver/tf2/mvm/tf/addons/sourcemod/extensions/ActionProtection.ext.so: undefined symbol: _ZNK9KeyValues7GetNameEv

Also tried to compile against the tf2 one, same error (changed to orangeboxvalve then)
__________________
Stopped hosting servers as of November 2018, no longer active around here.

Last edited by pcmaster; 12-31-2013 at 20:23.
pcmaster is offline
VoiDeD
AlliedModders Donor
Join Date: Mar 2009
Location: Illinois, USA
Old 12-31-2013 , 20:31   Re: [TF2] ActionProtect
Reply With Quote #16

I've committed an update to the linux makefile per the recommendation of psychonic; check if compiling that loads for you.
__________________
VoiDeD is offline
pcmaster
AlliedModders Donor
Join Date: Sep 2009
Old 12-31-2013 , 20:43   Re: [TF2] ActionProtect
Reply With Quote #17

Yep, worked now:

Code:
sm exts info 16
 File: ActionProtection.ext.so
 Loaded: Yes (version 0.2)
 Name: ActionProtect (ActionProtect)
 Author: VoiDeD (http://saxtonhell.com)
 Binary info: API version 5 (compiled Jan  1 2014)
 Method: Loaded by SourceMod, attached to Metamod:Source
Also, I had to change line 93 to this:

Code:
ifneq (,$(filter original left4dead,$(ENGINE)))
(Remove orangebox), otherwise it tries to look for a tier0_srv_i486.so/vstdlib_srv_i486.so, which doesn't exist on OB.

Anyways, here is a link to the compiled version:
http://5.45.97.122/ActionProtection.tar.gz

If needed, I can also do a pull request on the Github repo (also a fix for the Makefile I mentioned above)
__________________
Stopped hosting servers as of November 2018, no longer active around here.

Last edited by pcmaster; 12-31-2013 at 20:45.
pcmaster is offline
VoiDeD
AlliedModders Donor
Join Date: Mar 2009
Location: Illinois, USA
Old 12-31-2013 , 20:48   Re: [TF2] ActionProtect
Reply With Quote #18

Pull reqs are always welcome.
__________________
VoiDeD is offline
pcmaster
AlliedModders Donor
Join Date: Sep 2009
Old 12-31-2013 , 20:55   Re: [TF2] ActionProtect
Reply With Quote #19

Sent a Pull req now.
__________________
Stopped hosting servers as of November 2018, no longer active around here.
pcmaster is offline
404UserNotFound
BANNED
Join Date: Dec 2011
Old 01-01-2014 , 12:37   Re: [TF2] ActionProtect
Reply With Quote #20

Ok, so is the Linux version fixed now?
404UserNotFound 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 11:48.


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