Page 1 of 23

VGExtreme Crafting Bot - Completed

Posted: September 4th, 2007, 12:41 am
by strabomeeks
Some problems I have with this right now:
I need to know the names of all the steps that the classes (leatherworker and weaponsmith) have.

Here are a couple good guides for setting up the script written by one of the users. I take a lot for granted that many users don't know, so it coming from a user who didnt write the script is probably more understandable.


Register to unlock hidden link

Register to unlock hidden link

Some things to note about the setup:
I used Hotbar CS - Meaning that all the hotkeys I have setup in the script are activated on the Control Shift Hotbar. I use 6 hotkeys. The standard Hotkey is:

/craftingselectstep 9
/craftingselectstep 8
/craftingselectstep 7
/craftingselectstep 6
/craftingselectstep 5
/craftingselectstep 4
/craftingselectstep 3
/craftingselectstep 2
/craftingselectstep 1
/craftingselectaction 1

DO NOT COPY AND PASTE THIS - you will get some error about to many lines in your macro.
The only thing that changes on each hotkey is the number in the last line (/craftingselectaction #), whatever number you replace there corresponds to the action you will use from left to right.
I put Hotkey one on CS=, and ended with HK6 on CS7.

Hotkey 7 is the macro you will use to add anything to the table you may want to add and also make sure /lootall is at the end of this hotkey.
/refineadditem itemyouwanttoadd
/refineadditem itemyouwanttoadd
/lootall

Hotkey 8 will be
/craftingchangetoolbelt
and is on CS5, this will change toolbelts when you do not have the right tools.

You will need to change the X, Y coords for the mouseclicks on your screen, I use 1440 X 900 and also have custom windows that are not in the default locations. The easiest thing to use for this is ACTool, just have it up and put your mouse where you want the coords, then alt+tab over to ACTool and hit Ctrl+M, it will put the X, Y right there for you and you can type next to it what it is. This literally takes 5 minutes to set up one time and you should never have to worry about it again.

Note that when selecting a recipe, the begin button there, will be the same place you want your begin button to be on the table select window, move this window so that they will be in the same place and you shouldnt have to worry about this again.

Also you will need to define the locs for pathing in whatever area you decide to craft in. This is extremely simple, just walk where you want to set a loc and type /loc. Vanguard will spit out a X,Y,Z for you and you need the X and Y.

And I think the last thing I need to note is that you will need to scroll down to the line:
If (Crafting_AvailableWorkOrderSkill = "Skill: Mineralogy ") OR (Crafting_AvailableWorkOrderSkill = "Skill: Artificing ")Then 'This is where you set what work order skillset you desire
and change it to whatever skillset you are looking for. This is mainly to make sure that pre level 15 you do not pick up a weapon smith order if you are an armor smith. Once you are past level 15 no work orders offered should be for any class except what you are.

TO DO:
Add Weapons Smith - partially complete, still need all the steps.
Add Leatherworker
Add function to buy more utilities when running low - Fixed, just need the API for vendor tooltips.

Posted: September 4th, 2007, 10:55 am
by crimsonsoul24
You are my new hero, now I just need to give you the steps for Carpentry. Too bad I'm too lazy to do it right now, hopefully someone else will, btw, I love you.

Posted: September 4th, 2007, 12:44 pm
by strabomeeks
Thanks :P

On the note of telling me what steps you need for each profession, this is all I need.

Write down on a peice of paper the name of each of the steps below, the icons seem to look the same, you get the name by hovering over the icon and reading the tooltip:

Utility - (looks like a bottle) This will be the name of the utility you use to craft - for example, smiths use fuel and oil, tailors use cleaner and solvent, etc

Utility 2 - (looks like a bottle) This will be the name of the second utility you use to craft - for example, smiths use fuel and oil, tailors use cleaner and solvent, etc

Tool 1 - (looks like a hammer for me) This is the tools actions you do - I need the name of the icon, not the actual tools you use.

Tool 2 - (looks the same as tool 1, but you dont get it till after 21) This is the same as tool 1, you will get this after level 21, and it will have the same actions as tool 1 did at level 1.

Station - (looks like a wheel for me) This is the icon that doesnt use a utility or a tool.

Station 2 - (looks like a wheel for me) This is the icon that doesnt use a utility or a tool.

Finishing Step - (pretty self explanatory)

Basically I just need the name of the icon, each profession has a few names for each icon. As far as I can see there really is no rhyme or reason to this. Once someone sends me the info for a class I will update the original post to reflect it. I may also make a new crafting toon soon to see if I can find some myself.

Posted: September 4th, 2007, 1:11 pm
by crimsonsoul24
One more question, if the tools needed are in different toolbelts can it switch toolbelts or no?

Posted: September 4th, 2007, 1:21 pm
by strabomeeks
I have not run into any situation where the tools needed do not fit into one toolbelt. Let me try to think of a good way to handle this, the hardest part is going to be telling the script when to go to the changebag function.

Posted: September 4th, 2007, 2:25 pm
by crimsonsoul24
strabomeeks wrote:I have not run into any situation where the tools needed do not fit into one toolbelt. Let me try to think of a good way to handle this, the hardest part is going to be telling the script when to go to the changebag function.
If it can read the text screen it might be able to be set up to switch bags on keywords or the like

Posted: September 4th, 2007, 7:24 pm
by crimsonsoul24
Ok, I think this is what you want

What looks like a wheel thingy: Vice or Estimate

Bottle: Solvent or Cleaner

What looks like a hammer striking: Sculpt or Carve (which I have 5 choices from each when I click on the symbol) and Cleanup or Smooth (Which I have 2 choices from each when I click on the symbol)

Is that what you need?

Ah, I think I figured it out on my own, is there any way to make it go buy more Solvent/Cleaner when I run low?

Edit: Having a problem, I put in the waypoints to move to the Artificing table, and he only goes so close and then stops, it doesn't matter how many or how little WP's I add after I finish with the WO person I run to the Artificing table, but stop too far away from it to do anything? This is at Fisher's Pen

Posted: September 5th, 2007, 3:14 pm
by strabomeeks
sorry took so long to respond, didnt see as new post because you just edited your post from last night. I will see if I can throw in all the info you just gave me real quick. That was for a carpenter??

I dont have a way to have it buy more utilities just yet, but that would be a good thing to add to the script. I just buy a shiteload of it, it uses it from your inv also, not just your crafting bag.

As for it not getting close enough to the table, the moveto function only moves to within 5m of where you instruct it, but I have found that it usually stops short rather than overshoots the X,Y - so the easy fix is to just set the X,Y a little behind the actual table, so that you run right up to it. Its not exact, but I dont know any better way to handle this because that is how the navigation.vbs works :(

Posted: September 6th, 2007, 12:07 am
by crimsonsoul24
Yeah that's what I've been doing, I already went through and changed your code to work for a Carp, thanks though, and love the script!

Posted: September 6th, 2007, 1:04 am
by strabomeeks
If anyone else can get the names for weaponsmith and leatherworker that would be great, I plan on working on this some today. I think first I will try to find a way to get the script to buy utilities, that way you can truly craft forever if need be.

Thanks for posting the carp steps btw Crimson.

Posted: September 6th, 2007, 1:37 pm
by strabomeeks
9-6-07: Added Toolbelt Compatibility
If you get an error saying you do not have the correct tool it will change your toolbelt to the next one.
You will need to make a hotkey and place it on CS8. The hotkey needs to say - /craftingchangetoolbelt
You will also have to define the X,Y of the mouseclicks for each toolbelt when you click the toolbelt button during crafting.
I also changed the layout of a few things, there are two new variables at the top that you will need to define. One is WOperson, you can type in the name of your WO person here and it will replace it for you below so that you don't have to scroll down in the code if you are crafting somewhere else.
The other is Logpath, in this field you need to map the path to your VGLogDump.log file.

Posted: September 6th, 2007, 9:35 pm
by ve_necro
Just out of curiosity, where can I find the VGLogDump.log , I did a system search and couldnt locate it. Also my crafters both armoursmith and Mineralogist had an assue with stage 3, line 134 if I remember right, will look at it again in the morning, but has anyone else had this issue?

Posted: September 6th, 2007, 10:40 pm
by strabomeeks
The VGLogDump.log should be in your vgextreme1.3 folder. If you look at the top variable when you download the script my pathfile is there. Basically look to wherever you unzipped the VGExtreme and then follow my path, I have not moved it from where it defaults.

As for the error you are getting, please find out what it is because I craft with both an armorsmith and a minerologist and have no errors.

Posted: September 7th, 2007, 7:54 am
by ve_necro
As I thought, after looking in my VGExtreme folder I dont see a VGLogDump.log, so I made one hoping that fixes the issue, as regards the error its on line 370, the section that reads as follows:

Set objFile = objFSO.OpenTextFile(Logpath, ForReading)

The script works great up to the point of stage 3 but unfortunatly as soon as it hits it, nothing happens, just the error message and the script stops. Im a little rusty on my scripting so any help would be appreciated.

Posted: September 7th, 2007, 9:16 am
by strabomeeks
what is the error?

try putting this in the VGExtreme.1.13 folder, just drag it in there.