@@ -156,11 +156,11 @@ public override void Detach()
156156
157157
158158#pragma warning disable 649
159- [ ReflectedEventReplace ( typeof ( MySteamGameServer ) , nameof ( MySteamGameServer . ValidateAuthTicketResponse ) ,
159+ [ ReflectedEventReplace ( "VRage.Steam. MySteamGameServer, VRage.Steam" , " ValidateAuthTicketResponse" ,
160160 typeof ( MyDedicatedServerBase ) , "GameServer_ValidateAuthTicketResponse" ) ]
161161 private static Func < ReflectedEventReplacer > _gameServerValidateAuthTicketFactory ;
162162
163- [ ReflectedEventReplace ( typeof ( MySteamGameServer ) , nameof ( MySteamGameServer . UserGroupStatusResponse ) ,
163+ [ ReflectedEventReplace ( "VRage.Steam. MySteamGameServer, VRage.Steam" , " UserGroupStatusResponse" ,
164164 typeof ( MyDedicatedServerBase ) , "GameServer_UserGroupStatus" ) ]
165165 private static Func < ReflectedEventReplacer > _gameServerUserGroupStatusFactory ;
166166
@@ -216,15 +216,16 @@ public WaitingForGroup(ulong id, JoinResult response, ulong owner)
216216 //Largely copied from SE
217217 private void ValidateAuthTicketResponse ( ulong steamId , JoinResult response , ulong steamOwner )
218218 {
219- var state = new MyP2PSessionState ( ) ;
220- MySteamServiceWrapper . Static . Peer2Peer . GetSessionState ( steamId , ref state ) ;
221- var ip = new IPAddress ( BitConverter . GetBytes ( state . RemoteIP ) . Reverse ( ) . ToArray ( ) ) ;
219+ // TODO: Find another way to do this
220+ //var state = new MyP2PSessionState();
221+ //MySteamServiceWrapper.Static.Peer2Peer.GetSessionState(steamId, ref state);
222+ //var ip = new IPAddress(BitConverter.GetBytes(state.RemoteIP).Reverse().ToArray());
222223
223224 Torch . CurrentSession . KeenSession . PromotedUsers . TryGetValue ( steamId , out MyPromoteLevel promoteLevel ) ;
224225
225226 _log . Debug ( $ "ValidateAuthTicketResponse(user={ steamId } , response={ response } , owner={ steamOwner } , permissions={ promoteLevel } )") ;
226227
227- _log . Info ( $ "Connection attempt by { steamId } from { ip } ") ;
228+ _log . Info ( $ "Connection attempt by { steamId } ") ;
228229
229230 if ( IsProfiling ( steamId ) )
230231 {
0 commit comments