Item Search
     
BG-Wiki Search
Page 103 of 302 FirstFirst ... 53 93 101 102 103 104 105 113 153 ... LastLast
Results 2041 to 2060 of 6036

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

  1. #2041
    New Merits
    Join Date
    Apr 2010
    Posts
    228
    BG Level
    4

    Motenten,
    I'm using your blm file and have a small question. Here's what I have, it's on my pastebin.

    http://pastebin.com/Yp3fraWT

    On line 41 I added Ice Spells, then on line 232 I added a midcast Ice set so that I can use my Ngqoqwanb Staff.
    On the midcast functon I tried a few different things but nothing seems to work, so I removed it. No matter what I do i cast in my elemental Magic set. From the testing I did this staff does better for ice nukes then the JSE one I have. Could you help me out on what I need to add in the midcast function? Thanks

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

    Line 464, add:
    Code:
        if IceNukes:contains(spell.english) then
            return 'IceNukes'
        end

  3. #2043
    RIDE ARMOR
    Join Date
    Apr 2014
    Posts
    22
    BG Level
    1

    RESOLVEDhmm, anyone having issue with sch not equipping savan't bracers?

    noticed my sch not equipping these just a day or two ago

    ::edit:: just needed to get the newest revised lua; orz srry

  4. #2044
    BG Content
    Join Date
    Jul 2007
    Posts
    22,360
    BG Level
    10
    FFXI Server
    Lakshmi
    Blog Entries
    1

    GearSwap was not accounting for the fact that items are unequipped automatically when you job change, but it has now been fixed. Hopefully that will fix all the "I can't equip X" problems.

  5. #2045
    Relic Shield
    Join Date
    Sep 2007
    Posts
    1,738
    BG Level
    6
    FFXI Server
    Sylph

    Quote Originally Posted by Motenten View Post
    Does not not revert to -any- aftercast gear, or are only a few slots not changed back? If the latter, I've encountered similar problems lately that seem to be an issue with gearswap itself, rather than my luas.

    Twice in the last couple days, after changing jobs and getting the proper gear off the porter moogle, certain gear slots wouldn't equip when I hit update (F12). Reloading the job lua didn't help, but reloading gearswap as a whole did, as did unequipping all gear (gs c naked).

    Unfortunately, since reloading gearswap seems to fix it, and I have to edit stuff in gearswap files to do any debugging, it makes it rather difficult to track down. Will keep trying to work on it, though.
    Ah, I see. I thought it may have been isolated towards that one file, as I haven't seen it happen in any of the other lua's. Thank you.

    Quote Originally Posted by Byrthnoth View Post
    GearSwap was not accounting for the fact that items are unequipped automatically when you job change, but it has now been fixed. Hopefully that will fix all the "I can't equip X" problems.
    Thank you, kindly.

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

    Quote Originally Posted by Byrthnoth View Post
    GearSwap was not accounting for the fact that items are unequipped automatically when you job change, but it has now been fixed. Hopefully that will fix all the "I can't equip X" problems.
    probably that was the reason, If I was thf then changed to MNK, and did an export set, in the mnk file would appear the Thf Boomerang,

  7. #2047
    RIDE ARMOR
    Join Date
    May 2014
    Posts
    10
    BG Level
    1

    Hey guys, I had a question on my RNG lua. Im currently using Bokura's lua, with some adjustments I have made with my gear. When I first started using it, my barrage set would equip midshot just fine. Lately, none of the gear changes during barrage, but everything else works fine. I'm sure it's something minor, as I have made small tweaks to gear sets. I probably deleted/changed something on accident without knowing it.

    Anyway, I wanted to post the lua for help, but I haven't done so on this site before... and I remember seeing threads saying "don't post full code in forums", etc., and I read the note on page 1. I tried posting my link but I don't have enough posts to post a link apparently, so I have to type it out lol.

    pastebin.com/yQxfdaCT

    Also, I saw a post someone made with notes to equip Arcadian Jerkin +1 during overkill. Would I add that to the same string of gear checks as the other midshot swaps?

    Thanks for any help.

  8. #2048
    Melee Summoner
    Join Date
    Jan 2014
    Posts
    36
    BG Level
    1

    RNG Lua help

    Quote Originally Posted by Backlash53 View Post
    Hey guys, I had a question on my RNG lua. Im currently using Bokura's lua, with some adjustments I have made with my gear. When I first started using it, my barrage set would equip midshot just fine. Lately, none of the gear changes during barrage, but everything else works fine. I'm sure it's something minor, as I have made small tweaks to gear sets. I probably deleted/changed something on accident without knowing it.

    Anyway, I wanted to post the lua for help, but I haven't done so on this site before... and I remember seeing threads saying "don't post full code in forums", etc., and I read the note on page 1. I tried posting my link but I don't have enough posts to post a link apparently, so I have to type it out lol.

    pastebin.com/yQxfdaCT

    Also, I saw a post someone made with notes to equip Arcadian Jerkin +1 during overkill. Would I add that to the same string of gear checks as the other midshot swaps?

    Thanks for any help.
    If I remember right, (at work now so can't look at my LUA). I believe you need to have a "sets." in front of where you have "Barrage" listed in you LUA. It should be sets.Barrage

  9. #2049
    RIDE ARMOR
    Join Date
    May 2014
    Posts
    10
    BG Level
    1

    thanks Drizzt. I will give that a shot and see if it helps.

  10. #2050
    RIDE ARMOR
    Join Date
    May 2014
    Posts
    10
    BG Level
    1

    I tried placing the "sets." in front of Barrage in the gear definitions at the top of the lua. That didn't seem to work. I'm going to play with adding a "sets.midshot." in front of it to see if that might help.

  11. #2051
    RIDE ARMOR
    Join Date
    May 2014
    Posts
    10
    BG Level
    1

    Lol the sets.midshot just screwed it up and gave me an error. I'm guessing its because its not under the "midshot" section of that lua. Not quite sure why it worked before and I could visibly see the gear change on screen. As of right now, im shooting naked with only the barrage gear in inventory, so if it kicks in, it will stay on. No luck still.

  12. #2052
    Melee Summoner
    Join Date
    Jan 2014
    Posts
    36
    BG Level
    1

    RNG lua

    Sorry, dude! I'll check my LUA when I get home and post here what I "think" it might be.

  13. #2053
    Sea Torques
    Join Date
    Jul 2010
    Posts
    516
    BG Level
    5
    FFXI Server
    Bahamut

    From your file, this is your rule for handling barrage:
    Code:
     if buffactive.Barrage and equipSet["Barrage"] then
        equipSet = equipSet["Barrage"]
    end
    equipSet is sets.Midshot.
    Meanwhile, these are your barrage sets:
    Code:
                sets.Midshot.Annihilator.Barrage = set_combine(sets.Midshot.Annihilator,{},Barrage)
    sets.Midshot.Annihilator.MidACC.Barrage = set_combine(sets.Midshot.Annihilator.MidACC,{},Barrage)
    sets.Midshot.Annihilator.HighACC.Barrage = set_combine(sets.Midshot.Annihilator.HighACC,{},Barrage)
    sets.Midshot.Yoichinoyumi.Barrage = set_combine(sets.Midshot.Yoichinoyumi,{},Barrage)
    sets.Midshot.Yoichinoyumi.MidACC.Barrage = set_combine(sets.Midshot.Yoichinoyumi.MidACC,{},Barrage)
    sets.Midshot.Yoichinoyumi.HighACC.Barrage = set_combine(sets.Midshot.Yoichinoyumi.HighACC,{},Barrage)
    sets.Midshot.Annihilator.SAM.Barrage = set_combine(sets.Midshot.Annihilator.SAM,{},Barrage)
    sets.Midshot.Annihilator.SAM.MidACC.Barrage = set_combine(sets.Midshot.Annihilator.SAM.MidACC,{},Barrage)...

  14. #2054
    New Merits
    Join Date
    Apr 2010
    Posts
    228
    BG Level
    4

    Quote Originally Posted by Motenten View Post
    Line 464, add:
    Code:
        if IceNukes:contains(spell.english) then
            return 'IceNukes'
        end
    Perfect!, Thanks Mote

  15. #2055
    RIDE ARMOR
    Join Date
    May 2014
    Posts
    10
    BG Level
    1

    Quote Originally Posted by TSFFXI View Post
    From your file, this is your rule for handling barrage:
    Code:
     if buffactive.Barrage and equipSet["Barrage"] then
        equipSet = equipSet["Barrage"]
    end
    equipSet is sets.Midshot.
    Meanwhile, these are your barrage sets:
    Code:
                sets.Midshot.Annihilator.Barrage = set_combine(sets.Midshot.Annihilator,{},Barrage)
    sets.Midshot.Annihilator.MidACC.Barrage = set_combine(sets.Midshot.Annihilator.MidACC,{},Barrage)
    sets.Midshot.Annihilator.HighACC.Barrage = set_combine(sets.Midshot.Annihilator.HighACC,{},Barrage)
    sets.Midshot.Yoichinoyumi.Barrage = set_combine(sets.Midshot.Yoichinoyumi,{},Barrage)
    sets.Midshot.Yoichinoyumi.MidACC.Barrage = set_combine(sets.Midshot.Yoichinoyumi.MidACC,{},Barrage)
    sets.Midshot.Yoichinoyumi.HighACC.Barrage = set_combine(sets.Midshot.Yoichinoyumi.HighACC,{},Barrage)
    sets.Midshot.Annihilator.SAM.Barrage = set_combine(sets.Midshot.Annihilator.SAM,{},Barrage)
    sets.Midshot.Annihilator.SAM.MidACC.Barrage = set_combine(sets.Midshot.Annihilator.SAM.MidACC,{},Barrage)...
    Sorry I'm still really new at this. Are you saying that there are 2 errors? The first being the rule is a "midshot" rule, and the second error being that I need to put the gear I want worn in the Barrage sets part? If i leave the first part you quoted, does that mean I would need to put the "sets.Barrage" part into the "sets.Midshot" part?

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

    Quote Originally Posted by Backlash53 View Post
    Sorry I'm still really new at this. Are you saying that there are 2 errors? The first being the rule is a "midshot" rule, and the second error being that I need to put the gear I want worn in the Barrage sets part? If i leave the first part you quoted, does that mean I would need to put the "sets.Barrage" part into the "sets.Midshot" part?
    1. You said it used to work, if you didn't modify anything and broke after an update so some codes did change.

    2. Equipset is not just midcast, it modify it self inside the midcast function so...

    3. Ignore what they said, and wait for who wrote it to help you or Mote since Bokura used some of his codes as he claim at the beginner of the file.

    Or 4. Find another rng.lua to use that might be easier to understand.

  17. #2057
    RIDE ARMOR
    Join Date
    May 2014
    Posts
    10
    BG Level
    1

    Ok. Thanks a lot

  18. #2058
    Sea Torques
    Join Date
    Jul 2010
    Posts
    516
    BG Level
    5
    FFXI Server
    Bahamut

    Oops, my bad. I cut some of the paste off.
    Code:
    if equipSet[WeaponArray[WeaponIndex]] then
          equipSet = equipSet[WeaponArray[WeaponIndex]]
    end
    if equipSet[player.sub_job] then
           equipSet = equipSet[player.sub_job]
    end
    if equipSet[AccArray[AccIndex]] then
           equipSet = equipSet[AccArray[AccIndex]]
    end
    if buffactive["Decoy Shot"] and equipSet["Decoy"] then
            equipSet = equipSet["Decoy"]
    end
    if equipSet["Enmity"] and Enmity == 'ON' then
          equipSet = equipSet["Enmity"]
    end
    if buffactive.Aftermath and equipSet["AM"] then
          equipSet = equipSet["AM"]
    end
    if buffactive.Ionis and equipSet["Ionis"] then
          equipSet = equipSet["Ionis"]
    end
    if buffactive["Samurai Roll"] and equipSet["STP"] and Samurai_Roll == 'ON' then
           equipSet = equipSet["STP"]
    end
    if buffactive.Barrage and equipSet["Barrage"] then
           equipSet = equipSet["Barrage"]
    end
    Here's what I think is wrong: suppose your variables are such that you'd expect to equip the set sets.Midshot.Annihilator.HighACC.Barrage when using barrage, and also suppose you have ionis. Follow through the midcast code:
    equipSet is sets.Midshot.
    Is there a key named annihilator in the sets.Midshot table? Yes: equipSet is sets.Midshot.Annihilator.
    Is there a subjob key in the sets.Midshot.Annihilator table? No: equipSet is sets.Midshot.Annihilator.
    Is there an accuracy key in the equipSet is sets.Midshot.Annihilator table? Yes; equipSet is sets.Midshot.Annihilator.HighAcc.
    Decoy shot, enmity, and aftermath are down (for convenience): equipSet is sets.Midshot.Annihilator.HighAcc.
    Is Ionis present? Yes. Is there a key named Ionis in the sets.Midshot.Annihilator.HighAcc table? Yes: equipSet is sets.Midshot.Annihilator.HighAcc.Ionis.
    Samurai roll is not active, for convenience.
    Is barrage active? Yes. Is there a key named barrage in the sets.Midshot.Annihilator.HighAcc.Ionis table? No. equipSet is sets.Midshot.Annihilator.HighAcc.Ionis.

    Kind of lengthy, but I don't think barrage is being processed for that reason. Was there ever a function that handled the order of the variables?

  19. #2059
    RIDE ARMOR
    Join Date
    May 2014
    Posts
    10
    BG Level
    1

    Ok thanks. That explanation makes a little more sense to me. And I assume there was a function that handled the order of the variables. When I first started using it all of the swaps, including the barrage swap, worked fine.

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

    Gearswap Help Thread!

    @TSFFXI, thats not the problem just did test it.

    the sets work ok. the problem is w/

    Code:
                        if buffactive.Barrage and equipSet["Barrage"] then
                                equipSet = equipSet["Barrage"]
                        add_to_chat(123,' We here barrage')
                        end
    the problem is "equipSet["Barrage"]" condition, did remove it, and got the addtochat I put..
    then did disable the "auto" Decoy/Double Shot because was annoying and tried again, and for some reason worked. the issue is: there is not set for barrage when Decoy Shot is up
    Code:
                        if buffactive["Decoy Shot"] and equipSet["Decoy"] then
                                equipSet = equipSet["Decoy"]
                        end
    so if you try to barrage while have Decoyshot up, wont equip any Barrage gear.

    Now few question to Backlash53:
    1. What's your Weapon?
    2. What Sub are you using?
    3. did you notice if you had Decoy shot active?


    and sadly the way the autor use "equipSet" is probably not the best... would be better to used a function to decide it, and the decoy shot + barrage is a problem, I suppose if you move
    Code:
                        if buffactive.Barrage and equipSet["Barrage"] then
                                equipSet = equipSet["Barrage"]
                                add_to_chat(123,'Mid Barrage')
                        end
    before the decoy code, might fix the issue





    EDIT:

    http://pastebin.com/tgeVMJZk

    yea, "fixed", did move the barrage code before decoy shot's code, did leave the addtochat in barrage @ least for me was working
    try it if you want.

    And I was using anni and / sam while testing

Page 103 of 302 FirstFirst ... 53 93 101 102 103 104 105 113 153 ... LastLast

Similar Threads

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