Author Topic: Update broke CodeStage.AntiCheat.ObscuredTypes.ObscuredInt  (Read 2086 times)


  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 3
  • Posts: 49
    • View Profile
Update broke CodeStage.AntiCheat.ObscuredTypes.ObscuredInt
« on: July 15, 2015, 10:41:17 PM »
I just updated xcode from 6.3 to 6.4 which then forced me to update my device from iOS 8.3 to 8.4 to even build unity anymore projects anymore.

Then TNet stopped being able to send CodeStage.AntiCheat.ObscuredTypes.ObscuredInt

Wait there is more, if it was 0 it sent a null which barfed right away so I tried sending 1
which sent but complained about the mismatched parameters.

OK so I changed to int and it all works BUT I would like to be able to send CodeStage.AntiCheat.ObscuredTypes.ObscuredInt
again as I was doing for the past year!

 [TNet] Failed to call TNO # RFC # on Script: failed to convert parameters
Expected args: CodeStage.AntiCheat.ObscuredTypes.ObscuredInt
Received args: System.Int32


  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Update broke CodeStage.AntiCheat.ObscuredTypes.ObscuredInt
« Reply #1 on: July 16, 2015, 11:17:47 AM »
You're trying to send a custom class of some kind. I don't even know what it is -- a class? a struct? Unless you specify how to serialize your custom class by implementing a IBinarySerializable interface, TNet will do it by using the system serialization into a binary stream -- which has nothing to do with TNet.

Note that TNet already has this "obscured int" type built-in. It's called "ObsInt".