abu, quick look through, noticed one thing. in your walking there is no need to use ObjDTM_Find and then ObjDTM_Walk. ObjDTM_Walk will ONLY walk after it checks if it's found. So basically you're telling it this:
"if find DTM then if find DTM then WalkToDTM"
So what am i saying?
changing this:
Simba Code:
// -- Walking to Ruins and Walking to Bank --\\
procedure WalkToRuins;
var
cx, cy: Integer;
begin
Antiban;
if ObjDTM_Find('57:112:6:10:7:39:75:10:7:39:66:10:7:39:57:10:7:88:53:10:7:88:44:10:7:39:97:4:40:104:42:119:95:118:95:104', cx, cy, True) then
begin
ObjDTM_Walk('57:112:6:10:7:39:75:10:7:39:66:10:7:39:57:10:7:88:53:10:7:88:44:10:7:39:97:4:40:104:42:119:95:118:95:104', 0, 100, 80, True);
end;
if ObjDTM_Find('37:95:5:10:7:54:70:10:7:54:58:1:7:34:76:10:7:98:32:10:7:99:24:5:43:78:11:78:15:105:56:104:66:80', cx, cy, True) then
begin
ObjDTM_Walk('37:95:5:10:7:54:70:10:7:54:58:1:7:34:76:10:7:98:32:10:7:99:24:5:43:78:11:78:15:105:56:104:66:80', 0, 100, 80, True);
end;
if ObjDTM_Find('34:103:5:1:7:78:63:1:7:47:102:10:7:97:59:10:7:97:47:10:7:97:40:4:18:90:23:124:57:108:57:78', cx, cy, True) then
begin
ObjDTM_Walk('34:103:5:1:7:78:63:1:7:47:102:10:7:97:59:10:7:97:47:10:7:97:40:4:18:90:23:124:57:108:57:78', 0, 100, 80, True);
end;
if ObjDTM_Find('26:107:4:1:7:70:99:1:7:94:82:1:7:58:111:1:7:106:103:5:13:91:19:122:47:122:54:106:43:80', cx, cy, True) then
begin
ObjDTM_Walk('26:107:4:1:7:70:99:1:7:94:82:1:7:58:111:1:7:106:103:5:13:91:19:122:47:122:54:106:43:80', 0, 100, 80, True);
end;
if ObjDTM_Find('40:116:5:1:7:66:63:1:7:46:67:1:7:42:99:1:7:114:83:5:7:57:46:5:24:100:27:132:56:132:64:99:50:81', cx, cy, True) then
begin
ObjDTM_Walk('40:116:5:1:7:66:63:1:7:46:67:1:7:42:99:1:7:114:83:5:7:57:46:5:24:100:27:132:56:132:64:99:50:81', 0, 100, 80, True);
end;
repeat
if ObjDTM_Find('80:80:2:1:7:91:103:3:7:101:83:4:74:77:73:98:92:97:91:77', cx, cy, True) then
begin
ObjDTM_Walk('80:80:2:1:7:91:103:3:7:101:83:4:74:77:73:98:92:97:91:77', 0, 100, 80, True);
end;
until IsAtRuins;
end;
to this:
Simba Code:
procedure WalkToRuins;
begin
Antiban;
ObjDTM_Walk('57:112:6:10:7:39:75:10:7:39:66:10:7:39:57:10:7:88:53:10:7:88:44:10:7:39:97:4:40:104:42:119:95:118:95:104', 0, 100, 80, True);
ObjDTM_Walk('37:95:5:10:7:54:70:10:7:54:58:1:7:34:76:10:7:98:32:10:7:99:24:5:43:78:11:78:15:105:56:104:66:80', 0, 100, 80, True);
ObjDTM_Walk('34:103:5:1:7:78:63:1:7:47:102:10:7:97:59:10:7:97:47:10:7:97:40:4:18:90:23:124:57:108:57:78', 0, 100, 80, True);
ObjDTM_Walk('26:107:4:1:7:70:99:1:7:94:82:1:7:58:111:1:7:106:103:5:13:91:19:122:47:122:54:106:43:80', 0, 100, 80, True);
ObjDTM_Walk('40:116:5:1:7:66:63:1:7:46:67:1:7:42:99:1:7:114:83:5:7:57:46:5:24:100:27:132:56:132:64:99:50:81', 0, 100, 80, True);
repeat
ObjDTM_Walk('80:80:2:1:7:91:103:3:7:101:83:4:74:77:73:98:92:97:91:77', 0, 100, 80, True);
until IsAtRuins;
end;
Would be the EXACT SAME.