| Mirage Source http://miragesource.net/forums/ |
|
| IP Config for MS4? http://miragesource.net/forums/viewtopic.php?f=210&t=4724 |
Page 1 of 1 |
| Author: | timster0 [ Tue Nov 11, 2008 11:13 pm ] |
| Post subject: | IP Config for MS4? |
Could someone make a simple IP Config tut for MS4 please? |
|
| Author: | Labmonkey [ Tue Nov 11, 2008 11:23 pm ] |
| Post subject: | Re: IP Config for MS4? |
find Code: ' Winsock globals Public Const GAME_IP As String = Change the ip to whatever you need it to be. |
|
| Author: | Forte [ Wed Nov 12, 2008 12:07 am ] |
| Post subject: | Re: IP Config for MS4? |
I think he means IP Config via Ini File <_< |
|
| Author: | Labmonkey [ Wed Nov 12, 2008 12:43 am ] |
| Post subject: | Re: IP Config for MS4? |
Why would you want that? |
|
| Author: | Matt [ Wed Nov 12, 2008 12:45 am ] |
| Post subject: | Re: IP Config for MS4? |
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? |
|
| Author: | Labmonkey [ Wed Nov 12, 2008 12:52 am ] |
| Post subject: | Re: IP Config for MS4? |
find Code: ' Winsock globals Public Const GAME_IP As String = delete it replace all Code: GAME_IP with Code: ServerIP make a new textbox on frmmainmenu called txtIP find Code: Private Sub lblLogin_Click() before Code: frmLogin.Visible = True put Code: ServerIp = txtIP.text
|
|
| Author: | Matt [ Wed Nov 12, 2008 12:57 am ] |
| Post subject: | Re: IP Config for MS4? |
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. |
|
| Author: | Labmonkey [ Wed Nov 12, 2008 1:09 am ] |
| Post subject: | Re: IP Config for MS4? |
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 |
|
| Author: | Matt [ Wed Nov 12, 2008 2:57 am ] |
| Post subject: | Re: IP Config for MS4? |
Labmonkey wrote: 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 Np. I can't see why that unused variable is still there. After all these improvements, they just let that go unnoticed? O.o |
|
| Author: | timster0 [ Wed Nov 12, 2008 3:24 am ] |
| Post subject: | Re: IP Config for MS4? |
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? |
|
| Page 1 of 1 | All times are UTC |
| Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |
|