GearSwap For Dummies!

Eorzea Time
 
 
 
言語: JP EN FR DE
日本語版のFFXIVPRO利用したい場合は、上記の"JP"を設定して、又はjp.ffxivpro.comを直接に利用してもいいです
users online
フォーラム » FFXI » Jobs » Dancer » GearSwap for Dummies!
GearSwap for Dummies!
First Page 2 3 4 5 6
 Asura.Wyattdoc
Offline
サーバ: Asura
Game: FFXI
user: wyattdoc1
Posts: 346
By Asura.Wyattdoc 2014-05-22 19:36:04  
Fenrir.Motenten said: »
Quote:
still looking for a answer on this

Still waiting for a response on what you get when you make that change.
sorry late getting bk to you on this but it say no adlivun bullet
and now since update i get a lua error lua error (runtime)- ...m fules (x86)/windower4//addons/gearswap/refresh. and the rest is cut off pls help
 Asura.Wyattdoc
Offline
サーバ: Asura
Game: FFXI
user: wyattdoc1
Posts: 346
By Asura.Wyattdoc 2014-05-22 23:37:34  
bump
 Lakshmi.Zerowone
Offline
サーバ: Lakshmi
Game: FFXI
user: Zerowone
Posts: 6949
By Lakshmi.Zerowone 2014-05-22 23:50:56  
Gearswap/Refresh.lua :131: and Gearswap/Sets.lua ?

Did the file load and then the program became unresponsive for 30s to a minute?
 Asura.Wyattdoc
Offline
サーバ: Asura
Game: FFXI
user: wyattdoc1
Posts: 346
By Asura.Wyattdoc 2014-05-23 00:04:41  
Lakshmi.Zerowone said: »
Gearswap/Refresh.lua :131: and Gearswap/Sets.lua ?

Did the file load and then the program became unresponsive for 30s to a minute?
no it crashed windower so it wouldnt load
 Asura.Wyattdoc
Offline
サーバ: Asura
Game: FFXI
user: wyattdoc1
Posts: 346
By Asura.Wyattdoc 2014-05-23 17:41:43  
bump
 Fenrir.Motenten
VIP
Offline
サーバ: Fenrir
Game: FFXI
user: Motenten
Posts: 764
By Fenrir.Motenten 2014-05-24 16:50:23  
Asura.Wyattdoc said: »
Fenrir.Motenten said: »
Quote:
still looking for a answer on this

Still waiting for a response on what you get when you make that change.
sorry late getting bk to you on this but it say no adlivun bullet
and now since update i get a lua error lua error (runtime)- ...m fules (x86)/windower4//addons/gearswap/refresh. and the rest is cut off pls help

The update with the wardrobe patch broke some things related to resources that generated that error. I assume you've run the launcher since then to update all the Windower stuff? You shouldn't be getting that error anymore. If you are then it may be simpler to reinstall Windower just to make sure it has all the proper bits in place.

Regarding the test, I'd rewritten the bullet-checking code in the Cor files. Have you updated and checked that version? Also make sure you have all the latest Mote-* files, as I've pushed changes for them over the last few days.
 Asura.Wyattdoc
Offline
サーバ: Asura
Game: FFXI
user: wyattdoc1
Posts: 346
By Asura.Wyattdoc 2014-05-24 17:19:10  
ok so just redownload the cor file and i should be good to go plus the latest motes?
 Fenrir.Motenten
VIP
Offline
サーバ: Fenrir
Game: FFXI
user: Motenten
Posts: 764
By Fenrir.Motenten 2014-05-24 18:17:48  
Yes. I've tested it, and it all seems to behave as I would expect it to.
Offline
Posts: 362
By gargurty 2014-05-25 02:21:40  
hey moten:) there is a problem with refresh.lua
im getting the following error:
gearswap: lua error (runtime) - gearswap/refresh.lua:75
attempt to concatenate field 'short'(a nil value)

you know how to fix this?
 Fenrir.Motenten
VIP
Offline
サーバ: Fenrir
Game: FFXI
user: Motenten
Posts: 764
By Fenrir.Motenten 2014-05-25 03:49:34  
refresh.lua is a GearSwap file, not one of mine. You need to report the problem to Byrth's or Windower's bug trackers.
Offline
Posts: 362
By gargurty 2014-05-25 04:12:56  
ok ty :)
Offline
Posts: 2
By kayezel 2014-06-05 17:58:46  
hello i have a very super beginner question.
i have no clue how to use this so what i did was just add in the gear i had over motes gear but i cant seem to get it to work out for me if anyone could help me out it would be awesome
 Quetzalcoatl.Jykia
