showtime817th Posted October 10, 2015 Posted October 10, 2015 (edited) Hello all, Can someone please take a look at this script and see if you can make it 1.5 compatible....I only have 99.99999% of my mission using this lua. I did try the latest Mist and still no go. The radio menu F10 option doesn't show up at all. Any help would be appreciated:DTroopDrop_v3_4.lua Edited October 10, 2015 by showtime817th [sIGPIC][/sIGPIC]
ESAc_matador Posted October 11, 2015 Posted October 11, 2015 From now on you start using CTLD script. Already 1.5 compatible
ajax Posted October 11, 2015 Posted October 11, 2015 That's my script. As far as I can tell, it is compatible with 1.5. However, there is currently a bug in the scripting engine that prevents it from working.
ajax Posted October 11, 2015 Posted October 11, 2015 DCS 1.5 introduced the use of a dictionary that holds group and unit names (as well as other info). This might affect the script in that it will display odd names when a unit picks up or drops off troops, but it shouldn't kill the script. I am working on an update for this, but until the scripting engine gets fixed I can't test it.
showtime817th Posted October 12, 2015 Author Posted October 12, 2015 Thank you so much for looking into this. [sIGPIC][/sIGPIC]
xcom Posted October 28, 2015 Posted October 28, 2015 (edited) Hey Ajax, Apart from the dictionaries issues, there is also the client groups not working in multiplayer. I've edited part of the script, but it is still not working, I think the part - TroopDropBetabug.getGroups = function(coa,category) is the problem, any chance you got a workaround for it? Attached my changed version so far. BTW - we just found out you are the author of this script, we should now give credit :)TroopDrop_v3_4_2_Xcom_1.5.lua Edited October 28, 2015 by xcom [sIGPIC][/sIGPIC] BuddySpike Website | Live Map & Statistics BuddySpike Twitch Channel Buddyspike Discord Buddyspike Facebook
ajax Posted October 28, 2015 Posted October 28, 2015 (edited) No, I haven't found a workaround yet. That function was put in when the scripting engine got busted several versions ago. It is supposed to populate the groups from the mission definition itself and then add any spawned groups that it keeps track of separately. That part should still work. I think there are other places in the script where it tries to access client groups --- which as you know is still broken. I narrowed down the flaw to a certain part but I haven't had time to really dig into it. Edit: Thanks for giving me credit, but I originally based it on Deck's Huey Drop script back when I was first learning Lua. There are a lot of enhancements but I couldn't have made much progress without studying everyone elses scripts. Updates to this script and others can be found at the 159th public forums here: http://www.159thgar.com/forums/viewforum.php?f=47 Edited October 28, 2015 by ajax
Recommended Posts