Item Search
     
BG-Wiki Search
Page 194 of 302 FirstFirst ... 144 184 192 193 194 195 196 204 244 ... LastLast
Results 3861 to 3880 of 6036

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

  1. #3861
    Sea Torques
    Join Date
    Jul 2009
    Posts
    608
    BG Level
    5

    Alright, so now we have some spells working. Give me a few and I'll go through the list of what swaps and what doesn't... I'll edit it into this post.

    And the edit:

    Haste,Refresh,Silence,Dia,Gravity,Sleep,Sleep2,Bli nd,Bind all work. Cure spells do not, stoneskin does not, slow/paralyze do not (even //gs c setpotency\accuracy) Nukes do not work, but I haven't tried to code them in yet. (I want to make a separate set for Blizzard nukes cuz aquilo's)
    Thanks for all of your help so far!

    Spoiler: show
    Code:
    function get_sets()
        enfeeb_set_type = {"potency","accuracy"}
        enfeeb_set_type_count = 1
        sets.accuracy = {main="Chatoyant Staff", sub="raptor strap +1",
                    head="blood Mask", neck="Enfeebling Torque", ear1="Incubus Earring +1",
                    ear2="Incubus Earring +1", body="Warlock's Tabard", hands="Devotee's Mitts +1",
                    ring1="Celestial Ring", ring2="Celestial Ring", back="Hecate's Cape",
                    waist="Witch Sash", legs="Mahatma Slops", feet="Mahatma Pigaches"}
        sets.potency = {main="Mistilteinn", sub="Nms. Shield +1",
                    head="blood Mask", neck="Promis Badge", ear1="Celestial Earring",
                    ear2="Celestial Earring", body="Mahatma Houppelande", hands="Devotee's Mitts +1",
                    ring1="Celestial Ring", ring2="Celestial Ring", back="Prism Cape",
                    waist="Witch Sash", legs="Mahatma Slops", feet="Mahatma Pigaches"}
        enfeeb_spells = S{"Paralyze","Paralyze II","Slow","Slow II"}
                   
        --Idle Sets
        sets.idle = {main="Terra's Staff", sub="Vivid Strap +1", ammo="Hedgehog Bomb",
                            neck="Orocho Nodowa +1", ear1="Merman's Earring", ear2="Merman's Earring",
                            body="Ixion Cloak", hands="Dst. Mittens +1", ring1="Merman's Ring", ring2="Merman's Ring",
                            back="Umbra Cape", waist="Ocean Rope", legs="Blood Cuisses", feet="Dst. Leggings +1"}
           
        sets.idle.standard = {main="Terra's Staff", sub="Vivid Strap +1", ammo="Hedgehog Bomb",
                            neck="Orocho Nodowa +1", ear1="Merman's Earring", ear2="Merman's Earring",
                            body="Ixion Cloak", hands="Dst. Mittens +1", ring1="Merman's Ring", ring2="Merman's Ring",
                            back="Umbra Cape", waist="Ocean Rope", legs="Blood Cuisses", feet="Dst. Leggings +1"}
           
        sets.idle.PDT = {main="Terra's Staff", sub="Vivid Strap +1", ammo="Hedgehog Bomb",
                            neck="Orocho Nodowa +1", ear1="Merman's Earring", ear2="Merman's Earring",
                            body="Ixion Cloak", hands="Dst. Mittens +1", ring1="Merman's Ring", ring2="Merman's Ring",
                            back="Umbra Cape", waist="Ocean Rope", legs="Blood Cuisses", feet="Dst. Leggings +1"}
           
        --Precast Sets
        sets.precast = {head="Warlock's Chapeau", body="Goliard Saio", sub="Vivid Strap +1"}
           
        --Midcast sets
        sets.midcast = {head="Warlock's Chapeau", body="Goliard Saio", hands="Dusk Gloves +1", waist="Speed Belt", feet="Dusk Ledelsens +1"}
        sets.midcast.Cure = {main="Chatoyant Staff", sub="Staff Grip", head="Warlock's Chapeau", neck="Fylgja Torque +1", ear1="Roundel Earring",
                            ear2="Celestial Earring", body="Goliard Saio", hands="Dusk Goves +1", ring1="Celestal Ring", ring2="Celestial Ring", back="Mahatma Cape",
                            waist="Pythia Sash +1", legs="Mahatma Slops", feet="Dusk Ledelsens +1"}        
        sets.midcast.DarkEnfeeble = {main="Chatoyant Staff", sub="Vivid Strap +1",
                    head="blood Mask", neck="Enfeebling Torque", ear1="Incubus Earring +1",
                    ear2="Incubus Earring +1", body="Warlock's Tabard", hands="Mahatma Cuffs",
                    ring1="Omn. Ring +1", ring2="Omn. Ring +1", back="Hecate's Cape",
                    waist="Witch Sash", legs="Mahatma Slops", feet="Wise Pigaches +1"}
                   
        sets.midcast.MndEnfeeble = {main="Chatoyant Staff", sub="raptor strap +1",
                    head="blood Mask", neck="Enfeebling Torque", ear1="Incubus Earring +1",
                    ear2="Incubus Earring +1", body="Warlock's Tabard", hands="Devotee's Mitts +1",
                    ring1="Celestial Ring", ring2="Celestial Ring", back="Hecate's Cape",
                    waist="Witch Sash", legs="Mahatma Slops", feet="Mahatma Pigaches"}
     
        sets.midcast.Curaga = sets.midcast.Cure
        sets.midcast.CureSelf = {main="Chatoyant Staff", sub="Staff Grip", head="Warlock's Chapeau", neck="Fylgja Torque +1", ear1="Roundel Earring",
                            ear2="Celestial Earring", body="Goliard Saio", hands="Dusk Goves +1", ring1="Celestal Ring", ring2="Celestial Ring", back="Mahatma Cape",
                            waist="Pythia Sash +1", legs="Mahatma Slops", feet="Dusk Ledelsens +1"}
     
        sets.midcast['Enhancing Magic'] = {head="Warlock's Chapeau", body="Goliard Saio", neck="Enhancing Torque", ear1="Augment. Earring", legs="Warlock's Tights",
                            hands="Duelist's Gloves", feet="Dusk Ledelsens +1", waist="Speed Belt"}
                   
        sets.midcast.Buffs = {head="Warlock's Chapeau", body="Goliard Saio", legs="Warlock's Tights",
                            hands="Dusk Gloves +1", feet="Dusk Ledelsens +1", waist="Speed Belt"}
     
        sets.midcast.Stoneskin = {head="Warlock's Chapeau", body="Goliard Saio", neck="Enhancing Torque", ear1="Augment. Earring", ear2="Celestial Earring",
                            legs="Warlock's Tights", hands="Dusk gloves +1", feet="Dusk Ledelsens +1", waist="Speed Belt", back="Prism Cape", ring1="celestial Ring",
                            ring2="Celestial Ring"}
           
    	sets.midcast.Nuke = {main="Chatoyant Staff", sub="Vivid Strap +1", ammo="Phtm. Tathlum",
    		head="warlock's Chapeau", neck="Lmg. Medallion +1", ear1="Moldavite Earring", ear="Elemental Earring",
    		body="Mahatma Hpl.", hands="Zenith Mitts +1", ring1="Omn. Ring +1", ring2="Omn. Ring +1", 
    		back="Hecate's Cape", waist="Witch Sash", legs="Mahatma Slops", feet="Duelist's Boots"}
    
        sets.midcast.Blizzard = {main="Aquilo's", sub="Vivid Strap +1", ammo="Phtm. Tathlum",
    		head="warlock's Chapeau", neck="Lmg. Medallion +1", ear1="Moldavite Earring", ear="Crapaud Earring",
    		body="Mahatma Hpl.", hands="Zenith Mitts +1", ring1="Omn. Ring +1", ring2="Omn. Ring +1", 
    		back="Hecate's Cape", waist="Witch Sash", legs="Mahatma Slops", feet="Duelist's Boots"}
     
    end
    function precast(spell)
            if spell.type == 'Magic' then
                    equip(sets.precast)
            if spell.skill == "Enfeebling Magic" then
                if enfeeb_spells:contains(spell.en) then
                    equip(sets.FullMndEnfeeb, sets[enfeeb_set_type[enfeeb_set_type_count]])
                end
            end
            end
    end
    function midcast(spell)
        if spell.action_type == 'Magic' then
            if spell.skill == "Enfeebling Magic" then
                if windower.wc_match(spell.english,'Silence*|Dia*') then
                    equip(sets.midcast.MndEnfeeble)
                elseif windower.wc_match(spell.english,'Sleep*|Gravity|Blind*|Bind*|Poison*') then
                    equip(sets.midcast.DarkEnfeeble)
                end
            elseif spell.skill == 'Healing Magic' then
                if windower.wc_match(spell.english,'Cur*') and spell.name ~= 'Cursna' then
                    equip(sets.midcast.cure)
                else
                    equip(sets.midcast.fastcast)
                end
            elseif spell.skill == 'Enhancing Magic' then
                if spell.english == 'Stoneskin' then
                    equip(sets.midcast.stoneskin)
                elseif windower.wc_match(spell.english,'Refresh*|Haste*') then
                    equip(sets.midcast.Buffs)
                else
                    equip(sets.midcast.fastcast)
                end
    		elseif spell.skill == 'ElementalMagic' then
    			if windower.wc_match(spell.english,'Blizz*') then
    				equip(sets.midcast.Blizzard)
    			else
    				equip(sets.midcast.Nuke)
    			end
    		end
        end
    end
    function aftercast(spell)
            equip(sets.idle)
    end
    function self_command(command)
        if command == 'enfeebsettype' then
            enfeeb_set_type_count = (enfeeb_set_type_count % #enfeeb_set_type_count) + 1
            add_to_chat(7,'Enfeeb Set Type = ' .. tostring(enfeeb_set_type[enfeeb_set_type_count]))
        end
    end


    This is where I'm at so far; nukes not working either. At this point wouldn't it almost be worth it to start from the ground up?

  2. #3862
    Bagel
    Join Date
    Dec 2012
    Posts
    1,488
    BG Level
    6

    try this
    http://pastebin.com/zwUHY6nF

    the command is "//gs c enfeebsettype" to switch between the 2 sets

  3. #3863
    Sea Torques
    Join Date
    Jul 2009
    Posts
    608
    BG Level
    5

    Hnng. So sorry, it's still not even doing anything. Only a few spells actually work under this. It's still the same set of spells as previous.

  4. #3864
    Bagel
    Join Date
    Dec 2012
    Posts
    1,488
    BG Level
    6

    Quote Originally Posted by Clerix View Post
    Hnng. So sorry, it's still not even doing anything. Only a few spells actually work under this. It's still the same set of spells as previous.
    are you getting any errors

  5. #3865
    Sea Torques
    Join Date
    Jul 2009
    Posts
    608
    BG Level
    5

    0 Errors.

    show gearswaps shows that I'm not even equipping precast gear (warlock's chapeau, vivid strap, goliard saio) on the spells that do actually go through and swap for (Silence, Blind, Gravity, Refresh, Haste). The other spells just aren't triggering an equip or something, idk

  6. #3866
    Bagel
    Join Date
    Dec 2012
    Posts
    1,488
    BG Level
    6

    these spells should trigger on precast
    "Paralyze","Paralyze II","Slow","Slow II"

    and if its not
    'Cura','Cura II','Cura III','Curaga','Curaga II','Curaga III','Curaga IV','Curaga V','Cure','Cure II','Cure III','Cure IV','Cure V','Cure VI'
    or
    "Refresh","Refresh II","Haste","Haste II","Hastega"

    it will equip nothing because you do not have a sets.midcast.fastcast defined

    also
    if not
    "Silence","Silencega"
    "Sleep","Sleep II","Sleepga","Sleepga II","Blind","Blind II","Blindga","Bind","Bindga","Poison","Poison II","Poison III","Poison IV","Poison V",
    "Poisonga","Poisonga II","Poisonga III","Poisonga IV","Poisonga V"
    it will do nothing for enfeeb spells in midcast

  7. #3867
    Sea Torques
    Join Date
    Jul 2009
    Posts
    608
    BG Level
    5

    Paralyze/Slow don't trigger any gear changes at all.

    Refresh,Haste do.

    edit: poison, sleep, etc do (from your lists)

    so i don't even know what's going on. :\

  8. #3868
    Bagel
    Join Date
    Dec 2012
    Posts
    1,488
    BG Level
    6

    ok try this
    this will print info into windowers console
    for "Paralyze","Paralyze II","Slow","Slow II" it will print enfeeb.precast

    for "Silence","Silencega","Dia","Dia II","Dia III","Dia IV","Dia V","Diaga","Diaga II","Diaga III","Diaga IV","Diaga V" it will print enfeeb.Mnd

    for "Sleep","Sleep II","Sleepga","Sleepga II","Blind","Blind II","Blindga","Bind","Bindga","Poison","Poison II","Poison III","Poison IV","Poison V","Poisonga","Poisonga II","Poisonga III","Poisonga IV","Poisonga V" it will print enfeeb.Dark

    for 'Cura','Cura II','Cura III','Curaga','Curaga II','Curaga III','Curaga IV','Curaga V','Cure','Cure II','Cure III','Cure IV','Cure V','Cure VI' it will print Cure_spells

    for other Healing Magic it will print Healing Magic

    for "Stoneskin" it will print Stoneskin

    for "Refresh","Refresh II","Haste","Haste II","Hastega" it will print Enhance_spells

    for other Enhancing Magic it will print Enhancing Magic

    here is the file
    http://pastebin.com/zwUHY6nF

  9. #3869
    Sea Torques
    Join Date
    Jul 2009
    Posts
    608
    BG Level
    5

    What do I put into Windower's console? nothing? do I just //gs load RDM.lua like normal and try to spell stuff?

  10. #3870
    Bagel
    Join Date
    Dec 2012
    Posts
    1,488
    BG Level
    6

    Quote Originally Posted by Clerix View Post
    What do I put into Windower's console? nothing? do I just //gs load RDM.lua like normal and try to spell stuff?
    correct if thats the name you gave to my file

    if thay do not show up try using this command
    //console_displayactivity 1

  11. #3871
    Sea Torques
    Join Date
    Jul 2009
    Posts
    608
    BG Level
    5

    Okay, still same issue as previous, still not equipping for all of the spells (namely Cures, slow, paralyze, stoneskin) .. but now console is popping up everytime i cast something it shows what's being cast (except for slow/par)

  12. #3872
    Bagel
    Join Date
    Dec 2012
    Posts
    1,488
    BG Level
    6

    ok change

    function precast(spell)
    if spell.type == 'Magic' then

    to

    function precast(spell)
    if spell.action_type == 'Magic' then

  13. #3873
    Sea Torques
    Join Date
    Jul 2009
    Posts
    608
    BG Level
    5

    Alright, that's fixed some of the issues.

    One thing I'm noticing is my midcast.cure isn't kicking in?

    Code:
        sets.midcast.Cure = {main="Chatoyant Staff", sub="Staff Grip", head="Warlock's Chapeau", neck="Fylgja Torque +1", ear1="Roundel Earring",
                            ear2="Celestial Earring", body="Goliard Saio", hands="Dusk Goves +1", ring1="Celestal Ring", ring2="Celestial Ring", back="Mahatma Cape",
                            waist="Pythia Sash +1", legs="Mahatma Slops", feet="Dusk Ledelsens +1"}

    and I cannot swap between //gs c setpotency and //gs c setaccuracy (//gs c enfeebsettype isnt working either)

    Barspells not equipping, stoneskin not equipping (still in precast gear)


    Man, this .lua is a trainwreck!

  14. #3874
    Bagel
    Join Date
    Dec 2012
    Posts
    1,488
    BG Level
    6

    Quote Originally Posted by Clerix View Post
    Alright, that's fixed some of the issues.

    One thing I'm noticing is my midcast.cure isn't kicking in?

    Code:
        sets.midcast.Cure = {main="Chatoyant Staff", sub="Staff Grip", head="Warlock's Chapeau", neck="Fylgja Torque +1", ear1="Roundel Earring",
                            ear2="Celestial Earring", body="Goliard Saio", hands="Dusk Goves +1", ring1="Celestal Ring", ring2="Celestial Ring", back="Mahatma Cape",
                            waist="Pythia Sash +1", legs="Mahatma Slops", feet="Dusk Ledelsens +1"}
    and I cannot swap between //gs c setpotency and //gs c setaccuracy (//gs c enfeebsettype isnt working either)

    Barspells not equipping, stoneskin not equipping (still in precast gear)


    Man, this .lua is a trainwreck!
    you will not equip anything for spells other then
    "Paralyze","Paralyze II","Slow","Slow II"
    or
    "Silence","Silencega","Dia","Dia II","Dia III","Dia IV","Dia V","Diaga","Diaga II","Diaga III","Diaga IV","Diaga V"
    or
    "Sleep","Sleep II","Sleepga","Sleepga II","Blind","Blind II","Blindga","Bind","Bindga","Poison","Poison II","Poison III","Poison IV","Poison V","Poisonga","Poisonga II","Poisonga III","Poisonga IV","Poisonga V"
    or
    'Cura','Cura II','Cura III','Curaga','Curaga II','Curaga III','Curaga IV','Curaga V','Cure','Cure II','Cure III','Cure IV','Cure V','Cure VI'
    or
    "Stoneskin"
    or
    "Refresh","Refresh II","Haste","Haste II","Hastega"

    because you do not have a sets.midcast.fastcast in you get_sets
    here is a fully updated file
    http://pastebin.com/zwUHY6nF

    and if you realy want to see complicated code look at my include in my sig(i am currently cleaning up all of it)

  15. #3875
    Sea Torques
    Join Date
    Jul 2009
    Posts
    608
    BG Level
    5

    I don't understand what you mean by that?

    I cast cure, stoneskin, refresh, silence, sleep, paralyze (one from each set), and of those the only sets that changed gear were the ones in the spell groupings with refresh, sleep, silence.

    'Cura','Cura II','Cura III','Curaga','Curaga II','Curaga III','Curaga IV','Curaga V','Cure','Cure II','Cure III','Cure IV','Cure V','Cure VI'
    or
    "Stoneskin"
    did not work

    slow/para won't let me trigger potency/accuracy.

    do I need to have an additional file? am i missing anything? ;s

    Edit: I added in the sets.midcast.fastcast into my .xml

  16. #3876
    Bagel
    Join Date
    Dec 2012
    Posts
    1,488
    BG Level
    6

    this file will tell you in windowers console some info for spells http://pastebin.com/zwUHY6nF
    for the spells that dot work let me know what it says (exactly)
    you can use
    //console_log 1
    to create a file that has every thing that is printed to the console
    the file is located in the main windower folder called console.log

    also you are not missing any files

    and what about my previous post dont you understand

  17. #3877
    Sea Torques
    Join Date
    Jul 2009
    Posts
    608
    BG Level
    5

    19:40:05 > GearSwap: Lua runtime error: gearswap/flow.lua:295:
    19:40:05 > GearSwap has detected an error in the user function midcast:
    19:40:05 > ...sktop\Windower4\/addons/gearswap/libs/Katara_RDM.lua:86: attempt to call field 'en' (a string value)
    19:40:24 > GearSwap: Lua runtime error: gearswap/flow.lua:295:
    19:40:24 > GearSwap has detected an error in the user function midcast:
    19:40:24 > ...sktop\Windower4\/addons/gearswap/libs/Katara_RDM.lua:86: attempt to call field 'en' (a string value)
    19:40:30 > GearSwap: Lua runtime error: gearswap/flow.lua:295:
    19:40:30 > GearSwap has detected an error in the user function midcast:
    19:40:30 > ...sktop\Windower4\/addons/gearswap/libs/Katara_RDM.lua:86: attempt to call field 'en' (a string value)

  18. #3878
    Bagel
    Join Date
    Dec 2012
    Posts
    1,488
    BG Level
    6

    chang line 86
    from
    print("spell.en "..spell.en" /spell.skill = "..spell.skill)
    to
    print("spell.en "..spell.en.." /spell.skill = "..spell.skill)

  19. #3879
    Sea Torques
    Join Date
    Jul 2009
    Posts
    608
    BG Level
    5

    19:47:16 > GearSwap: Loaded your RDM Lua file!
    19:47:17 > spell.en Slow /spell.skill = Enfeebling Magic
    19:47:23 > spell.en Blind /spell.skill = Enfeebling Magic
    19:47:29 > spell.en Cure II /spell.skill = Healing Magic
    19:47:39 > spell.en Blizzard III /spell.skill = Elemental Magic




    But the gears aren't changing for Healing Magic.

  20. #3880
    Bagel
    Join Date
    Dec 2012
    Posts
    1,488
    BG Level
    6

    i figured out what was wrong with cure and Stoneskinand i believe i fixed slow/paralyze with this one
    http://pastebin.com/zwUHY6nF
    and i did code //gs c enfeebsettype incorrectly its also fixed

    Elemental Magic is not in this at all
    man i thought i had it correct the first time

Page 194 of 302 FirstFirst ... 144 184 192 193 194 195 196 204 244 ... LastLast

Similar Threads

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