Locked Home » Forums » Legacy & Archived » Archived Content » Vanguard » VGExtreme Programs

VGExtreme Crafting Bot - Completed : VGExtreme Programs

Posted: September 14th, 2007
Total Posts:266 Joined:2007
Add function to buy more utilities when running low - Fixed, just need the API for vendor tooltips.
Test all the way to 50 (I am pretty sure anyone over 35 is going to have problems with the new steps, might be wrong) This is fixed in the next release, I just need the names for the actions I dont have currently.

Once the API is complete for Vendor Tooltips I will implement the function to go buy utilities when they are needed.

When I do the next release you will need to add some things to your Hotkeys, mainly /craftingselectstep 7 through 9 due to the fact that at level 50 there are more than 6 steps.
Posted: September 17th, 2007
Total Posts:266 Joined:2007
9-17-07: Optimized code even further, put everything that needs to be defined by user at the top and put a huge comment where they can stop defining things.

Added some weaponsmith refining steps.

Also tested all the way to 50

Also be sure your hotkeys are now setup like this.

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

and the hotkey that you have add your utilities to the table you should add

/lootall

to the end of it. Had to remove the /lootall from the other hotkeys because they were at the line limit, by adding it to the addutilities key you should still loot all your WO parts.
Posted: September 18th, 2007
black_lotus
Anyone have for any place a working bot?
Posted: September 18th, 2007
Total Posts:266 Joined:2007
black_lotus wrote:Anyone have for any place a working bot?
I dont understand your question, this bot has gotten me two level 50 crafting toons already, it works great.
Posted: September 18th, 2007
wolfstar
Please bear with me as I'm totally new to this scripting stuff.
I've changed the names of the taskmasters & utility vendor , changed all the x,y values in the first section of the script to reflect the right locations for my resolution and gui layout. I've done a rough job on the pathing which still needs work but I should be able to sort it out. I've setup hotkeys with the text stated on the first page entered manually not pasted.
I seem to be able to get the bot to turn in and accept W/O's and make its way to the table and select the recipe but when it gets to the table layout stage it does nothing.
Also is there a key command to stop the script while in vanguard? And how's the sollution to comps coming along? I don't want to be pushy just wondering :wink:
Any help you can provide a newb is appreciated.
Posted: September 18th, 2007
Total Posts:266 Joined:2007
When you say table layout do you mean where you can add your ingrediants or where you are actually crafting??

If it is when you can add your ingrediants, like I think it is, it sounds like you do not have the Begin button for that window in the same spot as your begin button is for the window where you are selecting a recipe.

Basically, you should have a window come up where you select the work order you wish to work on, the script will then hit begin on that window. Another window comes up and the script adds components via a hotkey and then clicks in the EXACT SAME spot as it just did to begin. So in short, make sure the begin button on the table setup screen is in the same spot as the begin button you click to get to that window. After that you should be golden.

As far as complications, I have been mulling over a good way to solve these, and have not really come up with anything promising. I am tinkering around with the program all night tonight while I wait on the development guys here to finish pushing a patch through at the office, then I have to validate that - but I should get a good 4 hours of time to tinker with the script so maybe I will come up with something.
Posted: September 18th, 2007
wolfstar
Thanks for a quick responce :)
The problem seems to be in the part where the bot uses the hotkey to add the utilities to the table, it selects the recipe then clicks begin and nothing gets added to the table before it clicks on begin a second time (the windows are in the correct spots). I've created a text only macro called table which I use to set my table up and it's hotkey is "=" , is there something in the script I need to edit to give it the location of my hotkeys for table setup and the others ?
I'm sorry if these are silly questions but I've no experience with scripts or programming :(
Posted: September 18th, 2007
Total Posts:266 Joined:2007
as long as you didnt change the script, all your hotkeys should be setup on the CTRL+SHIFT hotbar.

I started with:
crafting1 on CTRL+SHIFT =
crafting2 on CTRL+SHIFT -
crafting3 on CTRL+SHIFT 0
additems on CTRL+SHIFT 9
changetools on CTRL+SHIFT 8
Posted: September 18th, 2007
Total Posts:266 Joined:2007
you could also, if you feel comfortable with it, change the hotkeys to be whatever you want. Within the script you will see the hotkeys as

VGSendText "^+=" for CTRL+SHIFT =
VGSendText "^+-" for CTRL+SHIFT -
VGSendText "^+0" for CTRL+SHIFT 0
VGSendText "^+9" for CTRL+SHIFT 9
VGSendText "^+8" for CTRL+SHIFT 8

you can change what is in the quotes there for whatever key you have bound the hotkey to, for example you said that you have your additemstotable hotkey on = so you could go into the script and find where VGSendText "^+9" and change it to VGSendText "="

Either way would work.
Posted: September 18th, 2007
wolfstar
Excellent, that solved that problem :) You mentioned a toolbelt macro, what goes into that as I don't have one?

I only have to work on the pathing now, I'm in southwatch and those bloody fences are causing me headaches :evil:

Was there an easy way to stop the script running at any point?

Thanks again for the help and kudos on some great scripting :)
Posted: September 18th, 2007
Total Posts:266 Joined:2007
the toolbelt is there for when the script determines you dont have the right tool, it will switch tool belts for you.

/craftingchangetoolbelt


that is all it should have. It should be in the very first post, if not I will update it so that it is there.

There really is no great way to stop the script other than alt-tab out and hit pause. The only time this is tough is when it is trying to get new wo's or trying to start a wo, because it involves moving the mouse a lot.
Posted: September 18th, 2007
Total Posts:266 Joined:2007
strabomeeks wrote: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.
From the first page, its kinda buried in the patch notes maybe I will put it somewhere more visible.
Posted: September 18th, 2007
wolfstar
Once again thanks for the quick reply :)
I did miss that bit thanks for pointing it out. Everything's now working great except a little more work on my pathing, it's better but not perfect yet.
The only other thing I need to know and then I'll stop picking your brain, well for now at least :wink: I want to change the quality level produced to B Grade, I think I found the numbers I need to change but what number cooresponds to B Grade?
Thanks again for the help and an awesome script :D
Posted: September 18th, 2007
Total Posts:266 Joined:2007
for grade B you need crafting quality to be >49
Posted: September 19th, 2007
tv2zulu
strabomeeks wrote:as long as you didnt change the script, all your hotkeys should be setup on the CTRL+SHIFT hotbar.

I started with:
crafting1 on CTRL+SHIFT =
crafting2 on CTRL+SHIFT -
crafting3 on CTRL+SHIFT 0
additems on CTRL+SHIFT 9
changetools on CTRL+SHIFT 8
Thanks for that rundown. The specific hotkeys was what I couldn't get 100% right from the initial post.

Just a note from me for the international users; CTRL+SHIFT+= is actually CTRL+SHIFT++ in my Vanguard settings. To avoid any scripting errors I just remapped that hotkey som something else in the Vanguard settings ( and changed it in the script of course ).

Can't wait to you get the Buy Utilities thing working. Great job :)
Ready to join the community? Click here and see all of the benefits!
blue large dotWho is online
Users browsing this forum: No registered users and 1 guest
Locked