Craft - A Final Fantasy XI Crafting Addon

Language: JP EN DE FR
2010-09-08
New Items
users online
Forum » FFXI » Crafter's Crib » Craft - A Final Fantasy XI Crafting Addon
Craft - A Final Fantasy XI Crafting Addon
First Page 2 3
 Fenrir.Snaps
Offline
Server: Fenrir
Game: FFXI
user: Mojopojo
Posts: 1139
By Fenrir.Snaps 2017-06-14 17:40:26
Link | Quote | Reply
 
The pull request for this addon was just accepted.

https://github.com/Windower/Lua/tree/dev/addons/craft

This lets you do crafting command line style, and has a lot of other features as well. I plan on upgrading it a bit this weekend, but it is very useful as is. You can store materials in your bags and it will pull them out automatically, and you can queue up recipes. This is especially nice for escutcheon quests where you need to rotate through a variety of recipes.
[+]
 Ragnarok.Lockfort
Offline
Server: Ragnarok
Game: FFXI
user: Terazuma
Posts: 252
By Ragnarok.Lockfort 2017-06-14 19:01:56
Link | Quote | Reply
 
Looks terrific, could you clarify what your intentions for jiggle function was? Not seeing any use for it right now.
 Fenrir.Snaps
Offline
Server: Fenrir
Game: FFXI
user: Mojopojo
Posts: 1139
By Fenrir.Snaps 2017-06-14 20:26:57
Link | Quote | Reply
 
Some people like to get their jiggle on.

¯\_(ツ)_/¯
[+]
 Valefor.Omnys
Offline
Server: Valefor
Game: FFXI
user: omnys
Posts: 1759
By Valefor.Omnys 2017-06-15 02:27:14
Link | Quote | Reply
 
~(ツ}/~
[+]
necroskull Necro Bump Detected! [92 days between previous and next post]
 Asura.Toralin
Offline
Server: Asura
Game: FFXI
user: toralin
Posts: 1392
By Asura.Toralin 2017-09-15 07:39:00
Link | Quote | Reply
 
whats the minimum delay with stag3 shield instead of 24? /lazy
 Asura.Beatsbytaru
Offline
Server: Asura
Game: FFXI
Posts: 487
By Asura.Beatsbytaru 2017-09-18 00:44:12
Link | Quote | Reply
 
Can't get it to do more than a single round of synths. Will just hit synthesis canceled mode after the initial round.
 Fenrir.Snaps
Offline
Server: Fenrir
Game: FFXI
user: Mojopojo
Posts: 1139
By Fenrir.Snaps 2017-09-18 01:57:06
Link | Quote | Reply
 
Asura.Beatsbytaru said: »
Can't get it to do more than a single round of synths. Will just hit synthesis canceled mode after the initial round.

Can you provide some more information on what you're doing to produce this?
 Asura.Beatsbytaru
Offline
Server: Asura
Game: FFXI
Posts: 487
By Asura.Beatsbytaru 2017-09-18 02:29:33
Link | Quote | Reply
 
Been wanting to set up an alternation of plat ingot 2 and plat sheet.

Will do one of each synth and that's it.
 Fenrir.Snaps
Offline
Server: Fenrir
Game: FFXI
user: Mojopojo
Posts: 1139
By Fenrir.Snaps 2017-09-18 11:35:02
Link | Quote | Reply
 
//craft make "Platinum Ingot 2"
//craft make "Platinum Sheet"
//craft make "Platinum Ingot 2"
//craft make "Platinum Sheet"
etc.

Make sure you have ingredients to do it. If you're trying to use the repeat command, it won't work. Repeat uses /lastsynth, which uses whatever synth you last did without the addon.
 Asura.Beatsbytaru
Offline
Server: Asura
Game: FFXI
Posts: 487
By Asura.Beatsbytaru 2017-09-18 18:22:29
Link | Quote | Reply
 
Plenty of mats it would.just stop
 Leviathan.Comeatmebro
Offline
Server: Leviathan
Game: FFXI
user: Rairin
Posts: 6052
By Leviathan.Comeatmebro 2017-09-18 18:26:05
Link | Quote | Reply
 
unless i'm misunderstanding, he's saying use a script or command to repeat the //craft because repeat only does a single synth
 Asura.Beatsbytaru
Offline
Server: Asura
Game: FFXI
Posts: 487
By Asura.Beatsbytaru 2017-09-18 23:10:17
Link | Quote | Reply
 
Yeah seems like I really misunderstood what this add on does technically.

Laps, etc.
 Asura.Eiryl
Online
Server: Asura
Game: FFXI
user: Eiryl
By Asura.Eiryl 2017-09-18 23:24:57
Link | Quote | Reply
 
I'd really like to see a synergy lua....
[+]
 Fenrir.Snaps
