sorry for my englisch but i hope u can understand me ^^
here is the code:
acbinclude.vbs line 1358 to 1412
Sub Start_Crafting()
if debugState then debugLog "sub Start_Crafting " end if
If Crafting_State = 0 Then
currentToolBag = -1
VGSendText HK11
DoSleep(500)
if NOT tableChecked then
determineTableType
end if
resetCraft
DoSleep(2000)
Mouse.RMouseClick WB_X, WB_Y, 1, 1
if debugState and debugLevel >= 5 then debugLog "Open table..." end if
DoSleep(1000)
End If
If Crafting_State = 4 Then
if debugState and debugLevel >= 5 then debugLog "Recipe book open identified" end if
if makingRealItems then
VGsendCommand "/refinesetrecipe " & chr(34) & recipeName & chr(34)
DoSleep(1500)
Mouse.LMouseClick OK_X, OK_Y, 1, 1
else
Mouse.LMouseClick RL_X, RL_Y, 1, 1
Mouse.LMouseClick WO_X, WO_Y, 1, 1
Mouse.LMouseClick OK_X, OK_Y, 1, 1
end if
DoSleep(1000)
if makingRealItems and addDust then
VGsendCommand "/refineadditem " & chr(34) & dustName & chr(34)
end if
if isFinishing then
VGsendText HK9
if debugState then debugLog "finishing utilities added" end if
else
VGsendText HK8
if debugState then debugLog "refining utilities added" end if
end if
DoSleep(1000)
Mouse.LMouseClick OK_X, OK_Y, 1, 1
DoSleep(2000)
End If
If (Crafting_State <> 3) Then
Mouse.LMouseClick CN_X, CN_Y, 1, 1
if NOT makingRealItems then
MovetoTM
If buyUtilities Then
MovetoUM
End If
MovetoCT
end if
if NOT buyUtilities then
OKtoContinue = False
end if
End if
End Sub
the cursor is placed at the beginning of the end sub line. the strange thing is, there is NO line 1413. I posted the hole last sub block from code because it looks like the compiler hase a problem within this last code block. btw its the unchanged file i can download on the forst page from this thread. so if u open it, u have 100% the same file as me
