Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Will this do ( multi - server?? )


zerosavior115
 Share

Recommended Posts

well this isnt kinda a tutorial but what the heck

first : make a picbox that hides the menu buttons ( login,register,credits and exit btn ) make it visible
2nd : make another picbox and inside put a lable ( server names )
3rd : declare two ( or more ) const variable each one containing IP adresses
4th : find the src code telling that ur ip is = to ?  then change ? to the IP const
5th : the labels add this code
        public const ( ip name ) = ( ip adress )
6th : put those codes in the lbl_click event

is this enough???
Link to comment
Share on other sites

I have tried that once doing it in my pc with different ports. And it seemed to work. Yea the IP const will work i think. Not sure though. You can find the server port thing in Server TCP and change it. But there will be a problem after all this work, multi-login. You can login from both the servers and the 2 servers will never communicate with each other. You will either have to make a authserver that handles all logins. and when login is underplace checks if the account is already logged in. Also all the player details are stored in the auth-server. all server data are the same. If anything changes nothing will work.
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...