Offline
Server: Fenrir
Game: FFXI
user: Mojopojo
Posts: 1139
By Fenrir.Snaps 2017-09-19 00:15:19
Link | Quote | Reply
 
Asura.Beatsbytaru said: »
Yeah seems like I really misunderstood what this add on does technically.

Laps, etc.

The addon will queue all of your commands up. You can just make two macros to send those commands and then spam them to build up a long queue. You can also send an integer argument to enqueue multiple of the same synthesis.

//craft make "Platinum Ingot 2" 24

Would queue up 24 platinum ingot synths
 Asura.Beatsbytaru
Offline
Server: Asura
Game: FFXI
Posts: 487
By Asura.Beatsbytaru 2017-09-19 01:06:17
Link | Quote | Reply
 
I was mostly looking for something to spam a couple of synths to grind out the latest round of crafting shields

Grind is so *** slow now, so anything that could make it possible to grind all my.craft shields at once would be great.

Was aiming to set up a loop of alternating synths and it seems my best choice would be to make a script?
 Asura.Eiryl
Online
Server: Asura
Game: FFXI
user: Eiryl
By Asura.Eiryl 2017-09-19 02:23:39
Link | Quote | Reply
 
Yeah just a simple: /lastsynth wait 23~ /lastsynth 100 times
[+]
 Fenrir.Snaps
Offline
Server: Fenrir
Game: FFXI
user: Mojopojo
Posts: 1139
By Fenrir.Snaps 2017-09-19 11:47:10
Link | Quote | Reply
 
Asura.Beatsbytaru said: »
I was mostly looking for something to spam a couple of synths to grind out the latest round of crafting shields

Grind is so *** slow now, so anything that could make it possible to grind all my.craft shields at once would be great.

Was aiming to set up a loop of alternating synths and it seems my best choice would be to make a script?

For alchemy shield I did this.

Code
for i = 1, 72 do
    windower.chat.input('//craft make Tsurara')
    coroutine.sleep(.5)
    windower.chat.input('//craft make Beeswax')
    coroutine.sleep(.5)
    windower.chat.input('//craft make Antidote')
    coroutine.sleep(.5)
end

saved it as alchemy.lua in my scripts folder. Then in game I would just

//lua e alchemy

And it would stack up a large batch of rotating synths
[+]
 Asura.Beatsbytaru
Offline
Server: Asura
Game: FFXI
Posts: 487
By Asura.Beatsbytaru 2017-09-19 14:17:11
Link | Quote | Reply
 
Thank you for this. Exactly what I was looking for.
 Asura.Ahkhara
Offline
Server: Asura
Game: FFXI
user: mhyato
Posts: 3
By Asura.Ahkhara 2017-09-19 19:01:30
Link | Quote | Reply
 
Don't know why but when trying to make Sublime Sushi the addon doesn't want to start.
i input //craft make "Sublime Sushi" and it will add them to que and pull the materials but wont craft, if i manually do the craft while the que is active, the craft will start but i also get a message 'synthesis canceled these combination of materials cant be synthesized'
tried clearing que and
i check the recipe and it appears correct, also unloaded and unloaded addon but did not help
 Fenrir.Snaps
Offline
Server: Fenrir
Game: FFXI
user: Mojopojo
Posts: 1139
By Fenrir.Snaps 2017-09-19 19:12:56
Link | Quote | Reply
 
Asura.Ahkhara said: »
Don't know why but when trying to make Sublime Sushi the addon doesn't want to start.
i input //craft make "Sublime Sushi" and it will add them to que and pull the materials but wont craft, if i manually do the craft while the que is active, the craft will start but i also get a message 'synthesis canceled these combination of materials cant be synthesized'
tried clearing que and
i check the recipe and it appears correct, also unloaded and unloaded addon but did not help

Try making some Tsurara. If you are able to make this but still can't make the sublime sushi I'll take a look at it.
 Asura.Ahkhara
Offline
Server: Asura
Game: FFXI
user: mhyato
Posts: 3
By Asura.Ahkhara 2017-09-19 19:42:48
Link | Quote | Reply
 
Fenrir.Snaps said: »
Tsurara

just tried it, can make the Tsurara fine, then i asdd the sushi, it'll pull and even use the earth cluster, then nothing.
i added 5 to que and then did a //craft status and it said 4 were in que, but my character just stands there..
i also did a //craft display and it send the packet ( ingredients) correctly ( as far as i can tell)
ty for the fast response
 Fenrir.Snaps
Offline
Server: Fenrir
Game: FFXI
user: Mojopojo
Posts: 1139
By Fenrir.Snaps 2017-09-19 20:01:26
Link | Quote | Reply
 
Okay. I think I have found the issue. There are some fish that have duplicate item ids. The script I made for building the recipes are not getting inserted into the recipe correctly. I'll try and get a pull request up tonight to correct this. You have some options.

1.) Manually update your recipes

