Crafting Bot
Posted: August 29th, 2007, 7:19 pm
Ok, so I am working on a crafting bot, but no matter how well I get it working I keep running into the same wall. I cannot for the life of me figure out how to determine what order the events come in.
One workorder will have
Stage 1
Board
Stage 2
Vice
Stage 3
Fashion
Cleaner
Stage 4
Finish
But the next one has
Stage 1
Board
Stage 2
Cleaner
Stage 3
Vice
Fashion
Stage 4
Finish
So basically I have spent many hours doing basic scripts to see what I can get returned on functions and I cant find anything that works. I have tried:
'Function Crafting_StepHealth(step)
'Function Crafting_Stage
'Function Crafting_CurrentStageHealth
'Function Crafting_RecipeSectionName
'Function Crafting_RecipeDescription
'Function Crafting_RecipeName
'Function Crafting_ActionDescription(step)
'Function Crafting_RemedyDescription(step)
'Function Crafting_ToolTipDescription
'Function Crafting_ToolTipName
'Function Crafting_ActionName(step)
and on most of these I cannot get anything useful at all to return. I thought for sure that 'Function Crafting_ActionName(step) would be the way to go, but it either returns nothing at all or a series of ?????!??!?!?! which I have no idea what that means. As it is right now, I have to have 4 different macros it can run and pick which one to run based on the setup of the work order, in which case Im not real sure how much time I am really saving.
Does anyone have any insight into how I could get a return on anything useful. Would love to get a good working crafting bot going that can grab 3 workorders, run to the table, craft them out to at least a C grade, run back and turn them in, rinse and repeat.
One workorder will have
Stage 1
Board
Stage 2
Vice
Stage 3
Fashion
Cleaner
Stage 4
Finish
But the next one has
Stage 1
Board
Stage 2
Cleaner
Stage 3
Vice
Fashion
Stage 4
Finish
So basically I have spent many hours doing basic scripts to see what I can get returned on functions and I cant find anything that works. I have tried:
'Function Crafting_StepHealth(step)
'Function Crafting_Stage
'Function Crafting_CurrentStageHealth
'Function Crafting_RecipeSectionName
'Function Crafting_RecipeDescription
'Function Crafting_RecipeName
'Function Crafting_ActionDescription(step)
'Function Crafting_RemedyDescription(step)
'Function Crafting_ToolTipDescription
'Function Crafting_ToolTipName
'Function Crafting_ActionName(step)
and on most of these I cannot get anything useful at all to return. I thought for sure that 'Function Crafting_ActionName(step) would be the way to go, but it either returns nothing at all or a series of ?????!??!?!?! which I have no idea what that means. As it is right now, I have to have 4 different macros it can run and pick which one to run based on the setup of the work order, in which case Im not real sure how much time I am really saving.
Does anyone have any insight into how I could get a return on anything useful. Would love to get a good working crafting bot going that can grab 3 workorders, run to the table, craft them out to at least a C grade, run back and turn them in, rinse and repeat.