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

VGExtreme Crafting Bot - Completed : VGExtreme Programs

Posted: September 20th, 2007
stupidhead64
I PM you a link to a video of it I took so you can see...its kinda blurry, but you can tell, had to make it lower quality or it would have been freaking huge lol
Posted: September 20th, 2007
Total Posts:266 Joined:2007
post the script section

Sub turnin()

for some reason I have a feeling that something there is missing.
Posted: September 20th, 2007
stupidhead64
I havent touched this section...Also that video I sent you for some reason its cutting off the end when you stream it, but on my hard drive its showing up perfect =P lol






'---------------------------------------------------
'This turns in any completed work orders and gets new ones.
'You need to uncomment whatever skill you are doing. Right now Tailoring is uncommented.
Sub Turnin()
Mouse.LMouseClick LFW_X, LFW_Y, 1, 1
Mouse.LMouseClick CT_X, CT_Y, 1, 1
For Count = 0 to 2
Mouse.LMouseClick FWO_X, FWO_Y, 1, 1
Mouse.LMouseClick CB_X, CB_Y, 1, 1
Sleep 1000
VGSendCommand "/lootall"
Errors
Next
Mouse.LMouseClick AT_X, AT_Y, 1, 1
Mouse.LMouseClick FWO_X, FWO_Y, 1, 1
Counter = 1
Do Until (Crafting_AvailableWorkOrderDifficulty = "") OR (Counter > 20)
Counter = Counter + 1
Sleep 1500
If (Crafting_AvailableWorkOrderDifficulty = "Difficulty: Easy") OR (Crafting_AvailableWorkOrderDifficulty = "Difficulty: Very Easy") Then 'You can decide wether or not you can handle harder WO's here
'If (Crafting_AvailableWorkOrderSkill = "Skill: Mineralogy ") OR (Crafting_AvailableWorkOrderSkill = "Skill: Artificing ") OR (Crafting_AvailableWorkOrderSkill = "Skill: Forming ")Then 'This is where you set what work order skillset you desire
'If (Crafting_AvailableWorkOrderSkill = "Skill: Armor Smithing ") OR (Crafting_AvailableWorkOrderSkill = "Skill: Metallurgy ") OR (Crafting_AvailableWorkOrderSkill = "Skill: Blacksmithing ")Then
If (Crafting_AvailableWorkOrderSkill = "Skill: Tailoring ") OR (Crafting_AvailableWorkOrderSkill = "Skill: Outfitting ")Then
'If (Crafting_AvailableWorkOrderSkill = "Skill: Carpentry ") OR (Crafting_AvailableWorkOrderSkill = "Skill: Artificing ")Then
Mouse.LMouseClick CB_X, CB_Y, 1, 1
Mouse.LMouseClick FWO_X, FWO_Y, 1, 1
Else
Mouse.LMouseClick DA_X, DA_Y, 1, 1
Mouse.LMouseClick FWO_X, FWO_Y, 1, 1
End If
Else
Mouse.LMouseClick DA_X, DA_Y, 3, 1
Mouse.LMouseClick FWO_X, FWO_Y, 1, 1
End If
Loop
MovetoCT
End Sub
Posted: September 20th, 2007
Total Posts:266 Joined:2007
That code looks correct, in the video, it looks like it does click, but then goes to the table anyway. I dont see any reason this is happening, let me look into the code again. Try redownloading and see if that helps anything, restart the VGExtreme client - clears bugs sometimes.
Posted: September 20th, 2007
stupidhead64
I also did change that to crafting by taking the ' out if that matters and putting it in front of Tailoring, since I am artificer
Posted: September 20th, 2007
Total Posts:266 Joined:2007
no that should not matter, still looking for something that would cause that
Posted: September 20th, 2007
stupidhead64
Thanks! Sent you a PM btw =)
Posted: September 20th, 2007
Total Posts:266 Joined:2007
im really bogged down with work today, expect an update around 10EST.
Posted: September 20th, 2007
stupidhead64
strabomeeks wrote:im really bogged down with work today, expect an update around 10EST.
Cool, if theres going to be an update, I assume a problem was found? =)
Posted: September 20th, 2007
stupidhead64
Im really confused on the part below,

do I make a hotkey on CS 8, 9, 0, - and =, and in EACH of those put /craftingselectstep 1-9 plus /craftingselectaction 1 ?? Im all confused to hell about this one.



Some things to note about the setup:
I used Hotbar CS - Meaning that all the hotkeys I have setup in the script are activated on the Control Shift Hotbar. I used 3 hotkeys but more can be accommodated. The standard Hotkey is:

