mirror of
https://github.com/islehorse/HISP.git
synced 2025-06-08 12:01:28 +12:00
Make N00BS Respect IP set in server.properties
This commit is contained in:
parent
6ba1fd181f
commit
2f7481519f
3 changed files with 16 additions and 17 deletions
HorseIsleServer/N00BS
|
@ -36,7 +36,12 @@ namespace HISP.Noobs
|
|||
private void SystemTrayIcon_Load(object sender, EventArgs e)
|
||||
{
|
||||
clientProcess.StartInfo.FileName = "flash.dll";
|
||||
clientProcess.StartInfo.Arguments = "http://127.0.0.1/horseisle.swf?SERVER=127.0.0.1&PORT=12321";
|
||||
|
||||
string serverIp = ConfigReader.BindIP;
|
||||
if (serverIp == "0.0.0.0")
|
||||
serverIp = "127.0.0.1";
|
||||
|
||||
clientProcess.StartInfo.Arguments = "http://127.0.0.1/horseisle.swf?SERVER=" + serverIp + "&PORT=" + ConfigReader.Port;
|
||||
|
||||
clientProcess.StartInfo.RedirectStandardOutput = true;
|
||||
clientProcess.StartInfo.RedirectStandardError = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue