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

VGExtreme Crafting Bot - Completed : VGExtreme Programs

Posted: October 24th, 2007
stupidhead64
strabomeeks wrote:your getting the error when YOU try to write it, theres stuff in the file because Vanguard writes to it, its basically a log file for vanguard - everything that shows in your chat will be in that file. Your error is coming up when you try to clear whats in there. Its a problem somewhere on your end, with your permissions or whatever else.

Nah, cant be. Im not doing anything when it happens. Ill go away and not touch the keyboard and come back and its sitting at the vgextreme screen with an error on that line. Cant be permissions either, the default install makes you admin, im setup as admin as well. Im in IT for a living, trust me, the permissions are fine, I deal with permissions day in and day out.
Posted: October 24th, 2007
Total Posts:266 Joined:2007
im not saying its permissions specifically, im saying its something in your enviroment. And it errors when your system tries to write it, if your an IT guy for a living look at the error log and you will see you get the error when something in the script attempts to clear everything in that file. TRYING TO CLEAR THE FILE IS YOUR SYSTEM TRYING TO MODIFY IT. I am not sure how I could be any more clear.

I can prove it is the problem, remove the error check from the script and it will not happen, your vanguard client will still write everything to that file, but you will never try to access or modify it so it will not error.
Posted: October 24th, 2007
yizzer
Two possibilities that I can see.

1) The script is trying to open the file for writing multiple times simultaneously, causing the error.

Example:

Code: Register to unlock hidden link

Set objFSO = CreateObject("Scripting.FileSystemObject")
Set objFile = objFSO.OpenTextFile("test.txt",2)
Set objFile2 = objFSO.OpenTextFile("test.txt",2)
This would die with a Permission Denied error on line 3.


2) Or, the script is trying to open the file for writing when VGExtreme/Exhume already has the file opened for writing/appending. This would also error with Permission Denied. I don't know exactly how VGExtreme handles the log file, though.


Next time I get this to occur I'll see if I can't reproduce it and debug through the script. Every time I have seen this is when receiving the "tool not found" error requiring a tool belt switch, so it may be related to that.
Posted: October 24th, 2007
yizzer
Actually, if this helps any more here is a specific situation where I've seen this Permission Denied issue happen twice now:

A complication is encountered. The complication has two remedies, both of which require a tool and this tool is not in the active toolbelt. The script will click on both remedies trying to resolve the complication. This results in the "Error: missing tool" error being generated twice in quick succession.
Posted: October 25th, 2007
stupidhead64
strabomeeks wrote: I can prove it is the problem, remove the error check from the script and it will not happen, your vanguard client will still write everything to that file, but you will never try to access or modify it so it will not error.

You said the script will not function without the log file. I had asked about taking this out a long time ago.
Posted: October 25th, 2007
Total Posts:266 Joined:2007
removing the error check does not remove the log file.
Posted: October 26th, 2007
stupidhead64
strabomeeks wrote:removing the error check does not remove the log file.

Ahhh cool, is there a specific place to remove this error stuff?

thanks
Posted: October 26th, 2007
Total Posts:266 Joined:2007
anywhere in the script you see the word "errors"

When the script sees that word it goes to the Sub Errors() and runs that block of code. Basically what this does is search the logfile for errors and if it finds them then it will do something to correct the error. Where YOU are getting the problem is after the error is found and corrected your computer will clear the logfile so that the next error search does not find old errors. At this point you are getting a permission error.

Be warned, removing the error check will result in the possability of endless loops in about 4 different places.
Posted: October 26th, 2007
stuarcl
Is there anyway of determining a complication name or the action point cost of a complication remedy?
Posted: October 27th, 2007
Total Posts:266 Joined:2007
well the complication name is put into chat when it comes up so yes there is a way that you could get the name of a complication.
Posted: October 28th, 2007
User avatar
Premium
Total Posts:6662 Joined:2004
It is also in the API. I added some complication API's the name should have been one of them.

_________________
Use Search first, ask questions later!
Posted: November 3rd, 2007
User avatar
Total Posts:374 Joined:2005
i got it rly fast to work, the only thing is if i finish a workorder it accept not the "Take All" why?

and i notice the skript didnt know the Action Form "Forming Head" or "Practiced Worksmanship".

also Stage 3 "Forming"
Form

Forming Head
Practiced Worksmanship
Posted: November 3rd, 2007
Total Posts:266 Joined:2007
kumpel100 wrote:i got it rly fast to work, the only thing is if i finish a workorder it accept not the "Take All" why?

and i notice the skript didnt know the Action Form "Forming Head" or "Practiced Worksmanship".

also Stage 3 "Forming"
Form

Forming Head
Practiced Worksmanship
One of your hotkeys should have a /lootall command in it. At the very end of the hotkey that adds materials to the crafting table is where the /lootall should be located.

In order to add the steps I have to know what function it is. There are 6 different functions in VG crafting

Tool 1 - this is the action that uses tools
Tool 2 - this is also a action that uses tools but you wont get it till around level 30
Utility 1 - this uses a utility
Utility 2 - this also uses a utility but you wont get it till around level 20
Station 1 - these actions do not use tools or utilities
Station 2 - this is the same as station 1 but you wont get it till around level 40

The script calls these six different funtions, I need to know where it should look for Forming Head and Practiced Worksmanship
Posted: November 4th, 2007
User avatar
Total Posts:374 Joined:2005
i addet "Form" and "Forge" in Station 1 im lvl 16 armor smith imo.
and yes i have the hotkey for looting.
i addet a own loot key here that fixet my problem.


VGsendText HK9 ' my lootkey in CBinclude.vbs
End Sub

Sub Start_Crafting()

If Crafting_State = 0 Then
Mouse.RMouseClick WB_X, WB_Y, 1, 1
sleep 1000
End If
Posted: November 5th, 2007
Total Posts:12 Joined:2007
I've read most of the posts but one issue that was addressed earlier and been bothering me as well but the issue had not solid resolvement to it.

The script runs fine untill it starts the crafting process. I've set the log file path, told it I'm an artificer/minerologist. I have the hotkeys but im still hitting this Script error the second action it takes every time is.

Error: Line: 29, Char: 12 :: Type mismatch: 'Crafting_StepName'

Refering to the cbinclude.vbs sheet in which it lists the approporiate steps.

It lists that error twice. If you take the script and try to run it again, it will complete 2 more steps, failing again. If a work order complication comes up, it will address it, then fail.
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 6 guests
Locked