Servers loading each other's addons.

I’m running, or at least trying to run, multiple GMod servers on the same machine. I have them separated out into their own directories.



-srcds
|-server1
||-orangebox
|||-garrysmod
|-server2
||-orangebox
|||-garrysmod


The problem is server1 is loading both server1’s and server2’s addons. It makes no sense that it should be doing this. Help?

Check your not running the same server twice or somthing

use diffrent udp ports like 27015 and 27016

The servers are running different maps, so I know I’m not accidentally connecting to the wrong one, and they are running on different ports.

Aha! I forgot to change a line in my batch file.



cd D:\srcds\server2
start /wait hldsupdatetool.exe -command update -game garrysmod -dir . -verify_all
:gmod
cd orangebox
echo (%DATE% %TIME%) Starting Garry's Mod 10...
start /wait srcds.exe -game garrysmod -console -nocrashdialog -maxplayers 24 -port 27019 +hostname *[omitted]* +sv_defaultgamemode DarkRP +map rp_downtown_v2
echo (%date% %time%) Checking for updates...


cd D:\srcds\server1



start /wait hldsupdatetool.exe -command update -game garrysmod -dir .
goto gmod

It launched right the first time, but when it crashed, it switched to the wrong directory. Thanks for your help anyway.

That would explain a lot of it!