Sandy should be 0, bastok should be 1, and windy should be 2. I have not used it and did not know it existed so I am not sure it works.
Sandy should be 0, bastok should be 1, and windy should be 2. I have not used it and did not know it existed so I am not sure it works.
I will make gearswap convert that number to a nation name now.
Edit: done
i was going to take this to windower chat #lua im there if you want to try to figure this out
Hey Guys sorry to be a pest. I read a couple pages back on how to use gearswap with multiple Qaaxo leggings . I wanted to see if anyone can help me?
Cant figure out how to get this to work. I tried reading everywhere sorry if i upset anyone with repeated questions. Thanks for your time.Code:physical_Qaaxoleggings1 = {name="Qaaxo leggings",augments={"Attack +15", "Magic Attack Bonus +15", "Strength +12"}} physical_Qaaxoleggings2 = {name="Qaaxo leggings",augments={"Accuracy +15", "Strength +7","Physical Damage Taken -3%"}} sets.engaged.Acc= {ammo="Honed Tathlum", head="Whirlpool Mask",neck="Ej Necklace +1",ear1="Bladeborn Earring",ear2="Steelflash Earring", body="Qaaxo Harness",hands="Qaaxo mitaines",ring1="Enlivened ring",ring2="Epona's Ring", back="Letalis Mantle",waist="Hurch'lan sash",legs="Qaaxo tights",feet="Qaaxo Leggings"} sets.precast.WS["Victory Smite"] = {ammo="Tantra Tathlum", head="Uk'uxkaj Cap",neck="Rancor Collar",ear1="Moonshade Earring",ear2="Brutal Earring", body="Qaaxo Harness",hands="Anchorite's Gloves +1",ring1="Rajas Ring",ring2="Epona's Ring", back="Buquwik Cape",waist="Caudata Belt",legs="Qaaxo tights",feet="Qaaxo leggings""} sets.engaged.Acc = set_combine(sets.engaged.Acc, {feet="Qaaxo leggings"}) ----??
I'm fairly new can't post my gearswap.
Code:sets.whatever1 = {feet=physical_Qaaxoleggings1} sets.whatever2 = {feet=physical_Qaaxoleggings2}
how do you use this
files.write(windower.addon_path.."data/"..player.name.."/Data/whm.txt", Stepmax)
i have tried and tried but for the life of me i cant get it to work
i tried so many different ways and only one worked but it would only copy a line from a file to another file and do that randomly at that
What is "files"? What is the error? What is player? What is Stepmax? What are you trying to do? Cannot help you this way.
Guess he wants to save/read a variable from an external file
byrth I have a question: is it possible for gearswap to detect if a SC is going on and then swap immidietally while midcasting a nuke from one gear to another? lets say I have a fully forced MAB set, but when a SC is occuring I want to change my set midcast into a Magic Burst + set and gearswap detects that and does it?
http://www.bluegartr.com/threads/119...=1#post6125816 (Same kind question)
http://www.bluegartr.com/threads/119...=1#post6126481 (Possible but difficult)
But guess you "should" be able to do it(w/o packets coz no idea how they works), with an event that read chat, find the SC, then set a variable or execute a GS Command...
http://pastebin.com/KDktYDvu
Could anyone help me remove the safety on WS while engaged for this gearswap? Everything I'm trying is just breaking it or making it so I don't swap gear for WS at all.
first remove from line 589 "END" (coz if you remove the next code first.. the lines numbers will change..)
and then from line 567-571 >>
Code: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
files is files.lua inside libs (i have also tried file: io: )
there is no error it just will not out put my global variables
player is a table in gearswap
Stepmax is the variable i want to write to a file
i have tried so many different ways to write and read data from files and could only get one to do anything and that was from one file to another(and it only worked once every couple of minutes)
hmmm, should be possible w/ lua... would be the same thing as making a "settings.xml", probably checking the code of those .lua that have settings.xml file could give you some idea
well if that doesnt work...
What a about making an "addon" that increase the counter of ws, and when is 13, it send a command to gs to notify it...
in the GS file you would call it on ever WS w/ that weapon.
Since is another addon, should be able to save info in settngs.xml,
drawback.. would need to load it or have it loaded, well guess is not a drawback coz can put in you gearswap file to autoload..