This site is a testing version, but all data is shared with the live forum.


Raised This Month: $ Target: $400
 0% 

[TF2] Fire huntsman in the air


Post New Thread Reply   
 
Thread Tools Display Modes
pheadxdll
AlliedModders Donor
Join Date: Jun 2008
Old 06-05-2012 , 18:43   Re: [TF2] Fire huntsman in the air
Reply With Quote #21

That does not happen on my server. The fact that you unloaded it and the problem still presists has me thinking that you have another plugin or mod causing the issue. Charge works like normal over here.
__________________
pheadxdll is offline
Static2601
Senior Member
Join Date: Jun 2010
Old 06-10-2012 , 22:04   Re: [TF2] Fire huntsman in the air
Reply With Quote #22

Quote:
Originally Posted by pheadxdll View Post
That does not happen on my server. The fact that you unloaded it and the problem still presists has me thinking that you have another plugin or mod causing the issue. Charge works like normal over here.
Yeah sorry, it works fine. I just used it for 5 minutes and thought it wasnt working the same, i didnt realize that at first. Great addition to my server. I was looking for a way do this for a while. Thanks
Static2601 is offline
PolyQuad
Member
Join Date: Oct 2011
Old 08-20-2012 , 12:35   Re: [TF2] Fire huntsman in the air
Reply With Quote #23

I just added this to my server this morning, thanks!
PolyQuad is offline
pheadxdll
AlliedModders Donor
Join Date: Jun 2008
Old 10-27-2012 , 13:56   Re: [TF2] Fire huntsman in the air
Reply With Quote #24

Fixed for yesterday's update, only linux was affected. Grab it from the first post.
__________________
pheadxdll is offline
Helvetica
Senior Member
Join Date: Nov 2011
Location: U.S.
Old 10-27-2012 , 16:47   Re: [TF2] Fire huntsman in the air
Reply With Quote #25

Quote:
Originally Posted by pheadxdll View Post
Fixed for yesterday's update, only linux was affected. Grab it from the first post.
Thanks for updating this, I have been running this extension for over a year and cannot imagine my server without it.
Helvetica is offline
Scipizoa
Senior Member
Join Date: Aug 2012
Location: ask me
Old 06-02-2013 , 10:38   Re: [TF2] Fire huntsman in the air
Reply With Quote #26

Just gonna chime in here, its june 2nd 2013 and it works flawlessly on my two linux servers. ;)
__________________

ZaBaGaBe Gaming Community: http://steamcommunity.com/groups/ZBGB
Scipizoa is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 03-07-2014 , 15:58   Re: [TF2] Fire huntsman in the air
Reply With Quote #27

This extension isn't compiling against HL2SDK-TF2, SourceMod 1.5 and MetaMod: Source 1.10 on Linux.

The exact error is:
Code:
In file included from ../../hl2sdks/hl2sdk-tf2/public/tier1/utlvector.h:23:0,
                 from ../../hl2sdks/hl2sdk-tf2/public/tier1/convar.h:21,
                 from ../../hl2sdks/hl2sdk-tf2/public/eiface.h:16,
                 from ../../mmsource-1.10/core/ISmmAPI.h:46,
                 from ../../mmsource-1.10/core/ISmmPlugin.h:39,
                 from sdk/smsdk_ext.h:96,
                 from sdk/smsdk_ext.cpp:34:
../../hl2sdks/hl2sdk-tf2/public/tier1/utlmemory.h: In function ‘void* MemAlloc_AllocAligned(size_t, size_t)’:
../../hl2sdks/hl2sdk-tf2/public/tier1/utlmemory.h:41:14: error: redefinition of ‘void* MemAlloc_AllocAligned(size_t, size_t)’
../../hl2sdks/hl2sdk-tf2/public/tier0/memalloc.h:120:14: error: ‘void* MemAlloc_AllocAligned(size_t, size_t)’ previously defined here
make[1]: *** [Release.orangeboxvalve/sdk/smsdk_ext.o] Error 1
make[1]: Leaving directory `/home/tf2/dev/sourcemod-extensions/huntsman-src'
make: *** [all] Error 2
It compiles fine on Windows, though.

(Note: Fixing the library extension from .so to _lib.so doesn't fix it either)

I may try updating the files with the newer Makefile from the Sample Extension Project and see if there's something different in there that fixes things, seeing as how this Makefile is from SM 1.3.

Edit: Yes, using this Makefile allows it to compile if you specify ENGINE=tf2 (producing huntsman.ext.2.tf2.so), but I haven't tested it yet. The only major difference I can tell is that sourcemod and its public directory are included first in the sample ext files, like they are in the SM AMBuild files.
Attached Files
File Type: txt Makefile.txt (8.8 KB, 240 views)
__________________
Not currently working on SourceMod plugin development.

Last edited by Powerlord; 03-07-2014 at 16:55.
Powerlord is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 03-07-2014 , 16:51   Re: [TF2] Fire huntsman in the air
Reply With Quote #28

Anyway, the reason that I wanted a working Makefile for this is because I wanted to add an enable cvar to it. As far as I can tell this works, but I haven't been at a computer with TF2 on it to actually test it (but it's running on my test server now). I modified the Makefile in the src zip to default to ENGINE=tf2.

The cvar? huntsman_enabled, which for compatibility reasons defaults to 1.

Setting it to 0 will make it unload the memory patch. Setting it to 1 makes it load the memory patch again.

This change was done to help integrate it into multi-mod servers where you want the Huntsman to be able to be fired in the air in some game modes (i.e. Huntsman Hell), but not on other game modes (standard, etc...).

Warning to people using the previous versions: The filenames changed in this version. As far as I know, SourceMod will have a preference for this version (huntsman.ext.2.tf2.*) over the old versions (huntsman.ext.2.ep2v.*) but I can't guarantee that. To be on the safe side, move the old version to disabled/ (doesn't exist by default) or delete it.
Attached Files
File Type: zip huntsman-src.zip (19.4 KB, 120 views)
File Type: zip huntsman-0.1.3.zip (104.6 KB, 117 views)
__________________
Not currently working on SourceMod plugin development.

Last edited by Powerlord; 03-07-2014 at 16:53.
Powerlord is offline
Oshizu
Veteran Member
Join Date: Nov 2012
Location: Warsaw
Old 03-07-2014 , 17:17   Re: [TF2] Fire huntsman in the air
Reply With Quote #29

So this extension finds player's jump offset and patches huntsman block related part in func with null value?
Am i correct?
__________________
...
Oshizu is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 03-07-2014 , 19:23   Re: [TF2] Fire huntsman in the air
Reply With Quote #30

Quote:
Originally Posted by Oshizu View Post
So this extension finds player's jump offset and patches huntsman block related part in func with null value?
Am i correct?
Something like that... pheadxdll would have to tell you for sure.

I know it currently works on Linux, but I haven't tested it on Windows. Incidentally, this means that yes, the cvar works on Linux. \o/
__________________
Not currently working on SourceMod plugin development.

Last edited by Powerlord; 03-07-2014 at 19:30.
Powerlord 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 01:48.


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