Raised This Month: $51 Target: $400
 12% 

Source Dedicated Server for Mac OS X


Post New Thread Reply   
 
Thread Tools Display Modes
ExtremeMan
New Member
Join Date: Apr 2015
Old 04-26-2015 , 04:11   Re: Source Dedicated Server for Mac OS X
Reply With Quote #181

Hey.

I am trying to run CS:GO Dedicated server on OS X.
I have copied CS:GO from Steam, then copied packages, attached to the first post, copied dedicated.dylib from Windows copy downloaded using wine + steamcmd, then tried launching:

Code:
./srcds_run -game csgo -console -usercon +game_type 0 +game_mode 1 +mapgroup mg_active +map de_dust2 -debug
It is crashing with following error:

Code:
Failed to find symbols for engine.dylib
I've looked into source code and found that it is checking for
Code:
_g_pLauncherMgr
symbol. Using nm tool I didn't find it, but using Hopper I could see it in engine.dylib.

I've tried disabling this check, recompiling and running again. Then it crashes when trying to override reference: https://github.com/TheDS/srcds_osx/b...hacks.cpp#L713.

If I comment out that line then the crash happens much later with this call stack:

Code:
Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       KERN_INVALID_ADDRESS at 0x0000000000000000

Thread 0 Crashed:: MainThrd  Dispatch queue: com.apple.main-thread
0   engine.dylib                  	0x07c67e26 CGame::GetMainWindowAddress() + 22
1   engine.dylib                  	0x07c6259e CEngine::Load(bool, char const*) + 62
2   engine.dylib                  	0x07c6055c CModAppSystemGroup::Main() + 60
3   engine.dylib                  	0x07d30660 CAppSystemGroup::Run() + 48
4   engine.dylib                  	0x07c60d49 CDedicatedServerAPI::ModInit(ModInfo_t&) + 985
5   dedicated.dylib               	0x02030406 CDedicatedAppSystemGroup::Main() + 198
6   dedicated.dylib               	0x020425e0 CAppSystemGroup::Run() + 48
7   dedicated.dylib               	0x020437eb CSteamApplication::Main() + 43
8   dedicated.dylib               	0x020425e0 CAppSystemGroup::Run() + 48
9   dedicated.dylib               	0x0203076c main + 380
10  srcds_osx                     	0x00001d7c main + 460
11  srcds_osx                     	0x00001b65 start + 53
Any ideas what is wrong and how I could fix it?

Thanks
ExtremeMan is offline
Xendrez
New Member
Join Date: Jun 2015
Old 06-06-2015 , 01:28   Re: Source Dedicated Server for Mac OS X
Reply With Quote #182

Thanks for this! However, I can't get to work. I'm trying to run DS for Insurgency with the downloaded insurgency dedicated server from steam, but get this error:
Failed to find symbols for materialsystem.dylib
cat: hlds.43136.pid: No such file or directory

Please tell me I'm stupid and that there's a simple solution...

Last edited by Xendrez; 06-06-2015 at 01:29.
Xendrez is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 06-06-2015 , 07:08   Re: Source Dedicated Server for Mac OS X
Reply With Quote #183

That's a little bit of the post-crash debug output, you're gonna need to go higher for context.
__________________
asherkin is offline
Jayycanfly
New Member
Join Date: Jun 2015
Old 06-15-2015 , 15:20   Re: Source Dedicated Server for Mac OS X
Reply With Quote #184

Thanks for everything! However, I've been working on this thing for days...

Mac OSX 10.9.5: keep getting this error.

I reinistalled GDB to a previous version so it would work, but I've continually been getting this error. Any solutions / suggestions anyone?

Jays-MacBook-Pro:GarrysMod Home$ ./srcds_run -game garrysmod +ip 71.9.201.18 +map rp_downtown_v4c +gamemode darkrp -maxplayers 15 -debug
Auto detecting CPU
Using OSX binary.
Enabling debug mode
Server will auto-restart if there is a crash.
Warning: Unable to detour Sys_LoadModule in filesystem_stdio
AppFramework : Unable to load module bin/filesystem_stdio.dylib!
Unable to load interface VFileSystem022 from bin/filesystem_stdio.dylib
Failed to get existing handle for engine.dylib (image not already loaded)
./srcds_run: line 255: debug.log: Permission denied
./srcds_run: line 256: debug.log: Permission denied
./srcds_run: line 257: debug.log: Permission denied
cat: hlds.21324.pid: No such file or directory
./srcds_run: line 272: debug.log: Permission denied
./srcds_run: line 273: debug.log: Permission denied

