moggel
12-01-2012, 04:20 PM
Hey scripters,
I've seen that the OnPlaceEnter(AMission mission, Player player, AiActor actor, int placeIndex) handler sometimes gets passed a null value for 'actor'. Is this a known bug in the sim? When it happens I usually try get the actor from player.Place() and it seems that works but not always. Has anyone else seen this?
Also, sometimes when I call the GamePlay.gpLogServer(...) method I get an I/O error.
I've only seen these problems on dedicated server but I don't know if it could happen in SP play or on a local server.
Any hints/suggestions would be appreciated.
/mog
I've seen that the OnPlaceEnter(AMission mission, Player player, AiActor actor, int placeIndex) handler sometimes gets passed a null value for 'actor'. Is this a known bug in the sim? When it happens I usually try get the actor from player.Place() and it seems that works but not always. Has anyone else seen this?
Also, sometimes when I call the GamePlay.gpLogServer(...) method I get an I/O error.
I've only seen these problems on dedicated server but I don't know if it could happen in SP play or on a local server.
Any hints/suggestions would be appreciated.
/mog