Community-A-4E / community-a4e-c

The Community Repo for A-4E-C and its Official Submods
598 stars 87 forks source link

S_EVENT_SHOT , event id == 1 does not trigger/work in multiplayer server #560

Closed techdr1ve closed 2 years ago

techdr1ve commented 2 years ago

S_EVENT_SHOT , event id == 1 does not trigger/work in multiplayer server for A-4 only, but works in single player.

To Reproduce Steps to reproduce the behavior: Hookup S_EVENT_SHOT or event id == 1 script (MIST required) for event setup.

Expected behavior S_EVENT_SHOT or event id == 1 is supposed to trigger and upon event whatever action you set will execute

Software Information (please complete the following information):

Additional context I tried other events event id == 2, 14 and they all work in multiplayer.

gcask commented 2 years ago

I was unsuccessful at hitting the issue with the following (really simple) mission (simply rename .zip to .miz, used it to be able to upload on GH).

I have used MIST 4.5.107 and the sample event shot snippet from HOGGIT

I tried with mk81SE, maybe it's specific to some weapons?

a4-bugs-event-shot-not-firing.zip

techdr1ve commented 2 years ago

Interesting, no I tried it on different weapons it's the same. It's possible some DCS update fixed it. I'll try it again when I get back in town on Monday.

techdr1ve commented 2 years ago

I tested your script and if I hit multiplayer from Mission Editor, I did not have any problems/issues. When I try to launch a dedicated multiplayer server with the .miz file, I had the same issue where event id == 1 did not fire/trigger matching my original issue. It doesn't matter what ordinance is fired, nothing triggers event id == 1. This seems to be isolated to dedicated multiplayer standalone server.

gcask commented 2 years ago

Interesting, as I had no issue with a dedicated server setup...

I'm also using the Target Impact Tracker Script on my dedicated server, which relies on that event, and it tracks properly.

Sorry I couldn't be of more help :(

techdr1ve commented 2 years ago

I'll try creating a new instance of the dedicated multiplayer server and see if that works. Maybe it's old and doesn't have some update needed.

callmepartario commented 2 years ago

also, please ensure you have the same version of A-4E-C actually installed on the multiplayer server - failure to have the module installed on the server can cause errors.

techdr1ve commented 2 years ago

THAT WAS IT! PROBLEM SOLVED! Solution: I needed to make sure I had the airplane downloaded onto the server as well. (I had issues in the past for whatever reason and never needed to put it back on.) Napalm fireball works for multiplayer now. Thanks so much man.