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

VGExtreme Crafting Bot - Completed : VGExtreme Programs

Posted: October 3rd, 2007
Total Posts:266 Joined:2007
Tault_admin wrote:strabomeeks how goes those images :)
Oh yeah. . .forgot all about that, Ill try to get them tomorrow afternoon, wont have time tonight were doing post patch validation all night long :(
Posted: October 3rd, 2007
Total Posts:266 Joined:2007
stuarcl wrote:I'm having a problem with choosing new work orders. It doesn't seem to recognize this line as complete

If (Crafting_AvailableWorkOrderDifficulty = "Difficulty: Easy") OR (Crafting_AvailableWorkOrderDifficulty = "Difficulty: Very Easy") Then

That plus the aforementioned step name non recogition(it never seems to recogize the quality step) is giving me problems with continuous crafting.
I dont have any problem with it recognizing the difficulty, are you sure you have it set for the right skillset?? The step right under difficulty will have a few different skillsets, you need to make sure if you are a tailor that it is set to find tailoring WO's and not something like leatherworking.
Posted: October 3rd, 2007
stuarcl
I'm an artificer and yes I have the correct skillsets in use. is there a way to see the current values that vanguard is returning?
Posted: October 4th, 2007
Total Posts:266 Joined:2007
yeah, you can see what it is returning by putting this right after the value you want.

first get in vanguard and join a channel by doing
/join yourcharnamehere

make a note of the number that it gives you for that channel.

Then go to your script and find the spot you want the script to tell you what value it has and just put this in there.

VGSendCommand "/# the value you seek is " & subname

For example, if you joined the channel and it is channel 5, and you wanted to know the value of Crafting_AvailableWorkOrderDifficulty, this is what you would put.

VGSendCommand "/5 Work order difficulty is " & Crafting_AvailableWorkOrderDifficulty

What this will do is type out in VG in your personal channel the value that VGE is returning for that sub.
Posted: October 4th, 2007
stupidhead64
strabomeeks wrote:Yes you can quit on tells, I just havent put anything like that in because I get spammed to buy gold every 10 minutes so it wouldnt be a very effective bot if it quit on tells, you might gain 2% a night.

Actually I really wouldnt mind this, just have a place to comment it out. I received some tells from GM's kinda late at night recently, luckly I have been at keys. But hell, I would rather get 2 or 3% per night, than not use the script at all at night lol.
Posted: October 4th, 2007
Total Posts:266 Joined:2007
maybe I will add it to the next version.
Posted: October 4th, 2007
stupidhead64
strabomeeks wrote:maybe I will add it to the next version.
Thanks, im using an older script version, and its working great, so I really dont want to mess with it and usea new script, so if possible, could you plesae copy/paste the code in a message here so we could add it? T hanks!
Posted: October 4th, 2007
Total Posts:266 Joined:2007
In the Sub Errors() dialog add this.

Code: Register to unlock hidden link

intMatch = InStr(strSearchString, "[Chat]From")
if intMatch > 0 Then
    VGSendCommand "/quit"
End If
The end result should look like this:

Sub Errors()
'this is the sub you need to find

Set objFSO = CreateObject("Scripting.FileSystemObject")
Set objFile = objFSO.OpenTextFile(Logpath, ForReading)
strSearchString = objFile.ReadAll
objFile.Close

'this is what is at the top to open and edit the file.

intMatch = InStr(strSearchString, "[Chat]From")
if intMatch > 0 Then
VGSendCommand "/quit"
End If

'this will be what you add to search for a tell from anyone.

intMatch = InStr(strSearchString, "You need more items to complete that work order")
if intMatch > 0 Then
Mouse.LMouseClick AB_X, AB_Y, 1, 1
End If

'I just included this so that you see what I added the text between.
Posted: October 4th, 2007
stupidhead64
Works perfect so far lol. Thanks =)
Posted: October 5th, 2007
stuarcl
Thanks for the help. It allowed me to determine nothing was getting passed. Did some research and discovered that my vgcraft.vbs was an old version or something and didn't have those values in it. Deleted it and it redownloaded the file with everything in it. Now works great.

Do have one question though. Until the rebuy utility works, can you think of a way to cancel crafting when you run out of an item. Moreover can you think of a way to quit the game when that happens?
Posted: October 5th, 2007
stupidhead64
Getting wierd errors starting today in the vgservice.vbs file. I have not edited this file. It started after I added the /quit on tells in the craftingbot file. Error is below:


Error: Line: 183, Char: 4 :: Object reference not set to an instance of an object.
Error: Line: 183, Char: 4 :: Object reference not set to an instance of an object.
Failed to Run Script.
End script
Posted: October 5th, 2007
Total Posts:266 Joined:2007
no idea on that, its in the vgservice so I dont have anything to do with it.

how often is it happening?? When is it happening??

adding the /quit on tells could not possibly cause this because all I did is add one more search to an existing function, if the same function was not causing this before it could not be causing it now.
Posted: October 5th, 2007
stupidhead64
not sure when, but very often. I havent been able to actually see the screen when it happens...I just go afk for a bit and come back and its sitting at the vgextreme window with that error. But it has just started since yesterday.
Posted: October 5th, 2007
Total Posts:266 Joined:2007
is vanguard up when you come back or have you /quit??
Posted: October 5th, 2007
stupidhead64
strabomeeks wrote:is vanguard up when you come back or have you /quit??

That, I have no idea. I Just downloaded a new copy of that file, im going to let it run while I go to dinner and see how it goes when I get back.
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