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

[TF2] Huntsman Hell (v1.7.2, 2014-04-04)


Post New Thread Reply   
 
Thread Tools Display Modes
lyric
Veteran Member
Join Date: Sep 2012
Old 04-30-2013 , 11:15   Re: [TF2] Huntsman Hell (v1.3, 2013-04-29)
Reply With Quote #11

if its something like gamedata that should be easy to update right? I mean isn't it just a text file with OS specific attributes or something like that?
__________________
lyric is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 04-30-2013 , 11:18   Re: [TF2] Huntsman Hell (v1.3, 2013-04-29)
Reply With Quote #12

Quote:
Originally Posted by lyric View Post
if its something like gamedata that should be easy to update right? I mean isn't it just a text file with OS specific attributes or something like that?
It's a text file, but the hard part is getting the correct contents.

For instance, here is the first signature for the non-SteamPipe server:

Code:
            "CAttributeList::GetAttributeByID" //int, returns CEconAttribute address
            {
                "library"            "server"
                "windows"            "\x55\x8B\xEC\x51\x53\x8B\xD9\x8B\x43\x10"
                "linux"                "@_ZN14CAttributeList16GetAttributeByIDEi"
                "mac"                "@_ZN14CAttributeList16GetAttributeByIDEi"
            }
Basically, to get both the names for the Linux/Mac versions and bytes for the Windows versions requires disassembling server_srv.so and server_srv.dll. The Linux/Mac version may not change, but the Windows versions have a nasty tendency to break.

Edit: Also, you have to have both the Linux and Windows version, but SteamCMD doesn't give you both, meaning you need to have both Windows and Linux (or Mac) servers to get both files... you can't look things up directly in the Windows version. Instead, you use information gathered from the Linux version to locate the same function in the Linux version.

Edit 2: For reference, the SteamCMD version still uses @_ZN14CAttributeList16GetAttributeByIDEi for this function, but this is just one of 6 functions that needs to be checked on both Linux and Windows.

Edit 3: The Linux versions appear to be the same under SteamPipe, but that doesn't mean Valve can't throw in an additional update and screw things up.
__________________
Not currently working on SourceMod plugin development.

Last edited by Powerlord; 04-30-2013 at 11:29.
Powerlord is offline
lyric
Veteran Member
Join Date: Sep 2012
Old 04-30-2013 , 11:44   Re: [TF2] Huntsman Hell (v1.3, 2013-04-29)
Reply With Quote #13

wow i had no idea it was that complex. its amazing how anynoe is able to figure that all out lol
__________________
lyric is offline
FlaminSarge
Veteran Member
Join Date: Jul 2010
Old 05-01-2013 , 06:15   Re: [TF2] Huntsman Hell (v1.3, 2013-04-29)
Reply With Quote #14

Windows seems to be fine. No worries, then.
__________________
Bread EOTL GunMettle Invasion Jungle Inferno will break everything. Don't even ask.

All plugins: Randomizer/GiveWeapon, ModelManager, etc.
Post in plugin threads with questions.
Steam is for playing games.
You will be fed to javalia otherwise.
Psyduck likes replays.
FlaminSarge is offline
lyric
Veteran Member
Join Date: Sep 2012
Old 05-01-2013 , 07:19   Re: [TF2] Huntsman Hell (v1.3, 2013-04-29)
Reply With Quote #15

is linux fine too? i'd like to maybe try this out
__________________
lyric is offline
lyric
Veteran Member
Join Date: Sep 2012
Old 05-01-2013 , 07:41   Re: [TF2] Huntsman Hell (v1.3, 2013-04-29)
Reply With Quote #16

trying this now and get

Quote:
09 <Error> "Nextmap" (1.5.0-dev+3834) by AlliedModders LLC
10 "Fun Commands" (1.5.0-dev+3834) by AlliedModders LLC
11 "Admin Help" (1.5.0-dev+3834) by AlliedModders LLC
12 "Basic Ban Commands" (1.5.0-dev+3834) by AlliedModders LLC
13 <Failed> "[TF2] Huntsman Hell" (1.3) by Powerlord
using latest snapshots of both metamod and sourcemod

just did an info on 13 and get

Code:
SM] Plugin #13.smx is not loaded.
] rcon sm plugins info 13
  Filename: huntsman-hell.smx
  Load error: Required extension "SteamTools" file("steamtools.ext") not running
  File info: (title "[TF2] Huntsman Hell") (version "1.3")
  File URL: https://forums.alliedmods.net/showthread.php?t=214679
I thought StemTools was optional? wouldn't this mean it's required?
__________________

Last edited by lyric; 05-01-2013 at 07:57.
lyric is offline
FlaminSarge
Veteran Member
Join Date: Jul 2010
Old 05-01-2013 , 08:19   Re: [TF2] Huntsman Hell (v1.3, 2013-04-29)
Reply With Quote #17

Needs MarkNativeAsOptional for the SteamTools stuff in AskPluginLoad2.

If you feel like putting in the effort, you could try using #tryinclude instead of #include (and #if defined's everywhere) so that it also makes steamtools compile-optional as well.
__________________
Bread EOTL GunMettle Invasion Jungle Inferno will break everything. Don't even ask.

All plugins: Randomizer/GiveWeapon, ModelManager, etc.
Post in plugin threads with questions.
Steam is for playing games.
You will be fed to javalia otherwise.
Psyduck likes replays.

Last edited by FlaminSarge; 05-01-2013 at 08:19.
FlaminSarge is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 05-01-2013 , 11:59   Re: [TF2] Huntsman Hell (v1.3, 2013-04-29)
Reply With Quote #18

Quote:
Originally Posted by lyric View Post
trying this now and get



using latest snapshots of both metamod and sourcemod

just did an info on 13 and get

Code:
SM] Plugin #13.smx is not loaded.
] rcon sm plugins info 13
  Filename: huntsman-hell.smx
  Load error: Required extension "SteamTools" file("steamtools.ext") not running
  File info: (title "[TF2] Huntsman Hell") (version "1.3")
  File URL: https://forums.alliedmods.net/showthread.php?t=214679
I thought StemTools was optional? wouldn't this mean it's required?
That's because I'm dumb and forgot that SteamTools is an extension and not a plugin. Also what @FlaminSarge said about AskPluginLoad2. This version should fix that.
Attached Files
File Type: sp Get Plugin or Get Source (huntsman-hell.sp - 112 views - 14.1 KB)
File Type: smx huntsman-hell.smx (12.2 KB, 117 views)
__________________
Not currently working on SourceMod plugin development.

Last edited by Powerlord; 05-01-2013 at 12:02.
Powerlord is offline
lyric
Veteran Member
Join Date: Sep 2012
Old 05-01-2013 , 12:53   Re: [TF2] Huntsman Hell (v1.3.1, 2013-05-01)
Reply With Quote #19

thanks powerlord. i had a question though.. there are 3 of us on the server now playing it but it seems to only allow 1v1 when in the video it had lots of people playing. is there a way i can do this sir? thanks
__________________
lyric is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 05-01-2013 , 12:54   Re: [TF2] Huntsman Hell (v1.3.1, 2013-05-01)
Reply With Quote #20

Quote:
Originally Posted by lyric View Post
thanks powerlord. i had a question though.. there are 3 of us on the server now playing it but it seems to only allow 1v1 when in the video it had lots of people playing. is there a way i can do this sir? thanks
Assuming this is on an arena map, set tf_arena_use_queue 0
__________________
Not currently working on SourceMod plugin development.
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 04:11.


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