Post about crashes or other issues at ttps://forums.alliedmods.net/showthread.php?t=158240
Mon Jun 15 15:16:18 EDT 2015: Server restart in 10 seconds
Jayycanfly is offline
Silver Bloodwing
Junior Member
Join Date: Jun 2015
Old 06-29-2015 , 21:41   Re: Source Dedicated Server for Mac OS X
Reply With Quote #185

So what do I enter for team fortress 2?
Silver Bloodwing is offline
ikir
Junior Member
Join Date: Jun 2014
Old 07-09-2015 , 14:19   Re: Source Dedicated Server for Mac OS X
Reply With Quote #186

Is this guide still working? i want to try to run my Insurgency server again (ran it for few months thanks to this guide)
ikir is offline
Moops
New Member
Join Date: Aug 2015
Old 08-30-2015 , 09:24   Re: Source Dedicated Server for Mac OS X
Reply With Quote #187

Hi!

I'm trying to run CS:GO server. When I use files for CS:GO (first post), there is an error:

Code:
Mateuszs-MacBook-Pro:~ mateusz$ /Users/mateusz/Library/Application\ Support/Steam/steamapps/common/Counter-Strike\ Global\ Offensive/srcds_run -game csgo -console -usercon +game_type 1 +game_mode 2 +mapgroup mg_allclassic +map de_dust
usage: dirname path
ERROR: Invalid game type 'csgo' sepecified.
Sun Aug 30 15:21:18 CEST 2015: Server Failed
But if I use files for Garrys Mode to run CS:GO server:

Code:
Mateuszs-MacBook-Pro:~ mateusz$ /Users/mateusz/Library/Application\ Support/Steam/steamapps/common/Counter-Strike\ Global\ Offensive/srcds_run -game csgo -console -usercon +game_type 1 +game_mode 2 +mapgroup mg_allclassic +map de_dust
Auto detecting CPU
Using OSX binary.
Server will auto-restart if there is a crash.
Failed to find symbols for launcher.dylib
Add "-debug" to the /Users/mateusz/Library/Application Support/Steam/steamapps/common/Counter-Strike Global Offensive/srcds_run command line to generate a debug.log to help with solving this problem
Sun Aug 30 15:23:18 CEST 2015: Server restart in 10 seconds
Please, help me.
Moops is offline
KRIK73
Junior Member
Join Date: Jun 2009
Location: Уль
Old 09-07-2015 , 19:15   Re: Source Dedicated Server for Mac OS X
Reply With Quote #188

[RU]Установил новую csgo через steamcmd.exe, скачал srcds_osx-csgo.tar.gz (46.4 KB, 1708 views) заменил srcds_run поместил srcds_osx попытался запустить вот такую ошибку выдает
Quote:
Auto detecting CPU
Using OSX binary.
Enabling debug mode
./srcds_run: line 207: gdb: command not found
WARNING: Please install gdb first.
goto http://www.gnu.org/software/gdb/
Server will auto-restart if there is a crash.
Failed to find symbols for dedicated.dylib
osx version 10.11
[EN]Install a new csgo through steamcmd.exe, downloaded srcds_osx-csgo.tar.gz (46.4 KB, 1708 views)replaced srcds_run placed srcds_osx tried to run here such error issue
Quote:
Auto detecting CPU
Using OSX binary.
Enabling debug mode
./srcds_run: line 207: gdb: command not found
WARNING: Please install gdb first.
goto http://www.gnu.org/software/gdb/
Server will auto-restart if there is a crash.
Failed to find symbols for dedicated.dylib
osx version 10.11

Last edited by KRIK73; 09-07-2015 at 19:35.
KRIK73 is offline
Send a message via Skype™ to KRIK73
Silver Bloodwing
Junior Member
Join Date: Jun 2015
Old 10-15-2015 , 20:16   Re: Source Dedicated Server for Mac OS X
Reply With Quote #189

./srcds_run -game l4d2 +map c1m1_hotel -maxplayers 16 +log on
Unknown command "./srcds_run"
./srcds_run -game l4d2 +map c1m1_hotel -maxplayers 16 +log on
Unknown command "./srcds_run"
./srcds_run -game l4d2 +map c1m1_hotel -maxplayers 16 +log on
Unknown command "./srcds_run"
/srcds_run -game l4d2 +map c1m1_hotel -maxplayers 16 +log on
Unknown command "/srcds_run"

Any help?
Silver Bloodwing is offline
Silver Bloodwing
Junior Member
Join Date: Jun 2015
Old 10-15-2015 , 20:31   Re: Source Dedicated Server for Mac OS X
Reply With Quote #190

Also tried tf2 and the same unknown command was there
Silver Bloodwing 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 05:21.


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