Item Search
     
BG-Wiki Search
Page 75 of 302 FirstFirst ... 25 65 73 74 75 76 77 85 125 ... LastLast
Results 1481 to 1500 of 6036

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

  1. #1481
    BG Content
    Join Date
    Jul 2007
    Posts
    22,384
    BG Level
    10
    FFXI Server
    Lakshmi
    Blog Entries
    1

    Put this at the end of your aftercast function:
    Code:
    if buffactive['Reive Mark'] then
        equip({neck="Arciela's Grace"})
    end

  2. #1482
    Smells like Onions
    Join Date
    May 2014
    Posts
    5
    BG Level
    0

    Quote Originally Posted by Byrthnoth View Post
    Put this at the end of your aftercast function:
    Code:
    if buffactive['Reive Mark'] then
        equip({neck="Arciela's Grace"})
    end
    Great, thank you for the quick reply!

  3. #1483
    Sea Torques
    Join Date
    Aug 2006
    Posts
    518
    BG Level
    5
    FFXI Server
    Leviathan

    My /ra <t> macro is not working at all. But, it works from the menu. On Rng.

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

    If you are on -dev, that is probably the reason. If you copy this into your res folder (after loading the launcher), it will probably fix your problem:
    https://www.dropbox.com/s/9r5ymvush2mmry1/abilities.lua

    We're currently transitioning from having one resource for all commands, traits, pet commands, job abilities, and weaponskills to having multiple resources for those categories. They are independent as far as packets are concerned, and SE shifted them around in one of the packets in the last update (which caused our JA problems then). We figure it's safer to split them up, so we're moving to do that now.

    Also, it's probably impossible for anyone to use the RUN or GEO WS until we do that. I think those two pushed us over the 256 limit for WSs.

  5. #1485
    Sea Torques
    Join Date
    Aug 2006
    Posts
    518
    BG Level
    5
    FFXI Server
    Leviathan

    Not on Dev. It is swapping fine through the menu. Just refuses to fire/swap at all from /ra <t>

  6. #1486
    BG Content
    Join Date
    Jul 2007
    Posts
    22,384
    BG Level
    10
    FFXI Server
    Lakshmi
    Blog Entries
    1

    Quote Originally Posted by stamos View Post
    Not on Dev. It is swapping fine through the menu. Just refuses to fire/swap at all from /ra <t>
    Ah, I might know why. SE moved stuff around and I'm not really sure where the /ranged attack unlocking bit moved to. Let me check.

  7. #1487
    BG Content
    Join Date
    Jul 2007
    Posts
    22,384
    BG Level
    10
    FFXI Server
    Lakshmi
    Blog Entries
    1

    Nope, no idea:
    Spoiler: show


    It is working for me. >:/

  8. #1488
    Sea Torques
    Join Date
    Aug 2006
    Posts
    518
    BG Level
    5
    FFXI Server
    Leviathan

    With Debug mode on. It stops at Entering pretarget for me

  9. #1489
    BG Content
    Join Date
    Jul 2007
    Posts
    22,384
    BG Level
    10
    FFXI Server
    Lakshmi
    Blog Entries
    1

    What command are you using exactly? I tried all the ones for ranged attack that I know of. Do you have cancel rules in pretarget?

  10. #1490
    Sea Torques
    Join Date
    Aug 2006
    Posts
    518
    BG Level
    5
    FFXI Server
    Leviathan

    Derp

  11. #1491
    BG Content
    Join Date
    Jul 2007
    Posts
    22,384
    BG Level
    10
    FFXI Server
    Lakshmi
    Blog Entries
    1

    So yeah, you do.

    Put a print(number) statement before each of your cancel_spell()s. Figure out which one is canceling your ranged attacks. Then print out the parts of the conditional for the problematic ones.

  12. #1492
    Very Sexy Nerd
    Join Date
    Oct 2005
    Posts
    8,736
    BG Level
    8
    FFXI Server
    Carbuncle

    Been coding for a few hours, so my head hurts and I'm probably missing something obvious.

    Anyway,

    I'm trying to build a set dynamically (well, a few pieces), and then trying to merge them into a TP set.

    Right now, I'm dynamically creating a string that has

    str_name = "body=\"Blah\",head=\"Blah\"," etc.. (with a comma at the end, dont think it matters in lua?)

    Then, I'm inserting it into a table by doing

    table.insert(combining_set_name,str_name)

    Which I think basically means I have a table with one string that equals all of my gear. So the equivalent should be

    combining_set_name = {body="blah", head="blah",} ... I think?

    So at this point, my function returns: set_combine(My_TP_Set,combining_set_name).

    It seems to only be executing the TP set by itself, and the combine doesn't seem to be working.

    Like I said, head hurts pretty bad, may not even be doing this the best way. Any ideas?

    Also is there an easier way to debug lua, besides a billion add_to_chats? Tables specifically, they're a pain in the ass right now. Sure wish I could just run a nice debugger and just look at a visualized table.. that would be nice.

    edit: Took a break, ok, I see what I'm doing wrong. I'm setting up the table wrong. I think I know how to fix this.

    edit2: Ok, fixed it. I initialize my Combining_Set_Name = {}, then in my loop I do Combining_Set_Name['body'] = 'blah', etc. I then combine the combining_set_name into the original tp set. Such a dumb mistake. Taking breaks helps!

  13. #1493
    Sea Torques
    Join Date
    Aug 2006
    Posts
    518
    BG Level
    5
    FFXI Server
    Leviathan

    Didn't find anything. Put Print(5) in front of every cancel_spell. Still didn't work

    Nevermind. Found it.

    elseif windower.ffxi.get_ability_recasts()[52] < 1 and not buffactive.amnesia then
    cancel_spell()
    send_command('DecoyShot')
    elseif windower.ffxi.get_ability_recasts()[126] < 1 and not buffactive.amnesia then
    cancel_spell()
    send_command('DoubleShot')


    Both of these

    Thanks Byrth

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

    Using Mote's MNK files, How would I go about adding Shadow Mantle for Chakra but only on Dark's Day? This is what I used for Spellcast if that helps.
    Code:
    	
    
        <elseif spell="Chakra">
                                        <castdelay delay="0.4" />
                                        <equip when="Precast" set="Chakra" />
                                        <if advanced='"%DayElement" = "Dark"'>
                                <equip when="precast">
                                <back lock="yes">Shadow Mantle</back>
                                </equip>
                                        </if>                          
                                </elseif>

  15. #1495
    Smells like Onions
    Join Date
    May 2014
    Posts
    5
    BG Level
    0

    Quote Originally Posted by Byrthnoth View Post
    Put this at the end of your aftercast function:
    Code:
    if buffactive['Reive Mark'] then
        equip({neck="Arciela's Grace"})
    end
    I added this into my jobs' LUAs (I'm using Mote's), but it does not seem to equip Arciela's Grace when I enter a reive nor after I engage/do something/etc. Perhaps I need to do something further as I am using Mote's files? Or should I not put it in the job LUAs and place it in one of the necessary files he has? Sorry, and thank you for any assistance.

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

    yea... for Mote's files... most likely need to wait for him to assist... but if your post your file (in pastebin), could try to check

  17. #1497
    Salvage Bans
    Join Date
    Oct 2010
    Posts
    948
    BG Level
    5
    FFXI Server
    Valefor

    Hrm, having a bit of a tricky time now. The HB trigger bit you gave me isn't working properly, but I also might have coded it wrong. Additionally, it's not causing me to blink whenever I WS or JA, yet I'm getting no errors on them. The only error I'm getting is about healing breath, which isn't working at all. The error is: "lua:133: attempt to index global 'hbtriggers' (a nil value)". I probably did the setup for triggers wrong. x.x

    My GS: http://pastebin.com/78Fr5Sa9

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

    Quote Originally Posted by Kensagaku View Post
    Hrm, having a bit of a tricky time now. The HB trigger bit you gave me isn't working properly, but I also might have coded it wrong. Additionally, it's not causing me to blink whenever I WS or JA, yet I'm getting no errors on them. The only error I'm getting is about healing breath, which isn't working at all. The error is: "lua:133: attempt to index global 'hbtriggers' (a nil value)". I probably did the setup for triggers wrong. x.x

    My GS: http://pastebin.com/78Fr5Sa9
    first thing I saw

    function user_setup()
    hbtriggers = S{"Poisona", "Stone", "Regen,"}
    end

    "Regen,"

    second not sure that inside function user_setup() works.. but put it inside get_set()
    will keep checking

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

    http://pastebin.com/Hr8BExjF

    besides the user_setup... saw everything else ok...
    to check if swaps are working as intended use //gs showswaps, just worried about the healingbreath part, coz the aftercast of the triggerspell can overlap the gearswap for HB, not sure, but with //gs showswaps you can confirm if its working.

    did modify the HB code, so if you dont have enough hp to trigger HB, will get this msg "----- Wont have Enough HP to Trigger Healing Breath, Canceling -----" so @ least can test it in town, if get that message, the code should work

    found another error,

    spell.action_type for a JA return Ability not JobAbility
    spell.type return JobAbility

    and while fixing this, you had a case sensitive issue in the WS part. either way the Link is "fixed"

  20. #1500
    Salvage Bans
    Join Date
    Oct 2010
    Posts
    948
    BG Level
    5
    FFXI Server
    Valefor

    Thanks, I got everything up and running well. ^^

Page 75 of 302 FirstFirst ... 25 65 73 74 75 76 77 85 125 ... LastLast

Similar Threads

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