Page 1 of 15

VG Advanced Crafting Bot v2.0

Posted: September 18th, 2008, 3:09 pm
by beergeek
AdvancedCraftingBot 2.0, original release 9/18/2008

--------------------------------------------------------------------------------------------------------------------------

UPDATE JAN 20, 2010: CRAFT LEVEL, SKILLS AND TABLE SETUP FLAG OFFSETS NOT WORKING AT THIS TIME. I will get it running eventually, but attempting to load vgextremeservice 2.1 as a reference in visual studio under Windows 7 causes a crash. Since my machines are running Win 7, I will need to install vs on an older machine before I can make the changes. Please be patient (all two of you :)

NOTE: This will NOT run on Vista x64 (at least as of the previous vgextremeservice 2.0 version. I have not tested 2.1 but suspect it also will not work). The limitation is in the vgextremeservice which I reference in this application, not the bot itself. I have no control over this.

If you have any problems running the bot, please don't post just to say it's not working (unless it's not working after a patch but was working before). The following information will be needed:

- What OS are you running?
- What screen do you get before the bot crashes? (authentication, splash screen, status window, etc.)
- Detailed error messages you receive

From there, additional information may be requested of you.
--------------------------------------------------------------------------------------------------------------------------


The bot was completely rewritten from v1.1. Contains all the features of AdvancedCraftingBot 1.1 plus the following major enhancements:

- Fully GUI based in its own application
- Compact status window display which remains in the foreground and provides various useful information as well as instructions when necessary
- Three modes of operation: work order grinding, item crafting and a helper mode
- All configuration done through the interface
- Automatic hotkey configuration
- Saved settings allow for multiple characters and multiple locations with automatic detection
- Route waypoint configuration is done in-program now and is simplified to hitting appropriate function keys throughout your routes
- Recipe builder which allows you to create any item craftable in game automatically, defining specific ingredients and options
- Recipe queueing system that allows crafting a sequence of items automatically, with full navigation support
- Helper mode runs in the background. Once you start a recipe and get past Stage 1 (where you select options, etc.), it automatically picks up and completes the recipe to your configured target quality
- Helper mode also allows you to replenish your utilities with a single keystroke
- Numerous other enhancements and optimizations

This is based on wyvernx's latest VGExtremeService, which is included in the package

REQUIREMENTS:

Same system reqs as the old vgextreme. .NET framework 2.0, blah blah.

Default crafting UI. Some custom windows may work, but this is mainly geared to default. You can easily remove the custom crafting window from a custom ui without affecting anything else.

SETUP:

Download VGExtremev2.1.zip and extract in the location of your choice.

Download the latest AdvancedCraftingBot.zip file and extract into the bot directory you chose.

Create a shortcut or directly click AdvancedCraftingBot.exe to launch (make sure you are logged into Vanguard first).

Note: Do not move the .exe outside of the directory with the vgextremeservice files or it will not work.


Use your xunleashed userid/password in the MMOViper login window. It will be remembered between sessions.

The first time you run the bot for a particular character, only the SETUP option will be available. Go through all the settings and restart the bot before actually using it. This isn't required for a vast majority of the settings, but there are a couple which may require the restart depending on what you have selected.


TIPS

Make sure timestamping is turned off in your chat. This causes the /inventory command to clip and will cause the bot to buy more utilities than you need each pass.

The "Adjust final position at crafting table" option works decently for blacksmith stations, fairly well for artificer stations, but not that great for outfitter. The reason is the anchor position of the world object is not in the center of the table, but off to a side. The bot may turn to the side and put the click location off the table.

The F4 option in setting up waypoints will cause your character to stop, turn the direction you are facing when you set the waypoint, and then continue. This is useful for tight turns or arriving at a craft table. It is ok to set your destination waypoint (F12) on the same spot.

Do not run the old VGExtreme while using this program. The log file will not read properly.




Final notes:

I will expand upon this OP with time.

ACB 1.1 will no longer be supported.

As this is the first public release, there are certain to be bugs yet undiscovered. Post any problems in this thread. I will be monitoring it often.

CHANGELOG:


9-10-11 v2.0.4.7

- offset fix for latest patch (thanks @sagatious for offsets)

9-8-09 v2.0.4.6

- offset fix for latest patch (thanks @sagatious for offsets)

8-8-09 v2.0.4.5

- offset fix for latest patch

6-4-09 v2.0.4.4

- offset fix for latest patch

5-28-09 v2.0.4.3

- offset fix for latest patch

5-3-09 v2.0.4.2

- offset fix for latest patch

2-17-09 v2.0.4.1

- offset fix for 2-12-09 patch

2-9-2009 v2.0.4

- offset fix for 2-4-09 patch
- now remembers "ignore complications on finishing step" setting between sessions

*** there is a known issue with the bot crashing upon launch on certain systems (including my own) but not affecting everyone. this has been traced to the service, which was not written by me. No ETR at this time. *** THIS WAS RESOLVED WITH THE RELEASE OF VGEXTREME V2.1 ***

12-18-2008 v2.0.3.2

- offset fix for 12-16-08 patch

11-26-2008 v2.0.3.1

- offset fix for recent patch

10-30-2008 v2.0.3

- fixed an incorrect assignment for 2 of the 3 finishing skills. In some cases, this caused the bot to click an action you have not yet acquired.
- added additional debug logging

10-23-2008 v2.0.2

- offset fix for 10/23 patch
- fix for crash that would occur when 2 or more complications are active

10-1-2008 v2.0.1

- offset fix for 10/1 patch
- no longer checks for configured routes when in work order mode and navigation disabled
- added some additional logging to help with utility purchasing problems
- coded a workaround for a rare crash involving 'green' complications

Not working?

Posted: September 20th, 2008, 7:14 am
by kanii
I cant seem to get it past the MMOViper screen, it just sits there withh a 1 in the upper right corner?

Posted: September 20th, 2008, 1:57 pm
by beergeek
Can you give a little more detail?

Here is what is supposed to happen during login:

When you open the .exe, it should give the MMOViper screen near the upper left and a splash screen centered on your monitor. After entering user info, the MMOViper screen should disappear and the splash remain while the bot initializes. Then, you should have the bot status window in the upper right and the splash disappear.

Also, check and see if Log and Settings directories have been created. Settings should have 4 .ini files and the log may have one or more timestamped files

More info

Posted: September 20th, 2008, 5:26 pm
by kanii
I think my problems are due to running vista, however no settings or log files have been created. Instead the mmoviper window authenticates and disapears quickly, only to pop back up asking to authenticate again.

I have tried what frostmonkey has done in order to get either 1.1, or 2.0 wo work, with no avail =(

*Edit* I have the 1.1 working, using the workaround of deleting everything with vgextreme except the updater. (reloading all of it seems to make it work with no issues in vista).

It seems that the mmoviper is not able to authenticate. Does mmoviper use vgextreme or do i have to open vg extreme and load something before running the .exe?

Posted: September 20th, 2008, 10:36 pm
by rommel62
Well, I fired 2.0 up for a bit today, and have to say....well done Beergeek! Ive not used it enough to check it out thoroughly, but I tried it on a couple of real items, it it was fast, efficient, and no doubt an upgrade over ver 1.x. Other than getting it set up, which took a little bit to figure out, ive run into no problems at all.

R

Posted: September 21st, 2008, 6:11 am
by beergeek
kanii wrote:I think my problems are due to running vista, however no settings or log files have been created. Instead the mmoviper window authenticates and disapears quickly, only to pop back up asking to authenticate again.

I have tried what frostmonkey has done in order to get either 1.1, or 2.0 wo work, with no avail =(

*Edit* I have the 1.1 working, using the workaround of deleting everything with vgextreme except the updater. (reloading all of it seems to make it work with no issues in vista).

It seems that the mmoviper is not able to authenticate. Does mmoviper use vgextreme or do i have to open vg extreme and load something before running the .exe?
Are you running Vista x64? One of my testers could not get the new service running on that platform at all and would need to be something for wyv to look in to.

VGExtremeService does not need to be running before running the bot. The login screen is MMOViper, but is still authenticated through Tault. A MMOViper account is not necessary.

Nothing special is required, and if you were running 1.1 fine, you have all the back-end stuff necessary for 2.0. I explicitly wrote this under .NET 2.0 to prevent the need to install the 3.5 framework. The only difference I'm aware of is Vista 64

rommel62 wrote:Well, I fired 2.0 up for a bit today, and have to say....well done Beergeek! Ive not used it enough to check it out thoroughly, but I tried it on a couple of real items, it it was fast, efficient, and no doubt an upgrade over ver 1.x. Other than getting it set up, which took a little bit to figure out, ive run into no problems at all.

R
Thanks. Eventually, I'll get to writing up a guide, especially for setting up recipes and the queueing system (unless, of course, you wish to write a guide as you figure it out. I'm sure the mods will give you TUbucks for it). It is necessarily complex due to the flexibility of the VG crafting system.

Posted: September 22nd, 2008, 1:25 am
by farkem
I seem to be having the exact same problem. I open up the exe and get the "splash screen" in the center of my screen and the "authentication" window in the top left of my screen. I proceede to type my login and password and hit the "Authenticate" button. At that point the authentication window vanishes and instantly reopens. The only difference is up in the top right corner of the authetication window where it usually says "Enter your Username/Password to continue" in red text, that changes to: "1." in red text.

The log/ directory was created and is empty and there are no other altered files. I'm using XP pro.

Posted: September 22nd, 2008, 7:07 am
by beergeek
farkem wrote:I seem to be having the exact same problem. I open up the exe and get the "splash screen" in the center of my screen and the "authentication" window in the top left of my screen. I proceede to type my login and password and hit the "Authenticate" button. At that point the authentication window vanishes and instantly reopens. The only difference is up in the top right corner of the authetication window where it usually says "Enter your Username/Password to continue" in red text, that changes to: "1." in red text.

The log/ directory was created and is empty and there are no other altered files. I'm using XP pro.
I have submitted a query to wyvernx since i think this may be related to the new VGE service.

I assume no files have been moved around after extracting? The new service, and any application that references it, is very touchy about the files in its own directory. Also make sure you aren't running VGE, just the craft bot.

Posted: September 23rd, 2008, 12:53 pm
by sagatious
Downloaded the program, ran the install, ran the executable... everything worked fine. After I got done all the configurations ran the bot for a while and watched... the only problem is with buying supplies. I get to the vendor, do the inventory check.. can see it in my chat window and log file, but he never seems to buy anything. I dont have time stamps on, and it doesnt seem to be cutting of the inventory... just checks it, and then continues the bot... which means eventaully I run out of compoennts and the bot stops with a 'completed' message once it sees the message in the logs that a component is missing... why wouldn't it cancel the recipe and then run to replenish (if it could) the components... would be nice if that was an option, instead if the bot just stopping. So, yeah... it does work except for the buying components thing. And it is sooo much easier to configure than the old version... gonna make life a whole lot easier.

Posted: September 23rd, 2008, 5:31 pm
by beergeek
sagatious wrote:Downloaded the program, ran the install, ran the executable... everything worked fine. After I got done all the configurations ran the bot for a while and watched... the only problem is with buying supplies. I get to the vendor, do the inventory check.. can see it in my chat window and log file, but he never seems to buy anything. I dont have time stamps on, and it doesnt seem to be cutting of the inventory... just checks it, and then continues the bot... which means eventaully I run out of compoennts and the bot stops with a 'completed' message once it sees the message in the logs that a component is missing... why wouldn't it cancel the recipe and then run to replenish (if it could) the components... would be nice if that was an option, instead if the bot just stopping. So, yeah... it does work except for the buying components thing. And it is sooo much easier to configure than the old version... gonna make life a whole lot easier.
Set the debug level to 9, restart the program, and let it run to where it tries to buy utilities then heads back to the table. Stop the bot, zip the log (latest file in the /log directory) and PM it to me.

Ease of configuration was a big concern for this version, but it's still not as easy as I'd like. Unfortunately, there's a trade-off between ease and flexibility. Given the choice, flexibility/versatility wins.

I think in my first update I'll thrown in code to keep a permanent perpetual count of how many items are crafted with the bot, just for S&G :)

Posted: September 23rd, 2008, 6:58 pm
by Tault_admin
Whoops forgot to move this. Also awesome item.

Posted: September 23rd, 2008, 8:23 pm
by farkem
beergeek wrote: I have submitted a query to wyvernx since i think this may be related to the new VGE service.

I assume no files have been moved around after extracting? The new service, and any application that references it, is very touchy about the files in its own directory. Also make sure you aren't running VGE, just the craft bot.
Just to be sure I re-downloaded/extracted/ran the .exe and exactly the same thing happens. attached is a screenie of the login window after hitting the authenticate button.

Still not working for me either

Posted: September 28th, 2008, 6:21 am
by kanii
Mine is still doing the same thing I switched back to Windows XP deleted all the files and redownloaded like 6 times. It still shows the authenticate screen to log in and when I log in it disappears then repops back up with the number 1 in corner.

Re: Still not working for me either

Posted: September 28th, 2008, 11:24 am
by beergeek
kanii wrote:Mine is still doing the same thing I switched back to Windows XP deleted all the files and redownloaded like 6 times. It still shows the authenticate screen to log in and when I log in it disappears then repops back up with the number 1 in corner.
I am not doubting you; I am just at a loss for what could cause it. It's working just fine for some people and not for others, even on winxp, so it's obviously some setting/file/library/installation/etc. causing it to fail.

Attached is a program that will pop up a window that contains some character stats while in vanguard. Put the exe int he same directory as the ACB2.0 exe and try running it, see if the same problem occurs.

Awesome

Posted: September 29th, 2008, 7:39 am
by cepolly
I haven't tried this yet as I was just able to login and download it.

I want to thanks in advance. I'm glad to see interest in a great game.