Thread Rating:
  • 15 Vote(s) - 3.73 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Module] yMko's Toolbox v0.04 <17/11/2013>
#1
Automatically feeds and repairs your toon with whatever item id you enter :)

[Image: 6IcCn7o.png]

Feed Me
  1. Choose an item from the list
  2. Set the update intervals, I don't recommend going anything below 1000, there is simply no point for that(recommended 5000).
  3. Wait for item to be found(it should display itemcount > 0)
  4. Eat food? -> Tick that b :)

  5. Chocobo Summon

Repair Me
  1. Set the Condition(i.e 90 is 10% broken, 30 is 70% broken)
  2. Check Repair?

Plans for when I get the time
  1. Add hacks (Sprint, Teleport)
  2. Suggestions.


+ rep if you like the module and consider donating


.zip   yMkosToolbox v0.04.zip (Size: 4.44 KB / Downloads: 1,219)



Changelog
v0.04 - Chocobo summon. Custom Timer.
v0.03 - Auto Feed now has an item list from the inventory instead of you entering an id. HQ items will be denoted by HQ at the end :)(HQ NOT TEST AS GOT NO HQ FOOD ON ME)
v0.02 - Auto Repair Added
v0.01 - Auto Feed Added

A poor student Wrote:Consider donating to me if you like the work and it helps you automate your stuff or even gets you money!
I will post your name down below if you donate :) Don't forget to drop me a PM :)

List of people donated:
  • Hairyogre

For devs wanting to integrate this module or it's part into their module:

AutoFeed
Copy the auto_feed.lua to your module.

Open your module.def and change this line:
Code:
Files=yourFileName.lua,auto_feed.lua

Make a table identical to this in your global variables:
Code:
ModuleName.table = {
eat = false,
itemid = 0,
lastticks = 0,
ticks = 0 }

Insert this into your game loop update method:
Code:
ModuleName.table.eat = eatFood --Boolean
ModuleName.table.itemid = itemid --number
ModuleName.table.ticks = ticks --Game Loop ticks pulse
eat -> Whether you should eat food or not
itemid -> User entered itemId
ticks -> Comes with the game loop update function

And finally insert this into your game loop update method after the last lines:
Code:
FeedMe(ModuleName.table, tonumber(checkInterval), debugMode)
ModuleName.table -> The global table
checkInterval -> Update intervals(i wouldn't advise going below 1000)
debugMode -> Boolean, whether to debug or not

ModuleName.table will now be filled with 3 more variables:
count -> Item Count (number)
bresult -> If Buff is found (boolean)
btime -> Buff time left if found, if not returns 0 (number)


AutoRepair
Copy the auto_repair.lua to your module.

Open your module.def and change this line:
Code:
Files=yourFileName.lua,auto_repair.lua

Make a table identical to this in your global variables:
Code:
ModuleName.table = {
repair = false,
condition = 0,
lastticks = 0,
ticks = 0 }

Insert this into your game loop update method:
Code:
ModuleName.table.repair = BOOLEAN --repair or not
ModuleName.table.condition = tonumber(conditionValue) --number
ModuleName.table.ticks = ticks --ticks from game loop
repair-> Whether you should repair or not
condition-> condition at which to repair
ticks -> Comes with the game loop update function

And finally insert this into your game loop update method after the last lines:
Code:
RepairMe(ModuleName.table, tonumber(checkInterval), false) -- table + interval(integer) + debugging(boolean)
ModuleName.table -> The global table
checkInterval -> Update intervals(i wouldn't advise going below 1000)
debugMode -> Boolean, whether to debug or not

ModuleName.table will now be filled with 1 more variables:
repairsDone -> total amount of repairs done

Don't forget to give me credit Smile
#2
Having problems with FFXIV atm. Doesn't want to launch. As soon as it gets repaired i will test and upload :P
#3
Thy module is up :P
#4
Nice work will try this out when im online tomorrow
#5
(11-09-2013, 12:37 AM)Dwink Wrote:  Nice work will try this out when im online tomorrow
Easiest thing i had to write, like ever... lua wise anyway :P Nothing complex, except making it available to other devs in 3 clicks :P That took some restructuring :P
#6
Ok i got a new task for you then write one that summons your chocobo to fight with you :)
#7
(11-09-2013, 11:49 AM)Dwink Wrote:  Ok i got a new task for you then write one that summons your chocobo to fight with you :)
I don't even have a chocobo yet :D lvl 30 but no quests beyond lvl 19 :D
#8
Just in case someone else encountered this: it appears the ID for HQ items is simply the base number prefaced with 100. So HQ Tuna Miq'abobs are 1004670 as opposed to 4670 for the LQ version.

Or you could use the Dev panel InventoryInfo: that works well and isn't that hard to figure out Smile.
#9
Ymko how it bot repairing itself? :D could u explain that to me ?;)
#10
(11-09-2013, 08:53 PM)Abbulicious Wrote:  Ymko how it bot repairing itself? :D could u explain that to me ?;)
In simple terms:
1. Vendors have repair buttons
2. That repair button can be used anywhere
3. Bot uses it :P It uses gil as well :P

(11-09-2013, 08:43 PM)Hairyogre Wrote:  Just in case someone else encountered this: it appears the ID for HQ items is simply the base number prefaced with 100. So HQ Tuna Miq'abobs are 1004670 as opposed to 4670 for the LQ version.

Or you could use the Dev panel InventoryInfo: that works well and isn't that hard to figure out Smile.
Thanks, I haven't thought about HQ versions, gonna add this to the top :P You sure its 100 and not 1000? :P I can't remember, SE have thy worst way for stuffz :P
 


Forum Jump:


Users browsing this thread: 1 Guest(s)

We help you win the game.

FFXIV Bot and More.

 

Products