Find the recipes you want to use, and make sure the ingredients are entered in ascending item id order. You can find the item id by searching on ffxiah. In this case, Gugru Tuna is the offending item.

http://www.ffxiah.com/search/item?q=Gugru+Tuna

You can see there are two entries.

2.) Update the python script (create_recipes.py) and rebuild the recipes yourself.

Change these lines
Code
 100     for k, v in items.items():                                                                      
 101         inverted[v['en'].lower()] = k                                                               
 102         inverted[v['enl'].lower()] = k                                                              
 103     inverted.update(exceptions)                                                                     
 104     return items, inverted


To these lines.
Code
 100     for k, v in items.items():                                                                      
 101         if not v['en'].lower() in inverted:                                                         
 102             inverted[v['en'].lower()] = k                                                           
 103         if not v['enl'].lower() in inverted:                                                        
 104             inverted[v['enl'].lower()] = k                                                          
 105     inverted.update(exceptions)                                                                     
 106     return items, inverted


And then run the script You'll need bs4 (https://www.crummy.com/software/BeautifulSoup/bs4/doc/).

3.) Wait for the pull request to get accepted.

This might take a day or two.
 Asura.Beatsbytaru
Offline
Server: Asura
Game: FFXI
Posts: 487
By Asura.Beatsbytaru 2017-09-19 22:32:39
Link | Quote | Reply
 
Gave it a try and it adds a Platinum ingot to the queue, synths it and stops doing anything after that.
 Fenrir.Snaps
Offline
Server: Fenrir
Game: FFXI
user: Mojopojo
Posts: 1139
By Fenrir.Snaps 2017-09-20 00:11:32
Link | Quote | Reply
 
Asura.Beatsbytaru said: »
Gave it a try and it adds a Platinum ingot to the queue, synths it and stops doing anything after that.

Can you copy/paste the script your running into this thread? It's hard to help you if you're not explicit about what you're doing.
 Fenrir.Snaps
Offline
Server: Fenrir
Game: FFXI
user: Mojopojo
Posts: 1139
By Fenrir.Snaps 2017-09-20 12:20:49
Link | Quote | Reply
 
https://github.com/Windower/Lua/pull/1565
 Cerberus.Shadowmeld
Offline
Server: Cerberus
Game: FFXI
Posts: 1774
By Cerberus.Shadowmeld 2017-09-20 12:32:39
Link | Quote | Reply
 
Is there any reason why you have this so it doesn't show the results of your synth (i.e. "You synthesized xxx" or "an adaman ingot was lost")?

I'm sure it's craft, I can synth just regular with the addon loaded and I see all the results just fine.
 Leviathan.Comeatmebro
Offline
Server: Leviathan
Game: FFXI
user: Rairin
Posts: 6052
By Leviathan.Comeatmebro 2017-09-20 12:41:51
Link | Quote | Reply
 
pretty sure it's tied to the craft being initialized by a packet instead of through the client, saw similar when i was using packet crafting

not very hard to pull the incoming packet and make a replacement log message, though
 Fenrir.Snaps
Offline
Server: Fenrir
Game: FFXI
user: Mojopojo
Posts: 1139
By Fenrir.Snaps 2017-09-20 13:12:47
Link | Quote | Reply
 
Leviathan.Comeatmebro said: »
pretty sure it's tied to the craft being initialized by a packet instead of through the client, saw similar when i was using packet crafting

not very hard to pull the incoming packet and make a replacement log message, though

This is exactly why it's happening. If there is some desire to have an alternative log message displayed, I can add it in.
 Cerberus.Shadowmeld
Offline
Server: Cerberus
Game: FFXI
Posts: 1774
By Cerberus.Shadowmeld 2017-09-20 15:04:32
Link | Quote | Reply
 
I know what I get with a successful synth, but it would be nice to know if I lost materials and how many when I fail.
Offline
Posts: 3533
By Taint 2017-09-27 09:09:38
Link | Quote | Reply
 
Fenrir.Snaps said: »
Asura.Beatsbytaru said: »
I was mostly looking for something to spam a couple of synths to grind out the latest round of crafting shields

Grind is so *** slow now, so anything that could make it possible to grind all my.craft shields at once would be great.

Was aiming to set up a loop of alternating synths and it seems my best choice would be to make a script?

For alchemy shield I did this.

Code
for i = 1, 72 do
    windower.chat.input('//craft make Tsurara')
    coroutine.sleep(.5)
    windower.chat.input('//craft make Beeswax')
    coroutine.sleep(.5)
    windower.chat.input('//craft make Antidote')
    coroutine.sleep(.5)
end

saved it as alchemy.lua in my scripts folder. Then in game I would just

//lua e alchemy

And it would stack up a large batch of rotating synths


Tried this and it just does the first synth.

Is there another command I'm missing?
First Page 2 3
Log in to post.