How Do I Add More Warp Options Ot Myhome.lua

Eorzea Time
 
 
 
言語: JP EN FR DE
日本語版のFFXIVPRO利用したい場合は、上記の"JP"を設定して、又はjp.ffxivpro.comを直接に利用してもいいです
users online
フォーラム » Windower » Support » how do I add more warp options ot myhome.lua
how do I add more warp options ot myhome.lua
Offline
Posts: 1291
By DaneBlood 2024-12-07 00:04:27  
i was looking at myhome.lua add on and was trying to add the treat staff II and trick staff II.
i added then in the item list and it appears the add-oin undestood they were there and tried to use them but it had a weird effect

One of the staf every so often it would not use it. Just wait 31 secs.
once both staves was addeed the addon would now skip using warp ring.

So i must be missing some changes needed somewhere else in the code.
anyway got myhome.lua to work with more warp items ?
 Asura.Nalfey
Offline
サーバ: Asura
Game: FFXI
user: Nalf
Posts: 176
By Asura.Nalfey 2024-12-07 01:03:15  
Hi Dane,

I don't have those two staves to test but did you add them to the list like this ?:

Code
item_info = {
    [1]={id=28540,japanese='デジョンリング',english='"Warp Ring"',slot=13},
    [2]={id=17040,japanese='デジョンカジェル',english='"Warp Cudgel"',slot=0},
    [3]={id=4181,japanese='呪符デジョン',english='"Instant Warp"'},
    [4]={id=17588,japanese='トリートスタッフII',english='"Treat Staff II"',slot=0},
    [5]={id=17587,japanese='トリックスタッフII',english='"Trick Staff II"',slot=0}
    }
Offline
Posts: 1291
By DaneBlood 2024-12-07 01:27:10  
Asura.Nalfey said: »
Hi Dane,

I don't have those two staves to test but did you add them to the list like this ?:

Code
item_info = {
    [1]={id=28540,japanese='デジョンリング',english='"Warp Ring"',slot=13},
    [2]={id=17040,japanese='デジョンカジェル',english='"Warp Cudgel"',slot=0},
    [3]={id=4181,japanese='呪符デジョン',english='"Instant Warp"'},
    [4]={id=17588,japanese='トリートスタッフII',english='"Treat Staff II"',slot=0},
    [5]={id=17587,japanese='トリックスタッフII',english='"Trick Staff II"',slot=0}
    }

Yup. well kinda mine was like this

Code
item_info = {
    [1]={id=28540,japanese='デジョンリング',english='"Warp Ring"',slot=13},
    [2]={id=17040,japanese='デジョンカジェル',english='"Warp Cudgel"',slot=0},
    [3]={id=17588,japanese='トリートスタッフII',english='"Treat Staff II"',slot=0},
    [4]={id=17587,japanese='トリックスタッフII',english='"Trick Staff II"',slot=0},
    [5]={id=4181,japanese='呪符デジョン',english='"Instant Warp"'}
    }



So I looked through the codes to see if there was any kind of index counter but could not see any that would indciate it only looks through X amount of entries on that list

Maybe I'll just try to redo it
VIP
Offline
Posts: 1150
By Lili 2024-12-07 04:19:40  
Treat staff II is already in:

https://github.com/Windower/Lua/blob/45db20d088daf72d97e358c3f4b79861d9e3d92c/addons/MyHome/MyHome.lua#L41-L44
Code
    [1]={id=28540,japanese='デジョンリング',english='"Warp Ring"',slot=13},
    [2]={id=17588,japanese='トリートスタッフII',english='"Treat Staff II"',slot=0},
    [3]={id=17040,japanese='デジョンカジェル',english='"Warp Cudgel"',slot=0},
    [4]={id=4181,japanese='呪符デジョン',english='"Instant Warp"'}}
Offline
Posts: 854
By Drayco 2024-12-07 13:16:36  
As long as we're asking coding questions here... How would you go about having myhome deactivating Gearswap slots for these items? It would be amazing to have it //gs disable ring1 whenever MyHome equips Warp Ring and then reenable it after it uses it.
 
Offline
Posts:
By 2024-12-07 13:43:31
 Undelete | Edit  | Link | 引用 | 返事
 
Post deleted by User.
 Carbuncle.Nynja
Offline
サーバ: Carbuncle
Game: FFXI
user: NynJa
Posts: 6589
By Carbuncle.Nynja 2024-12-07 16:54:13  
Dont forget to re-enable ring2 at the end
 
Offline
Posts:
By 2024-12-07 17:42:52
 Undelete | Edit  | Link | 引用 | 返事
 
Post deleted by User.
[+]