Got mine working (with tabs), here's what I did:
- First off, don't filter your game messages. It's making sure you're smelting using those.
- In F_CloseBank, use these mouse coords:
- If using tabs, in F_WithdrawEx, replace the first part with:
Simba Code:
BBox := BankIndexToMSBox(BankPointToBankIndex(Point(Col, Row)));
BBox := IntToBox(BBox.X1 + 2, BBox.Y1 + 5, BBox.X2 - 2, BBox.Y2 - 3);
GetMousePos(X, Y);
if (not PointInBox(Point(X, Y), BBox)) then
MouseBox(BBox.X1 + 2, BBox.Y1 + 5, BBox.X2 - 5, BBox.Y2 - 3, mouse_move);
- If you don't want to be spammed with progress reports at maximum speed, in Smelt, add a Wait() before ProgressReport at the end:
Simba Code:
wait(500);
ProgressReport;
- Also consider changing ProgressReport to start with ClearDebug at the beginning:
Simba Code:
begin
ClearDebug;
ExpGained := R_GetSkillExp(SKILL_SMITHING) - StartExp;
- For steel bars, I found it better to use Deposit All in the main loop, and move it to the beginning instead of the end:
Simba Code:
repeat
F_OpenBank;
F_DepositAll;
WithdrawOres;
F_CloseBank;
WalkToFurnace;
Smelt;
WalkToBank;
F_OpenBank;
//Deposit(2, 28, True);
ProgressReport;
until(False);
Seems to be working well so far
Code:
Al-Kharid Smelter - By Frement
- Time Running: 6 Minutes and 48 Seconds
- Steel smelted: 54 (476/H)
- Experience Gained: 945 (8338/H)
- Levels Gained: 0 (62)
Edit: I noticed if the furnace's center ends up offscreen, it will assume it managed to find it and just type 55 into chat then fail and walk back to bank.