#1
|
|||
|
|||
ParameterTypes and Dedicated Server
Someone knows why the remote players can´t execute this (i think with all the "I_" parameters)
airplane_of_any_remote_player.getParameter(part.Pa rameterTypes.I_Altitude, -1); However, without problems with "Z_" parameters like: airplane_of_any_remote_player.getParameter(part.Pa rameterTypes.Z_VelocityTAS, -1); In the first case an error rise on server window, seems the server dont understand what is "part.ParameterTypes.I_Altitude" , but the second example works fine... and in singleplayer the first example works fine too... but not in dedicated server... The first example error is: ================================================= System.NullReferenceException: Referencia a objeto no establecida como instancia de un objeto. Server stack trace: en x0gOoIVCg1EQojoFGws.MydLRQVit33vNwCFUP4.nfMk7cXiPa Ltd9Rs8qVM(Object , ParameterTypes , Int32 ) en x0gOoIVCg1EQojoFGws.MydLRQVit33vNwCFUP4.getParamet er(ParameterTypes , Int32 ) en lZjG6m0DChEtwXsfPZX.3ZTqiP035sLN6BHPQlM.vidwLLrzPI Bs3w7BNitN(Object , ParameterTypes , Int32 ) en lZjG6m0DChEtwXsfPZX.3ZTqiP035sLN6BHPQlM.maddox.gam e.world.AiAircraft.getParameter(ParameterTypes , Int32 ) en System.Runtime.Remoting.Messaging.StackBuilderSink ._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs) en System.Runtime.Remoting.Messaging.StackBuilderSink .SyncProcessMessage(IMessage msg, Int32 methodPtr, Boolean fExecuteInContext) Exception rethrown at [0]: en System.Runtime.Remoting.Proxies.RealProxy.HandleRe turnMessage(IMessage reqMsg, IMessage retMsg) en System.Runtime.Remoting.Proxies.RealProxy.PrivateI nvoke(MessageData& msgData, Int32 type) en maddox.game.world.AiAircraft.getParameter(Paramete rTypes type, Int32 subtype) en Mission.OnOrderMissionMenuSelected(Player player, Int32 ID, Int32 menuItemIndex) en maddox.game.ABattle.OnOrderMissionMenuSelected(Pla yer player, Int32 ID, Int32 menuItemIndex) en maddox.game.ABattle.OnEventGame(GameEventId eventId, Object eventArg0, Object eventArg1, Int32 eventArgInt) en maddox.game.world.Strategy.OnEventGame(GameEventId eventId, Object eventArg0, Object eventArg1, Int32 eventArgInt) en System.Runtime.Remoting.Messaging.StackBuilderSink ._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs) en System.Runtime.Remoting.Messaging.StackBuilderSink .SyncProcessMessage(IMessage msg, Int32 methodPtr, Boolean fExecuteInContext) Exception rethrown at [1]: en System.Runtime.Remoting.Proxies.RealProxy.HandleRe turnMessage(IMessage reqMsg, IMessage retMsg) en System.Runtime.Remoting.Proxies.RealProxy.PrivateI nvoke(MessageData& msgData, Int32 type) en maddox.game.IBattle.OnEventGame(GameEventId eventId, Object eventArg0, Object eventArg1, Int32 eventArgInt) en maddox.game.GameDef.eventGame(GameEventId eventId, Object eventArg0, Object eventArg1, Int32 eventArgInt) en 2pcDPOMCAn8BIb8ysUA.NFCE7DMiT9FpQagZIAw.eventGame( GameEventId , Object , Object , Int32 ) en aZ8NnuxUKValf3nKWOT.ePqQP5xS2NPR5XHeyL6.LvaJnnsnxj f(GameEventId , Object , Object , Int32 ) ================================================= Any idea? Thanks!! |
|
|