Gearswap Support Thread

Eorzea Time
 
 
 
Language: JP EN FR DE
users online
Forum » Windower » Support » Gearswap Support Thread
Gearswap Support Thread
First Page 2 3 ... 10 11 12 ... 183 184 185
Offline
Posts: 429
By Selindrile 2014-05-20 18:19:39
Link | Quote | Reply
 
Sorry for putting this here but, I'm getting

GearSwa: Lua error (unknown: 1) /windowerdirectory//addons/gearswap/statics.lua:61 bad argument #1 to 'pairs' (table expected, got nil)

Whenever I start up or try to load gearswap, I've tried a fresh gearswap (deleting and re-downloading the addon), any help would be appreciated, won't load even without a job lua file.
 Lakshmi.Byrth
VIP
Offline
Server: Lakshmi
Game: FFXI
user: Byrthnoth
Posts: 6191
By Lakshmi.Byrth 2014-05-20 18:24:00
Link | Quote | Reply
 
This is your problem:
http://www.ffxiah.com/forum/topic/43127/gearswap-after-145/3/#2623370

Not sure why it is still happening.
 Ragnarok.Arcalimo
Offline
Server: Ragnarok
Game: FFXI
user: arcalimo
Posts: 254
By Ragnarok.Arcalimo 2014-05-20 18:49:34
Link | Quote | Reply
 
Hello people,

Can someone assist with this? Trying to migrate my sch .xml but its driving me mad.

With spellcast I had this part working like this:

I've tried the following in gearswap but only dark arts, the first rule, it's working as intended.

Thanks in advance :)
 Asura.Aikchan
Offline
Server: Asura
Game: FFXI
user: Aikawa
Posts: 373
By Asura.Aikchan 2014-05-20 21:42:19
Link | Quote | Reply
 
case sensitive? Dark Arts instead dark arts? same for addendum: black, or the game have them in lowercase?
 Lakshmi.Byrth
VIP
Offline
Server: Lakshmi
Game: FFXI
user: Byrthnoth
Posts: 6191
By Lakshmi.Byrth 2014-05-20 21:49:22
Link | Quote | Reply
 
Most tables that I pass to the user (including buffactive) are not case sensitive.
Offline
Posts: 429
By Selindrile 2014-05-20 22:54:27
Link | Quote | Reply
 
I downloaded the res folder, and there was another update today for a few things, one or the other seems to have fixed it. Thanks much Byrth.
 
Offline
Posts:
By 2014-05-21 07:30:45
 Undelete | Edit  | Link | Quote | Reply
 
Post deleted by User.
 Bahamut.Reconxx
Offline
Server: Bahamut
Game: FFXI
user: Draxx
Posts: 4
By Bahamut.Reconxx 2014-05-21 17:19:00
Link | Quote | Reply
 
Getting a error as of tonight, guessing its a resource error ? Gearswap not even loading. Any ideas would be appreciated.
Gearswap: Lua errorr (unknown: 1) - Gearswap/statics.lua:61: bad argument #1 to 'pairs' (table expected,got nil)
 Cerberus.Conagh
Offline
Server: Cerberus
Game: FFXI
user: onagh
Posts: 3189
By Cerberus.Conagh 2014-05-21 17:20:05
Link | Quote | Reply
 
Bahamut.Reconxx said: »
Getting a error as of tonight, guessing its a resource error ? Gearswap not even loading. Any ideas would be appreciated.
Gearswap: Lua errorr (unknown: 1) - Gearswap/statics.lua:61: bad argument #1 to 'pairs' (table expected,got nil)

Seems so, there's a direct link somewhere on one of these Gearswap threads (there's 3) that has the link.
 Lakshmi.Byrth
VIP
Offline
Server: Lakshmi
Game: FFXI
user: Byrthnoth
Posts: 6191
By Lakshmi.Byrth 2014-05-21 17:25:24
Link | Quote | Reply
 
It looks like this is a persistent error D:

