Raised This Month: $ Target: $400
 0% 

Dota 2 Dedicated Servers


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
psychonic

BAFFLED
Join Date: May 2008
Old 03-14-2014 , 08:34   Re: Dota 2 Dedicated Servers
Reply With Quote #1

Quote:
Originally Posted by CyberStars View Post
Thanks a lot for this. It's really cool
Actually, I have some problems running the server.
After installing and configuring the server according above instructions, I run it.
But it writes:
********************************************* ***
* Unable to load Steam support library. *
* This server will operate in LAN mode only. *
********************************************* ***

How to fix this???
Oops! There is an extra step required if you do not have the Steam client installed. I've updated the first post with it.

Quote:
Originally Posted by psychonic View Post
For both Mac and Linux, if you don't have the Steam client installed, you will need to still obtain the steamclient binaries from a Steam client install for your OS and copy them to bin directory of your Dota 2 install. This includes steamclient, libsteam, libtier0_s, and libvstdlib_s. On Mac, they have a .dylib extension and can be found in /Applications/Steam.app/Contents/MacOS/osx32. On Linux, they have a .so extension and can be found in ~/.steam/bin32.

Quote:
Originally Posted by CyberStars View Post
P.S.
How to use Sourcemod for this server?
Same as on Windows - just grab a Linux snapshot from the download page instead of a Windows snapshot.

Last edited by psychonic; 03-14-2014 at 08:35.
psychonic is offline
CyberStars
Senior Member
Join Date: May 2013
Old 03-14-2014 , 09:37   Re: Dota 2 Dedicated Servers
Reply With Quote #2

Quote:
Originally Posted by psychonic View Post
For both Mac and Linux, if you don't have the Steam client installed, you will need to still obtain the steamclient binaries from a Steam client install for your OS and copy them to bin directory of your Dota 2 install. This includes steamclient, libsteam, libtier0_s, and libvstdlib_s. On Mac, they have a .dylib extension and can be found in /Applications/Steam.app/Contents/MacOS/osx32. On Linux, they have a .so extension and can be found in ~/.steam/bin32.
This helped. Solved the issue. Thanks a lot.

Quote:
Originally Posted by psychonic View Post
Same as on Windows - just grab a Linux snapshot from the download page instead of a Windows snapshot.
For Sourcemod: it isn't loaded.
the result of "meta list" is
Listing 2 plugins:
[01] <ERROR>
[02] Dota 2 Fixups (2.0.0) by Nicholas Hastings

Last edited by CyberStars; 03-14-2014 at 09:38.
CyberStars is offline
psychonic

BAFFLED
Join Date: May 2008
Old 03-14-2014 , 09:39   Re: Dota 2 Dedicated Servers
Reply With Quote #3

Quote:
Originally Posted by CyberStars View Post
For Sourcemod: it isn't loaded.
the result of "meta list" is
Listing 2 plugins:
[01] <ERROR>
[02] Dota 2 Fixups (2.0.0) by Nicholas Hastings
What prints if you type this in console:
Code:
meta load addons/sourcemod/bin/sourcemod_mm

Last edited by psychonic; 03-14-2014 at 09:39.
psychonic is offline
CyberStars
Senior Member
Join Date: May 2013
Old 03-14-2014 , 09:57   Re: Dota 2 Dedicated Servers
Reply With Quote #4

Quote:
Originally Posted by psychonic View Post
What prints if you type this in console:
Code:
meta load addons/sourcemod/bin/sourcemod_mm
Failed to load plugin addons/sourcemod/bin/sourcemod_mm (/home/user/dota2/dota/addons/sourcemod/bin/sourcemod_mm_i486.so: undefined symbol: _ZTVN10__cxxabiv117__class_type_infoE).

SM_version: 1.6.0-hg4283

Last edited by CyberStars; 03-14-2014 at 10:11.
CyberStars is offline
psychonic

BAFFLED
Join Date: May 2008
Old 03-14-2014 , 13:07   Re: Dota 2 Dedicated Servers
Reply With Quote #5

Quote:
Originally Posted by CyberStars View Post
Failed to load plugin addons/sourcemod/bin/sourcemod_mm (/home/user/dota2/dota/addons/sourcemod/bin/sourcemod_mm_i486.so: undefined symbol: _ZTVN10__cxxabiv117__class_type_infoE).

SM_version: 1.6.0-hg4283
DS will have to fix this properly when he has time available.

In the meantime, try replacing your srcds_linux with this one, <removed link since first post has now been updated with new bins>

