Item Search
     
BG-Wiki Search
+ Reply to Thread
Page 11 of 22 FirstFirst ... 9 10 11 12 13 21 ... LastLast
Results 201 to 220 of 421
  1. #201

    Quote Originally Posted by psylo View Post
    Hello everyone, i have a request about pup.lua.

    I wanna know if its possible to add something like that :
    Code:
    If iddlemode = "DD" then
       if pet.tp > 900 then equip pet.ws.set
                       else equip iddle.set.dd
       end
    
    If iddlemode = "tank" then
       if ja.strobe recast > 29 then equip pet.voke.set
                       else equip iddle.set.tank
       end
       if ja.flash recast > 29 then equip pet.voke.set
                       else equip iddle.set.tank
       end
    do you think we can add this to a standard pup.lua, this way we can let gs swap gear before pet get 1K tp so before ws and go back to pet.tp set when tp low.
    i can only think of Automaton Attachments so no all the timers are server side
    you can do the pet tp

  2. #202
    i should really shut up
    You can safely ignore me I am a troll

    Join Date
    Sep 2011
    Posts
    6,758
    BG Level
    8
    FFXI Server
    Asura

    Is it possible to combine two arrays?

    Essentially I have a TP set array for 4 sets and want to combine 2 DW sets over the current TP set in the array when a field (DW == true) is active. Is it possible to use set combine for two different arrays like this?

    I have had no trouble doing this for single actions without an array (stack affinity gear over my MAB sets array), but I am not sure if this can be done for multiple indexes at once. At best, the issue I have had in the past is after combining them it just pulls the first set in the index regardless. Not sure how to get around that.

    I could just have a toggle for DW low, mid (for non BLU jobs), and high and off (instead of just on/off and then toggled) that combined every TP set in a duplicated series of set combines, but that is a really lame way of doing this as it makes 2 sets into 8-12 sets.

    EDIT: Current lua paste

  3. #203
    Smells like Onions
    Join Date
    Nov 2018
    Posts
    5
    BG Level
    0

    Hello everyone,

    my problem is that my gearswap just stops working, with no error message. In this time, while gearswap is still activated, i can't even use magic or abilities.
    Before this happens, everything works totaly fine....and then, out of the blue, nothing. Sometimes it takes 20 mins then it can take like 1 hour.
    I reinstalled windower, even refreshed all the lib folders.
    Unload/reload doesn't work at all, i need restart whole ffxi to use gearswap again.... for some time .

    Sorry if that problem has been asked before, but i could't find anything like this.

    Best regards!

  4. #204
    i should really shut up
    You can safely ignore me I am a troll

    Join Date
    Sep 2011
    Posts
    6,758
    BG Level
    8
    FFXI Server
    Asura

    Quote Originally Posted by Phobien View Post
    Hello everyone,

    my problem is that my gearswap just stops working, with no error message. In this time, while gearswap is still activated, i can't even use magic or abilities.
    Before this happens, everything works totaly fine....and then, out of the blue, nothing. Sometimes it takes 20 mins then it can take like 1 hour.
    I reinstalled windower, even refreshed all the lib folders.
    Unload/reload doesn't work at all, i need restart whole ffxi to use gearswap again.... for some time .

    Sorry if that problem has been asked before, but i could't find anything like this.

    Best regards!
    Should pastebin your lua.

  5. #205
    Smells like Onions
    Join Date
    Nov 2018
    Posts
    5
    BG Level
    0

    Quote Originally Posted by Spicyryan View Post
    Should pastebin your lua.
    Sorry for the noob question- but how do I do that?

  6. #206

    Quote Originally Posted by Phobien View Post
    Sorry for the noob question- but how do I do that?
    with pastbin you can post the file like the one for this url: https://pastebin.com/B9n3Vhn4
    if you cant post links yet use this: Pastbin:B9n3Vhn4

  7. #207
    Smells like Onions
    Join Date
    Nov 2018
    Posts
    5
    BG Level
    0

    Ty, here it is: pastebin.com/bRFVRQkH

    But like I said before, it works fine until it stops without any errors/messages/etc, I have the same problem with rolltracker btw. And when it stops I cant do anything beside walking & autoattack until i unload gearswap.
    My friends tested that lua and they said it works fine, so maybe its an other problem?

  8. #208

    Quote Originally Posted by Phobien View Post
    Ty, here it is: pastebin.com/bRFVRQkH

    But like I said before, it works fine until it stops without any errors/messages/etc, I have the same problem with rolltracker btw. And when it stops I cant do anything beside walking & autoattack until i unload gearswap.
    My friends tested that lua and they said it works fine, so maybe its an other problem?
    i just read through your code and it looks fine


    do you have any issues with lag or constantly being disconnected?
    --this could be your issue

    what it your isp?

    do you know if your isp does packet bursting?
    --info: https://routerguide.net/tx-burst-on-...-packet-burst/
    -- i cant help if this is your issue

    is anybody else using the internet while you are playing?

    does your router use Tx Burst,Frame Burst or Packet Burst?
    -- try turning it off or on

  9. #209
    Smells like Onions
    Join Date
    Nov 2018
    Posts
    5
    BG Level
    0

    Hey,
    Nope I dont have problems with dc or lag, also no router issues.
    Gearswap just stops working at some point and even i can restart it it wont do anything.
    The only thing what helps is to restart ffxi and then it works for like 30 mins ....

  10. #210

    Quote Originally Posted by Phobien View Post
    Hey,
    Nope I dont have problems with dc or lag, also no router issues.
    Gearswap just stops working at some point and even i can restart it it wont do anything.
    The only thing what helps is to restart ffxi and then it works for like 30 mins ....
    you are going to have to report it to the Windower team here https://github.com/Windower/Lua/issues because i can not tell you what is wrong as it is not gearswaps fault or ffxi's fault as far as i can tell

  11. #211
    Smells like Onions
    Join Date
    Nov 2018
    Posts
    5
    BG Level
    0

    Thx a lot, i'll send them a message, maybe they'll have an other idea!

  12. #212
    i should really shut up
    You can safely ignore me I am a troll

    Join Date
    Sep 2011
    Posts
    6,758
    BG Level
    8
    FFXI Server
    Asura

    The Velkk ambuscade removing my weapons has really forced me to ask about this bug I have been ignoring with my RUN GS.

    If I lose my weapon from one of several abilities in game, it starts throwing errors and doesn't swap gear (unless manually toggled) until I reequip my weapon. Which I can't do after Saurian Slide hits me for some time. Suggestions?

    Paste: RUN.lua

  13. #213
    Radsourceful

    Join Date
    Jul 2007
    Posts
    1,964
    BG Level
    6
    FFXI Server
    Bismarck

    Line 1901 and 1984, likely. "nil" weapon when empty doesn't have a type.

  14. #214
    i should really shut up
    You can safely ignore me I am a troll

    Join Date
    Sep 2011
    Posts
    6,758
    BG Level
    8
    FFXI Server
    Asura

    Quote Originally Posted by Radec View Post
    Line 1901 and 1984, likely. "nil" weapon when empty doesn't have a type.
    Correct (0 doesn't work either), but adding "or player.equipment.main = nil", "or not player.equipment.main", or starting it with "if not player.equip.main or" all don't stop the error from being thrown. So I am unaware of the proper syntax to correct this :/


    "Attempt to index field 'equip' (a nil value)"

  15. #215

    Quote Originally Posted by Spicyryan View Post
    The Velkk ambuscade removing my weapons has really forced me to ask about this bug I have been ignoring with my RUN GS.

    If I lose my weapon from one of several abilities in game, it starts throwing errors and doesn't swap gear (unless manually toggled) until I reequip my weapon. Which I can't do after Saurian Slide hits me for some time. Suggestions?

    Paste: RUN.lua
    Quote Originally Posted by Radec View Post
    Line 1901 and 1984, likely. "nil" weapon when empty doesn't have a type.

    to fix your issue change
    Code:
    if S{1,4,6,7,8,10,12}:contains(gearswap.res.items:with('en', player.equipment.main).skill) then --line 1901
    if S{4,6,7,8,10,12}:contains(gearswap.res.items:with('en', player.equipment.main).skill) then -- line 1984
    to
    Code:
    -- line 1901
    local weapon_skill = gearswap.res.items:with('en', player.equipment.main).skill
    if weapon_skill and S{1,4,6,7,8,10,12}:contains((weapon_skill) then
    -- line 1984
    local weapon_skill = gearswap.res.items:with('en', player.equipment.main).skill
     if weapon_skill and S{4,6,7,8,10,12}:contains(weapon_skill) then

    this should get rid of the nil error

  16. #216
    i should really shut up
    You can safely ignore me I am a troll

    Join Date
    Sep 2011
    Posts
    6,758
    BG Level
    8
    FFXI Server
    Asura

    Quote Originally Posted by dlsmd View Post
    to fix your issue change
    Code:
    if S{1,4,6,7,8,10,12}:contains(gearswap.res.items:with('en', player.equipment.main).skill) then --line 1901
    if S{4,6,7,8,10,12}:contains(gearswap.res.items:with('en', player.equipment.main).skill) then -- line 1984
    to
    Code:
    -- line 1901
    local weapon_skill = gearswap.res.items:with('en', player.equipment.main).skill
    if weapon_skill and S{1,4,6,7,8,10,12}:contains((weapon_skill) then
    -- line 1984
    local weapon_skill = gearswap.res.items:with('en', player.equipment.main).skill
     if weapon_skill and S{4,6,7,8,10,12}:contains(weapon_skill) then

    this should get rid of the nil error
    Made the change, still get the attempt to index a nil value error:

    Updated Paste

  17. #217

    Quote Originally Posted by Spicyryan View Post
    Made the change, still get the attempt to index a nil value error:

    Updated Paste
    when does it happen?
    are you trying to use an ability/spell?

  18. #218
    i should really shut up
    You can safely ignore me I am a troll

    Join Date
    Sep 2011
    Posts
    6,758
    BG Level
    8
    FFXI Server
    Asura

    Quote Originally Posted by dlsmd View Post
    when does it happen?
    are you trying to use an ability/spell?
    Yes, and that was the only time it happened before. After any actions (abilities/spells) without a weapon it throws that.

  19. #219

    Quote Originally Posted by Spicyryan View Post
    Yes, and that was the only time it happened before. After any actions (abilities/spells) without a weapon it throws that.
    can you post the error message that windower gives you in the command box

  20. #220
    i should really shut up
    You can safely ignore me I am a troll

    Join Date
    Sep 2011
    Posts
    6,758
    BG Level
    8
    FFXI Server
    Asura

    Quote Originally Posted by dlsmd View Post
    can you post the error message that windower gives you in the command box
    Take weapon off, complete a cast, and...

    Quote Originally Posted by Error
    GearSwap: Lua runtime error: GearSwap/flow.lua:349:
    GearSwap has detected an error in the user function aftercast:
    <mylualocationandnamehere> line 2016: attempt to index a nil value

Quick Reply Quick Reply

  • Decrease Size
    Increase Size
  • Remove Text Formatting
  • Insert Link Insert Image Insert Video
  • Wrap [QUOTE] tags around selected text
  • Insert NSFW Tag
  • Insert Spoiler Tag

Similar Threads

  1. Gearswap Help Thread!
    By JSHidaka in forum FFXI: Everything
    Replies: 6035
    Last Post: 2018-05-06, 17:15
  2. Randomerest Question Thread III: This Time It's Random
    By isladar in forum FFXI: Everything
    Replies: 868
    Last Post: 2009-08-18, 12:03