Offline
サーバ: Quetzalcoatl
Game: FFXI
user: jykia
Posts: 22
By Quetzalcoatl.Jykia 2014-06-05 22:50:48  
been fiddling with my gs to get it working right, and now my gear lock when engaged isn't working. im fairly certain its in the rules somewhere

http://pastebin.com/uSwqp8RM

any help would be awesome
 Asura.Keilyn
Offline
サーバ: Asura
Game: FFXI
user: xff8x
Posts: 10
By Asura.Keilyn 2014-06-09 17:01:35  
Oh man, my brain is burning...
Offline
サーバ: Shiva
Game: FFXI
user: cdospawn
Posts: 15
By Shiva.Deathblossoms 2014-06-18 03:31:15  
I am having some problems with my War lua and was hoping to see if i could maybe get some help with it.

The only war Lua i could find was from Bokura and i am trying to change the main weapon from Conqueror but i keep getting an error and my lua file will not load. I am using the Iclamar +2 while i am making my new GA and was hoping to see if i could get some help to fix the problem.

Here is and excerpt from my Lua
and for my whole Lua file is this
 Bismarck.Inference
Offline
サーバ: Bismarck
Game: FFXI
user: Inference
Posts: 417
By Bismarck.Inference 2014-06-18 04:52:14  
My quick guess would be use ['Iclamar +2'] anywhere you put Iclamar +2, anytime you're trying to name a set with spaces or other special characters, you will have to name it in this way.(Note, when naming a set like this you do not use a period inbetween. So for instance instead of sets.precast.Something.Low it would be sets.precast['Something'].Low (no period between precast and something, but there is still one between something and low)

Also for future debugging :

1)Please use code tags to make reading easier.
2)When you receive an error, your console should spit out a message. Please let us know what it says. If it includes a specific line number, post the chunk of code around that line so we don't have an entire file to read through.
[+]
Offline
サーバ: Shiva
Game: FFXI
user: cdospawn
Posts: 15
By Shiva.Deathblossoms 2014-06-18 09:55:36  
Thank you for the help and that helped fix the problem. Sorry about not using code tags i am still new to posting on here just let me know how and i will make sure to use them next time i need to and i am very sorry for the trouble.
 Fenrir.Moldtech
Offline
サーバ: Fenrir
Game: FFXI
user: Moldtech
Posts: 574
By Fenrir.Moldtech 2014-06-22 10:37:35  
I have a question! I'm putting the K'ayres Ring in my engaged set but is this ring going to pose me some problems seeing as it has that apostrophe in it?

Nevermind, I need to write it like so apparently: K\'ayres Ring
 Cerberus.Conagh
Offline
サーバ: Cerberus
Game: FFXI
user: onagh
Posts: 3189
By Cerberus.Conagh 2014-06-22 11:41:00  
Fenrir.Moldtech said: »
I have a question! I'm putting the K'ayres Ring in my engaged set but is this ring going to pose me some problems seeing as it has that apostrophe in it?

Nevermind, I need to write it like so apparently: K\'ayres Ring

Code
	sets.WS["Tachi: Jinpu"] = {    
	range={ name="Cibitshavore", augments={'STR+10','Rng.Acc.+8','"Store TP"+3',}},
    ammo="Tulfaire Arrow",
    head={ name="Sakonji Kabuto +1", augments={'Enhances "Ikishoten" effect',}},
    body="Phorcys Korazin",
    hands={ name="Miki. Gauntlets", augments={'Attack+15','Accuracy+10','STR+10',}},
    legs="Wakido Haidate +1",
    feet={ name="Otronif Boots +1", augments={'Phys. dmg. taken -2%','Attack+5',}},
    neck="Asperity Necklace",
    waist="Snow Belt",
    left_ear="Friomisi Earring",
    right_ear="Hecate's Earring",
    left_ring="Rajas Ring",
    right_ring="K'ayres Ring"
    back="Toro Cape",
}


works fine.

right_ring="K'ayres Ring"
 Cerberus.Conagh
Offline
サーバ: Cerberus
Game: FFXI
user: onagh
Posts: 3189
By Cerberus.Conagh 2014-06-22 11:45:09  
Quetzalcoatl.Jykia said: »
been fiddling with my gs to get it working right, and now my gear lock when engaged isn't working. im fairly certain its in the rules somewhere