I bet there's just something wrong with the launcher. Here is a link to the most current resources:
https://www.dropbox.com/s/jqldiacoxlpzix3/res.zip
 Bahamut.Reconxx
Offline
Server: Bahamut
Game: FFXI
user: Draxx
Posts: 4
By Bahamut.Reconxx 2014-05-21 17:28:38
Link | Quote | Reply
 
thanks alot, loaded fine now much appreciated
 Asura.Jezzus
Offline
Server: Asura
Game: FFXI
user: L30x
Posts: 410
By Asura.Jezzus 2014-05-21 23:34:58
Link | Quote | Reply
 
Idk how to get in touch with the author of the Kinematics Files but I was curious about something with the BRD one.

When Nightingale is active, does it adjust accordingly to instant cast by skipping the usual precast set and instead precasting in midcast set for full potency? It doesnt seem so... I understand this is dependent on whether a player 5/5s nightingale though.

If someone could explain how exactly to make a rule here atleast, it would be appreciated. I'm kind of confused among the rules still... Especially with all the mote/include files going on.

I also was wondering what the command was to check what swaps are being made so next time with such a case I can find out for sure what is going before I inquire. (seen the command somewhere before couldnt find it again.)

Another thing, IDK if its coincidence but he seems to have adopted the organization style of rules that I suggested for someone complaining about how lua looks in the recent spellcast thread. *thumbs up* :P
 
Offline
Posts:
By 2014-05-21 23:36:50
 Undelete | Edit  | Link | Quote | Reply
 
Post deleted by User.
 Leviathan.Arcon
VIP
Offline
Server: Leviathan
Game: FFXI
user: Zaphor
Posts: 666
By Leviathan.Arcon 2014-05-21 23:40:44
Link | Quote | Reply
 
It always equips precast-gear, but it's not an issue. GearSwap will even swap midcast-gear correctly on instant spells, such as job abilities, weapon skills and quick casting procs.

The command you're looking for is //gs showswaps I think, but not entirely sure.
 
Offline
Posts:
By 2014-05-21 23:41:26
 Undelete | Edit  | Link | Quote | Reply
 
Post deleted by User.
 Asura.Jezzus
Offline
Server: Asura
Game: FFXI
user: L30x
Posts: 410
By Asura.Jezzus 2014-05-21 23:49:17
Link | Quote | Reply
 
Leviathan.Arcon said: »
It always equips precast-gear, but it's not an issue. GearSwap will even swap midcast-gear correctly on instant spells, such as job abilities, weapon skills and quick casting procs.

The command you're looking for is //gs showswaps I think, but not entirely sure.

good to know, thank you
 Asura.Shystie
Offline
Server: Asura
Game: FFXI
user: Shystie
Posts: 41
By Asura.Shystie 2014-05-22 05:12:07
Link | Quote | Reply
 
I am writing my first lua file. I am basing it off of Motenten's template and am making it for RNG. I am thinking about the logic for EES. EES is a job ability but I would like to be able to toggle to specific accuracy sets as needed. My modes are set up as follows:

As I started writing I was making the sets for EES as follows:

Am I correct in thinking I cannot do it this way as I don't have a "JA mode". If so, any suggestions how I can code this to keep it consistent with how Motenten has coded these awesome scripts?

Thanks!
 Quetzalcoatl.Orestes
Offline
Server: Quetzalcoatl
Game: FFXI
user: Orestes78
Posts: 430
By Quetzalcoatl.Orestes 2014-05-22 12:32:13
Link | Quote | Reply
 
Asura.Shystie said: »
I am writing my first lua file. I am basing it off of Motenten's template and am making it for RNG. I am thinking about the logic for EES. EES is a job ability but I would like to be able to toggle to specific accuracy sets as needed. My modes are set up as follows:

As I started writing I was making the sets for EES as follows:

Am I correct in thinking I cannot do it this way as I don't have a "JA mode". If so, any suggestions how I can code this to keep it consistent with how Motenten has coded these awesome scripts?

Thanks!

