I just downloaded Sammeh's BRD lua and when I go to cast chocobo mazurka I get an error...
And when I do any other song it gives 2 errors...
Any idea's for how to fix the error?
BRD LUA Help |
||
BRD LUA help
Asura.Cherished
Offline
I just downloaded Sammeh's BRD lua and when I go to cast chocobo mazurka I get an error...
And when I do any other song it gives 2 errors... Any idea's for how to fix the error? Do you have the necessary includes? That function is defined in the sammeh_custom_functions.lua file (can get here).
Asura.Cherished
Offline
Are all those files in the data folder?
Asura.Cherished
Offline
Correct, they're in the data folder
Sometimes adding new files to gearswap can require a reboot of windower, try relaunching if you haven't already.
Are you somehow trying to cast on a party member that's out of range or out of the zone or something?
Seems like you're getting an error from flow.lua (core part of Gearswap) first, which may be leaving that function/the rest of your LUA with a null command to process. Offline
Posts: 182
Hey happy to help support over PM too. I haven't updated BRD in a while but a piece of gear here n there; logic is still the same. I do update the sammeh_custom_functions somewhat regularly but mainly for other jobs.
the checkblocking(spell) function checks to make sure you'er able to cast (not silenced, terrored, slept, timers available etc) - also if you're Running it automatically stops running; casts spell; then sets a flag to start running again. Really a great function to have in the pretarget phase. Anyway - happy to help. -Sammeh I'm not sure how relevant this may be for this thread but I've started looking into making certain GearSwap commands to help make dual boxing easier. The idea was to make certain GearSwap commands that I'd ideally like to save to each of my character's Globals file just to keep the individual job lua's a little cleaner. This is what I started with (saved in my character.globals.lua):
Code function self_command (command) if command == 'warp' then send_command('input /equip ring2 "Warp Ring"; wait 10; input /item "Warp Ring" <me>') add_to_chat(155, 'Warping') elseif command == 'mount' then send_command('input /ma "Crawler" <me>') add_to_chat(153, 'Giddy-Up!') end end I'm running into an issue with this syntax however, all of my various F9-F12 standard functions no longer work once the above has been created. Does anyone have an idea on how I can correct this, or if there is a more ideal way to add such commands for us? I was planning to make varied song set commands. I would like to try to keep such commands in the globals.lua if possible as I'd like to implement various QoL addons with this method such as using Temps, HomePoint, etc. with //send. Hopefully this is clear enough! Offline
Posts: 401
I know literally nothing about gearswap, but when I first tried this I had the same issue, at least when using motes based gearswaps.
What I found to work in both the job_lua and/or the character-globals is the following: Code function job_self_command(cmdParams, eventArgs) if cmdParams[1]:lower() == 'warp' then send_command('input /equip ring2 "Warp Ring"; wait 10;input /item "Warp Ring" <me>') add_to_chat(155, 'Warping') elseif cmdParams[1]:lower() == 'mount' then send_command('input /ma "Crawler" <me>') add_to_chat(153, 'Giddy-Up!') end end The following seemed to only work in non motes LUA for me, whenever I used it in a motes-include one it would break things. Code function self_command(command) if command =='' then send_command('') end end however the following seems to work fine in motes based luas when put in either the job gearswap or the character globals without issue so far Code function job_self_command(cmdParams, eventArgs) if cmdParams[1]:lower() == 'warp' then send_command ('') end end Autocast said: » I know literally nothing about gearswap, but... I'll mess with it when I get home. I do use Mote job luas and I pretty quickly figured that was behind the conflict after I had posted that. Thanks! Offline
Posts: 401
should add that if your job_lua file has said commands in it, putting commands into a global file seems to override it and make it not work, so would have to put the job specific ones in your global as well.
Working good so far, no issues. Thanks again!
Necro Bump Detected!
[434 days between previous and next post]
i need a little help please i have just downloaded the lua i have most of working but im not very good with this stuff is there a way to get auto gear change turned off with casting under ja's?
Necro Bump Detected!
[385 days between previous and next post]
Offline
Posts: 30
Anyone have a current BRD lua for 2021 that they can share?
Offline
Posts: 399
Can try Arislan's or Selindrile's BRD luas.
I personally used Arislan's lua as a base and ended up disabling a lot of functionality that I didn't need. drakefs said: » Can try Arislan's or Selindrile's BRD luas. I personally used Arislan's lua as a base and ended up disabling a lot of functionality that I didn't need. Not OP but thanks for sharing these -I’ve been looking for an upgrade for a while. I noticed in Arislan’s the pianissimo functionality is commented out - do you know if it’s functional to add back in, and how it works? If not I can play around with it a bit as pianissimo handling is something I’ve been looking for. Offline
Posts: 30
I'm going to look into these -- thank you!!
Asura.Nususu said: » drakefs said: » Can try Arislan's or Selindrile's BRD luas. I personally used Arislan's lua as a base and ended up disabling a lot of functionality that I didn't need. Not OP but thanks for sharing these -I’ve been looking for an upgrade for a while. I noticed in Arislan’s the pianissimo functionality is commented out - do you know if it’s functional to add back in, and how it works? If not I can play around with it a bit as pianissimo handling is something I’ve been looking for. Basically, it will automatically use pianissimo if you have another player targeted and use a buff song. |
||
All FFXI content and images © 2002-2024 SQUARE ENIX CO., LTD. FINAL
FANTASY is a registered trademark of Square Enix Co., Ltd.
|