Addon Folder Path ingame
Edit: Have a workaround to needing the path...
Howdie all, is there a way to get my hands on the full Addon folder path? Not just the user:/Addons/xyz I get from GetAddOnRootDirectoryPath(index) But "C:\Users\winusername\Documents\Elder Scrolls Online\live\AddOns" any help very much appreciated remosito |
Might be the path won't do me any good...
just found out that RequestOpenUnsafeURL() seems to not open URLs of the type "file:///path" Any way to circumvent that? Alternatively: - Any way to create a json post request with lua that will run? - Anybody would by chance know a free place to host a http get request parameter to json send message wrapper html page? crude version: Lua Code:
|
github pages
Tried github pages to host my "http get request to json post send wrapper" page and it works :-)
Can send Location data updates to a discord channel. Leaving thread for google to pick up. |
RequestOpenUnsafeURL() only supports http and https so far as I know.
We had asked to support other links like teamSpeak3, discord etc. as well. Curious how this works: You save some data to the SavedVariables of an addon and let an external source (script, executable) parse the SV file + send it as http request then? As SV will only be updated at reloadui/logout normally: Do you use the "priority update of small data to the SavedVariables" that Zos introduced? Edit: Oh I understood it now :) You use the http link of the github website and RequestOpenUnsafeURL() with the location data as URL ?a=<parameter> |
Quote:
The github website then forwards the "a" parameter as a json post to my discord channel webhook. Which just posts it as a new message there. Quite the wild hack but seems to work... |
All times are GMT -6. The time now is 01:05 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI