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

Crafting Chain : VGExtreme Programs

Posted: August 4th, 2007
Total Posts:34 Joined:2007
Ok, so it has been YEARS since I even thought about coding anything, and when I did it was C++ and Perl.

I have written a command chain to plow through WO's after the table has been set up. It's not pretty, but it does the job, and I beg one of the script junkies on here to make it pretty and add some buttons for the different crafting workflows.

Right now, once you set up your table, swap out and hit F5, and snooze till it loots...

(notice in the file I have my include files in a different directory, so fix as needed)


Attachments:
VGBasicCraftChain.vbs Register to unlock hidden link
(1.76 KiB) Downloaded 37 times
Posted: August 4th, 2007
User avatar
administrator
Total Posts:29920 Joined:2002
Nice nice.

Can premium members say yay or nay to this being moved to a confirmed section.
Posted: August 5th, 2007
Total Posts:34 Joined:2007
Are there functions to query crafting step? Like if stage = "2" and action = ("solvent") Then ...

If so, I would be willing to make the script a crapload more intelligent. Also, action progress would be cool too, then I could check progress and perform the step again if <100.
Posted: August 8th, 2007
Total Posts:34 Joined:2007
Ok, so I'm only an artificer, and have no exposure to the other crafting steps.

I have written a script that when you run it (after setting up your WO workbench and hitting begin) will intelligently walk through each step and choose the fastest action for the step to walk through workorders pretty quickly.

I'm not a botter, and in testing at a rather remote bunker that i would typically never see anyone in, a few high level's showed up just to craft and leave, so I don't guarentee that converting this into a bot is such a smart idea.

anyway, here's my script, it works 100% for artificer refining wo's, I'll work on finishing wo's later.

Enjoy.


Attachments:
VGBasicCraftChain.vbs Register to unlock hidden link
(2.25 KiB) Downloaded 27 times
Posted: August 9th, 2007
User avatar
administrator
Total Posts:29920 Joined:2002
Can premium members say yay or nay to this being moved to a confirmed section.
Posted: August 10th, 2007
Total Posts:34 Joined:2007
Okey it seems like no one's interested in this... if that's the case, I'll stop updating.
Posted: August 10th, 2007
hatingtehgrind
i'm interested! very much so! matter of fact i just got registered on this site so i could DL the program so i can do WOs with the push of a button or two!

i'm a tailor though : /
Posted: August 10th, 2007
Total Posts:34 Joined:2007
So moving more toward a bot which I swore I wouldn't do, this version now does Finishing and Refining WO's w/o EVER touching any buttons.

This version uses the Button 1 "/craftingselectaction 1...." hotkey macros discussed in other threads, but still with intelligence in picking the fastest production method to get you through the WO's as fast as possible.

I've also included a "Ready for More?" Yes/No box. Just click yes after you've gone to get 3 more WO's and the script will go back to crafting.

Some things to note....

I use 1280 x 1024 resolution and the script uses all mouse x/y loc & click, which will shift for different resolutions.

I burned through 2 levels using this script and no questionable crafters stopped by, so I believe it to be safer to use than sending a bunch of /craftingselectstep 1 type line commands (no freaking human types them one by one).

To use this effectively, make sure you are always close to the same position with regard to the crafting table when you set your mouse positions. I like to use first person pov and stand in the middle of the table.

If you prefer the whole "one command line at a time" method, just comment out the Mouse.LClick... lines and uncomment the VGSendCommand "\....." lines, and you'll go back to the old style. A word of caution however, if someone does check up on you, the script will keep stealing your chat window and preventing you from answering tells, etc.

You'll have to DL AC Tool or the like to track your mouse X,Y position for your resolution/UI/Window layout settings.

For all the non-artificers... Please make a post stating the stage names of your crafting process eg "Stage 1: Materials" "Stage 2: Cutting", how many steps are in that stage, and which method of that step gets the job done most efficiently. With this info, I can mod this script to do WO's for other crafting trades as well.

For instance, if there are 5 buttons available to your crafting process window broken into 4 stages, some stage has 2 steps, I need to know whic that is, and when that step is selected, which of the "subbuttons" you'd normally click to advance the progress the fastest.


Attachments:
WO_Finisher.vbs Register to unlock hidden link
(6.48 KiB) Downloaded 28 times
Posted: August 10th, 2007
User avatar
administrator
Total Posts:29920 Joined:2002
I think you have alot of intrest. Want to create a new post and ill move that one to the confirmed area for apps :) Just post a link here when you do.
Posted: August 10th, 2007
Total Posts:34 Joined:2007
New general post up. "Crafting bot (well almost)"
Posted: August 11th, 2007
User avatar
administrator
Total Posts:29920 Joined:2002
done.
Posted: August 12th, 2007
quazar
awesome i'll try this later this even or next.
Posted: August 14th, 2007
User avatar
Premium
Total Posts:6718 Joined:2004
I dont remember who PM'd me about adding the ActionName, but please PM me again. I lost all my PM's when deleting old ones.

At any rate, I can confirm that ActionDescription works, and I added ActionName and will compile and post it here in a few.

basically, ActionDescription gets the tool tip for a specific Crafting Step, and ActionName gets the name, ie Vice, Clamp, etc.

Please PM me with any others you need added.

_________________
Use Search first, ask questions later!
Posted: September 3rd, 2007
User avatar
Premium
Total Posts:6718 Joined:2004
September 2, 2007

NOTE: See included Inlcludes/VGParley.vbs on how to use them!
NOTE: See included Inlcludes/VGCrafting.vbs on how to use them!

--Added Crafting Functions
'Function Crafting_AvailableWorkOrderName 'Returns the name of the work order you have selected from the taskmaster
'Function Crafting_AvailableWorkOrderDescription 'Returns the description of the work order you have selected from the taskmaster
'Function Crafting_AvailableWorkOrderDifficulty 'Returns the Difficulty of the work order you have selected from the taskmaster
'Function Crafting_AvailableWorkOrderSkill 'Returns the skill of the work order you have selected from the taskmaster
'Function Crafting_AvailableWorkOrderNeededItems 'Returns what the work order requires to be constructed from the work order you have selected from the taskmaster

--Added Parley Functions
'function Parley_Inspire 'Returns the amount of inspire you currently have
'function Parley_OpponentInspire 'Returns the amount of inspirey our opponent has
'function Parley_Demand 'Returns the amount of demand you currently have
'function Parley_OpponentDemand 'Returns the amount of demand your opponent has
'function Parley_Reason 'Returns the amount of reason you currently have
'function Parley_OpponentReason 'Returns the amount of reason your opponent has
'function Parley_Flatter 'Returns the amount of flatter you currently have
'function Parley_OpponentFlatter 'Returns the amount of flatter your opponent has
'function Parley_Type ' Returns the type of parley you have initiated (entertainment, civic, etc)
'function Parley_Points 'Returns the dialog points you currently have
'function Parley_OpponentPoints 'Returns the dialog points your opponent has
'function Parley_Status 'Returns the purple sticker showing how much you are progressing to the goal
'function Parley_OpponentName 'Returns who you are currently conversing with
'function Parley_hasWon 'Returns True/False if you won the parley
'function Parley_hasLost 'Returns True/False if you lost the parley
'function Parley_inParley 'Returns True/False if you are currently in a parley
'function Parley_hasOpponentPassed 'Returns True/False if the opponent decided to "Listen"
'function Parley_hasPlayerPassed 'Returns True/False if you decided to "Listen"
'function Parley_CardCooldown(int_card) 'Returns the cooldown rounds remaining on the card (Zero-Based index - first card is 0)

_________________
Use Search first, ask questions later!
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 4 guests
Locked