http://pastebin.com/uSwqp8RM

any help would be awesome

Not even going to try and mess with motes Gearswap, too many factors to take into account with 5 includes >_>

Can you show us the snippet you changed to narrow the issue a little?
 Ragnarok.Azryel
Offline
サーバ: Ragnarok
Game: FFXI
user: Azryel
Posts: 317
By Ragnarok.Azryel 2014-06-22 11:59:37  
Every once in a while my THF GS derps after a stacked Mercy Stroke and I get stuck in some form of hybrid WS set with my flume belt equipped; it’s pretty strange and is generally unresponsive (meaning I can run around in idle and switch to PDT, etc., but it will continue to revert back to that WS/flume set when “engaged”) unless I reload the add-on.

My knowledge is fairly limited on the subject, but I’m assuming I’m running into problems in the player status section; I’m guessing the Sneak Attack triggers and gets used so quickly that the GS doesn’t recognize that it’s gone… although I could be way off, so I'm attaching the bulk of my rules subsection.

Does anything in here look problematic? This seems to happen like once every 5-6 stacked Mercies, but I don't think it was happening before I made a rule change to keep augmented relic pants on until the feint blow landed... I'm not sure if that has anything to do with it, because if it was happening before that rule change I didn't notice it.

Code
function pretarget(spell,action)
	if (spell.type:endswith('Magic') or spell.type == "Ninjutsu") and buffactive.silence then -- Auto Use Echo Drops If You Are Silenced --
		cancel_spell()
		send_command('input /item "Echo Drops" <me>')
	elseif spell.english == "Berserk" and buffactive.Berserk then -- Change Berserk To Aggressor If Berserk Is On --
		cancel_spell()
		send_command('Aggressor')
	elseif spell.type == "WeaponSkill" and spell.target.distance > target_distance and player.status == 'Engaged' then -- Cancel WS If You Are Out Of Range --
		cancel_spell()
		add_to_chat(123, spell.name..' Canceled: [Out of Range]')
		return
	end
end

function precast(spell,action)
	if spell.type == "WeaponSkill" then
		if player.status ~= 'Engaged' then -- Cancel WS If You Are Not Engaged. Can Delete It If You Don't Need It --
			cancel_spell()
			add_to_chat(123,'Unable To Use WeaponSkill: [Disengaged]')
			return
		else
			if SA and TA and sets.WS.SATA[spell.english] then
				equip(sets.WS.SATA[spell.english])
			elseif SA and sets.WS.SA[spell.english] then
				equip(sets.WS.SA[spell.english])
			elseif TA and sets.WS.TA[spell.english] then
				equip(sets.WS.TA[spell.english])
			elseif sets.WS[spell.english] then 
				equip(sets.WS[spell.english])
			elseif spell.english == "Evisceration" and player.tp > 299 then -- Equip Jupiter's Pearl When You Have 300 TP --
				equip({ear1="Jupiter's Pearl"})
			else
				equip(sets.WS)
			end
		end
	elseif spell.type=="JobAbility" then
		if sets.JA[spell.english] then
			equip(sets.JA[spell.english])
		end
		if spell.english=="Sneak Attack" then
			SA = true
		end
		if spell.english=="Trick Attack" then
			TA = true
		end
		if spell.english=="Feint" then
		    Feint = true
		end	
	elseif spell.type:endswith('Magic') or spell.type == "Ninjutsu" then
		if string.find(spell.english,'Utsusemi') then
			if buffactive['Copy Image (3)'] or buffactive['Copy Image (4)'] then
				cancel_spell()
				add_to_chat(123, spell.name .. ' Canceled: [3+ Images]')
				return
			else
				equip(sets.Precast.Utsusemi)
			end
		else
			equip(sets.Precast.FastCast)
		end
	elseif spell.type == 'Step' then
		equip(sets.Step)
	elseif string.find(spell.type,'Flourish') then
		equip(sets.Flourish)
	elseif spell.type == "Waltz" then
		refine_waltz(spell,action)
		equip(sets.Waltz)
	elseif spell.english == 'Spectral Jig' and buffactive.Sneak then
		cast_delay(0.2)
		send_command('cancel Sneak')
	end
end

