PVJsquad Posted April 22, 2014 Author Share Posted April 22, 2014 I've got a problem, the machine I use is Eclipse Advancewhen i login for firstime the client is work absolutly, but when i logout then login back the client is stuck not doing anythingeven the login form that should disappear it does not happenbefore it when i take debug in ip localhost the error disappearbut when i place the server in VPS or playing online the error is appear*i edited some script i change frmMenu suprt rendering system but not edited TCP module Link to comment Share on other sites More sharing options...
abhi2011 Posted April 22, 2014 Share Posted April 22, 2014 What is the error? Link to comment Share on other sites More sharing options...
PVJsquad Posted April 23, 2014 Author Share Posted April 23, 2014 i cann't login back after logout game in VPS , but in localhost i can login back after logout game Link to comment Share on other sites More sharing options...
abhi2011 Posted April 23, 2014 Share Posted April 23, 2014 Does anything show up? Does it client actually even connect to the server or does the server accept the connection and then cancel it? A good way of checking would be to check the textbox in the server for any connections and checking whether the Socket_Close function client side is being called. If the above mention is working perfectly then make sure that the client is actually trying to connect to the server by checking whether a packet is being sent to the server for login. Check whether the SendLogin clientside is being called and then make sure that the server side HandleLogin is being called as well. (Set breakpoints within these methods.) Link to comment Share on other sites More sharing options...
PVJsquad Posted April 24, 2014 Author Share Posted April 24, 2014 in first time of server started and open client login , the player can login and play the gamebut after logout and login back the server not get packet data from client (Set breakpoints methods.) but the client sending packet to server Link to comment Share on other sites More sharing options...
abhi2011 Posted April 24, 2014 Share Posted April 24, 2014 Hmm…Can you set a breakpoint in incomingdata as well? Also after first login close the socket and call the tcpinit sub from the immediate windows. 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