|
|
Line 8: |
Line 8: |
| | | |
| == CLI ( Command Line Interface ) == | | == CLI ( Command Line Interface ) == |
− | The following work from the command line or a script. Generally speaking, these are for scripters, not your average user.
| + | Ogre Craft has a lot of information available to advanced users and scripters. See [[OgreCraft:MethodsandMembers|Ogre Craft Methods and Members]] for more details |
− | * Following are parameters ( ogre craft <parameters here> )
| + | |
− | ** -q | -queue <filename.xml> - loads the queue within the file <filename.xml> located in the eq2ogrecraft/xmlfiles/ folder. You can create a saved queue from the "Save/Load Queues" tab.
| + | |
− | *** Example: ogre craft -q arrows.xml
| + | |
− | ** -s | -start - Starts crafting immediately. (Equal to clicking "Craft Queue").
| + | |
− | * Following is a global object available at run time: OgreCraft
| + | |
− | ** OgreCraft Members (Accessed via ${OgreCraft.Member}
| + | |
− | *** bool Crafting - TRUE if you are in the crafting process (basically true if the bot is doing anything, and false if it's idle).
| + | |
− | *** bool Paused() - returns TRUE only when the bot is sitting in the pause idle routine (meaning it's between crafting items). The only way for it to get to that state, is if the pause checkbox is ticked.
| + | |
− | ** bool MissingResources() - Returns TRUE if you are missing resources.
| + | |
− | *** Note: While the queue is being updated, this will bounce between TRUE and FALSE depending on what is happening. This shouldn't be used while QueueUpdated is FALSE.
| + | |
− | ** int RecipesInQueue() - Returns the total number of recipes in the queue.
| + | |
− | *** This shouldn't be used while QueueUpdated is FALSE.
| + | |
− | ** OgreCraft Methods (Accessed via OgreCraft:Method[parameters]
| + | |
− | *** AddRecipeName(int _Quantity, string _RecipeName)
| + | |
− | *** AddRecipeID(int _Quantity, int64 _RecipeID)
| + | |
− | *** AddRecipeListFromFile(string _FileInfo)
| + | |
− | *** Start - Equal to clicking "Craft Queue".
| + | |
− | *** ShowMainWindow(bool TorF=TRUE) - TRUE shows the Main window. FALSE hides it.
| + | |
− | *** ShowQueueWindow(bool TorF=TRUE) - TRUE shows the Main window. FALSE hides it.
| + | |
− | *** DumpMissingResources(string VarToDump) - Requires a global variable name with type collection:string to be passed.
| + | |
− | **** Clears the variable ( :Clear )
| + | |
− | **** Then sets Resource/Fuel Name as the key, and the missing amount as the value.
| + | |
− | **** This shouldn't be used while QueueUpdated is FALSE.
| + | |
− | *** DumpRecipeIDList(string VarToDump) - Requires a global variable name with type collection:string/int/int64 to be passed.
| + | |
− | **** Clears the variable ( :Clear )
| + | |
− | **** Then sets RecipeID as the key, and the quantity as the value.
| + | |
− | **** This shouldn't be used while QueueUpdated is FALSE.
| + | |
| | | |
| == Mini Window == | | == Mini Window == |
Revision as of 23:33, 5 February 2012
OgreCraft
What is OgreCraft:
OgreCraft is a crafting bot that was written from scratch to provide an alternative to “Craft”. While the end result is the same (they both craft things), the setup and process, and options are quite different.
OgreCraft has 3 windows. Each are detailed below.
CLI ( Command Line Interface )
Ogre Craft has a lot of information available to advanced users and scripters. See Ogre Craft Methods and Members for more details
Mini Window
This window is a small window, that allows you to hide the other 2 larger windows, and also pause OgreCraft. Click here for more details.
Main Window
This window is where all the options are determined, and where you can start crafting. Click here for more details.
Queue Window
This window holds all the queue information. Like what you are preparing to craft, how many resources etc. It also holds your active queue. This is the queue it is in the processes of being crafted. Click here for more details.
Other Information
- There is a "CustomWrits.xml" file, HOWEVER, you should NEVER, EVER need to edit this file. If a recipe in a writ is incorrect, you will get an IN-GAME pop up window asking you to type in the recipe name. Once done, it updates CustomWrits for you. DO NOT USE YOUR CUSTOMWRITS.XML FROM CRAFT FULL OF GARBAGE.