Still results in "unexpected symbol near ')'" which is the "end)" line
Edit: nevermind, works now with the newest Inference edit! Thanks guys :D Legends, both of you :)
Gearswap Support Thread |
||
Gearswap Support Thread
Offline
Posts: 157
Still results in "unexpected symbol near ')'" which is the "end)" line
Edit: nevermind, works now with the newest Inference edit! Thanks guys :D Legends, both of you :) Offline
Posts: 157
This is going to sound ridiculous, but I'm getting an insane amount of frame drops from gearswap after adding that last bit. Unloading gearswap (as well as just deleting that section of code) causes it to stop. Like on off on off game stutter
Yeah, don't use mine. I wrote it on the fly but forgot to tweak it for all the other things that could trigger that chunk.
Azurea said: » This is going to sound ridiculous, but I'm getting an insane amount of frame drops from gearswap after adding that last bit. Unloading gearswap causes it to stop. Like on off on off game stutter Considering the fact gearswap is supposed to add such a small amount of system load, you must be playing on a Toaster if it's causing an FPS Drop. Edit: With that said, the second you make the game parse incoming packet chunks it is possible you're asking it to double the work it does, doesn't FFXI Client respond to incoming packets and send a responce back? if you create a check for this which triggers another event are you not effectively doubling the packets you send out and thereby doubling the packets you receive, effectively creating a DDOS effect? And then factor in other events that are contained within the packet, or create that packet from other players - this was a method to Lag tanks out on Fafnir and Despot at one point! TDLR Delete that Rule. Offline
Posts: 157
Cerberus.Conagh said: » you must be playing on a Toaster if it's causing an FPS Drop. That couldn't be farther from the truth, but thank you for your input. I'll just lock main/sub manually and bypass the issue completely. Was more or less just looking for convenience. Why not add it to a trigger that already exists in the Gearswap programming, changes to HP/TP/MP? You could just create a timer plugin using the time.lua plugin that's installed and do it that way, or you can create a check everytime TP updates
i.e. Quote: if player.tp > 999 and player.status == 'Engaged' then Define w.e you want it to FFXI is a wierd programme, I have a better motherboard in my laptop than my home PC, so it runs better on my Laptop with around 3GB of less RAM, because it's more reliant on using a motherboard than other parts in a PC, so don't always assume that having "good Spec" means it's a good spec for this game. If you're using windower.register_event, switch to windower.raw_register_event.
Offline
Posts: 157
Cerberus.Conagh said: » so don't always assume that having "good Spec" means it's a good spec for this game. Yeah, it took forever to find video drivers that handled XI at its FPS cap, then running unlimited it still has its moments where frames drop. Leviathan.Vow said: » If you're using windower.register_event, switch to windower.raw_register_event. Inference deleted his post, but upon hitting Ctrl+Z to get the code back and making this change, now it does nothing, lol. The code I posted will achieve the same effect without parsing the packets, so it shouldn't lag you out. Did you try it and get the same slow down?
Hachirin-no-obi isn't swapping in for my nukes. Any idea why? Here's my pastebin http://pastebin.com/aXZgUcCb
Shiva.Hiep said: » Hachirin-no-obi isn't swapping in for my nukes. Any idea why? Here's my pastebin http://pastebin.com/aXZgUcCb 1) You really should update it to Mote v2, following the walkthrough here 2) Once you upgrade, you can use this in your sets: Code waist=gear.ElementalObi Code gear.default.obi_waist = "Refoccilation Stone" if buffactive['Blind'] then
equip(sets.accuracy.or.whatever) end It's under buffs even though it's a debuff, as it includes everything that can be active on your character. You can make it change when you receive blind by using function status_change(new,old) if new == 'Blind' then equip(sets.etc) end end Asura.Pedohbearino said: » Bahamut.Cdubs said: » I am getting this same error but its on line 230. https://github.com/Byrth/Lua-Byrth/issues/391 if player_mob_table.race ~= nil then player.race_id = player.race player.race = res.races[player.race][language] <--- this is line230 end Any suggestions? MNK and THF work fine, but BLM and WHM lua receive this error, and it actually locks gear from being equipped. I was not able to equip Hagondes Hat +1, was greyed out and was on BLM. I deleted GS off my pc then redownloaded it from windower and seems to work now. Edit: Save your .luas to another folder first. Asura.Floppyseconds said: » Vaaaaffff. Va~af. How do I make certain sets equip from status effects? I am happy toggling my Acc sets with a macro (couldn't I just bind that to F9 anyway? That be a little better too.) however adding a 9th toggle just for DW from lack of anything other than haste 2 on the loop. That I don't need too often is just too annoying. So while I want it, it has to be an automatic thing or else I just suck it up and hope for buffs. http://pastebin.com/expq8BYy Aeyela was correct in application, but I'm not sure status_change is the correct function. In Mote's files, it's buff_change, but I'm not sure if he has that separated out and it's combined in base, idk. In the DNC file Mote made, he has this function:and a call for it:Directly, this will only work with his files, but it could easily be tweaked for a non-Mote file. I've seen buffactive check for buff IDs (buffactive[###]), as in the event of Haste 2 or Victory March instead of Advancing March, but I've had poor experiences with it in the past. You can play with it if you want, as all the buff IDs are listed in /Windower4/res/buffs.lua Asura.Floppyseconds said: » normal mobs with only flutter on vs Sinister Reign with only flutter Asura.Vafruvant said: » with Mote-based files Asura.Vafruvant said: » Shiva.Hiep said: » Hachirin-no-obi isn't swapping in for my nukes. Any idea why? Here's my pastebin http://pastebin.com/aXZgUcCb 1) You really should update it to Mote v2, following the walkthrough here 2) Once you upgrade, you can use this in your sets: Code waist=gear.ElementalObi Code gear.default.obi_waist = "Refoccilation Stone" I have tried this and obi does swap in fine, but refoccilation stone doesn't swap in for any other elements. I don't know if anyone else was having the same issues that I was having with pet modes since the update, but I figured out a roundabout fix.
Code if pet.status == 'Engaged' and state.Buff["Avatar's Favor"] then idleSet = set_combine (idleSet, sets.idle.Avatar.FavorMax) end if pet.status == 'Engaged' and state.IdleMode.value == 'PDT' then idleSet = set_combine (idleSet, sets.idle.PDT.Avatar) end if pet.status == 'Engaged' and state.IdleMode.value == 'PDT' and state.Buff["Avatar's Favor"] then idleSet = set_combine (idleSet, sets.idle.Avatar.FavorPDT) end Apologies, I'm still learning atm. I'm having an issue with Kinematics SCH.Lua for GS. I want to have it use my Obi, and Twilight Cloak If the corresponding weather is on me for the corresponding elemental spell. Here's a link to the Lua. It is the basically the Kinematics Lua with my gear
SCH.Lua Thank you again. regarding that, says there is an unexpected line near ')' but i set it up just like my dnc one cause i had problem with augments on the feet before... help? lol Why do you have the parenthesis there? It ties to nothing in the set.
Seraph.Jacaut said: » regarding that, says there is an unexpected line near ')' but i set it up just like my dnc one cause i had problem with augments on the feet before... help? lol Shiva.Nitroustaru said: » Why do you have the parenthesis there? It ties to nothing in the set. Odin.Niteanjel said: » Apologies, I'm still learning atm. I'm having an issue with Kinematics SCH.Lua for GS. I want to have it use my Obi, and Twilight Cloak If the corresponding weather is on me for the corresponding elemental spell. Here's a link to the Lua. It is the basically the Kinematics Lua with my gear SCH.Lua Thank you again. 1) Change the beginning of your function init_gear_sets() to the following: Code -- Define sets and vars used by this job file. function init_gear_sets() gear.default.obi_waist = "item name" gear.default.obi_back = "item name" -------------------------------------- -- Start defining the sets -------------------------------------- 2) In your actual gear sets, rename your back and waist slots to: Code back=gear.ElementalCape,waist=gear.ElementalObi Siren.Noxzema said: » I don't know if anyone else was having the same issues that I was having with pet modes since the update, but I figured out a roundabout fix. Code if pet.status == 'Engaged' and state.Buff["Avatar's Favor"] then idleSet = set_combine (idleSet, sets.idle.Avatar.FavorMax) end if pet.status == 'Engaged' and state.IdleMode.value == 'PDT' then idleSet = set_combine (idleSet, sets.idle.PDT.Avatar) end if pet.status == 'Engaged' and state.IdleMode.value == 'PDT' and state.Buff["Avatar's Favor"] then idleSet = set_combine (idleSet, sets.idle.Avatar.FavorPDT) end Code state.Buff["Avatar's Favor"] = buffactive["Avatar's Favor"] or false Code state.Buff["Avatar's Favor"] = buffactive[431] or false Shiva.Hiep said: » I have tried this and obi does swap in fine, but refoccilation stone doesn't swap in for any other elements. Quote: -- Set eventArgs.handled to true if we don't want any automatic gear equipping to be done. -- Set eventArgs.useMidcastGear to true if we want midcast gear equipped on precast. function job_precast(spell, action, spellMap, eventArgs) if spellMap == 'Cure' or spellMap == 'Curaga' then gear.default.obi_waist = "Goading Belt" elseif spell.skill == 'Elemental Magic' then gear.default.obi_waist = "Sekhmet Corset" if state.CastingMode == 'Proc' then classes.CustomClass = 'Proc' end end end So I haven't really looked into updating my gearswap until I started using BLM again. I don't know if i'm using an old outdated gearswap for BLM or not but since I kinda suck with it, I was wondering how to edit this to include swaps for magic bursting and how to make it to where I can cycle between normal nuking and magic bursting, with macc sets for both.
http://pastebin.com/62H0aUxC Thanks in advance for the help. Asura.Zaffre said: » So I haven't really looked into updating my gearswap until I started using BLM again. I don't know if i'm using an old outdated gearswap for BLM or not but since I kinda suck with it, I was wondering how to edit this to include swaps for magic bursting and how to make it to where I can cycle between normal nuking and magic bursting, with macc sets for both. http://pastebin.com/62H0aUxC Thanks in advance for the help. Second, and I could be wrong on this, I think you need something like: Code elseif spell.skill == 'Elemental Magic' and BurstIndex == 1 then equipSet = set_combine(equipSet,sets.magic_burst) end Code BurstIndex == 0 Code elseif command == 'C4' then -- Magic Burst Toggle -- if BurstIndex == 1 then BurstIndex = 0 add_to_chat(123,'Magic Burst Set: [Unlocked]') else BurstIndex = 1 add_to_chat(158,'Magic Burst Set: [Locked]') end status_change(player.status) Code sets.magic_burst = {} |
||
All FFXI content and images © 2002-2024 SQUARE ENIX CO., LTD. FINAL
FANTASY is a registered trademark of Square Enix Co., Ltd.
|