function midcast(spell,action)
	if spell.english == 'Ranged' then
		equip(TH_Gear)
	elseif spell.type:endswith('Magic') or spell.type == "Ninjutsu" then
		if string.find(spell.english,'Utsusemi') then
			if spell.english == 'Utsusemi: Ichi' and (buffactive['Copy Image'] or buffactive['Copy Image (2)']) then
				send_command('@wait 1.7;cancel Copy Image*')
			end
			equip(sets.Midcast.Haste)
		elseif spell.english == 'Monomi: Ichi' then
			if buffactive['Sneak'] then
				send_command('@wait 1.7;cancel sneak')
			end
			equip(sets.Midcast.Haste)
		else
			equip(sets.Midcast.Haste)
		end
	end
end

function aftercast(spell,action)
	if spell.type == "WeaponSkill" and not spell.interrupted then
		send_command('wait 0.2;gs c TP')
	end
	status_change(player.status)
end

function status_change(new,old)
	if player.equipment.range ~= 'empty' then
		disable('range','ammo')
	else
		enable('range','ammo')
	end
	if Armor == 'PDT' then
		equip(sets.PDT)
	elseif Armor == 'MDT' then
		equip(sets.MDT)
	elseif Armor == 'EVA' then
		equip(sets.Evasion)
	elseif new == 'Engaged' then
		equipSet = sets.TP
		if Armor == 'Hybrid' and equipSet["Hybrid"] then
			equipSet = equipSet["Hybrid"]
		end
		if equipSet[AccArray[AccIndex]] then
			equipSet = equipSet[AccArray[AccIndex]]
		end
		if Feint then
		    equipSet = set_combine(equipSet,sets.JA["Feint"])
		end
		if SA then
			equipSet = set_combine(equipSet,sets.JA["Sneak Attack"])
		end
		if TA then
			equipSet = set_combine(equipSet,sets.JA["Trick Attack"])
		end
		if Rancor == 'ON' then -- Use Rancor Toggle For Rancor Collar --
			equipSet = set_combine(equipSet,sets.TP.Rancor)
		end
		if TH == 'ON' then -- Use TH Toggle To Lock Full TH Set --
			equipSet = set_combine(equipSet,sets.TP.TH)
		end
		equip(equipSet)
	else
		equip(sets.Idle[IdleArray[IdleIndex]])
	end
end

function buff_change(buff,gain)
	buff = string.lower(buff)
	if buff == "sneak attack" then
		SA = gain
	elseif buff == "trick attack" then
		TA = gain
	elseif buff == 'weakness' then -- Weakness Timer --
		if gain then
			send_command('timers create "Weakness" 300 up')
		else
			send_command('timers delete "Weakness"')
		end
	end
	if not midaction() then
		status_change(player.status)
	end
end


EDIT: Just noticed this was a DNC thread, but whatever lol
Offline
サーバ: Shiva
Game: FFXI
user: cdospawn
Posts: 15
By Shiva.Deathblossoms 2014-07-03 04:17:35  
I am currently getting an error or two with my rng lua and was hoping to pick some brains to fix this.

GearSwap: Lua error (runtime) - ...gram Files (86x)/Windower4//addons/gearswap/flow.lua.333:
GearSwap had detected an error in the user function get_sets: ... Files (86x)Windower4/addons/gearswap/data/RNG.lua:213: attempt to index field 'HighACC' (a nil value)

the is the me full Lua My Rng Lua File any and all help is wanted, needed, and most appreciated from all.
 Bismarck.Snprphnx
Offline
サーバ: Bismarck
Game: FFXI
user: Snprphnx
Posts: 2691
By Bismarck.Snprphnx 2014-07-03 05:39:12  
Shiva.Deathblossoms said: »
I am currently getting an error or two with my rng lua and was hoping to pick some brains to fix this.

GearSwap: Lua error (runtime) - ...gram Files (86x)/Windower4//addons/gearswap/flow.lua.333:
GearSwap had detected an error in the user function get_sets: ... Files (86x)Windower4/addons/gearswap/data/RNG.lua:213: attempt to index field 'HighACC' (a nil value)

the is the me full Lua My Rng Lua File any and all help is wanted, needed, and most appreciated from all.

Check the other thread you posted in. Hope that is the solution.
Offline
サーバ: Shiva
Game: FFXI
user: cdospawn
Posts: 15
By Shiva.Deathblossoms 2014-07-03 13:42:49  
it was and thank you i hope to help you all sometime if it where i can.
Offline
Posts: 30
By RoxiValefore 2014-07-13 10:24:38  
Ok, I am brand new to Gearswap. I have been working to understand Spellcast over the past few weeks only to yesterday realize why I couldn't work and that's because it's not used anymore/not updated. So I am reading this thread and what everyone has to say. However I am confused. How do I get my gearswap to recognize which file to use when I'm on a job. How do I load gearswap, it states in the first post to just run FFXI like you normally would but nothing has changed. This is currently how my, << Program Files (x86)> Windower4 > addons > GearSwap > data, looks.

