Raised This Month: $153 Target: $400
 38% 

Metamod on Insurgency beta server


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
BCG
Junior Member
Join Date: Sep 2015
Old 10-24-2015 , 19:07   Metamod on Insurgency beta server
Reply With Quote #1

I'm trying to get Metamod and Sourcemod working on a Linux Insurgency beta server. However, when I start the server, I get this message:

Code:
Unable to load plugin "addons/metamod/bin/server"
I pulled the latest version of Metamod from the git repo and compiled it, but no luck. I'm guessing this is because the Insurgency beta is using a different version of the CS:GO SDK. Is there a way I can get more diagnostic info? I don't see any other related logs or messages.

I know people probably don't want to spend any time trying to support Metamod for a beta version of a game, so I figured I'd take a stab at fixing it myself. But I don't know where to start. Any help would be appreciated.
BCG is offline
versatile_bfg
Veteran Member
Join Date: Feb 2012
Old 10-26-2015 , 05:22   Re: Metamod on Insurgency beta server
Reply With Quote #2

Have you tried the already compiled version? From here: http://www.metamodsource.net/
__________________
versatile_bfg is offline
BCG
Junior Member
Join Date: Sep 2015
Old 10-26-2015 , 09:49   Re: Metamod on Insurgency beta server
Reply With Quote #3

Yes, version 1.10.6. I encounter the same error.
BCG is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 10-26-2015 , 10:06   Re: Metamod on Insurgency beta server
Reply With Quote #4

Look for a metamod-fatal.log in the gamedir or root, post the contents.
__________________
asherkin is offline
BCG
Junior Member
Join Date: Sep 2015
Old 10-26-2015 , 11:19   Re: Metamod on Insurgency beta server
Reply With Quote #5

Code:
% find . -name '*.log'
./dbg_crashhandler_engine.log
No such log exists. Do I have to turn on logging somehow?
BCG is offline
sil_El_mot
Member
Join Date: Jan 2015
Old 10-26-2015 , 11:56   Re: Metamod on Insurgency beta server
Reply With Quote #6

i wrote a russian guy, who got this working some days ago, he wrote me following back... but i have no time to try and error. if smbd get this working, pls explain how, or post the files. thanks

Quote:
>> i manual chg data in addons\sourcemod\gamedata (all *insurgency.txt)
>>
>> in beta func virtual offset (not all! but often) old+1

