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

VSOH - Advanced Crafting Bot v1.1 : VGExtreme Programs

Posted: March 29th, 2008
beergeek
vandevious wrote:Thanks for the great work beer... I'm close to running mine but I'm having two issues.


I got that Table not defined issue, but I have my table names in the code...

Code: Register to unlock hidden link

const finTableName = "Artificer Sculpting Table"            'Enter name of each table to ensure proper positioning before crafting begins.
const refTableName = "Artificer Shaping Bench"  
It seems to just default to the coords of the refining table.

Secondly, I'm getting the following error once the bot begins crafting an item... it gets to the point where you have the 5 steps and then the error occurs.

acbinclude.vbs
"Error Line 815, Char: 12 :: Type Mismatch:'Crafting_StepName'"
The last one makes me think you need to update vgservice/vgextreme and the first problem could also be related. Follow the first suggestion in the troubleshooting section of the OP. You do not have to delete your acbuserdata file or any of the files specific to this bot.
Posted: March 30th, 2008
Total Posts:55 Joined:2005
Any ETA on the next version to counter the issues of GU4?
Posted: March 30th, 2008
beergeek
valmir wrote:Any ETA on the next version to counter the issues of GU4?
I have no control over that, but between my last post and now, wyvernx has posted a new vgservice update to fix broken GU4 offsets. Update your files, should fix the problems.
Posted: March 30th, 2008
vandevious
Alright, i updated twice for good measure but it is still just a continuation from the earlier post... I'm a level 15 minerologist and the bot will do everything until Step 2. It doesn't pull up the 4 options for step two... and I get the following debug message...

iterations left:1
sub Craft
sub determineRecipeTier
Crafting Step = 2
Error: Line: 815, Char: 12 :: Type mismatch: 'Crafting_StepName'
Error: Line: 815, Char: 12 :: Type mismatch: 'Crafting_StepName'
Failed to Run Script
End Script
Posted: March 30th, 2008
beergeek
vandevious wrote:Alright, i updated twice for good measure but it is still just a continuation from the earlier post... I'm a level 15 minerologist and the bot will do everything until Step 2. It doesn't pull up the 4 options for step two... and I get the following debug message...

iterations left:1
sub Craft
sub determineRecipeTier
Crafting Step = 2
Error: Line: 815, Char: 12 :: Type mismatch: 'Crafting_StepName'
Error: Line: 815, Char: 12 :: Type mismatch: 'Crafting_StepName'
Failed to Run Script
End Script
The error line usually doesn't help me much, although the message is necessary.

I need to know where in the script it's stopping. It should place the cursor right at the command that's failing. Copy the few lines of code before and after the error and post them here.

Before this error occurs, does it open the action options first?

Likely your problem is configuration. Do you have your hotkeys set according to the OP? Also, make sure the seventh hotkey (the one with /craftingselectstep 9, etc.) is entered manually and NOT copied/pasted.
Posted: March 30th, 2008
vandevious
It will open step 1 and show the two options... and pick one.
It then moves to step two and errors out. It doesn't open the options for step two, but if I manually press "CTRL-SHIFT-7" then the options appear.

Code: Register to unlock hidden link

                            if debugState then debugLog "Crafting Step = " & CS   end if

            'Finishing Step - always send best option if action points allow.  This is done before checkLog to ignore comps on the very last step
            'and to detect level up for skill balancing.
**|**   If      (Crafting_StepName(CS) = "Bolt") Or _   
                    (Crafting_StepName(CS) = "Fold Material") Or _      
                    (Crafting_StepName(CS) = "Bundle") Or _
                    (Crafting_StepName(CS) = "Clean") Or _
                    (Crafting_StepName(CS) = "Material Strap") Or _
                    (Crafting_StepName(CS) = "Pour Mold") Or _
                    (Crafting_StepName(CS) = "Attach") Then
[/code]
Posted: April 2nd, 2008
Total Posts:55 Joined:2005
Got a strange one for you. I just formatted my hard drive but to save all the problems of redoing all my userdata I cheated and put it on a memory stick (just that one file). Installed VGExtreme again, deleted all files except the updater and downloaded the fixes, then downloaded the files on the OP. Finally I copied over the userdata with my original one (for my X,Y locations, preferances and waypoints).

My VG files are on another hard drive and so I knew my locations would still be the same as this is not the issue here, but when I start the script I get the spinning thing as described in the problems section on the OP. I have obviously installed all the files and scripts again with the one exception of the userdata as stated. Does anyone have any suggestions on how to fix this as I doubt that redoing that one file will make the difference, all it does is store preferances and waypoints.

Oh and for anyone who had the same issue as I had with GU4 (the pop up when it hits cancel on the crafting window) I just moved the window to the far left so that the buttons cover each other, it will click cancel, attempt to craft and then click cancel again, but instead of the cancel button it hits accept on the pop up.

