Well heres the error anyway:
GearSwap: Lua error (runtime) - ... files (x86)/Windower4//addons/GearSwap/GearSwap.lua:331: attempt to index global 'original' (a nil value)
Well heres the error anyway:
GearSwap: Lua error (runtime) - ... files (x86)/Windower4//addons/GearSwap/GearSwap.lua:331: attempt to index global 'original' (a nil value)
Okay, thanks. I reverted the live version to the last working one so you can just re-run launcher and pull it down. The test one is back on -dev.
Still getting an error, preventing it from loading again D:
Same as the first one, but gearswap.lua:330: unexpected symbol near '<'
Github messed up my revert. Going to have to go in and manually fix it. Just a minute.
Edit: Okay, now it is fixed. I don't know why that happens sometimes.
Seems good now, thanks for the quick fix(es).
The last update to the Distance addon was 4 months ago (not counting the mini-update to it I did just now, which doesn't change addon behavior at all), so not sure what's up with that... but as long as it's fixed![]()
Just noticed why it seemed 'fixed', I'm on WHM. It works fine with subtargets via macro or chatline (anything with an <st>), but doesn't work when subtargeting from a menu selection (which is often how I subtarget a WS).
So menu selections are where it was broken. I can see how a test case would slip through.
Separate note: Bit annoying how Shortcuts will retarget something that can't be cast on alliance members onto myself, but I don't see how to prevent it. I keep blowing Regen 4's because I see it casting and don't think about who I threw it at.
Edit: Just figured out what I first noticed it on: Switch target. I can't see if I'm within 30' when switching.
Hey Arcon, have you got any ETA on ffxidb update for kamihr and stuff? (not to sound like I'm demanding it or anything, just for curiosity. been a while since I last heard about it D: )
Speaking of which, I've always wondered if the FFXIDB plugin could work in theory in areas where there's not an accessible map.
It does work in Nyzul Assault if I recall... so in theory it should be able to work in other similar areas like BCs, Delve and Skirmish for instance. It would be awesome if we could use it especially in these last 2. I often get lost in Yorcia Delve (damn those bushes!)
FFXIDB got kinda side-tracked by all other updates, and fixing the mapping issues we had turned out to be harder than it looked, so atm there's no ETA. Our map guy has been rather silent on IRC lately, not sure if he has the time to work on it more. We may just result to using the previous and try to expand it to the new zones for now. Cannot tell you when that will happen I'm afraid, but I'll look into it.
It does support custom maps, but you have to copy them into some sub directory or something, not entirely sure. But the default option is to just read in-game maps, and since there are no in-game maps for most BCs, that's not possible. I'll have to look up how to use custom maps first before I can tell you how.
If fixing FFXIDB is proving so hard, wouldn't developing a new luabased addon prove to be a better solution? An addon born with the specific purpose of being an on-screen minimap. (Since FFXIDB was originally born with a different goal and online maps was just a byproduct, if I recall).
For zones that have no maps, like Delve, you could use custom maps (someone needs to make them tho! xD) put into the addon folder, and for Skirmish well... you have maps there even if it's a bit clunky with how it handles separated maps but such an addon should be able to handle it even if you do not unlock maps within Skirmish with the temp KI.
A Lua based addon would be impossible with our current API for more than one reason (no DirectX access being the main culprit here, so we can't draw on the screen like that). Also, even if it worked, we'd be having the same problem there that we have now, only with the added complication of having to do it all over from scratch.
And like I said, currently it's already possible to use custom maps. You have to put them in Windower/plugins/FFXIDB/map/maps/, and they need to be in the format <zone>_<map>.<png|jpg|bmp>.
I just fixed this so it'll always work and I'll push it live today with the update.
Due to the recent mods to the /equip command, we recommend you do not use GearSwap until we verify the equipment change packet is safe. We are going to disable the set_equip function in LuaCore, but anyone who loaded Windower beforehand will have an old version.
Verified, new LuaCore is out with Wardrobe. However, the equipment struct may still act wonky if you use Wardrobe, we will have to adjust that in Hook.
Noticed that I'm unable to use any job abilities with GearSwap loaded. I.e, using berserk with a macro gives the "...cannot attack that target." If trying to use it manually through JA windows, JA doesn't get used and there's no "...cannot attack that target," message. Unloaded the addon and able to use JA both ways.
Its may be just you. I'm on RNG/WAR, with my RNG.lua loaded, and im able to use Velocity Shot, Barrage, Sharpshot, Berserk, Warcry, Double Shot, Decoy Shot, all with no issues.
I use a simple gearswap. no includes, keybinds, etc, if that helps or makes a difference.