-
July 7th, 2018, 03:34 #51
- Join Date
- Mar 2017
- Posts
- 31
The manifest file is DOREM_Manifest.rem, the helpers are in C:\DOEREMUHelpers
-
July 7th, 2018, 03:35 #52
- Join Date
- Mar 2017
- Posts
- 31
Also, if I run "notepad %appdata%/fantasy grounds/manifests/DOREM_Manifest.rem" from a command line, it does indeed open the file.
-
July 7th, 2018, 04:19 #53Private Messages: My inbox is forever filling up with PMs. Please don't send me PMs unless they are actually private/personal messages. General FG questions should be asked in the forums - don't be afraid, the FG community don't bite and you're giving everyone the chance to respond and learn!
-
July 7th, 2018, 04:54 #54
OK, so I'm sorry I've been a little bit... absent... lately. Let me see what's going on, ans I'll get back to you all ASAP.
And, just for the record, please don't just give up if you are having trouble using one of my REMs, just hound be (a little bit ) and I'll get it sorted as quick as I can.
CheersDulux-Oz
√(-1) 2^3 Σ Π
...And it was Delicious!
Alpha-Geek
ICT Professional
GMing Since 1982
NSW, Australia, UTC +10
LinkedIn Profile: www.linkedin.com/in/mjblack
Watch our games on Twitch: www.twitch.tv/dulux_oz
Support Me on Patreon: www.patreon.com/duluxoz
Past Games, etc, on my YouTube Channel: www.youtube.com/c/duluxoz
-
July 7th, 2018, 06:08 #55
OK, so I've had a really good look at things, and I can't see what's going wrong.
The way the DOEREMU works is that it stores all of its information in the GlobalRegistry.lua file (located in the FG Data Directory). Using info from there is tries to load any Manifest files into FG from the /manifests/ sub-directory under the FG Data Directory. This is BEFORE it uses the REMUHelpers to fetch anything - so the problem is not with the REMUHelpers.
It could be a permissions issue - but you said you've cheked for that.
It could be that the .rem file doesn't exist and/or its been re-named something different than what is recorded in the GlobalRegistry - but again, you said you checked for that.
So, you could remove the info from the GlobalRegistry (ie edit it) which would cause the DOEREMU to reinitialize itself the next time it was loaded. The relevant "tree" starts with a root of ["MJB_REMU"] - actually, I'd be surprised if there was anything else in the GlobalRegistry; its not used by many things at all. It may not hurt to grab a fresh copy of the DOREMU_Manifest.rem file from the GitHub Repository either (just to be sure).
Apart from that, I'm not really sure what to tell you - because we (the Community Devs) can't get to the "guts" of the FG-engine I've had to literally "hack" the system to get the DOEREMU to work. This means that it can be... temperamental... in how it expects reality to match up to what it believes "reality" should be (ie how the data it places in the GlobalRegistry matches up with how things really are). Once its working properly and if nothing major changes then it'll work very well, but it can be a bit "finicky" or "picky" if things aren't just right.
For those who are interested, I hacked together the DOEREMU from another system I wrote that does auto-updates of software I wrote for a couple of clients. The original works flawlessly in three different enterprise environments, but I had access to the raw "engine" of that system (unlike now with the FG-engine) so...
Anyway, please let me know how you get on.
CheersLast edited by dulux-oz; July 7th, 2018 at 07:03.
Dulux-Oz
√(-1) 2^3 Σ Π
...And it was Delicious!
Alpha-Geek
ICT Professional
GMing Since 1982
NSW, Australia, UTC +10
LinkedIn Profile: www.linkedin.com/in/mjblack
Watch our games on Twitch: www.twitch.tv/dulux_oz
Support Me on Patreon: www.patreon.com/duluxoz
Past Games, etc, on my YouTube Channel: www.youtube.com/c/duluxoz
-
July 7th, 2018, 16:40 #56
- Join Date
- Mar 2017
- Posts
- 31
Huh, so nuking the GlobalRegistry file worked. It let me reload the manifest and get the extension working again. I cut the contents of it into a separate file before saving the blank one, I'm going to inspect it later to see if I can get an idea of what might have gone wrong.
Thank you for the help!
-
July 7th, 2018, 18:32 #57
- Join Date
- Mar 2017
- Posts
- 31
-
July 7th, 2018, 18:33 #58
Ok mate, I get as far as Step 11 and then get this error when registering the manifest
Database Error: A XML parse error occurred processing file D:\Fantasy_Grounds\manifests\DOREM_Manifest.rem - Error on line 43: Error reading Attributes.
Script Error: [string "DOEREMU/Scripts/lsREMUManager.lua"]:366: import: Unable to parse fileTwo roads diverged in the woods and I, I took the one less traveled, and that has made me hopelessly lost!
-
July 7th, 2018, 19:16 #59
- Join Date
- Mar 2017
- Posts
- 31
I did a little experimenting, and I think the problem with the URLs files being wrong may have to do with them running concurrently. IDK how Fantasy Ground's clipboardSetText function handles these sorts of operations, but if I add a small fpSleep in between the calls of fpUpdateFiles in fpUpdate, it updates everything correctly. It seems it's not able to change the clipboard's text properly in between calls if you put them back to back.
Also, dulux, I take it you primarily work in C based languages? You have a lot of semicolons in your Lua. ;P
-
July 8th, 2018, 05:15 #60
Yes, I learnt C as my first "real" language - the semi-colones are an inbuilt "Pavlovian-response" after all these years - it causes me no end of grief when I'm programming Cisco IOS devices, let me tell you.
I suspected the timing was going to be an issue - thanks for confirming it. My rig is pretty powerful (as you'd expect from a professional coder) so I wasn't getting any issues (I'm still not) but I'll double the wait times and put out a patch and then we'll see how things go (see Post #55 for a partial explanation of why the Extension is so "picky").
Give me 24 hours - I've got something on the rest of today and I can't get to things until then - sorry.
@Erin - I'll look into your issue as wellDulux-Oz
√(-1) 2^3 Σ Π
...And it was Delicious!
Alpha-Geek
ICT Professional
GMing Since 1982
NSW, Australia, UTC +10
LinkedIn Profile: www.linkedin.com/in/mjblack
Watch our games on Twitch: www.twitch.tv/dulux_oz
Support Me on Patreon: www.patreon.com/duluxoz
Past Games, etc, on my YouTube Channel: www.youtube.com/c/duluxoz
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks