Fulqrum Publishing Home   |   Register   |   Today Posts   |   Members   |   UserCP   |   Calendar   |   Search   |   FAQ

Go Back   Official Fulqrum Publishing forum > Fulqrum Publishing > IL-2 Sturmovik: Cliffs of Dover > FMB, Mission & Campaign builder Discussions

Reply
 
Thread Tools Display Modes
  #1  
Old 11-16-2011, 10:14 AM
HR_Grainovich HR_Grainovich is offline
Approved Member
 
Join Date: Nov 2011
Posts: 14
Default 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!!
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:43 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 2007 Fulqrum Publishing. All rights reserved.