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

VSOH - Advanced Crafting Bot v1.1 : VGExtreme Programs

Posted: January 15th, 2008
ve_necro
OK new issue, I have had this for a while now but it has always been after a long period of crafting so it was no hardship for me to just restart the script but now it seems to be doing it at a random time, sometimes on the first turn in, sometimes after hours of crafting:

Error is on Y:368 X:4 of the main craftingbot. the problem is that it has "no permission" so yes I bet that you already know what Im about to write hehe.

Set objFile = objFSO.OpenTextFile (Logpath, ForWriting)

After doing a search all my files are in the right place and I only have one log which is properly labled. If this were not the case obviously it wouldnt work at all. Any suggestions or do I just dread having to manually get workorders that turn and buy utilities, sometimes its every turn in like I say, othertimes it hours.

Thank you once again my friend
Posted: January 15th, 2008
beergeek
ve_necro wrote:OK new issue, I have had this for a while now but it has always been after a long period of crafting so it was no hardship for me to just restart the script but now it seems to be doing it at a random time, sometimes on the first turn in, sometimes after hours of crafting:

Error is on Y:368 X:4 of the main craftingbot. the problem is that it has "no permission" so yes I bet that you already know what Im about to write hehe.

Set objFile = objFSO.OpenTextFile (Logpath, ForWriting)

After doing a search all my files are in the right place and I only have one log which is properly labled. If this were not the case obviously it wouldnt work at all. Any suggestions or do I just dread having to manually get workorders that turn and buy utilities, sometimes its every turn in like I say, othertimes it hours.

Thank you once again my friend
It's difficult for me to figure out why this is happening when it has never happened to me.

Try this: add a sleep before this line, just to make sure it's not trying to open the file too soon after the last request. (e.g.: sleep 100)

If that doesn't work, try surrounding the section that line is in with:

on error resume next
...
on error goto 0

Those statements will cause that section of the script to ignore a runtime error and continue. Not ideal, since it would ignore the code within for that pass, but better than halting execution.
Posted: January 18th, 2008
ve_necro
Adding the sleep did the trick, ty beergeek.
Posted: January 18th, 2008
kronfu
I am running into an issue with 2 diffrent artificers on two different computers. The script keeps repeating on an 'inspect action'. Log below:

2008-01-18 07:51:53 step name = 'Smooth'
2008-01-18 07:51:53 Tool2 action family identified
2008-01-18 07:51:53 sub idTool2 args: 1
2008-01-18 07:51:53 sub pressHotkey args: 1
2008-01-18 07:51:53 tool2 HK1
2008-01-18 07:51:56 iterations left: 1
2008-01-18 07:51:56 sub Craft
2008-01-18 07:51:56 Crafting Step = 6
2008-01-18 07:51:56 sub checkLog
2008-01-18 07:51:56 craft: skipCraft = False
2008-01-18 07:51:56 step name = 'Inspect'
2008-01-18 07:51:56 sub idStat2 args: 3
2008-01-18 07:51:57 sub pressHotkey args: 3
2008-01-18 07:51:57 stat2 HK1
2008-01-18 07:52:00 iterations left: 1
2008-01-18 07:52:00 sub Craft
2008-01-18 07:52:00 Crafting Step = 6
2008-01-18 07:52:00 sub checkLog
2008-01-18 07:52:00 craft: skipCraft = False
2008-01-18 07:52:00 step name = 'Inspect'
2008-01-18 07:52:00 sub idStat2 args: 3
2008-01-18 07:52:00 sub pressHotkey args: 3
2008-01-18 07:52:00 stat2 HK1
2008-01-18 07:52:03 iterations left: 1
2008-01-18 07:52:03 sub Craft
2008-01-18 07:52:03 Crafting Step = 6
2008-01-18 07:52:03 sub checkLog
2008-01-18 07:52:03 craft: skipCraft = False
2008-01-18 07:52:03 step name = 'Inspect'
2008-01-18 07:52:03 sub idStat2 args: 3
2008-01-18 07:52:04 sub pressHotkey args: 3
2008-01-18 07:52:04 stat2 HK1
2008-01-18 07:52:07 iterations left: 1
2008-01-18 07:52:07 sub Craft
2008-01-18 07:52:07 Crafting Step = 6
2008-01-18 07:52:07 sub checkLog
2008-01-18 07:52:07 craft: skipCraft = False
2008-01-18 07:52:07 step name = 'Inspect'
2008-01-18 07:52:07 sub idStat2 args: 3
2008-01-18 07:52:07 sub pressHotkey args: 3
2008-01-18 07:52:07 stat2 HK1
2008-01-18 07:52:10 iterations left: 1
2008-01-18 07:52:10 sub Craft
2008-01-18 07:52:10 Crafting Step = 6
2008-01-18 07:52:10 sub checkLog
2008-01-18 07:52:10 craft: skipCraft = False
Posted: January 18th, 2008
beergeek
kronfu: how many actions do you have available on Inspect and what is the action and its effect in the first space?
Posted: January 18th, 2008
kronfu
Main Action = Inspect "Inspecting examines your work carefully for flaws and imperfections.

