Page MenuHomeFeedback Tracker

[Feature Request] Add mod to allAddonsInfo
Feedback, NormalPublic

Description

I would like to know which mod an addon belongs to so I can check its hash (which is returned using getLoadedModsInfo) to see if it's been updated. (I use it for a caching system, and an update means I have to regenerate the cache)

So please add the mod name to the returned value of allAddonsInfo:

Array of Arrays in format [prefix, version, isPatched, mod], where:
        prefix: String - addon prefix
        version: String - addon revision version
        isPatched: Boolean - true if patching is enabled and this addon is being patched
        mod: the mod which the addon belongs to

if possible, please add the hash of the addon too. (not hash of mod!)

Details

Severity
Feature
Resolution
Open
Reproducibility
N/A
Operating System
Windows 10 x64
Category
Scripting

Event Timeline

This comment was removed by LouMontana.
dedmen added a subscriber: dedmen.Jul 4 2023, 12:58 PM

index of mod, and hash
getLoadedModsInfo

[
["Arma 3 Art of War","aow",true,true,"GAME DIR","3ae464fb1ee27d35acc50477989c9e775613f1f1","1dd6e6fd","1325500"],
["Arma 3 Contact (Platform)","enoch",true,true,"GAME DIR","538ffaa1fb95e8147ef024ecddcc73be0e7b9458","17fd6d82","1021790"],
["Arma 3 Tanks","tank",true,true,"GAME DIR","57d37f6486bb0c4cfdf26c1f19b687d68e4efae5","69fb4520","798390"],
["Arma 3 Tac-Ops","tacops",true,true,"GAME DIR","59d57edbc12c9880cd80311ef30c950b682b6412","a7b5c2a9","744950"],
["Arma 3 Laws of War","orange",true,true,"GAME DIR","be39f1ba70bb9cdb5d2ae6195916d76e386e2441","5d29f341","571710"],
["Arma 3 Malden","argo",true,true,"GAME DIR","06d742071741d24d0c35a4d134aefb940fcd3553","5cd0991f","639600"],
["Arma 3 Jets","jets",true,true,"GAME DIR","5a21678ca3723031778598269e7e1d1b5e37c0e1","2b474972","601670"],
["Arma 3 Apex","expansion",true,true,"GAME DIR","30083e92e7a0ff1b3c7bcd3717a5fe92a87b639a","7d3057db","395180"],
["Arma 3 Marksmen","mark",true,true,"GAME DIR","5034faea0e820f1841fbe516f789e7f6995faa77","d62bd90a","332350"],
["Arma 3 Helicopters","heli",true,true,"GAME DIR","41d6199468a55fcc93330fece56870d01732cae6","32726052","304380"],
["Arma 3 Karts","kart",true,true,"GAME DIR","8dd25b9a9ab38566457f661ecebc04c49e9cef93","e3031fd2","288520"],
["Arma 3 Zeus","curator",true,true,"GAME DIR","3ae2d68df573f277bad9f044a4e2221caa811cdf","61c8fca5","275700"],
["Arma 3","A3",true,true,"GAME DIR","","","0"]
]

allAddonsInfo

[
["bin\","150301",false,-1,"66b6d1a87da30e0386fec881504c14a0a6025cb1"],
["core\","129618",false,-1,"49e1b8da67de848c8ea058fd8512c222ccb6d919"],
["Languagecore_F\","150376",false,-1,"2ee7b09d60f916d7e56934632f55683a14a636b7"],
["a3\anims_f_aow\","149768",false,0,"59df21ad1fc6939c460a555b3af662f725564b37"],
["a3\dubbing_radio_f_enoch\","150070",false,1,"5ca436c61a634fcbd28ca9480a4c8249c5b0e4bd"],
["a3\armor_f_tank\","150292",false,2,"6d0ea8b45ff4cd316b3d6c5575def9dd048e198e"],
["a3\music_f_tacops\","124064",false,3,"435c2b0338fe6bec7685002dca7c47778abf44ee"],
["a3\props_f_orange\","148864",false,4,"bcc181d910d3f099bdc716a5317406270e1b6f5d"],
["a3\editorpreviews_f_argo\","142758",false,5,"774f16fe76ba47a59735391b6e5e26423ed1badb"],
["a3\boat_f_destroyer\","143297",false,6,"70636cf29c0aa1c4f1875c25bc7b3710ae217e2b"]
["a3\dubbing_f_oldman\","148756",false,7,"2ca8f492fe380e3a7b5f280d77b6ad0b518388f4"]
["a3\modules_f_mark\","148886",false,8,"5006d9e67fa505c2a8690cf053cec0eccc16deb2"],
["a3\functions_f_heli\","123022",false,9,"98cf812f7ba4c57a2c5ff4de0b5833ec1bb5a575"],
["a3\3den_language\","150376",false,-1,"69b6a84b4de61ee6576f56ad0edaff722f9fda97"]
]

Seems like only basegame/dta will have -1

dedmen set Ref Ticket to AIII-55748.Jul 4 2023, 1:15 PM
dedmen changed the task status from New to Feedback.Jul 4 2023, 1:17 PM

next dev