Jump to content

Scripting Engine Bug with mark related events in multiplayer


Recommended Posts

Hi folks,

 

I found a bug in the scripting engine that isn't listed in Grimes List yet.

 

It relates to the handling of the events

 

S_EVENT_MARK ADDED (event.id 25)

S_EVENT_MARK CHANGE (event.id 26)

S_EVENT_MARK REMOVE (event.id 27)

 

in the multiplayer environment.

 

 

Here's the event page on Hoggit: https://wiki.hoggitworld.com/view/Category:Events

 

 

 

I've noticed that the field event.initiator always get populated with the unit that the server host is currently sitting in, no matter which player actually created, changed or removed a mark.

 

I have attached the test mission I have used to test this bug after I first stumbled upon it. In it I run a simple script that returns some fields of the event table as .outText.

 

This bug is pretty annoying to me because i have written a script that provides Zeus-like functionality to DCS and uses map markers as its input method. Without a way to know who created a marker I have no way to effectively limit the access to the Zeus functions, or return status messages only to the player that sent a command. :(

Testmission.miz


Edited by Cake/Sorbus
Link to post
Share on other sites
  • 2 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...