Bard.lua
Blackmage.lua
Instructions
Mote-Globals.lua
Mote-Include.lua
Mote-Mappings.lua
Mote-SelfCommands.lua
Mote-Utility.lua
Ranger.lua
Redmage.lua
Summoner.lua
Thief.lua
Whitemage.lua

Is this done correctly? Sorry if this is hard to read.

Thank you for any help, it is really greatly appreciated!
 Leviathan.Syagin
Offline
サーバ: Leviathan
Game: FFXI
user: Kerron
Posts: 999
By Leviathan.Syagin 2014-07-14 13:11:32  
Are you able to macro commands in similar to the "poison V" of old in order to switch between gear sets?

If not maybe I may have missed it in the break down but how do you switch between your set w/o having to key bind if any?
 Fenrir.Motenten
VIP
Offline
サーバ: Fenrir
Game: FFXI
user: Motenten
Posts: 764
By Fenrir.Motenten 2014-07-14 13:35:19  
RoxiValefore said: »
Ok, I am brand new to Gearswap. I have been working to understand Spellcast over the past few weeks only to yesterday realize why I couldn't work and that's because it's not used anymore/not updated. So I am reading this thread and what everyone has to say. However I am confused. How do I get my gearswap to recognize which file to use when I'm on a job. How do I load gearswap, it states in the first post to just run FFXI like you normally would but nothing has changed. This is currently how my, << Program Files (x86)> Windower4 > addons > GearSwap > data, looks.

Bard.lua
Blackmage.lua
Instructions
Mote-Globals.lua
Mote-Include.lua
Mote-Mappings.lua
Mote-SelfCommands.lua
Mote-Utility.lua
Ranger.lua
Redmage.lua
Summoner.lua
Thief.lua
Whitemage.lua

Is this done correctly? Sorry if this is hard to read.

Thank you for any help, it is really greatly appreciated!

The current OP is out of date in a few ways. For the above, you don't need any of the Mote-* files; they're all already included with Windower, and are in the addons/GearSwap/libs folder.

For files names, you use the job's short name. So Brd, not Bard, Blm, not Blackmage, etc.
 Fenrir.Motenten
VIP
Offline
サーバ: Fenrir
Game: FFXI
user: Motenten
Posts: 764
By Fenrir.Motenten 2014-07-14 13:49:14  
Leviathan.Syagin said: »
Are you able to macro commands in similar to the "poison V" of old in order to switch between gear sets?
Technically doable, but not a good way of going about things in GearSwap. It was a hack in the Spellcast days that's completely unnecessary now.

Leviathan.Syagin said: »
If not maybe I may have missed it in the break down but how do you switch between your set w/o having to key bind if any?

Use self-commands now. EG: //gs c tp acc

//gs (if using from the command line; "/console gs" if you put it in a game macro, and just "gs" if you put it on a keybind) sends the remainder of the line to GearSwap directly. "c" tells it that you're sending a self-command, and everything after that is sent as a parameter to your function for handling. EG:
Code
function self_command(command)
    if command == "tp acc" then
        -- do whatever
    end
end
[+]
 Leviathan.Syagin
Offline
サーバ: Leviathan
Game: FFXI
user: Kerron
Posts: 999
By Leviathan.Syagin 2014-07-15 08:36:48  
Fenrir.Motenten said: »
Leviathan.Syagin said: »
Are you able to macro commands in similar to the "poison V" of old in order to switch between gear sets?
Technically doable, but not a good way of going about things in GearSwap. It was a hack in the Spellcast days that's completely unnecessary now.

Leviathan.Syagin said: »
If not maybe I may have missed it in the break down but how do you switch between your set w/o having to key bind if any?

Use self-commands now. EG: //gs c tp acc

//gs (if using from the command line; "/console gs" if you put it in a game macro, and just "gs" if you put it on a keybind) sends the remainder of the line to GearSwap directly. "c" tells it that you're sending a self-command, and everything after that is sent as a parameter to your function for handling. EG:
Code
function self_command(command)
    if command == "tp acc" then
        -- do whatever
    end
end
Appreciate that good sir. Had no clue that was a hack that's interesting...