BRD LUA Help

Eorzea Time
 
 
 
Langues: JP EN FR DE
users online
Forum » FFXI » Jobs » Bard » BRD LUA help
BRD LUA help
 Asura.Cherished
Offline
Serveur: Asura
Game: FFXI
Posts: 35
By Asura.Cherished 2019-01-16 03:05:22
Link | Citer | R
 
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?
 Leviathan.Isiolia
Offline
Serveur: Leviathan
Game: FFXI
user: Isiolia
Posts: 472
By Leviathan.Isiolia 2019-01-16 08:03:55
Link | Citer | R
 
Do you have the necessary includes? That function is defined in the sammeh_custom_functions.lua file (can get here).
 Asura.Cherished
Offline
Serveur: Asura
Game: FFXI
Posts: 35
By Asura.Cherished 2019-01-16 10:14:22
Link | Citer | R
 
Leviathan.Isiolia said: »
Do you have the necessary includes? That function is defined in the sammeh_custom_functions.lua file (can get here).

Yeah, I have that lua
 Bahamut.Nebohh
Offline
Serveur: Bahamut
Game: FFXI
user: Kealohaa
Posts: 156
By Bahamut.Nebohh 2019-01-16 11:05:37
Link | Citer | R
 
Are all those files in the data folder?
 Asura.Cherished
Offline
Serveur: Asura
Game: FFXI
Posts: 35
By Asura.Cherished 2019-01-16 20:07:12
Link | Citer | R
 
Correct, they're in the data folder
 Bahamut.Spoilt
Offline
Serveur: Bahamut
Game: FFXI
user: Spoiled
Posts: 16
By Bahamut.Spoilt 2019-01-16 22:18:17
Link | Citer | R
 
Sometimes adding new files to gearswap can require a reboot of windower, try relaunching if you haven't already.
 Leviathan.Isiolia
Offline
Serveur: Leviathan
Game: FFXI
user: Isiolia
Posts: 472
By Leviathan.Isiolia 2019-01-17 07:48:12
Link | Citer | R
 
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
By Sammeh 2019-01-17 17:09:30
Link | Citer | R
 
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
 Bismarck.Syuevil
Offline
Serveur: Bismarck
Game: FFXI
user: Syuevil
Posts: 19
By Bismarck.Syuevil 2019-01-23 23:23:36
Link | Citer | R
 
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: 423
By Autocast 2019-01-24 15:53:35
Link | Citer | R
 
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
 Bismarck.Syuevil
Offline
Serveur: Bismarck
Game: FFXI
user: Syuevil
Posts: 19
By Bismarck.Syuevil 2019-01-24 16:09:33
Link | Citer | R
 
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: 423
By Autocast 2019-01-24 17:16:16
Link | Citer | R
 
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.
 Bismarck.Syuevil
Offline
Serveur: Bismarck
Game: FFXI
user: Syuevil
Posts: 19
By Bismarck.Syuevil 2019-01-24 18:34:19
Link | Citer | R
 
Working good so far, no issues. Thanks again!
necroskull Necro Bump Detected! [434 days between previous and next post]
 Cerberus.Ccarlos
Offline
Serveur: Cerberus
Game: FFXI
user: ccarlos
Posts: 13
By Cerberus.Ccarlos 2020-04-02 08:34:20
Link | Citer | R
 
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?
necroskull Necro Bump Detected! [385 days between previous and next post]
Offline
Posts: 30
By Yzen 2021-04-22 04:21:14
Link | Citer | R
 
Anyone have a current BRD lua for 2021 that they can share?
Offline
Posts: 464
By drakefs 2021-04-22 06:58:45
Link | Citer | R
 
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.
 Asura.Nususu
Offline
Serveur: Asura
Game: FFXI
user: nususu
Posts: 109
By Asura.Nususu 2021-04-22 08:27:53
Link | Citer | R
 
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
By Yzen 2021-04-24 08:55:49
Link | Citer | R
 
I'm going to look into these -- thank you!!
Offline
Posts: 517
By Davorin 2021-04-24 11:58:12
Link | Citer | R
 
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.