Raised This Month: $ Target: $400
 0% 

Porting Sourcemod to old source games


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
myTh
Senior Member
Join Date: Apr 2012
Old 01-11-2015 , 06:07   Porting Sourcemod to old source games
Reply With Quote #1

I red somewhere its not possible, but to make sure I wanted to check it. Below are steps, which I did:

- I have downloaded Dark Messiah Dedicated Server from Steam.
- I got the newest Metamod, installed in server directory.
- Generated metamod.vdf for Dark Messiah, downloaded the file and putted it in server directory.
- Typed
Quote:
meta version
in server console, meta version info showed up, so it seem everything is perfectly fine.

- Then I downloaded the newest Sourcemod for Windows, extracted files to server directory.
- Added the line
Quote:
addons\sourcemod\bin\sourcemod_mm
in metaplugins.ini, because server is for Windows.
- Typed
Quote:
meta list
and got:
Quote:
Listing 1 plugin: [02] <FAILED>
So something just messed up. I dont know whats wrong with it. I have done everything what was written in Metamod wiki and Sourcemod wiki, Metamod works, but Sourcemod doesnt load. I have no freaking idea, why sm doesnt load. I extracted files correctly, added the line in metaplugins.ini; but it still doesnt work. Has anyone a clue how to fix this?

I tried to get Dark Messiah DS to work from SteamCMD, but srcds.exe just doesnt launch. Error shows up that Steam.dll cant be loaded and when I close it, the second error shows up with
Quote:
Launcher DLL
. So I decided to stick to Dark Messiah DS from Tools on Steam, because it launches at least.

edit:
Wiki tells me what to do with the Sourcemod error. When I typed
Quote:
meta info 2
console showed:
Quote:
Plugin 2 is not loaded.
File: D:\Program Files (x86)\Steam\steamapps\common\Dark Messiah Might and Magic Dedicated Server\addons\sourcemod\bin\sourcemod.mm.dll
When I checked this localization, there is already sourcemod.mm.dll.
__________________
Ninja!

Last edited by myTh; 01-11-2015 at 06:15.
myTh is offline
WildCard65
Veteran Member
Join Date: Aug 2013
Location: Canada
Old 01-11-2015 , 08:02   Re: Porting Sourcemod to old source games
Reply With Quote #2

Quote:
Originally Posted by myTh View Post
I red somewhere its not possible, but to make sure I wanted to check it. Below are steps, which I did:

- I have downloaded Dark Messiah Dedicated Server from Steam.
- I got the newest Metamod, installed in server directory.
- Generated metamod.vdf for Dark Messiah, downloaded the file and putted it in server directory.
- Typed in server console, meta version info showed up, so it seem everything is perfectly fine.

- Then I downloaded the newest Sourcemod for Windows, extracted files to server directory.
- Added the line in metaplugins.ini, because server is for Windows.
- Typed and got:

So something just messed up. I dont know whats wrong with it. I have done everything what was written in Metamod wiki and Sourcemod wiki, Metamod works, but Sourcemod doesnt load. I have no freaking idea, why sm doesnt load. I extracted files correctly, added the line in metaplugins.ini; but it still doesnt work. Has anyone a clue how to fix this?

I tried to get Dark Messiah DS to work from SteamCMD, but srcds.exe just doesnt launch. Error shows up that Steam.dll cant be loaded and when I close it, the second error shows up with . So I decided to stick to Dark Messiah DS from Tools on Steam, because it launches at least.

edit:
Wiki tells me what to do with the Sourcemod error. When I typed console showed:


When I checked this localization, there is already sourcemod.mm.dll.
latest metamod:source should auto detect sourcemod's loader plugin.
__________________
WildCard65 is offline
myTh
Senior Member
Join Date: Apr 2012
Old 01-11-2015 , 08:26   Re: Porting Sourcemod to old source games
Reply With Quote #3

What do you mean? Could you explain how does it work? I still wonder why sourcemod doesnt show up.

Quote:
Originally Posted by WildCard65 View Post
latest metamod:source should auto detect sourcemod's loader plugin.
I removed sourcemod line from metaplugins.ini, but still sourcemod doesnt load as a plugin.
__________________
Ninja!

Last edited by myTh; 01-11-2015 at 08:36.
myTh is offline
psychonic

BAFFLED
Join Date: May 2008
Old 01-11-2015 , 10:06   Re: Porting Sourcemod to old source games
Reply With Quote #4

There is a bug in SM 1.6.3 causing it to not load on Source games older than the orangebox engine. If you grab 1.6.2 or a 1.6.4-dev snapshot version, it should work.
psychonic is offline
myTh
Senior Member
Join Date: Apr 2012
Old 01-11-2015 , 10:31   Re: Porting Sourcemod to old source games
Reply With Quote #5

I downloaded snapshot "1.6.2-git4553.zip" and putted all content to server directory. When I started my server it crashed.

This is what did I get in log:
Quote:
L 01/11/2015 - 161:48: SourceMod error session started
L 01/11/2015 - 161:48: Info (map "") (file "errors_20150111.log")
L 01/11/2015 - 161:48: Could not locate any command line functionality
L 01/11/2015 - 161:48: Error log file session closed.
L 01/11/2015 - 161:49: SourceMod error session started
L 01/11/2015 - 161:49: Info (map "ctf_2") (file "errors_20150111.log")
L 01/11/2015 - 161:49: [SDKTOOLS] Failed to find PlayerRunCmd offset - OnPlayerRunCmd forward disabled.
__________________
Ninja!

Last edited by myTh; 01-11-2015 at 11:16.
myTh is offline
psychonic

BAFFLED
Join Date: May 2008
Old 01-11-2015 , 11:56   Re: Porting Sourcemod to old source games
Reply With Quote #6

When it shows up in about 15 minutes from now, grab 1.6.4-git4623.zip for Windows at http://www.sourcemod.net/snapshots.php

It turned out that a newer feature in SM was using functionality that wasn't fully reverse-engineered in our Dark Messiah SDK. I also fixed the two errors you were seeing in the log, although they were fairly harmless.
psychonic is offline
myTh
Senior Member
Join Date: Apr 2012
Old 01-11-2015 , 15:27   Re: Porting Sourcemod to old source games
Reply With Quote #7

Thank you. It finally works.
__________________
Ninja!
myTh 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:37.


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