I will just have the script do combines for now and pick up WO's and supplies manually, although its the picking up supplies which I will miss lol, just means making a /buy XXX hotkey for everything I need.
Posted: April 2nd, 2008
beergeek
valmir wrote:Got a strange one for you. I just formatted my hard drive but to save all the problems of redoing all my userdata I cheated and put it on a memory stick (just that one file). Installed VGExtreme again, deleted all files except the updater and downloaded the fixes, then downloaded the files on the OP. Finally I copied over the userdata with my original one (for my X,Y locations, preferances and waypoints).

My VG files are on another hard drive and so I knew my locations would still be the same as this is not the issue here, but when I start the script I get the spinning thing as described in the problems section on the OP. I have obviously installed all the files and scripts again with the one exception of the userdata as stated. Does anyone have any suggestions on how to fix this as I doubt that redoing that one file will make the difference, all it does is store preferances and waypoints.

Oh and for anyone who had the same issue as I had with GU4 (the pop up when it hits cancel on the crafting window) I just moved the window to the far left so that the buttons cover each other, it will click cancel, attempt to craft and then click cancel again, but instead of the cancel button it hits accept on the pop up.

I will just have the script do combines for now and pick up WO's and supplies manually, although its the picking up supplies which I will miss lol, just means making a /buy XXX hotkey for everything I need.
copying your userdata file will not cause this. The only thing you need to check is to make sure the logpath variable (at the top) is still correct.

The cancel craft is already addressed in the version I am running, which I will try to release soon once I get to completing a couple things, although what you suggest is a good workaround for others in the meantime.

If your character is still spinning, it's not an issue with the bot, but with the offsets it's trying to read. wyvernx very recently updated VGExtreme, so go ahead and delete those files (you don't have to touch bot files) and patch again. Restart everything (including your pc) and try again. If it still spins, look through this thread where I posted a file called vartest.vbs, run it and PM me the log it generates.
Posted: April 2nd, 2008
vandevious
In case it wasn't clear in my earlier post... the **|** is where the cursor is located once the script crashes out.

I updated again today... rebooted... still errors out on the second step.




It's acting like it doesn't see the part about step two where it hits CS7...

because if I hit CS7 manually.. it will open step 2 and I can follow that with CS1, CS2, or CS3 to select an action to perform.
Posted: April 3rd, 2008
beergeek
vandevious wrote:In case it wasn't clear in my earlier post... the **|** is where the cursor is located once the script crashes out.

I updated again today... rebooted... still errors out on the second step.




It's acting like it doesn't see the part about step two where it hits CS7...

because if I hit CS7 manually.. it will open step 2 and I can follow that with CS1, CS2, or CS3 to select an action to perform.
To explain the error you are getting, type mismatch means the script was expecting a variable of one type (string, integer, array, etc.), but instead got another. Crafting_StepName is a function defined in vgcrafting.vbs. If it is not processing this file, the script engine would then think that Crafting_StepName is a variable. With the (CS) after it, it would then be an array. Since an array must be previously dimensioned, it will give a type mismatch error.

Make sure your vgcrafting.vbs is loading when you open the crafting bot and that it contains the function Crafting_StepName(step) in it.
Posted: April 4th, 2008
User avatar
Total Posts:26 Joined:2005
anyone know of another zone besides tawar galan that has stationary taskmasters?
Posted: April 4th, 2008
Total Posts:55 Joined:2005
Any of the housing isles with crafters on them are stationary. Just be advised not to afk and craft on them as it will be obvious.
Posted: April 4th, 2008
User avatar
Total Posts:26 Joined:2005
dunno if anyone else is having a problem with WP's but since the 31st with the update wyvernx did i am just spinning, tried reinstalling everything and all that have the gu4 offsets, if i can maneuver myself while spinning to the correct loc will go like normal but not working otherwise, any ideas?
Posted: April 5th, 2008
Total Posts:55 Joined:2005
Yes Im having the spinning issues too, Beergeek is looking into my logs atm so far it seems that all the plugins and offsets are working right so perhaps its just something that they changed and the navigation files need to be updated.

I will let you know what Beergeek says when I get my mail back from him, he asked for a more indepth debug so that he could try to assess the problem.

Out of interest what zone are you crafting in right now, normally I dont like to post things like this in here as it draws attention, but perhaps its just the chunk, Im in Gawrut Kern. The strangest thing of all is when you hit F12 to shut down, it will stop spinning and bypass the tasksmaster then head on out from the table to the utility vendor.... how odd.
Posted: April 5th, 2008
User avatar
Total Posts:26 Joined:2005
i was doin in tawar galan so its not the zone, but i have another issue as artificer sometimes when i get a cleaner recipe the util1 stage doesnt press any buttons for actions, it hits CS7 to pull up that stage over and over, never hitting another button, any ideas?
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