Author Topic: 1.9.5 Server mismatch  (Read 2382 times)

xarasu

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 9
    • View Profile
1.9.5 Server mismatch
« on: June 17, 2014, 03:46:57 PM »
I just updated to TNet 1.9.5 and copied the new TNServer.exe over to my host. My app can no longer connect and gives the following warning:

Quote
Version mismatch! Server is running protocol version 10 while you are on version 11
UnityEngine.Debug:LogWarning(Object)
TNTcpLobbyClient:Update() (at Assets/Vendor/TNet/Client/TNTcpLobbyClient.cs:108)

I also tried to build my own TNServer.exe in case it just wasn't up to date and was getting a lot of errors about 'BinaryWriter' not containing a definition for 'writeObject' or 'readObject'.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: 1.9.5 Server mismatch
« Reply #1 on: June 17, 2014, 04:12:07 PM »
Whoops, I forgot to update the server. 1.9.5b coming up!

xarasu

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 9
    • View Profile
Re: 1.9.5 Server mismatch
« Reply #2 on: June 18, 2014, 09:50:29 AM »
Updated TNServer.exe and now whenever I try and connect to it with my Unity app, the server crashes with the following "Problem Details":

  1. Description:
  2.   Stopped working
  3.  
  4. Problem signature:
  5.   Problem Event Name:   CLR20r3
  6.   Problem Signature 01: tnserver.exe
  7.   Problem Signature 02: 0.0.0.0
  8.   Problem Signature 03: 53a0e07d
  9.   Problem Signature 04: TNServer
  10.   Problem Signature 05: 0.0.0.0
  11.   Problem Signature 06: 53a0e07d
  12.   Problem Signature 07: 93
  13.   Problem Signature 08: 112
  14.   Problem Signature 09: System.NullReferenceException
  15.   OS Version:   6.1.7601.2.1.0.272.7
  16.   Locale ID:    1033
  17.  
  18. Read our privacy statement online:
  19.   http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409
  20.  
  21. If the online privacy statement is not available, please read our privacy statement offline:
  22.   C:\Windows\system32\en-US\erofflps.txt
  23.  

I'm starting it with:
  1. C:\TNServer.exe -tcpLobby 5129

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: 1.9.5 Server mismatch
« Reply #3 on: June 18, 2014, 08:30:44 PM »
Unfortunately that doesn't tell me much, and mine seems to be working as expected. Can you compile the server in Debug mode and see where it hits the null ref?

xarasu

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 9
    • View Profile
Re: 1.9.5 Server mismatch
« Reply #4 on: June 24, 2014, 02:18:16 PM »
Works again with 1.9.5c. Thanks for the fix!