Giter Site home page Giter Site logo

lack of understanding about gearswap-jobs HOT 14 OPEN

kinematics avatar kinematics commented on July 25, 2024
lack of understanding

from gearswap-jobs.

Comments (14)

yanosuke avatar yanosuke commented on July 25, 2024

Hello Andias,
I've heard of several people about converting an XML to LUA and they seem to have mixed results with it.. Kinematics' scripts are actually quite easy to use.

First off, download his dnc.lua and put in inside your windower->addons->gearswap->data folder.
Second, copy and paste that file in the same folder to make a duplicate. If your character's name is "Andias", you would name this file "andias_DNC_gear.lua". This is the file you will be editing with your own gear.
Third, open up this new 'gear' file. To keep things simple for now, remove everything below the end of the init_gear_sets() function up until the "Select_default_macro_book" function. In Kinematics' most recent version, this means deleting everything below line 366 u to line 629. Deleting these lines will make sure that gearswap uses the functions from the DNC.lua file. So if Kinematics were to update it, you'd have to do nothing on your end.

Finally, look at all those gear sets. Just adjust them to match your own gear as all the names are self-explanatory. You can also adjust the very last portion of the script to make it load your own macros. the first number between () represents the macro pallet, the second the macro book.

Once adjusted, there isn't much left to do. Start up the game and once logged in, gearswap will automatically load your lua whenever you log on or switch to dancer.

This is just the start of it. You can also make some custom macros to make use of the step functions that Kinematics has written. How to use them is explained in the commentary section of the lua. Let me know if you need some more help.

from gearswap-jobs.

andias avatar andias commented on July 25, 2024

thank you for your help, i just have one issue... i only use an engages, acc, eva, various ws sets and i swap in and out bits for ja. how do i basically simplify the gear sets and not screw it all up. All these gear sets are confusing to me... would it help if i sent you my old xml so you can see what i mean and advise me?

On Thursday, 10 July 2014, 10:28, yanosuke [email protected] wrote:

Hello Andias,
I've heard of several people about converting an XML to LUA and they seem to have mixed results with it.. Kinematics' scripts are actually quite easy to use.
First off, download his dnc.lua and put in inside your windower->addons->gearswap->data folder.
Second, copy and paste that file in the same folder to make a duplicate. If your character's name is "Andias", you would name this file "andias_DNC_gear.lua". This is the file you will be editing with your own gear.
Third, open up this new 'gear' file. To keep things simple for now, remove everything below the end of the init_gear_sets() function up until the "Select_default_macro_book" function. In Kinematics' most recent version, this means deleting everything below line 366 u to line 629. Deleting these lines will make sure that gearswap uses the functions from the DNC.lua file. So if Kinematics were to update it, you'd have to do nothing on your end.
Finally, look at all those gear sets. Just adjust them to match your own gear as all the names are self-explanatory. You can also adjust the very last portion of the script to make it load your own macros. the first number between () represents the macro pallet, the second the macro book.
Once adjusted, there isn't much left to do. Start up the game and once logged in, gearswap will automatically load your lua whenever you log on or switch to dancer.
This is just the start of it. You can also make some custom macros to make use of the step functions that Kinematics has written. How to use them is explained in the commentary section of the lua. Let me know if you need some more help.

Reply to this email directly or view it on GitHub.

from gearswap-jobs.

yanosuke avatar yanosuke commented on July 25, 2024

Sure, I can help you with your old file and send you back a new lua. You would still need Kinematics' DNC.lua in the data folder that will not be touched. you can remove any sets that are in the lua that you don't want or need, but I'll take a look at your xml and set it up. It'll give you a good reference for other job files as well.

from gearswap-jobs.

andias avatar andias commented on July 25, 2024

i think i love you. thank you so much, I've given myself a headache trying to work it all out.
https://www.dropbox.com/s/z9y6o6nn69vtb7k/Dnc.xml it's on drop box is that ok?

from gearswap-jobs.

yanosuke avatar yanosuke commented on July 25, 2024

Ok, I'm heading to bed now and i'll fix you up a personalized dnc lua tomorrow.

from gearswap-jobs.

drunkenstyle avatar drunkenstyle commented on July 25, 2024

She said thank you. Had to do some laundry. Sorry about the lateness of the reply.

from gearswap-jobs.

andias avatar andias commented on July 25, 2024

thank you very much

from gearswap-jobs.

yanosuke avatar yanosuke commented on July 25, 2024

https://www.dropbox.com/s/112vexwzco2uifd/Andias_DNC_gear.lua

Put that in your Windower4->addons->Gearswap->Data folder and make sure you put Kinematics' DNC.lua in there as well.
You should also enable the "Cancel" addon from the addons tab. (not the cancel plugin from the plugin menu). It doesn't have any special gear sets for accuracy or anything, just your tp, WS, and ability stuff that you had in your spellcast file. Kinematic has hardcoded some stuff about curing waltzes that I cannot change for you, but you simply need 1 macro for waltzes. It'll check your or your party member's hp and your tp to see which waltz it would use depending on the situation.

EDIT: Oh yeah, change the "Andias" part of the file name to your character's name.

from gearswap-jobs.

andias avatar andias commented on July 25, 2024

you sir are amazing thank you so much. this is really going to help me understand what i'm missing.

from gearswap-jobs.

andias avatar andias commented on July 25, 2024

would something lie this work as the macro?
if targ then
if player.main_job == 'DNC' then
if missingHP < 40 then
-- not worth curing
add_to_chat(122,'Full HP!')
eventArgs.cancel = true
return
elseif missingHP < 200 then
newWaltz = 'Curing Waltz'
elseif missingHP < 600 then
newWaltz = 'Curing Waltz II'
else
newWaltz = 'Curing Waltz III'
end
elseif player.sub_job == 'DNC' then
if missingHP < 150 then
newWaltz = 'Curing Waltz'
elseif missingHP < 300 then
newWaltz = 'Curing Waltz II'
else
newWaltz = 'Curing Waltz III'
end
else
return
end
end

from gearswap-jobs.

yanosuke avatar yanosuke commented on July 25, 2024

It's already in it. Though you will not see it in the DNC.lua, it's already coded into one of the includes that the file calls for. Go ahead, jump on DNC and try to cure yourself, you'll see what happens.

from gearswap-jobs.

andias avatar andias commented on July 25, 2024

^.^ i see i see thank you, you have given me my dance back. Thank you

On Friday, 11 July 2014, 20:23, yanosuke [email protected] wrote:

It's already in it. Though you will not see it in the DNC.lua, it's already coded into one of the includes that the file calls for. Go ahead, jump on DNC and try to cure yourself, you'll see what happens.

Reply to this email directly or view it on GitHub.

from gearswap-jobs.

drunkenstyle avatar drunkenstyle commented on July 25, 2024

Was curious. What do your macros look like for your jobs? Specifically Blue Mage, Samurai and Thief.

from gearswap-jobs.

yanosuke avatar yanosuke commented on July 25, 2024

Sorry for the late reply. Very late reply.. My macros look very, very simple. Mostly 1 line.
/ja "Hasso" : That's my Hasso macro.
/ws "Tachi: Fudo" is my fudo WS.
/ma "Sleep II" is my sleep macro on SCH.

Gearswap will take care of equipping the gear at the right times as long as you defined which gear to equip in the job specific lua.

from gearswap-jobs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.