andy200129 Posted June 15, 2012 Author Share Posted June 15, 2012 Hello ok before eclipse stable ect disapeard i made a multiple server thing that your able to add more servers on 1 client what worked on eclipse stable and 7.5 this was the code for eclipse evo or soHosted on 1 pc>! Dim IP As String, Port As String Dim fErr As Integer>! Port = Val(0000)>! fErr = 0 If fErr = 0 And Port <= 0 Then fErr = 1 Call MsgBox("Please Fix The Port!", vbCritical, GAME_NAME) Exit Sub End If If fErr = 0 Then Call WriteINI("IPCONFIG", "PORT", 0000, (App.Path & "\config.ini")) End If Call TcpDestroy>! frmStable.Socket.RemotePort = 0000hosted on 2 pcs>! Dim IP As String, Port As String Dim fErr As Integer>! IP = 000.000.000 Port = Val(0000)>! fErr = 0 If fErr = 0 And Len(Trim$(IP)) = 0 Then fErr = 1 Call MsgBox("Please Fix The IP!", vbCritical, GAME_NAME) Exit Sub End If If fErr = 0 And Port <= 0 Then fErr = 1 Call MsgBox("Please Fix The Port!", vbCritical, GAME_NAME) Exit Sub End If If fErr = 0 Then Call WriteINI("IPCONFIG", "IP", 000.000.000, (App.Path & "\config.ini")) Call WriteINI("IPCONFIG", "PORT", 0000, (App.Path & "\config.ini")) ' Call MenuState(MENU_STATE_IPCONFIG) End If Call TcpDestroy frmStable.Socket.RemoteHost = 000.000.000 frmStable.Socket.RemotePort = 0000i modified it and looked throug eo classes ectbut the WritteINI had an error and i cant find why does any one know what could be wrong>! Dim IP As String, Port As String Dim fErr As Integer>! Port = Val(7001)>! fErr = 0 If fErr = 0 And Port <= 0 Then fErr = 1 Call MsgBox("Please Fix The Port!", vbCritical) Exit Sub End If If fErr = 0 Then Call WriteINI("IPCONFIG", "PORT", 7001, (App.Path & "\Data Files\config.ini")) End If Call TcpDestroy>! frmMain.Socket.RemotePort = 7001 Link to comment Share on other sites More sharing options...
Stein Posted June 15, 2012 Share Posted June 15, 2012 It's PutVar and GetVar ;] Link to comment Share on other sites More sharing options...
andy200129 Posted June 15, 2012 Author Share Posted June 15, 2012 @Scypher:> It's PutVar and GetVar ;]i don't get what you mean? could you put in a more informed way soz had like no sleep been up working on GUI and layout in vb 6 its hard to get it to a good layout and looking professional Link to comment Share on other sites More sharing options...
Stein Posted June 15, 2012 Share Posted June 15, 2012 READINI and WRITEINI have been replaced by GetVar and PutVar. Link to comment Share on other sites More sharing options...
andy200129 Posted June 15, 2012 Author Share Posted June 15, 2012 @Scypher:> READINI and WRITEINI have been replaced by GetVar and PutVar.ahh ok cool ^_^Has TCP Destroy been changed? Link to comment Share on other sites More sharing options...
crzyone9584 Posted June 15, 2012 Share Posted June 15, 2012 Search through the code… Just look for where the client closes the window... Link to comment Share on other sites More sharing options...
andy200129 Posted June 15, 2012 Author Share Posted June 15, 2012 once i have the Eo version done im going to keep the ee version but add eo to my tutorial page ect for people to use to make there game better thanks for the help i will do that now u all been helpfull i will credit ur names on the eo version :) 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