Larias Posted February 1, 2013 Author Share Posted February 1, 2013 Commenting out the version check makes it work, so I know there is something going on here. Edit: Sorry, this is vanilla EO2.Here's my login:```Public Sub SendLogin(ByVal Name As String, ByVal Password As String)Dim Buffer As clsBuffer' If debug mode, handle error then exit outIf Options.Debug = 1 Then On Error GoTo errorhandlerSet Buffer = New clsBufferBuffer.WriteLong CLoginBuffer.WriteString NameBuffer.WriteString PasswordBuffer.WriteLong App.MajorBuffer.WriteLong App.MinorBuffer.WriteLong App.RevisionSendData Buffer.ToArray()Set Buffer = Nothing' Error handlerExit Suberrorhandler:HandleError "SendLogin", "modClientTCP", Err.Number, Err.Description, Err.Source, Err.HelpContextErr.ClearExit SubEnd Sub```Here's my server side``` ' Check versions If Buffer.ReadLong < CLIENT_MAJOR Or Buffer.ReadLong < CLIENT_MINOR Or Buffer.ReadLong < CLIENT_REVISION Then Call AlertMsg(Index, "Version outdated, please visit " & Options.Website) Exit Sub End If```I've set their versions to the same in the project -> questserver properties -> make area and it still bugs out. Thanks. Link to comment Share on other sites More sharing options...
Santini Posted February 1, 2013 Share Posted February 1, 2013 I believe the version of the client and server is set in modConstants. So you want to look in there and make sure they both match.Hope this helps,Santini Link to comment Share on other sites More sharing options...
Larias Posted February 1, 2013 Author Share Posted February 1, 2013 Ahhh. So the server uses the constant but the client uses the make properties? Interesting. Thanks, this fixed it. Link to comment Share on other sites More sharing options...
Santini Posted February 1, 2013 Share Posted February 1, 2013 No, I believe they both use constants to store the version. Anyway I am glad it is now working. Link to comment Share on other sites More sharing options...
Larias Posted February 1, 2013 Author Share Posted February 1, 2013 Do they? Because my client doesn't have any constants naturally in it. I suppose I could add them. Link to comment Share on other sites More sharing options...
Exception Posted February 1, 2013 Share Posted February 1, 2013 > No, I believe they both use constants to store the version. Anyway I am glad it is now working.You was right the first time. ![:P](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/tongue.png)The clients use the application settings, server uses constants. Link to comment Share on other sites More sharing options...
Santini Posted February 1, 2013 Share Posted February 1, 2013 Ok, The only version I have downloaded on this pc is cs:de and in that version the client uses constants. I thought they all did. ![:P](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/tongue.png) 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