Item Search
     
BG-Wiki Search
Page 23 of 302 FirstFirst ... 13 21 22 23 24 25 33 73 ... LastLast
Results 441 to 460 of 6036

Thread: Gearswap Help Thread!     submit to reddit submit to twitter

  1. #441
    Sea Torques
    Join Date
    Jun 2012
    Posts
    570
    BG Level
    5
    FFXI Server
    Asura
    WoW Realm
    The Scryers

    the "bigger picture" was in the post #430, w/ the link of the file, but either way, Just got online, since saw that something got updated in the launcher decide to test it again, and "magically" it was working, same code as this morning... so I guess was some bug that got fixed.

  2. #442
    BG Content
    Join Date
    Jul 2007
    Posts
    22,372
    BG Level
    10
    FFXI Server
    Lakshmi
    Blog Entries
    1

    Arcon was in the middle of updating the LuaCore API on -dev when the update hit, so he changed half of it back and pushed it. When he did that, he passed the LuaCore status change event a capitalized version of the statuses (BOOST instead of Boost), etc. I fixed it last night in GearSwap.

  3. #443
    New Merits
    Join Date
    Apr 2010
    Posts
    228
    BG Level
    4

    Is there a simple function for if MP is at a certain point, then do something?

    For example, if engaged and MP = 100 or higher then equip Oneiros Ring or else equip what ever TP set is active.

    Also, a simple global toggle to just toggle back and fourth from Ochain and Aegis?

  4. #444
    Hydra
    Join Date
    Oct 2009
    Posts
    109
    BG Level
    3
    FFXI Server
    Bismarck

    I'm not auto-switching back to my engaged TP set after WS on Mote's PUP lua right now. Anybody else having this issue?

    It switches fine after JAs and everything else. Just not after Weapon Skills...

  5. #445
    Sea Torques
    Join Date
    Jun 2012
    Posts
    570
    BG Level
    5
    FFXI Server
    Asura
    WoW Realm
    The Scryers

    Quote Originally Posted by Sithel View Post
    Is there a simple function for if MP is at a certain point, then do something?

    For example, if engaged and MP = 100 or higher then equip Oneiros Ring or else equip what ever TP set is active.

    Also, a simple global toggle to just toggle back and fourth from Ochain and Aegis?
    In the excel files "variables" there is a list. Saw Player.MP so I guess should work like this

    Code:
    function status_change(new,old)
    	if new == 'Engaged' then
    		if player.mp > 100 then
    		     equip(left_ring="Oneiros Ring")
    		end
    	end
    end
    for the shield thing.. I would make it like this:

    Code:
    function self_command(command)
    		if command == 'Shield' then
    			if sets.shield == shield.aegis then
    					equip(shield.ochain)
    					sets.shield = shield.ochain
    					send_command('@input /echo Ochain Equipped')
    
    			else
    				equip(shield.aegis)
    				sets.shield = shield.aegis
    				send_command('@input /echo Aegis Equipped')
    			end
    	end
    end
    set.shield = {}
    shield = {}
    shield.aegis = {sub="Aegis"}
    shield.ochain = {sub="Ochain"}
    set.shield = shield.ochain << "Default Shield"...

    in game macro would be "/console gs c Shield"

    something like that... others ppl might have other solutions

  6. #446
    CoP Dynamis
    Join Date
    Jul 2007
    Posts
    270
    BG Level
    4
    FFXI Server
    Asura

    Don't know if anyones mentioned it Motenten, but your newer files have "Ctrl =" bind in the Mote-Globals, and this overwrites your THF.lua TH toggle within the file, i fixed this for myself but thought you might want to change one of the two.

  7. #447
    Chram
    Join Date
    Sep 2007
    Posts
    2,526
    BG Level
    7
    FFXI Server
    Fenrir

    Quote Originally Posted by Fival View Post
    Don't know if anyones mentioned it Motenten, but your newer files have "Ctrl =" bind in the Mote-Globals, and this overwrites your THF.lua TH toggle within the file, i fixed this for myself but thought you might want to change one of the two.
    Ah, yep. The global binds should be done before the local ones, so that the local ones override. Will fix those.

  8. #448
    Chram
    Join Date
    Sep 2007
    Posts
    2,526
    BG Level
    7
    FFXI Server
    Fenrir

    Fix pushed.

  9. #449
    Salvage Bans
    Join Date
    Oct 2007
    Posts
    771
    BG Level
    5

    Any simple way to track recast in gearswap? Or grab the ability id via spell name quickly?

  10. #450
    Chram
    Join Date
    Sep 2007
    Posts
    2,526
    BG Level
    7
    FFXI Server
    Fenrir

    Quote Originally Posted by kenshyn View Post
    Any simple way to track recast in gearswap?
    Code:
    	-- returns strategems recast in seconds.
    	local currentRecast = windower.ffxi.get_ability_recasts(231)
    Quote Originally Posted by kenshyn View Post
    Or grab the ability id via spell name quickly?
    Not offhand.

  11. #451
    Salvage Bans
    Join Date
    Oct 2007
    Posts
    771
    BG Level
    5

    Cool thanks now to dig up the id's.....

  12. #452
    Sea Torques
    Join Date
    Jun 2012
    Posts
    570
    BG Level
    5
    FFXI Server
    Asura
    WoW Realm
    The Scryers

    Quote Originally Posted by kenshyn View Post
    Cool thanks now to dig up the id's.....
    like a file that could have all those IDs and Abilities...
    ...something like the file abil.xml in the resources folder might help..

  13. #453
    Melee Summoner
    Join Date
    Apr 2013
    Posts
    35
    BG Level
    1
    FFXI Server
    Cerberus

    I finally found some time to mess around with drg. Restoring breath is now work, but I can't seem to get magic to trigger at 50% HP. I'm not sure which variable is wrong. The only error I get is "GearSwap: Lua error (runtime) - table index is nil"
    It's probably:

    http://pastebin.com/YRwS4jfG

    Code:
    function job_midcast(spell,act)
      if spell.type:find('Magic') then -- Should handle white/black/blue magic as an example
        if player.hpp < 51 then
          equip(sets.HB.Pre)
        end
      end
    end
    Every other thing I have tried out so once Healing Breath properly triggers, this lua will finally be done. Any support and hints would be greatly appreciated:
    Side note: this lua is still based on Mote's before he introduced the side cars, will move to that once I have all the kinks figured out.

  14. #454
    Chram
    Join Date
    Sep 2007
    Posts
    2,526
    BG Level
    7
    FFXI Server
    Fenrir

    Keyoku:

    You define job_midcast twice. Move the stuff from your version at the bottom to the one already defined above. Might as well move job_pet_midcast up there as well, to group it with the other similar functions.

    You're not doing anything in job_pet_aftercast that isn't handled by the default. Just remove it. (note: if this was to fix the issue with gear sets being left on after weaponskills, I've found the problem causing that, and hopefully the fix should be pushed soon)

    You can use spell.english:startswith('Healing Breath') and spell.english:endswith('Magic') for faster comparisons.

    You left in the conversion from GK weaponskills to polearm weaponskills from the source sam file. Just take that out.

    You left in state.Buff values from sam. Take them out. Can also remove the job_aftercast and buff_change code that sets those values (and remove those functions entirely, since they'll be empty after that).


    Edit: Also, not sure why it should be hitting your file (given what's in your code), but that error sounds like one that's been cropping up due to the broken day/weather element stuff. May not be anything you can directly do.

  15. #455
    Puppetmaster
    Join Date
    Dec 2010
    Posts
    62
    BG Level
    2
    FFXI Server
    Asura

    noob to gs, been using mote's nin.lua, wondering if there is any way for it to recognize getting a sv march to put me into the 0 dw set (gs recognizes 2march/haste), or would i need to add a toggle for that?

  16. #456
    Chram
    Join Date
    Sep 2007
    Posts
    2,526
    BG Level
    7
    FFXI Server
    Fenrir

    You'd have to toggle that. There's no way of telling the potency of the marches you've got (instrument level, soul voice, etc).

  17. #457
    Puppetmaster
    Join Date
    Dec 2010
    Posts
    62
    BG Level
    2
    FFXI Server
    Asura

    ok thats what i thought, kinda dumb question but i thought i would at least ask before doing so

  18. #458
    Hydra
    Join Date
    Oct 2009
    Posts
    109
    BG Level
    3
    FFXI Server
    Bismarck

    So I've set up sidecar loads for all of my jobs now. If I'm understanding it correctly, I can just copy Motes versions straight into mine when he updates, leaving his sets and such and they won't get loaded?

    If so, that's awesome!

  19. #459
    Chram
    Join Date
    Sep 2007
    Posts
    2,526
    BG Level
    7
    FFXI Server
    Fenrir

    @Eastaran: Yes, that's correct.

    Also, a small modification to how includes are handled has been pushed to dev. Includes no longer need the table wrapper, making them less confusing to set up. Anyone dealing with includes (which will be all of my standard includes, plus all the sidecar includes) can get rid of the extra namespace marker.

    So instead of:
    Code:
    local MoteInclude = {}
    function MoteInclude.init_include()
      -- include stuff
    end
    
    return MoteInclude
    You'd just have:
    Code:
    function init_include()
      -- include stuff
    end
    I haven't pushed the updates to all my files with this change, yet, since this isn't out on live. If you're on dev, you'll want to adjust your files for that.

  20. #460
    Melee Summoner
    Join Date
    Apr 2013
    Posts
    35
    BG Level
    1
    FFXI Server
    Cerberus

    Cleaned out all the old bits from SAM as per your advice, Mote, and changed the code around a bit. Once your newest fix is out, I'll port it to that, but for now... I still can't get it to equip Vishap Armet. The full lua is here: http://pastebin.com/vVEiJkmd
    the relevant code I'm not sure about:
    Code:
    function job_midcast(spell, action, spellMap, eventArgs)
    	if spell.action_type == 'Magic' then
    		equip(sets.midcast.FastRecast)
    	end
    	if spell.english:endswith('Magic') then 
        if player.hpp < 51 then
          equip(sets.HB.Pre) -- which is: sets.HB.Pre = {head="Vishap Armet"}
        end
      end
    end
    Once I get down to the 33% threshold, it'll use the appropriate set for Healing Breath, so that part works, just triggering it at 49% is refusing to work.

Page 23 of 302 FirstFirst ... 13 21 22 23 24 25 33 73 ... LastLast

Similar Threads

  1. Replies: 6547
    Last Post: 2014-07-08, 22:45