Drg Gearswap Lua

言語: JP EN DE FR
2010-06-21
New Items
users online
フォーラム » FFXI » Jobs » Dragoon » Drg Gearswap lua
Drg Gearswap lua
 Phoenix.Nightfrost
Offline
サーバ: Phoenix
Game: FFXI
Posts: 7
By Phoenix.Nightfrost 2019-04-03 13:32:58  
Does anyone have a GS they can post here that is alil more recent. Most I've found were 2013/14.

thanks in advance.
Offline
Posts: 283
By Sidiov 2019-04-03 14:17:59  
Need to use the equip slot bug for this, but makes it easy.
Code
function sets{
sets.all = {main="Shining One",sub="Shining One",range="Shining One",ammo="Shining One",
head="Shining One",neck="Shining One",ear1="Shining One",ear2="Shining One",
body="Shining One",hands="Shining One",ring1="Shining One",ring2="Shining One",
back="Shining One",waist="Shining One",legs="Shining One",feet="Shining One"}
}
[+]
 Asura.Reichleiu
Offline
サーバ: Asura
Game: FFXI
user: Reichleiu
Posts: 404
By Asura.Reichleiu 2019-04-03 14:24:13  
Just replace the old sets with updated equipment. The easiest way is to use "//gs export" when you're wearing the correct set. Open that file, copy the text, and replace the old set with it.

It would take only a few minutes to update a gearswap from 2013/14.

You may have to replace some of the globals at the top, but that's easy to do as well. The functionality of a drg.lua from 2013/14 should still be nearly identical today.

Only the sets should need updating...

Just update the sets...
 Phoenix.Nightfrost
Offline
サーバ: Phoenix
Game: FFXI
Posts: 7
By Phoenix.Nightfrost 2019-04-03 14:34:56  
thanks for the response guys, But the ones I have use side card files. I'm looking for one that doesn't require alot of include files for it to work.
Offline
Posts: 283
By Sidiov 2019-04-03 15:33:23  
I doubt youll ever find a no sidecar one thats useful, but if you can stomach mote's you can use this
https://github.com/AlanWarren/gearswap/blob/master/DRG.lua
you can comment out the organizer include at the top if you dont use it.

*Note.. sets are outdated in this as well.
Offline
Posts: 283
By Sidiov 2019-04-03 15:36:18  
Spoke too soon... I found this just hitting the DRG page on bg-wiki
It appears to be self contained:
https://pastebin.com/THLpaa7D
necroskull Necro Bump Detected! [195 days between previous and next post]
 Bahamut.Shozokui
Offline
サーバ: Bahamut
Game: FFXI
user: Shozokui
Posts: 306
By Bahamut.Shozokui 2019-10-16 02:19:32  
Sidiov said: »
I doubt youll ever find a no sidecar

Why do you want to use a lua that has 2000 lines of code in it? Most luas that don't use mote are that way because their existence predates Mote.

Using Mote does not make a lua bad or less performant, in fact it adds so much value and out-of-the-box functionality that you can create very complex rulesets with a few lines of code.

As a programmer, you're making a mistake if you don't use Mote. It's like using C++ without Boost or just writing your application in ASM.

Edit: Saw this one the recent posts and didn't check the dates of the last post. How is this "recent" lol...
[+]
 Asura.Barone
Offline
サーバ: Asura
Game: FFXI
user: Barone
Posts: 14
By Asura.Barone 2019-10-16 14:05:29  
Part of what makes that LUA so long is the fact that each gear is on it's own individual line, there's a bit much of information there but even my LUA is 879 lines long.

However it does a check for the weapon attached and equips appropriately, adding 300 lines to it though.

If each piece was on it's own line my lua would probably be just as long.

https://pastebin.com/xVXxZv9w
Log in to post.