vbGore Free Online RPG Engine

Revolutionizing Visual Basic ORPG Development
It is currently Fri May 24, 2013 10:30 am

All times are UTC - 8 hours




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Possible error on the Publishing your game page.
PostPosted: Wed Jun 06, 2007 2:09 pm 
Source Code Swashbuckler

Joined: Sun May 27, 2007 4:55 pm
Posts: 35
http://www.vbgore.com/Publishing_your_game

Quote:
Client

The client must have the external IP of the computer the server is running on hardcoded into it. Your external IP can be acquired through websites dedicated to showing you your external IP, such as WhatIsMyIP.org. Open GameClient.vbp with Visual Basic 6, go to the code pane and search Current Project for "127.0.0.1" and change the value to your external IP you acquire through this website.


I tried doing this, but I could not connect to the server, and no one else could connect to it. After about a week of messing with it, I decided to try the server's internal IP in the game client instead of the external IP. That worked.

I don't know if the page is in error or if my particular set-up on my PC makes the client need the internal IP, so I haven't changed it.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jun 06, 2007 3:19 pm 
Site Admin

Joined: Fri Jul 14, 2006 4:00 pm
Posts: 11230
Location: Washington
Did you upgrade to the latest version? Either download the newest version, or follow the upgrade guides. Each version takes like 10-25 minutes to upgrade following the guide, so yeah, not much work. :wink:


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jun 06, 2007 5:07 pm 
Source Code Swashbuckler

Joined: Sun May 27, 2007 4:55 pm
Posts: 35
I'm talking about actually changing the client to tell it where to look for the server.

For example, let's say my server's external IP is 255.0.0.0 and the internal IP is 198.0.0.5. If I were to use 255.0.0.0 in the code for the client, the client can't connect to the server. If I use 198.0.0.5, the client can connect.

On the wiki page, it says to use the server's external IP in the client code, but the client can't find the server unless I use the server's internal IP.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jun 06, 2007 5:19 pm 
Site Admin

Joined: Fri Jul 14, 2006 4:00 pm
Posts: 11230
Location: Washington
Oh, then either your server isn't set to host public (internal IP = 0.0.0.0 in server.ini), or you don't have the ports used forwarded.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jun 12, 2007 11:52 am 
Slave to the BB

Joined: Sun May 27, 2007 6:54 am
Posts: 3110
Location: new york
either your ISP/router/firewall is blocking conections to vbgores port from outside the network, or you entered the wrong IP.
if the ip you entered is something like the 255.0.0.0 you gave as an example, thats most likely your subnet mask not the actual ip address.
and yes if you hard code the internal network ip address of the system you're running the server on you will be able to connect just fine, as long as its from another computer inside your network.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC - 8 hours


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group