Two subactions:
Inspect - Attribute used : Ingenuity
Skill Used : Sculpting
Progess Moderate
Base Action Point Cost: 75

Discover Flaws - Attibute used : Ingenuity
Skill Used : Sculpting
Quality: Low
Base Action Point Cost: 50


This the info you need?
Posted: January 18th, 2008
beergeek
It looks like it's trying to look for a third action which does not exist yet in station 2, and pressing the third hotkey.

Go in to acbincludes, down to Sub Craft, then scroll down until you find the heading for station 2 (green text)

In there you'll have two lines for pressHotkey(idStat2(x)). Make sure the first has 2 in for x and the second has 1 in for x. I have a feeling the second one has a 3.
Posted: January 18th, 2008
kronfu
That did the trick, thanks bro.
Posted: January 24th, 2008
beergeek
Today's patch (1-24-08) broke the skill and craft level offsets. I have uploaded an updated file in the OP
Posted: January 25th, 2008
Total Posts:55 Joined:2007
Thank you for the fast update Beergeek. The new file works perfectly.
Posted: January 27th, 2008
Total Posts:55 Joined:2007
I'm getting an Unidentified Comp on my Artificer Mineralogist:

Unidentified Comp: Potential Disaster!
Posted: January 27th, 2008
beergeek
officers wrote:I'm getting an Unidentified Comp on my Artificer Mineralogist:

Unidentified Comp: Potential Disaster!
The pop-up box is leftover code I had in place when I was still gathering comp data and I forgot to take it out. Any comps now that haven't been caught by me are likely extremely rare and not of any real concern. I have code in place that will click a set of default actions if there is no match. Next release I'll yank those lines out.
Posted: January 28th, 2008
biorott
Greetings! I am a new user to your bot and I must say it's quite impressive. I have a few small problems I thought you could maybe help me out with.

When doing work orders, the bot will always select remedy action #2 for comps when there are a few in the list that would be much more suitable (IE. 1 shot the comp instead of 3).

Also when doing actions it doesnt do any quality actions on any of the steps, expect for the utility1 which it will continue to use action2 which is all quality and no gain. Am I doing something wrong?

I am a level 48 Weaponsmith. Any help you could give would be much appreciated!
Posted: January 29th, 2008
beergeek
biorott wrote:Greetings! I am a new user to your bot and I must say it's quite impressive. I have a few small problems I thought you could maybe help me out with.

When doing work orders, the bot will always select remedy action #2 for comps when there are a few in the list that would be much more suitable (IE. 1 shot the comp instead of 3).

Also when doing actions it doesnt do any quality actions on any of the steps, expect for the utility1 which it will continue to use action2 which is all quality and no gain. Am I doing something wrong?

I am a level 48 Weaponsmith. Any help you could give would be much appreciated!
Are you running the latest version? From what you describe, it sounds like it's not reading your skill offsets properly. The patch I posted on 1/24 contains an update to the file vgextraoffsets.vbs. Download it at the bottom of the OP and save it in your Exhume/Includes directory.
Posted: February 2nd, 2008
Total Posts:55 Joined:2007
Hey Beergeek,

Any idea when the next release may be available?
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 3 guests
Locked