beergeek wrote:vanguardmarco wrote:ok now i'v again changed the logpatch
in my case : C:\xunleashed\VGExtreme1.13
i's the same of VGExtreme.exe
i'v started the script in front sculpiting table ..it opens work orders interface... it realizes that no wo are and pg goes to finTM
it opens interface and tres to select fist current wo but script anded..
in the lower box's vge program's i can read:
error line 369, char 4:: authorization denied
and the cursor places in:
Set objFile = objFSO.OpenTextFile(Logpath, ForWriting) ..
in the Sub checkLog()....advancercraftingbot file subrutine.
this is a random error..not the same step, but sometime i get it in front of the table or when it is selecting the second or third current wo from fin um.
if i change the patch log: C:\xunleashed\VGExtreme1.13\Exhume (one sub dir from vgextrem.exe...i do it to permit the scrip run..but obviously no utility buys or other think that need vgologfile works).
Try this: Do a search on your machine for VGLogDump.log and delete
every instance of the file you find. Run the script briefly, then stop it. Do the search again and you should find the file recreated. Put the full path to that file in the variable, including the filename, and try again. Make sure it is entered without typos, you seem to have quite a few of them here
vanguardmarco wrote:
Targeting table: I assume you're saying when it tries to target the table it issues a command: "/target ?Artificer Sculpting Table?" (ignore quotes)? If so, that would be very strange. It will send chr(34) (ascii for double quote) before and after the name specified in acbuserdata and should not generate question marks. If you confirm it is doing this, though, I can give you a workaround...
yes in the vangaurd chat i read :
say: target offensive clear
says: target ? Artificer sculpiting table ?
after that the pg turn around and goes no stop straight line to wall.. remote from any waypoint marked.
This should fix your problem with the question marks... I think you are using a different keyboard layout where the "?" mark is above the " ' " key.
Go to the advancedcraftingbot.vbs script, scroll approximately 1/3 the way down until you see the subroutine "Sub MoveToCT" and replace with this:
Code: Register to unlock hidden link
'This moves back to the Crafting Table
Sub MovetoCT()
if debugState then debugLog "sub MovetoCT " end if
if isFinishing and buyUtilities then
NavigateWP(WPumToFinTab)
VGSendCommand "/targeto clear"
VGSendCommand "/target " & chr(34) & finTableName & chr(34)
elseif (NOT isFinishing) and buyUtilities then
NavigateWP(WPumToRefTab)
VGSendCommand "/targeto clear"
VGSendCommand "/target " & chr(34) & refTableName & chr(34)
elseif isFinishing and (NOT buyUtilities) then
NavigateWP(WPfinTmToFinTab)
VGSendCommand "/targeto clear"
VGSendCommand "/target " & chr(34) & finTableName & chr(34)
else
NavigateWP(WPrefTmToRefTab)
VGSendCommand "/targeto clear"
VGSendCommand "/target " & chr(34) & refTableName & chr(34)
end if
Sleep 500
if NOT OKtoContinue then
exit sub
end if
MoveToMob getTarget
UpdateCurrLoc
i = DistToTargetTo(CurrX, CurrY, getTargetX, getTargetY)
if myArchetype = "Blacksmithing" then
prefDist = 380
Else
prefDist = 180
End if
Do Until i <= prefDist 'inches into position at the table. If it's overshooting (likely speed buff), reduce the multiplier in the next line
i = Round((i-prefDist)*1.9)
if i < 15 then
i = 15
end if
StepForward(i)
Sleep 250
MoveToMob getTarget
UpdateCurrLoc
i = DistToTargetTo(CurrX, CurrY, getTargetX, getTargetY)
debugLog "intermediary distance to target = " & i
Loop
Sleep 500
Start_Crafting
End SubMend Fabric, Quick Sip, Reinforce Strength
Sub
That should correctly put quotes around the name, regardless of keyboard layout, and inch toward the crafting table. I'll include this version in the next update.[/quote]
i'v tried to deleate any vglogdump istance..and put again the patch of the auto creation vglogdump...but after a lot of test, the problemeverytime popup.
i'v tried to unable antivirus..and now is one huor that it run great..
it buys utility,changes toolbalt etc.
i don't know if is that the problem ...but now is running well and i havn't courage to stop it

.
whit your scrip modification (char 34 in the codex..) the table now is selected.. i think is keyboard layout me too.
magnificent work beergeek
thanks much