It worked Thanks again!
It worked Thanks again!
no problem
You can use both forward and backward slashes in Lua. The problem with backward slashes is that they're also used as an escape character, so you have to use it twice:
Code:windower.play_sound('P:\\ath\\to\\sound\\file.wav')
I am not even sure why i was usin \ slashes instead of / slashes. Thanks!
The Windows API uses \ natively, although most parts of it accept / as well, maybe that's where you got it from.
Did anybody find time to check the 2 big dumps I posted a few pages ago?
Even just to know if there was something useful in there or if I can stop contributing with full dumps (quite stressing to upload with my third world connection lol)
Yeah I did, but did not reveal anything more than we already knew. There's a new Hook on dev if you wanna try, but I just reordered a bit of the text logic, if anything it should make you crash more rather than less (I removed some unneeded safety checks that didn't help your crash issue). There are currently three crashes left in Windower that I know of, the typical Windows 8 logon crash, another is IPC related and I'm examining that now, and the other is the text bug that seems to only affect you :\
I'll get back to that in a bit, but for now I wanna squash the IPC thing.
Four bugs! There is the LuaCore unregister stack issue too.
God damn it, I always forget about that. I put a post-it on my screen now, which annoys the shit out of me, so I won't be able to ignore it <_<
After heavily tweaking the GS file I had a couple questions on something I could possibly do. I remember reading in the GEO forums that Gearswap recently allowed the swapping of elemental obis when under the proper storm spell. How would I set that up for a gear set?
And question two. I recently finished the Magian Ice potency staff, since I read that those are still the best damage wise for T4 nukes if Macc isn't much of a problem. I tried making a set to go off of my hightiernuke gearset, and did "sets.midcast['Blizzard IV'] = set_combine(sets.midcast.HighTierNuke, {main="Vourukasha I"})" in a line under it. It worked for my regular nuke set.
But I couldn't figure out how to have it not activate when I switch to my Macc focused sets.midcast.hightiernuke.resistant sets. Is there some sort of coding I'm missing to make it differentiate between my regular nuking set and my resistant nuking set? Because as it is, it's still switching to that potency staff even when I have my functions set to resistant casting, which equips an Macc Twobuliij.
it can be done but you will have to creat a way for it to know that you want it to do that
like
but as i dont know how you change set types this is just an exampleCode:if not Macc then if sets.midcast[spell.name] then equip(sets.midcast[spell.name]) end else sets.midcast.HighTierNuke end
Good Morning!
Finally got Nagi so I've been trying to get the Aftermath sets working again. I've been trying to figure it out all night, reading the comments from you guys trying to help me a few pages back.
Motenten's monk example didn't really work for me since I'm using his NIN lua with customgroups for haste buffs. But I tried doing it this way and it seems to append 'AM' after the haste buffs, but it doesnt equip automatically. I have to ALT F12 for GS to notice the AM, and when the buff wears, ALT F12 again.
Here is my buff change function:
And my determine haste group function:Code:function job_buff_change(buff, gain) -- If we gain or lose any haste buffs, adjust which gear set we target. if S{'haste','march','geo-haste','indi-haste','embrava','haste samba','aftermath'}:contains(buff:lower()) then determine_haste_group() handle_equipping_gear(player.status) elseif state.Buff[buff] ~= nil then state.Buff[buff] = gain handle_equipping_gear(player.status) end end
I call determine_haste_group() in my job_setup() and in job_update()Code:function determine_haste_group() classes.CustomMeleeGroups:clear() if buffactive.embrava and (buffactive.march == 2 or (buffactive.march and buffactive[33])) then classes.CustomMeleeGroups:append('MaxHaste') elseif buffactive.march == 2 and buffactive[33] then classes.CustomMeleeGroups:append('MaxHaste') elseif buffactive.march and buffactive[580] then classes.CustomMeleeGroups:append('MaxHaste') elseif buffactive[33] and buffactive[580] then classes.CustomMeleeGroups:append('MaxHaste') elseif buffactive.embrava and (buffactive[33] or buffactive.march) then classes.CustomMeleeGroups:append('EmbravaHaste') elseif buffactive.march == 1 and buffactive[33] and buffactive['haste samba'] then classes.CustomMeleeGroups:append('HighHaste') elseif buffactive.march == 2 then classes.CustomMeleeGroups:append('HighHaste') elseif buffactive[580] then classes.CustomMeleeGroups:append('HighHaste') elseif buffactive[33] then classes.CustomMeleeGroups:append('LowHaste') end if buffactive['Aftermath: Lv.3'] then classes.CustomMeleeGroups:append('AM') end end
need some help finding out why my drg gs will not switch into dif acc set anymore. Was working fine until i changed some stuff around and now it wont toggle into any of them. I dont know how to post my gs on here so if anyone could help me hit me up plz and thanks
I think I finally solved it.
Instead of having AM3 as a custom melee group. I made it a CombatForm instead.
ok after testin i have figured out that when i have ionis on it doesnt swap into my acc sets. With normal signet on it will swap. I am usin bokura gs anyone got anythin to fix it?
Anything get slipped in tonight with a GS change? Did a restart, grabbed new files, and now I'm getting an error in gearswap/refresh line 75; attempt to index field 'text' (a nil value)
Never messed with this file, or even noticed it tbh.
Things were changed, but if everything downloaded properly you shouldn't be getting any errors. Here is a link to my current version of gearswap: https://www.dropbox.com/s/xykrch9fs3...rSwap.zip?dl=0
hello,
im getting some errro messages when i load my cor lua, last time i played cor it was working fine it was working and i dontthink i changed anything .
gearswap loaded your cor lua file!
Gearswap: lua error (runtime )windower/addons/gearswap/flow.lua:301
gearswap has detected an erroer in the user function get_sets:
windower/addons/gearswap/data/cor.lua:19 attemtp to call golab 'M' ( a nil value)
the lua im using is from Allen Warren, ive tried getting the latest copy and still get an error when loading
ive also tried getting the latest copy of the lau and this doesn't fix it also tried getting a lua from kinematic and im still getting an error
all other jobs seem fine.
hopefully some one can help me out with this
thanks
i know its probably been asked a million times... but i cant find it with searching ><
I have this in function pretarget
elseif spell.english == "Flash" and windower.ffxi.get_spell_recasts()[48] > 0 then
cancel_spell()
send_command('Blank Gaze')
but no luck... how can i do this properly