/craftingselectstep 9
/craftingselectstep 8
/craftingselectstep 7
/craftingselectstep 6
/craftingselectstep 5
/craftingselectstep 4
/craftingselectstep 3
/craftingselectstep 2
/craftingselectstep 1
/craftingselectaction 1

DO NOT COPY AND PASTE THIS - you will get some error about to many lines in your macro.
The only thing that changes on each hotkey is the number in the last line (/craftingselectaction #), whatever number you replace there corresponds to the action you will use from left to right.
I put Hotkey one on CS=, and ended with HK4 on CS9. Hotkey 4 is the macro you will use to add anything to the table you may want to add.

Hotkey 5 will be
/craftingchangetoolbelt
and is on CS8, this will change toolbelts when you do not have the right tools.
Posted: September 20th, 2007
Total Posts:266 Joined:2007
yes, make a hotkey on =,-,0,9 etc

this is my current setup, and I will post the exact script I am using to see if that helps you with your problem you were having.

CS=:
/craftingselectstep 9
/craftingselectstep 8
/craftingselectstep 7
/craftingselectstep 6
/craftingselectstep 5
/craftingselectstep 4
/craftingselectstep 3
/craftingselectstep 2
/craftingselectstep 1
/craftingselectaction 1

CS-:
/craftingselectstep 9
/craftingselectstep 8
/craftingselectstep 7
/craftingselectstep 6
/craftingselectstep 5
/craftingselectstep 4
/craftingselectstep 3
/craftingselectstep 2
/craftingselectstep 1
/craftingselectaction 2

CS0:
/craftingselectstep 9
/craftingselectstep 8
/craftingselectstep 7
/craftingselectstep 6
/craftingselectstep 5
/craftingselectstep 4
/craftingselectstep 3
/craftingselectstep 2
/craftingselectstep 1
/craftingselectaction 3

CS9:
/craftingselectstep 9
/craftingselectstep 8
/craftingselectstep 7
/craftingselectstep 6
/craftingselectstep 5
/craftingselectstep 4
/craftingselectstep 3
/craftingselectstep 2
/craftingselectstep 1
/craftingselectaction 4

CS8:
/craftingselectstep 9
/craftingselectstep 8
/craftingselectstep 7
/craftingselectstep 6
/craftingselectstep 5
/craftingselectstep 4
/craftingselectstep 3
/craftingselectstep 2
/craftingselectstep 1
/craftingselectaction 5

CS7:
/craftingselectstep 9
/craftingselectstep 8
/craftingselectstep 7
/craftingselectstep 6
/craftingselectstep 5
/craftingselectstep 4
/craftingselectstep 3
/craftingselectstep 2
/craftingselectstep 1
/craftingselectaction 6

CS6:
/refineadditem water
/refineadditem bandages
/lootall

CS5:
/craftingchangetoolbelt


Attachments:
CraftingBottesting.vbs Register to unlock hidden link
this is for testing purposes only, I found a good spot to grid so I removed the names from the vendor slots you will need to put those back in there.
(13.93 KiB) Downloaded 16 times
Posted: September 20th, 2007
Total Posts:266 Joined:2007
I ran my code the last 3 hours I was working on these reports and it hasnt hitched at all in that time. I loaded it on the last post so that you can have exactly what I have. If you have any other questions let me know.
Posted: September 20th, 2007
stupidhead64
*Tear*

Does step 1 (boards/slabs/etc), Step 2, solvent on the one I did, it gives this error:


Error: Line: 113, Char: 12 :: Type mismatch: 'Crafting_StepName'
Error: Line: 113, Char: 12 :: Type mismatch: 'Crafting_StepName'
Failed to Run Script
End Script

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

Also it wont pick new work orders on this one =( Itll highlight the first one, turn around, and run to the table.


Curious, what interface are you using? Would that have anything to do with it?

Also im doing carpentry/artificer
Posted: September 20th, 2007
Total Posts:266 Joined:2007
I use a mix of drox and glass UI - though it should not matter.

you actually took the script I just posted, did not change anything except logpath, woname, and moveto's and your still getting that error?
Posted: September 20th, 2007
Total Posts:266 Joined:2007
I know this may sound odd, but are you logged on as admin, when I look up what could be possible problems with that error, the #1 problem is that the user does not have admin rights. Why in the hell that would cause a type mismatch is beyond me but you never know.
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 2 guests
Locked