![]() |
IP Config for MS4? - Printable Version +- Mirage Source (https://mirage-engine.uk/forums) +-- Forum: Mirage Source (Nostalgia) (https://mirage-engine.uk/forums/forumdisplay.php?fid=61) +--- Forum: Archive (2006-2011) (https://mirage-engine.uk/forums/forumdisplay.php?fid=18) +---- Forum: Resources (https://mirage-engine.uk/forums/forumdisplay.php?fid=49) +---- Thread: IP Config for MS4? (/showthread.php?tid=2367) |
IP Config for MS4? - timster0 - 11-11-2008 Could someone make a simple IP Config tut for MS4 please? Re: IP Config for MS4? - Labmonkey - 11-11-2008 find Code: ' Winsock globals Change the ip to whatever you need it to be. Re: IP Config for MS4? - Forte - 12-11-2008 I think he means IP Config via Ini File Re: IP Config for MS4? - Labmonkey - 12-11-2008 Why would you want that? Re: IP Config for MS4? - Matt - 12-11-2008 For an engine? That way, you can set your ip in the client and give the client out and it will connect to your server. Duh? Re: IP Config for MS4? - Labmonkey - 12-11-2008 find Code: ' Winsock globals delete it replace all Code: GAME_IP Code: ServerIP make a new textbox on frmmainmenu called txtIP find Code: Private Sub lblLogin_Click() before Code: frmLogin.Visible = True Code: ServerIp = txtIP.text Re: IP Config for MS4? - Matt - 12-11-2008 Why not just change Public Const GAME_IP = ??? to Public GAME_IP as string, then set GAME_IP to the ip you set? It's soooo much easier. ![]() Re: IP Config for MS4? - Labmonkey - 12-11-2008 Thats what I did, except there was already an unused variable serverip so i decided to use that. Thanks for trying to improve the tutorial though Perfekt. I appreciate it Re: IP Config for MS4? - Matt - 12-11-2008 Labmonkey Wrote:Thats what I did, except there was already an unused variable serverip so i decided to use that. Np. I can't see why that unused variable is still there. After all these improvements, they just let that go unnoticed? O.o Re: IP Config for MS4? - timster0 - 12-11-2008 Thank you sooooo much. EDIT:now no matter what IP I put I get "Not a valid ip address", do I out something like "localhost" anywhere? |