You should be able to add this function near the bottom of your file to make the above sets work. (haven't tested it)
Code
function job_get_spell_map(spell, default_spell_map)
    if spell.english == 'Eagle Eye Shot' then
        if state.RangedMode == 'MedAcc' then
            return 'MedAcc'
        elseif state.RangedMode == 'FullAcc' then
            return 'FullAcc'
        end
    end
end
[+]
 Fenrir.Motenten
VIP
Offline
Server: Fenrir
Game: FFXI
user: Motenten
Posts: 764
By Fenrir.Motenten 2014-05-22 12:54:43
Link | Quote | Reply
 
Valid point. I've added a small thing for situations such as this.

There's now a classes.JAMode variable. It's like classes.CustomClass in that it resets after each action. It only applies to non-weaponskill abilities (and, despite it having JA in the name, it applies to other spell.type values, such as CorsairShot, Rune, etc).

For your purposes, what you'd want is something like this:
Code
function job_precast(spell, ...)
    if spell.english == 'Eagle Eye Shot' then
        classes.JAMode = state.RangedMode
    end
end


And then you can use your customized sets:
Code
sets.precast.JA['Eagle Eye Shot'].MedAcc = set_combine(sets.precast.JA['Eagle Eye Shot'], {})
sets.precast.JA['Eagle Eye Shot'].FullAcc = set_combine(sets.precast.JA['Eagle Eye Shot'], {})


Update Mote-Include to get this working.
[+]
 Fenrir.Motenten
VIP
Offline
Server: Fenrir
Game: FFXI
user: Motenten
Posts: 764
By Fenrir.Motenten 2014-05-22 12:56:05
Link | Quote | Reply
 
Orestes' suggestion would also work, though you'd probably want to set the spell map to something like EES_MedAcc, and then create the set as sets.precast.EES_MedAcc.
[+]
By Aviance 2014-05-22 13:16:52
Link | Quote | Reply
 
Hello, I'm getting back to the game after a hiatus and trying to convert my spellcasts to gearswap. I had this function in AutoExec that stopped working a while back, but I'd like to try and implement it in GearSwap now.

It's for Summoner, I want it to check if I've been slept and if I have an avatar out, if I do, I want it to kill my stoneskin and swap in my Sacrifice Torque for a tic to wake me up. Swapping it back out again after would be ideal, but I can always just take another action to fix it, if needed.

This is what I have so far:
Code
function auto_awake(buff, gain)
	if buff == 'Sleep' then
		if pet.isvalid then
			cancel 'Stoneskin'
			idleSet = set_combine(idleSet, 'Sacrifice Torque')
			return idleSet
		end
	end
end


Thank you for any advice.
 Fenrir.Motenten
VIP
Offline
Server: Fenrir
Game: FFXI
user: Motenten
Posts: 764
By Fenrir.Motenten 2014-05-22 13:42:32
Link | Quote | Reply
 
Aviance said: »
Hello, I'm getting back to the game after a hiatus and trying to convert my spellcasts to gearswap. I had this function in AutoExec that stopped working a while back, but I'd like to try and implement it in GearSwap now.

It's for Summoner, I want it to check if I've been slept and if I have an avatar out, if I do, I want it to kill my stoneskin and swap in my Sacrifice Torque for a tic to wake me up. Swapping it back out again after would be ideal, but I can always just take another action to fix it, if needed.
Code
function buff_change(buff, gain)
    if buff == 'Sleep' then
        if gain and pet.isvalid then
            send_command('cancel stoneskin')
            equip({neck="Sacrifice Torque"})
        elseif player.equipment.neck == "Sacrifice Torque" then
            equip({neck="whatever default gear"})
        end
    end
end


This requires that you have the Cancel addon loaded as well.
 Quetzalcoatl.Orestes
Offline
Server: Quetzalcoatl
Game: FFXI
user: Orestes78
Posts: 430
By Quetzalcoatl.Orestes 2014-05-22 13:55:21
Link | Quote | Reply
 
Fenrir.Motenten said: »
Orestes' suggestion would also work, though you'd probably want to set the spell map to something like EES_MedAcc, and then create the set as sets.precast.EES_MedAcc.

I'll have to re-read Mote-Include. I had it in my head that spellMap was appended after sets.precast.JA, allowing sets.precast.JA['Eagle Eye Shot'].MidAcc, etc. to work. Thanks for the clarification.

JAMode sounds really nice, and much more intuitive to use.

Thanks
 Fenrir.Motenten
VIP
Offline
Server: Fenrir
Game: FFXI
user: Motenten
Posts: 764
By Fenrir.Motenten 2014-05-22 14:04:37
Link | Quote | Reply
 
Quetzalcoatl.Orestes said: »
Fenrir.Motenten said: »
Orestes' suggestion would also work, though you'd probably want to set the spell map to something like EES_MedAcc, and then create the set as sets.precast.EES_MedAcc.

I'll have to re-read Mote-Include. I had it in my head that spellMap was appended after sets.precast.JA, allowing sets.precast.JA['Eagle Eye Shot'].MidAcc, etc. to work. Thanks for the clarification.

JAMode sounds really nice, and much more intuitive to use.

Thanks

Sorry, was a typo. Meant that if you used the spell map, that replaces the spell name. So you couldn't reference it using ['Eagle Eye Shot'], but would instead use sets.precast.JA.EES_MedAcc.

But yeah, JAMode should work better for what you want.
[+]
 Asura.Shystie
Offline
Server: Asura
Game: FFXI
user: Shystie
Posts: 41
By Asura.Shystie 2014-05-22 14:47:07
Link | Quote | Reply
 
Thanks for your help! Off to class and then back here to code some more. =)
 Fenrir.Brimstonefox
