Jump to content

Recommended Posts

Posted

Is there a server setting you need to enable to give the pop up in the F14 asking the pilot for permission to join as RIO? If so, what is it and how do you enable it? The only server I’ve seen that this works is 104th.

 

If code is required to edit a mission file, can you post what you did if you own a server?

Modules owned:

 

FC3, M-2000C, Mig-21bis, F-5E, AJS-37 Viggen, F/A-18C, KA-50, Mi-8, F-14A&B, JF-17

Posted

There is no on or off, it is on by default and will always come up when someone clicks on the empty seat for that jet.

Strike

USLANTCOM.com

stepped_with_391_new_small.png

i7-9700K OC 5GHz| MSI MPG Z390 GAMING PRO CARBON | 32GB DDR4 3200 | GTX 3090 | Samsung SSD | HP Reverb G2 | VIRPIL Alpha | VIRPIL Blackhawk | HOTAS Warthog

 

Posted
There is no on or off, it is on by default and will always come up when someone clicks on the empty seat for that jet.

 

Well...it’s not working then on all the servers I joined

Modules owned:

 

FC3, M-2000C, Mig-21bis, F-5E, AJS-37 Viggen, F/A-18C, KA-50, Mi-8, F-14A&B, JF-17

Posted
There are a few scripts that some servers run that breaks with feature.

 

 

Can you tell us which scripts cause this issue, since it does not seem to cause issues with L-39 or Gaz

No more pre-orders

Click here for tutorials for using Virpil Hardware and Software

 

Click here for Virpil Flight equipment dimensions and pictures.

.

Posted (edited)

Found the issue:

So-> in the main DCS World Directory:

/Scripts/Hooks/multislot.lua

The file sets hooks.onPlayerTryChangeSlot = onPlayerTryChangeSlot

 

Then when my GameGUI script ALSO sets the onPlayerTryChangeSlot function (API dictates I can set this function), which overwrites the previous.

 

Solution:

change multislot.lua to use a different firing function, so it doesn't break anyone using the onPlayerTryChangeSlot function inside the hooks directory.

 

Next DDCS restart will get permission prompts back (already tested it local instance and it works)

 

I used the function onPlayerChangeSlot(id) for now, hope this won't be used by something else in the future like the Try version did (dangers of global functions).

 

-Drex

Edited by Drexx

Developer of DDCS MP Engine, dynamicdcs.com

https://forums.eagle.ru/showthread.php?t=208608

  • 2 weeks later...
Posted
Found the issue:

So-> in the main DCS World Directory:

/Scripts/Hooks/multislot.lua

The file sets hooks.onPlayerTryChangeSlot = onPlayerTryChangeSlot

 

Then when my GameGUI script ALSO sets the onPlayerTryChangeSlot function (API dictates I can set this function), which overwrites the previous.

 

Solution:

change multislot.lua to use a different firing function, so it doesn't break anyone using the onPlayerTryChangeSlot function inside the hooks directory.

 

Next DDCS restart will get permission prompts back (already tested it local instance and it works)

 

I used the function onPlayerChangeSlot(id) for now, hope this won't be used by something else in the future like the Try version did (dangers of global functions).

 

-Drex

 

Got the same issue here

 

Might be worth noting this in the bugs/issues forum and tagging the guys at heatblur

Posted
Might be worth noting this in the bugs/issues forum and tagging the guys at heatblur

 

A. Its not a bug.

B. HB uses the multiseat code that is in the core game files and it isn't something they added.

 

 

Basically if any onPlayerTryChangeSlot callback returns true then it will skip any other callbacks of onPlayerTryChangeSlot, which is what the game uses as the final check with the multicrew approval UI. In other words return nothing if your onPlayerTryChangeSlot callback has approval for joining a given slot.

The right man in the wrong place makes all the difference in the world.

Current Projects:  Grayflag ServerScripting Wiki

Useful Links: Mission Scripting Tools MIST-(GitHub) MIST-(Thread)

 SLMOD, Wiki wishlist, Mission Editing Wiki!, Mission Building Forum

Posted
A. Its not a bug.

B. HB uses the multiseat code that is in the core game files and it isn't something they added.

 

 

Basically if any onPlayerTryChangeSlot callback returns true then it will skip any other callbacks of onPlayerTryChangeSlot, which is what the game uses as the final check with the multicrew approval UI. In other words return nothing if your onPlayerTryChangeSlot callback has approval for joining a given slot.

 

Interestingly enough i have a different effect, it still blocks the menu even though i don't "return true".

 

The little box actually shows up for a beat, then disappears and lets you into the slot

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...