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

VGExtreme Crafting Bot - Completed : VGExtreme Programs

Posted: September 12th, 2007
Total Posts:266 Joined:2007
extremeshannon wrote:Thanks for the reply. I am so happy there is a script like this. I am new to Scripts and games but do have a little programming background. Few things I am not sure of and not sure what I have to do make this work. If you could just let me know what has to be changed. I am working with a Tailor lvl 24 IN Vish Exch and he like to go around in Circles when running the Script. I have figure out how to change the mouse points. I have Change the Script so it knows I am a Tailor and he will run to Shere Click on Available WO's and Then goes to Current and Errors out.

Error: Line 390, Char:0 :: Path not found
Error: Line 390, Char:0 :: Path not found


1 other thing When I select the Work order I want to use and Select Begin on the Crafting Setup Window the Next Window Craftin Table set up Window moves up and to the left so the Begin button is in a different place.


Any help would be great.

Thanks
The path not found error is because you have not correctly defined the Logpath variable at the top of the script. You need to find VGLogDump.Log in the vgextreme directory and put the path to get to it in the logpath variable.

As for the Table Setup window being in a different place, just move it so that the begin button is in the same place as the begin button on the choose a recipe window, it should work fine from there. You will only need to move it once.
Posted: September 12th, 2007
Total Posts:266 Joined:2007
ve_necro wrote:Once again good work on this strabomeeks, I have been tweeking it a bit myself so anything I find I will send your way, trying to make it a little more interactual in the sence of how many times to loop, making it switch between finishing and refining etc. I did have an issue about the waypoints not being followed right a while back and forgot to post my fix. In the section where it moves back to the crafting table, I added an extra line to make it target and move to, here is my code so others can copy, doing it this way stopped the issues of it not moving to the table correctly or sometimes facing the wrong way. All you have to do is change the name to the table you wish to use, technically I could have written them all down and commented them out, but right now Im only focusing on my armour smith.

Code: Register to unlock hidden link

'This moves back to the Crafting Table
Sub MovetoCT()
    MoveTo -77120, 7158 
    'MoveTo -22991, -15936 'Near tree
    'MoveTo -23270, -18282 'Corner of building
    'MoveTo -27380, -17528 'Near WOrefine
    'MoveTo -25049, -17718 'Near forge
    'MoveTo -24837, -16575 'Sculpting Table
    'MoveTo -24334, -16901 'Forge
    'MoveTo -23398, -14484 'Fitting Table
    'MoveTo -23849, -17000 'Smelter
    'MoveTo -23556, -15612 'Shaping
    'MoveTo -23433, -16084 'Material
        VGSendCommand "/target  Blacksmith Forge"
        Sleep 2000
        MoveToMob getTarget
    Sleep 1000
    Start_Crafting
End Sub
Im crafting in HZ atm so no need for more than 1 waypoint, I know its likely to get caught there afk, but like I said before I am always near my screen to deal with tells etc.
Tried this out and it never gets me close enough to craft anything.
Posted: September 12th, 2007
extremeshannon
Thanks for the help. It seems to be working a lot better. The next part I am stuck on. when crafting it goes through all the steps till the end the last step and before the loot window pops up it clicks the Cancel button. Then truns to move with the loot window open. the only thing I can think of is one of the mouse clicks where is says "Hotkey to cancel Crafting" I set the Mouse Click to the Cancel buttion on the crafting table. Thanks for all the help great script.

What is the easiest way to get Coords to make new way points in VG?

Thanks again
Posted: September 12th, 2007
ve_necro
Strange how you dont get it to work strabomeeks works fine for me.


EXTREMESHANNON: the command is /loc at the position you wish to know the co-ordinates, use the first 2 numbers the 3rd is height related.
Posted: September 12th, 2007
extremeshannon
It could be there seems to be a little Hesitation from just normal Crafting on my netowrk between Finish crafting and Loot window poping up. Thanks for the info
Posted: September 12th, 2007
Total Posts:266 Joined:2007
if there is a delay you might want to go to that point in the script and put a sleep command.

Sleep 3000 or something right before it loots.
Posted: September 12th, 2007
extremeshannon
I am not sure 100% where to put the Sleep command. I have tried it in a few places. Seems to be inconsistant when it loots for me and some times doesn't Thanks for all your hard work on this. it is just about dialed in for me. 1 other thing if I am talking to a taskmaster and getting WO's and they walk away the script seems to just keep running. Clicking on nothing in the spot where my work order window is. Sorry for all these questions I am a little new at this. Thanks
Posted: September 12th, 2007
extremeshannon
This is an Awesome script!!!!!!!!!!
Posted: September 12th, 2007
Total Posts:266 Joined:2007
if the taskmaster walks away, the script will run for a while. It does the cycle to get work orders either 30 times, or until no more work orders show up. Just let it go, after 30 cycles it will clear itself out.

I will find the exact spot to put the sleep in a while, have a few reports to run off before I can get back to it.
Posted: September 12th, 2007
Total Posts:266 Joined:2007
extremeshannon wrote:It could be there seems to be a little Hesitation from just normal Crafting on my netowrk between Finish crafting and Loot window poping up. Thanks for the info
This is the current script for right after a product is done.

Sub Craft_Stage_4()

If (Crafting_Stage = 4) Then
VGsendText "^+="
sleep 4000
VGsendText "^+-"
End If

End Sub

Basically what this means is that it does the final step, then waits 4 seconds, and hits another hotkey to loot. If 4 seconds is not a long enough pause, then you could increase it to something like 9000 which would be 9 seconds.
Posted: September 13th, 2007
extremeshannon
Thanks for all the help. Might be the network I am on this week is not that fast about 300kb so latency might be a problem. I had it working then when I ran out of utilities it just kept running to the Finshing taskmast and back to the forge. I filled up on Utilities and no it runs between the forge and taskmaster doing some of the owrk orders but has a hard time turning them in. If the avalable tab is open it doesn't seem to select the Current tab and i have changed the mouse clicks a couple times. Not sure what is going on. I will be on a faster network tmorrow night about 3mbs and will try my computer there and see what happens. any other ideas would be great. thanks alot. My crafting is 31 Armor smith. In Vesk Ex.

Should the script go between Finishing and Refining or do I have to change something for that to happen.

Thanks
Posted: September 14th, 2007
Total Posts:266 Joined:2007
you have to change something for it to do refineing.

Towards the top you should see where it is checking for the stage you are on. In the section that starts with

If crafting stage <> 3 then

you should see this somewhere around there:

movetoWO
'movetoWOrefine

if you want to do refining tasks you should comment out the first one and remove the carrot from the second one so that it will ignore the movetowo command and follow the second one, it will looke like this.

'movetoWO
movetoWOrefine
Posted: September 14th, 2007
Total Posts:266 Joined:2007
Still need to know the steps for Weaponsmith and Leatherworker, but now I also need to know the last skill, the one that finishes your crafting. Just the name of it.
Posted: September 14th, 2007
millz420
hey strabo is there any chance you could make a 1280X1024 reso option for this script? otherwise i'll try to keep tweaking and getting locs hehe.
Posted: September 14th, 2007
Total Posts:266 Joined:2007
No, because I use custom windows and have them in places other than the default. It is extremely simple to get the XY for each mouseclick with ACTool.
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 7 guests
Locked