Offline
Server: Fenrir
Game: FFXI
user: Brimstone
Posts: 183
By Fenrir.Brimstonefox 2014-05-22 20:48:26
Link | Quote | Reply
 
Hi new to gearswap and using Mote's files. I'm trying to make a DRG one, and was hoping to set it up so I could switch between weapons with //polearm or //staff via:
alias polearm input /console gs c set CombatWeapon Polearm
alias staff input /console gs c set CombatWeapon Staff

In an init file.

As such I've coded some set.engaged.Polearm sets and set.engaged.Staff sets.

I can seem to figure out how to make the state.CombatWeapon work for me though I keep getting DRG.lua:88: attempt index field 'Polearm' (a nil value)
Line 88 is this:
sets.engaged.Polearm.Normal = set_combine(sets.engaged, {main="Gungnir", sub="Pole Grip",ammo="Potestas Bomblet"})
 Odin.Sukuba
Offline
Server: Odin
Game: FFXI
user: Sukuba
Posts: 65
By Odin.Sukuba 2014-05-22 21:29:43
Link | Quote | Reply
 
First off, I'll admit I haven't done much searching on the subject, but is there a list somewhere with most/all key-binding options?

I'm trying to make some binds on my number pad, but can't figure them out. Is it possible?
 
Offline
Posts:
By 2014-05-22 21:39:12
 Undelete | Edit  | Link | Quote | Reply
 
Post deleted by User.
 Fenrir.Motenten
VIP
Offline
Server: Fenrir
Game: FFXI
user: Motenten
Posts: 764
By Fenrir.Motenten 2014-05-22 22:01:15
Link | Quote | Reply
 
Odin.Sukuba said: »
First off, I'll admit I haven't done much searching on the subject, but is there a list somewhere with most/all key-binding options?

I'm trying to make some binds on my number pad, but can't figure them out. Is it possible?

Read the Windower wiki: http://wiki.windower.net/doku.php?id=windower:commands

Angierus said: »
Is it possible to plug in gear in any order? like main hat sub ammo ect.

Yes. Read the "Advanced Sets Tables.txt" file in GearSwap's beta folder.
 
Offline
Posts:
By 2014-05-22 23:15:37
 Undelete | Edit  | Link | Quote | Reply
 
Post deleted by User.
First Page 2 3 ... 10 11 12 ... 183 184 185