Last edited by psychonic; 03-14-2014 at 16:39.
psychonic is offline
CyberStars
Senior Member
Join Date: May 2013
Old 03-14-2014 , 10:28   Re: Dota 2 Dedicated Servers
Reply With Quote #6

Quote:
Originally Posted by psychonic View Post
What prints if you type this in console:
Code:
meta load addons/sourcemod/bin/sourcemod_mm
The same error message for SM version 1.6.0-hg4284
CyberStars is offline
hideov
Junior Member
Join Date: Jun 2014
Old 06-04-2014 , 13:06   Re: Dota 2 Dedicated Servers
Reply With Quote #7

Quote:
Originally Posted by CyberStars View Post
For Sourcemod: it isn't loaded.
the result of "meta list" is
Listing 2 plugins:
[01] <ERROR>
[02] Dota 2 Fixups (2.0.0) by Nicholas Hastings
I've got the same error on both Windows 8 and Linux (Debian 8, glibc 2.18 ), both 32 bit.

Also,
Code:
meta load addons/sourcemod/bin/sourcemod_mm
Failed to load plugin addons/sourcemod/bin/sourcemod_mm (Failed to get API).
for Metamod 1.10.1-dev, Sourcemod 1.5.3.

I googled and found people with the same problem in the past, but non of their solutions seemed to help. Most of them had downloaded Meta/Sourcemod for the wrong operating system.

edit: I apologize, just realized I should have downloaded Sourcemod from the 1.6 snapshots. I had downloaded 1.5.3 Release which was giving the problem. The last snapshot seems sto be working.

Last edited by hideov; 06-04-2014 at 15:43. Reason: added solution to the problem
hideov is offline
El Diablo War3Evo
Veteran Member
Join Date: Jun 2013
Old 06-04-2014 , 17:42   Re: Dota 2 Dedicated Servers
Reply With Quote #8

Quote:
Originally Posted by hideov View Post
I've got the same error on both Windows 8 and Linux (Debian 8, glibc 2.18 ), both 32 bit.

Also,
Code:
meta load addons/sourcemod/bin/sourcemod_mm
Failed to load plugin addons/sourcemod/bin/sourcemod_mm (Failed to get API).
for Metamod 1.10.1-dev, Sourcemod 1.5.3.

I googled and found people with the same problem in the past, but non of their solutions seemed to help. Most of them had downloaded Meta/Sourcemod for the wrong operating system.

edit: I apologize, just realized I should have downloaded Sourcemod from the 1.6 snapshots. I had downloaded 1.5.3 Release which was giving the problem. The last snapshot seems sto be working.

You probably need to find and edit gameinfo.txt

Where? /home/steam/dota2/dota

Here is my example:

Code:
"GameInfo" 
{ 
    game    "DOTA 2" 
    gamelogo 1 
    type multiplayer_only 
    nomodels 1 
    nohimodel 1 
    nocrosshair 0 
    GameData        "dota.fgd" 
    SupportsDX8 0 
 
 
    FileSystem 
    { 
        SteamAppId                816        // This will mount all the GCFs we need (240=CS:S, 220=HL2). 
        ToolsAppId                211        // Tools will load this (ie: source SDK caches) to get things like materials\debug, materials\editor, etc. 
         
        // 
        // The code that loads this file automatically does a few things here: 
        // 
        // 1. For each "Game" search path, it adds a "GameBin" path, in <dir>\bin 
        // 2. For each "Game" search path, it adds another "Game" path in front of it with _<langage> at the end. 
        //    For example: c:\hl2\cstrike on a french machine would get a c:\hl2\cstrike_french path added to it. 
        // 3. For the first "Game" search path, it adds a search path called "MOD". 
        // 4. For the first "Game" search path, it adds a search path called "DEFAULT_WRITE_PATH". 
        // 
 
        // 
        // Search paths are relative to the base directory, which is where hl2.exe is found. 
        // 
        // |gameinfo_path| points at the directory where gameinfo.txt is. 
        // We always want to mount that directory relative to gameinfo.txt, so 
        // people can mount stuff in c:\mymod, and the main game resources are in 
        // someplace like c:\program files\valve\steam\steamapps\<username>\half-life 2. 
        // 
        SearchPaths 
        { 
            GameBin                |gameinfo_path|addons/metamod/bin 
            Game                |gameinfo_path|. 
            Game                platform 
        } 
    } 
}
OR

Download the latest copy:

Windows Linux Mac OS X
1.11.0-git935.zip 1.11.0-git935.tar.gz 1.11.0-git935.zip

from the development snapshots at

http://www.sourcemm.net/snapshots
__________________

Last edited by El Diablo War3Evo; 06-04-2014 at 17:46.
El Diablo War3Evo 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:41.


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