Official Fulqrum Publishing forum

Official Fulqrum Publishing forum (http://forum.fulqrumpublishing.com/index.php)
-   CoD Multiplayer (http://forum.fulqrumpublishing.com/forumdisplay.php?f=192)
-   -   IL2Coop: A co-op lobby for IL-2 Sturmovik: Cliffs of Dover (http://forum.fulqrumpublishing.com/showthread.php?t=28559)

Tigertooo 12-19-2011 07:02 PM

btw, what server are you flying in?

41Sqn_Banks 12-19-2011 08:19 PM

I tested today and found some strange behavior after the players were moved into the mission aircraft, e.g.:
- Host: Prop pitch and Radiator didn't work until I activated the autopilot for a second
- Client: Autopilot was enabled initialy, if deactivated the engine couldn't be started (oil and water temp. was at 0°C, not ambient temp)

Can anyone confirm this? Or even better has someone an idea to solve this?

@Tigertooo: Not much public online flying in the last weeks. The launcher crash is really annoying ... hopefully after the next patch I'll be at ATAG or III/JG27 more frequently.

Tigertooo 12-19-2011 08:54 PM

thnx Banks

41Sqn_Banks 12-20-2011 07:37 AM

I compared my code with that of Navyr and I assume the reason for the mentioned problems is that I call the Player.Place() method in the OnActorCreated method, which could be to early.

I will delay it by some seconds to see if it helps.

Ataros 12-20-2011 09:10 AM

I remember there was a bug in naryv's script. Either a player could not take control if joined in progress, or AI did not take control is player ALT-F2 from the aircraft or a player could not take control after re-enter the aircraft again after ALT-F2. The bug depended on whether autopilot or plane switching was enabled in difficulty settings. Sorry, do not remember more precisely. I think naryv said that autopilot must be disabled on the server to fix it.

41Sqn_Banks 12-20-2011 09:26 AM

Quote:

Originally Posted by Ataros (Post 371601)
I remember there was a bug in naryv's script. Either a player could not take control if joined in progress, or AI did not take control is player ALT-F2 from the aircraft or a player could not take control after re-enter the aircraft again after ALT-F2. The bug depended on whether autopilot or plane switching was enabled in difficulty settings. Sorry, do not remember more precisely. I think naryv said that autopilot must be disabled on the server to fix it.

Thank you, that sound reasonable. I had autopilot enabled, not sure about plane switch. I will test with autopilot disabled and report back.

KG26_Alpha 12-20-2011 05:29 PM

IIRC

You needed Auto enable with that script.

Pato Salvaje 12-20-2011 05:54 PM

Awesome work!
I´m going to test this scrip and also the mission loader script in our server for coop missions.
Keep it coming!

41Sqn_Banks 12-21-2011 11:59 PM

New version available: http://code.google.com/p/il2coop/downloads/list

IL2Coop-0.2.0.15 fixes the host and client problems, no strange behaviour any more:
- Controls (Prop pitch, radiator) now work correct for the host
- Clients can start the engine as regular (engine temp is also normal)

The script finally works as intended.

There is no need to have AI control enabled in realism settings.

The reason for the strange behaviour was timing related. Obviously there has to be some time between mission loading that contains the aircraft, aircraft creation and the assignment of a player to that aircraft. I added a delay after the mission loading and the assignment of 3sec. which solved all the problems.

Tigertooo 12-22-2011 08:33 AM

thnx Banks,will try


All times are GMT. The time now is 08:31 PM.

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