open any file *insurgency.txt - for example: addons\sourcemod\gamedata\sdkhooks.games\engi ne.insurgency.txt and chg vaule new=old+1
==============
"Games"
{
"#default"
{
"Offsets"
{
"Blocked"
{
"windows" "109" // old: 108
"linux" "110" // old: 109
"mac" "110" // old: 109
}
"EndTouch"
{
"windows" "107" // old: 106
"linux" "108" // old: 107
"mac" "108" // old: 107
}
"FireBullets"
{
"windows" "120" // old: 119
"linux" "121" // old: 120
"mac" "121" // old: 120
}
"GetMaxHealth"
{
"windows" "124" // old: 123
"linux" "125" // old: 124
"mac" "125" // old: 124
}
"GroundEntChanged"
{
"windows" "178" // old: 177
"linux" "180" // old: 179
"mac" "180" // old: 179
}
"OnTakeDamage"
{
"windows" "68" // old: 67
"linux" "69" // old: 68
"mac" "69" // old: 68
}
"OnTakeDamage_Alive"
{
"windows" "292" // old: 291
"linux" "293" // old: 292
"mac" "293" // old: 292
}
"PreThink"
{
"windows" "361" // old: 360
"linux" "362" // old: 361
"mac" "362" // old: 361
}
"PostThink"
{
"windows" "362" // old: 361
"linux" "363" // old: 362
"mac" "363" // old: 362
}
"Reload"
{
"windows" "285" // old: 284
"linux" "286" // old: 285
"mac" "286" // old: 285
}
"SetTransmit"
{
"windows" "22"
"linux" "23"
"mac" "23"
}
"ShouldCollide"
{
"windows" "17"
"linux" "18"
"mac" "18"
}
"Spawn"
{
"windows" "24"
"linux" "25"
"mac" "25"
}
"StartTouch"
{
"windows" "105" // old: 104
"linux" "106" // old: 105
"mac" "106" // old: 105
}
"Think"
{
"windows" "52" // old: 51
"linux" "53" // old: 52
"mac" "53" // old: 52
}
"Touch"
{
"windows" "106" // old: 105
"linux" "107" // old: 106
"mac" "107" // old: 106
}
"TraceAttack"
{
"windows" "66" // old: 65
"linux" "67" // old: 66
"mac" "67" // old: 66
}
"Use"
{
"windows" "104" // old: 103
"linux" "105" // old: 104
"mac" "105" // old: 104
}
"VPhysicsUpdate"
{
"windows" "157" // old: 156
"linux" "158" // old: 157
"mac" "158" // old: 157
}
"Weapon_CanSwitchTo"
{
"windows" "286" // old: 285
"linux" "287" // old: 286
"mac" "287" // old: 286
}
"Weapon_CanUse"
{
"windows" "280" // old: 279
"linux" "281" // old: 280
"mac" "281" // old: 280
}
"Weapon_Drop"
{
"windows" "283" // old: 282
"linux" "284" // old: 283
"mac" "284" // old: 283
}
"Weapon_Equip"
{
"windows" "281" // old: 280
"linux" "282" // old: 281
"mac" "282" // old: 281
}
"Weapon_Switch"
{
"windows" "284" // old: 283
"linux" "285" // old: 284
"mac" "285" // old: 284
}
}
}

"#default"
{
"Offsets"
{
"EntityListeners"
{
"windows" "196644"
"linux" "196644"
"mac" "196644"
}
}
}
}

==============
sil_El_mot is offline
BCG
Junior Member
Join Date: Sep 2015
Old 10-26-2015 , 22:31   Re: Metamod on Insurgency beta server
Reply With Quote #7

I don't think I'm at the point where Sourcemod is being loaded yet. But thanks, I didn't consider the fact that the offsets for Sourcemod would need to be updated.
BCG is offline
BCG
Junior Member
Join Date: Sep 2015
Old 10-27-2015 , 21:31   Re: Metamod on Insurgency beta server
Reply With Quote #8

Well, NWI has released the new Insurgency update from beta into stable. Looks like the server fails to load Metamod, as well as promptly crashing due to an illegal hardware instruction. Don't know what that's about.
BCG is offline
psychonic

BAFFLED
Join Date: May 2008
Old 10-27-2015 , 23:05   Re: Metamod on Insurgency beta server
Reply With Quote #9

Quote:
Originally Posted by BCG View Post
Well, NWI has released the new Insurgency update from beta into stable. Looks like the server fails to load Metamod, as well as promptly crashing due to an illegal hardware instruction. Don't know what that's about.
This is maybe fixed now in newer builds of MM:S and SM. I'm not able to test right now though.
psychonic is offline
BCG
Junior Member
Join Date: Sep 2015
Old 10-27-2015 , 23:36   Re: Metamod on Insurgency beta server
Reply With Quote #10

Quote:
Originally Posted by psychonic View Post
This is maybe fixed now in newer builds of MM:S and SM. I'm not able to test right now though.
I think NWI's Linux Insurgency server is bugged, because it crashes somewhere in steamclient.so sometime after the map loads.

However, further up the server log, Metamod is still failing to load. I still see

Code:
Unable to load plugin "addons/metamod/bin/server"
This is even after updating all my HL2SDKs and compiling Metamod from this commit:

Code:
commit 7f781f69b855e04f279804ea8460b4487cdcf187
Author: <REDACTED>
Date:   Tue Oct 27 18:15:55 2015 -0700

    Fix Insurgency build on Linux for SDK changes.
BCG is offline
Reply


Thread Tools
Display Modes

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 07:07.


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