Mirage Source
Issue with hosting - 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: General (https://mirage-engine.uk/forums/forumdisplay.php?fid=17)
+---- Thread: Issue with hosting (/showthread.php?tid=2452)



Issue with hosting - DarkX - 24-12-2008

Ok as long as I have been here I should know this, but I have had BS dial up hence never tried hosting. So NOW I am using DSL, and I cannot get my server to let people sign on, I have port 4000 forwarded, as well as my IP is up, and it matches botht the one that's online aswell as the one that is on my server. but when I go to IP chicken I get one that's diffrent, J tried that and still couldn't sign into my server. Yes I have the VB runtimes files, could someone please point out to me what I am doing wrong? And J tried Teamviewer to fix the issue, and ended up in the same spot I am in.


Re: Issue with hosting - Matt - 25-12-2008

Well, the ip from www.whatismyip.org is the in fact the one you need to include on the client. You need to make sure the port is forwarded properly.

Other than that, I have no idea what your issue is.


Re: Issue with hosting - DarkX - 25-12-2008

Ok so change 127.0.0.1 to w/e my IP is? and Port 4000 is forwarded on the wireless router.

Like GAME_IP = "67.232.193.xxx" minus the x's


Re: Issue with hosting - Labmonkey - 25-12-2008

I know its a stupid question, but is your game_port 4000?


Re: Issue with hosting - DarkX - 25-12-2008

Yes it is, game_port = 4000 Game_IP = 127.0.0.1


Re: Issue with hosting - Matt - 25-12-2008

Game_IP should be whatever is on www.whatismyip.org

127.0.0.1 will only connect a client on the same computer as the server.


Re: Issue with hosting - DarkX - 25-12-2008

Ok So make the default Ip my Whatismyip.org number, on client side.

---edit---

I have the server up and running, and here's the link to my client if someone could please test it out for me.
http://mid-waytwistedgames.webs.com/toa ... 0lands.rar


Re: Issue with hosting - Matt - 25-12-2008

I was able to create an account, but the client hangs a lot.


Re: Issue with hosting - DarkX - 25-12-2008

The server is up, hopefully it will let you login, I haven't done any changes to it.


Re: Issue with hosting - Matt - 25-12-2008

This has happened before. If someone is logged in, nobody else can connect. It just hangs.

I don't remember, personally, how to fix that or what the issue was.

Anyone else care to help?


Re: Issue with hosting - DarkX - 25-12-2008

This is my login packet... please let me know if there is something screwed here.
[code] ' ::::::::::::::::::
' :: Login packet ::
' ::::::::::::::::::
If LCase(Parse(0)) = "login" Then
If Not IsPlaying(index) And Not IsLoggedIn(index) Then
' Get the data
Name = Parse(1)
Password = Parse(2)

' Check versions
If Val(Parse(3)) < CLIENT_MAJOR Or Val(Parse(4)) < CLIENT_MINOR Or Val(Parse(5)) < CLIENT_REVISION Then
Call AlertMsg(index, "Version outdated, please visit http://mirage.katami.com")
Exit Sub
End If

If Len(Trim(Name)) < 3 Or Len(Trim(Password)) < 3 Then
Call AlertMsg(index, "Your name and password must be at least three characters in length")
Exit Sub
End If

If Not AccountExist(Name) Then
Call AlertMsg(index, "That account name does not exist.")
Exit Sub
End If

If Not PasswordOK(Name, Password) Then
Call AlertMsg(index, "Incorrect password.")
Exit Sub
End If

If IsMultiAccounts(Name) Then
Call AlertMsg(index, "Multiple account logins is not authorized.")
Exit Sub
End If

' Prevent Dupeing
For i = 1 To Len(Name)
n = Asc(Mid(Name, i, 1))

If (n >= 65 And n = 97 And n = 48 And n


Re: Issue with hosting - Matt - 25-12-2008

You need the packet for when you choose your character, not your login packet. Sorry. Forgot to tell you.