zerosavior115 Posted June 16, 2012 Author Share Posted June 16, 2012 well this isnt kinda a tutorial but what the heckfirst : make a picbox that hides the menu buttons ( login,register,credits and exit btn ) make it visible2nd : make another picbox and inside put a lable ( server names )3rd : declare two ( or more ) const variable each one containing IP adresses4th : find the src code telling that ur ip is = to ? then change ? to the IP const5th : the labels add this code public const ( ip name ) = ( ip adress )6th : put those codes in the lbl_click eventis this enough??? Link to comment Share on other sites More sharing options...
abhi2011 Posted June 16, 2012 Share Posted June 16, 2012 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 More sharing options...
or3o Posted June 16, 2012 Share Posted June 16, 2012 i think this is what your describing http://www.touchofdeathforums.com/smf2/index.php/topic,80793.0.html Link to comment Share on other sites More sharing options...
jcsnider Posted June 16, 2012 Share Posted June 16, 2012 Also, if it connects to one server, then you decide you wanna switch, you gotta program in a disconnect and reconnect sub. Link to comment Share on other sites More sharing options...
abhi2011 Posted June 17, 2012 Share Posted June 17, 2012 Wouldn't it be better full logout then login? And also the auth server will be hard unless you rip eo server and make a few edits. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now