SRL Archive - OSR Outdated / Broken Scripts

Westkevin12's Al Kharid Iron Smelter


westkevin12

2013-05-11 01:42:43

Westkevin12's Al Kharid Iron Smelter V 1.3.1
This script will make iron bars in Al Kharid useing atpas for finding the bank window and DDTMs for mapwalking.

——————–
Instructions:
Start inside the Al Kharid bank with Iron ore in the first bank slot.
if using ring of forging set UseRingOfForging to true in the script and have 1 ring for every 140 iron ore in the second slot of your bank with a full ring equiped.
——————–
requirements:
You will need to have installed and setup simba.
you will need to have smart8 and srl/osr and 07 fonts, you can automaticly setup these with slushpuppys download found here. http://villavu.com/forum/showthread.php?t=100478
your ingame screen brightnes needs to be set on the brightest setting.
———————
V1.1
added Ring of Forging.
V1.2
fixed several bugs.
added failsafes.
broke endless loop when leveling up.
V1.3
more bug fixes.
better DDTMs
tested V1.3 for 1k iron ore useing ring of forgings.
V1.3.1
fixed Colour change in DDTM2.
———————
Development:
adding antirandoms.
adding proggy.
Longterm project = making All In One Al Kharid Smelter.

Chris!

2013-05-11 03:48:29

Congratulations on release. From a brief overlook, it doesn't look too bad! :)

cakeking

2013-05-11 08:22:50

Takes ore out of bank, runs behind bank and types 33 in chat then it stands there.

ajg0001991

2013-05-11 09:32:44

looks nice gna test run for you l8a gratz on release

westkevin12

2013-05-11 12:44:18

From: cakeking
Takes ore out of bank, runs behind bank and types 33 in chat then it stands there.

I reran the script a few times looking for it to run behind the bank and I can't reproduce this bug.
could you please give me more details to fix this? such as did this happen once or multiple times? and paste your debug box on here. also be sure to have your screen brightness in rs turned up to the brightest setting.

endri3

2013-05-11 15:51:53

Really glitched couldn't even get it to do one run, please look further into this same with your miner work wells for 3-4 inventories than messes up.

westkevin12

2013-05-11 15:55:16

From: endri3
Really glitched couldn't even get it to do one run, please look further into this same with your miner work wells for 3-4 inventories than messes up.

could you tell me what the glitch is? i need to know what it is doing and not doing to know how to fix it.

cakeking

2013-05-11 19:36:10

It does now work for me after i downloaded the v1.1 however i got the problem that it does not equip a new ring of forging when the first one is used

zaper151

2013-05-12 05:32:51

1.1 does not exit out of bank screen

endri3

2013-05-12 14:52:07

From: westkevin12
could you tell me what the glitch is? i need to know what it is doing and not doing to know how to fix it.


With the Smelter it just took 28 gp out and stayed there did nothing,

The miner sometimes works but when it doesn't it either goes to random locations like near port khazard and stuff, it's just glitched with the path but it mines perfectly.

westkevin12

2013-05-13 01:54:39

From: cakeking
It does now work for me after i downloaded the v1.1 however i got the problem that it does not equip a new ring of forging when the first one is usedendri3
Originally Posted by westkevin12
could you tell me what the glitch is? i need to know what it is doing and not doing to know how to fix it.
With the Smelter it just took 28 gp out and stayed there did nothing,

The miner sometimes works but when it doesn't it either goes to random locations like near port khazard and stuff, it's just glitched with the path but it mines perfectly.
Yesterday, 04:32 AMzaper151
1.1 does not exit out of bank screen
05-11-2013, 06:36 PMcakeking
It does now work for me after i downloaded the v1.1 however i got the problem that it does not equip a new ring of forging when the first one is used
05-11-2013, 02:55 PMwestkevin12
Originally Posted by endri3
Really glitched couldn't even get it to do one run, please look further into this same with your miner work wells for 3-4 inventories than messes up.
could you tell me what the glitch is? i need to know what it is doing and not doing to know how to fix it.
05-11-2013, 02:51 PMendri3
Really glitched couldn't even get it to do one run, please look further into this same with your miner work wells for 3-4 inventories than messes up.

fixed all the bugs i could find, ran V1.3 for a long time left it for a few hours and came back and i was logged out. when i logged in it had finished the 1k iron. so idk exactly how long it ran but must have been a while.

cakeking

2013-05-13 06:26:47

From: westkevin12
fixed all the bugs i could find, ran V1.3 for a long time left it for a few hours and came back and i was logged out. when i logged in it had finished the 1k iron. so idk exactly how long it ran but must have been a while.


i was trying v1.3 and got this after it had the iron in the bag and exited bank.

edit:
1: trips with this ring
could not find dtm: 2
could not find dtm: 3
All DTMs Have Been Freed.
Successfully executed.

then it turns off.

westkevin12

2013-05-13 21:48:41

From: cakeking
i was trying v1.3 and got this after it had the iron in the bag and exited bank.

edit:
1: trips with this ring
could not find dtm: 2
could not find dtm: 3
All DTMs Have Been Freed.
Successfully executed.

then it turns off.

thankyou for the bug report.
running a test now to see if the DDTms are out of range or something.
I'll edit this post when i find the problem.

EDIT:
found the problem, thet changed the colour of the rock on the minimap alot lighter shade of brown so the script couldn't recognize it.
i'm updated the colours right now.
will upload it as soon as i test it a few runs.

EDIT2:
kk ran a ring out with it. everything seems ok. it did try to withdraw iron ore twice in a row once but i'll look into fixing that. won't compromize the script tho but still needs fixed. uploading it as V1.3.1

cakeking

2013-05-14 06:25:18

From: westkevin12
thankyou for the bug report.
running a test now to see if the DDTms are out of range or something.
I'll edit this post when i find the problem.

EDIT:
found the problem, thet changed the colour of the rock on the minimap alot lighter shade of brown so the script couldn't recognize it.
i'm updated the colours right now.
will upload it as soon as i test it a few runs.

EDIT2:
kk ran a ring out with it. everything seems ok. it did try to withdraw iron ore twice in a row once but i'll look into fixing that. won't compromize the script tho but still needs fixed. uploading it as V1.3.1


i ran v1.3.1 and it now found the dtm:2 and dtm:3 however it keeps running behind the bank and stops the loggs are as following:

found dtm: 2
found dtm: 3
All DTMs Have Been Freed.
Successfully executed.

pimpin panda

2013-05-16 17:12:22

When ever I try to start the script I get this error

C:\Simba\Includes\SRL-OSR/SRL/core/simba.simba(465:14): Unknown identifier '' at line 464
Compiling failed.

I don't know what to do. Please help

ilovegali201

2013-05-16 22:36:30

The error I am having is either walk behind the bank near the river or went behind the furnace and then log me off. Hope this can let you know and fix some bugs :)

westkevin12

2013-05-17 01:08:47

From: pimpin panda
When ever I try to start the script I get this error

C:\Simba\Includes\SRL-OSR/SRL/core/simba.simba(465:14): Unknown identifier '' at line 464
Compiling failed.

I don't know what to do. Please help



try redownloading the srl_osr include. i suggest using slushpuppys easy setup. here is the link: http://villavu.com/forum/showthread.php?t=100478
restart simba after running the program and if this doesn't fix it pm me and I will do my best to help you get set up.

acow

2013-05-17 15:45:55

thoughts on it supporting cannonballs?

westkevin12

2013-05-19 00:32:27

From: Tuk
thoughts on it supporting cannonballs?

Seems like it should support cannonballs. I'll start on adding them into the script. thanks for the input.

Solar

2013-05-19 16:28:38

I think DTM 2 needs to be updated. After closing the bank it clicks the minimap in a position behind the bank, near the river.

westkevin12

2013-05-19 21:53:03

From: Solar
I think DTM 2 needs to be updated. After closing the bank it clicks the minimap in a position behind the bank, near the river.

thanks for the bug report. I'll update the DDTM now.

Solar

2013-05-20 02:03:48

I've tried making my first DDTM point, and after a few tries, this one seems to have worked a couple of times after logging in and out. This is to replace the current one in your script for DDTM 2.
begin
dtmMainPoint.x := 964;
dtmMainPoint.y := 225;
dtmMainPoint.AreaSize := 3;
dtmMainPoint.AreaShape := 0;
dtmMainPoint.Color := 7718864;
dtmMainPoint.Tolerance := 255;

dtmSubPoints[0].x := 964;
dtmSubPoints[0].y := 225;
dtmSubPoints[0].AreaSize := 3;
dtmSubPoints[0].AreaShape := 0;
dtmSubPoints[0].Color := 7718864;
dtmSubPoints[0].Tolerance := 255;

dtmSubPoints[1].x := 949;
dtmSubPoints[1].y := 133;
dtmSubPoints[1].AreaSize := 3;
dtmSubPoints[1].AreaShape := 0;
dtmSubPoints[1].Color := 12161405;
dtmSubPoints[1].Tolerance := 35;

dtmSubPoints[2].x := 899;
dtmSubPoints[2].y := 204;
dtmSubPoints[2].AreaSize := 3;
dtmSubPoints[2].AreaShape := 0;
dtmSubPoints[2].Color := 802895;
dtmSubPoints[2].Tolerance := 35;

dtmSubPoints[3].x := 950;
dtmSubPoints[3].y := 225;
dtmSubPoints[3].AreaSize := 3;
dtmSubPoints[3].AreaShape := 0;
dtmSubPoints[3].Color := 2915142;
dtmSubPoints[3].Tolerance := 35;

TempTDTM.MainPoint := dtmMainPoint;
TempTDTM.SubPoints := dtmSubPoints;
Result := AddDTM(TempTDTM);
end;

Edit: Although the script is running now, it still says it couldn't find DTM 4.

Edit 2: Changed DTM 4 to the following, which works for me, but I haven't tested much;
begin
dtmMainPoint.x := 1161;
dtmMainPoint.y := 262;
dtmMainPoint.AreaSize := 3;
dtmMainPoint.AreaShape := 0;
dtmMainPoint.Color := 7716816;
dtmMainPoint.Tolerance := 255;

dtmSubPoints[0].x := 1161;
dtmSubPoints[0].y := 262;
dtmSubPoints[0].AreaSize := 3;
dtmSubPoints[0].AreaShape := 0;
dtmSubPoints[0].Color := 7716816;
dtmSubPoints[0].Tolerance := 255;

dtmSubPoints[1].x := 1204;
dtmSubPoints[1].y := 183;
dtmSubPoints[1].AreaSize := 3;
dtmSubPoints[1].AreaShape := 0;
dtmSubPoints[1].Color := 12161405;
dtmSubPoints[1].Tolerance := 35;

dtmSubPoints[2].x := 1192;
dtmSubPoints[2].y := 217;
dtmSubPoints[2].AreaSize := 3;
dtmSubPoints[2].AreaShape := 0;
dtmSubPoints[2].Color := 802895;
dtmSubPoints[2].Tolerance := 35;

dtmSubPoints[3].x := 1146;
dtmSubPoints[3].y := 263;
dtmSubPoints[3].AreaSize := 3;
dtmSubPoints[3].AreaShape := 0;
dtmSubPoints[3].Color := 2915142;
dtmSubPoints[3].Tolerance := 35;

TempTDTM.MainPoint := dtmMainPoint;
TempTDTM.SubPoints := dtmSubPoints;
Result := AddDTM(TempTDTM);
end;

westkevin12

2013-05-20 04:30:25

From: Solar
I've tried making my first DDTM point, and after a few tries, this one seems to have worked a couple of times after logging in and out. This is to replace the current one in your script for DDTM 2.
begin
dtmMainPoint.x := 964;
dtmMainPoint.y := 225;
dtmMainPoint.AreaSize := 3;
dtmMainPoint.AreaShape := 0;
dtmMainPoint.Color := 7718864;
dtmMainPoint.Tolerance := 255;

dtmSubPoints[0].x := 964;
dtmSubPoints[0].y := 225;
dtmSubPoints[0].AreaSize := 3;
dtmSubPoints[0].AreaShape := 0;
dtmSubPoints[0].Color := 7718864;
dtmSubPoints[0].Tolerance := 255;

dtmSubPoints[1].x := 949;
dtmSubPoints[1].y := 133;
dtmSubPoints[1].AreaSize := 3;
dtmSubPoints[1].AreaShape := 0;
dtmSubPoints[1].Color := 12161405;
dtmSubPoints[1].Tolerance := 35;

dtmSubPoints[2].x := 899;
dtmSubPoints[2].y := 204;
dtmSubPoints[2].AreaSize := 3;
dtmSubPoints[2].AreaShape := 0;
dtmSubPoints[2].Color := 802895;
dtmSubPoints[2].Tolerance := 35;

dtmSubPoints[3].x := 950;
dtmSubPoints[3].y := 225;
dtmSubPoints[3].AreaSize := 3;
dtmSubPoints[3].AreaShape := 0;
dtmSubPoints[3].Color := 2915142;
dtmSubPoints[3].Tolerance := 35;

TempTDTM.MainPoint := dtmMainPoint;
TempTDTM.SubPoints := dtmSubPoints;
Result := AddDTM(TempTDTM);
end;

Edit: Although the script is running now, it still says it couldn't find DTM 4.

Edit 2: Changed DTM 4 to the following, which works for me, but I haven't tested much;
begin
dtmMainPoint.x := 1161;
dtmMainPoint.y := 262;
dtmMainPoint.AreaSize := 3;
dtmMainPoint.AreaShape := 0;
dtmMainPoint.Color := 7716816;
dtmMainPoint.Tolerance := 255;

dtmSubPoints[0].x := 1161;
dtmSubPoints[0].y := 262;
dtmSubPoints[0].AreaSize := 3;
dtmSubPoints[0].AreaShape := 0;
dtmSubPoints[0].Color := 7716816;
dtmSubPoints[0].Tolerance := 255;

dtmSubPoints[1].x := 1204;
dtmSubPoints[1].y := 183;
dtmSubPoints[1].AreaSize := 3;
dtmSubPoints[1].AreaShape := 0;
dtmSubPoints[1].Color := 12161405;
dtmSubPoints[1].Tolerance := 35;

dtmSubPoints[2].x := 1192;
dtmSubPoints[2].y := 217;
dtmSubPoints[2].AreaSize := 3;
dtmSubPoints[2].AreaShape := 0;
dtmSubPoints[2].Color := 802895;
dtmSubPoints[2].Tolerance := 35;

dtmSubPoints[3].x := 1146;
dtmSubPoints[3].y := 263;
dtmSubPoints[3].AreaSize := 3;
dtmSubPoints[3].AreaShape := 0;
dtmSubPoints[3].Color := 2915142;
dtmSubPoints[3].Tolerance := 35;

TempTDTM.MainPoint := dtmMainPoint;
TempTDTM.SubPoints := dtmSubPoints;
Result := AddDTM(TempTDTM);
end;

thanks for taking the time you did to post these dtms. I'll test them out and if they last I'll add them to the script and credit you with your permission ofcorse.

Solar

2013-05-20 09:34:30

Well posting in your thread for your script is permission enough from me. :) Just hope they are good enough to be reliable.

acow

2013-05-20 17:41:02

From: westkevin12
Seems like it should support cannonballs. I'll start on adding them into the script. thanks for the input.


I'm glad to hear it, and of course :)
Please do send me a notification once it's implemented would love to run it :P

eye5755

2013-05-20 19:26:12

On version 1.3.1 it takes out the ore and runs behind the bank because it cannot find dtm 3. I have tried numerous times and cannot get it to complete a single run. Here is a screenshot of everything.
[ATTACH=CONFIG]21328[/ATTACH

Edit: Using solars' fixes to dtm 2, seems to be working rather well. Will update with screenie later.

fluffycluffy

2013-05-20 21:28:21

westkevin12`s Al Kharid Iron Smelter V 1.3.1
could not find dtm: 2
could not find dtm: 3


Wont walk to the smelter. Any ideas?

eye5755

2013-05-20 21:44:02

From: fluffycluffy
westkevin12`s Al Kharid Iron Smelter V 1.3.1
could not find dtm: 2
could not find dtm: 3


Wont walk to the smelter. Any ideas?

Okay, so next time if there was a fix found by the users, try reading the post so people don't get mad. Since you're probably new to this, I'll help you. Look at Solar's post and replace dtm 2 and 4 with the ones he has. That should fix your problem. I know it fixed mine :D

Hospital

2013-05-21 10:53:51

DTM 2 is not working, even with the fix posted by Solar. I tried multiple times with fresh downloads. It says 3 is being found but 2 isn't.

Tankerbuzz

2013-05-23 04:23:44

My bot cannot find the bank… Perhaps base the walking on this and your yanille miner off of essence harvester? It has very good paths :) just a thought

westkevin12

2013-05-24 02:39:57

From: Tankerbuzz
My bot cannot find the bank… Perhaps base the walking on this and your yanille miner off of essence harvester? It has very good paths :) just a thought

I couldn't do that for a few reasons. first there is no road to follow and second the path is alot longer and the destination is not in view of the minimap until you walk about 3-4 clicks.

Onlyjordan

2013-05-28 11:17:08

just takes out the iron and goes and stand behind the bank…

BiigD

2013-06-03 01:37:02

[Error] C:\Documents and Settings\Daniel\Desktop\Simba\Scripts\smelter.simba(11:20): Unknown identifier '' at line 10
Compiling failed.

Keep getting this error, could someone assist me on how to set up my account to work with the script? thanks!

Gallium

2013-06-08 12:51:48

Alright so far I've been able to get this script to run decently well for maybe 20-30 minutes, today I tried to get it up and running again and I can't even get it to run for about 5 minutes without breaking.
Problems that I can see:

Major Problem(s):
- Walks behind the bank gets itself stuck. It seemed as if I was able to prevent it from doing this by starting the bot on the far right side of the bank closest to the building with the furnace in it, maybe it helped find the right path, I'm not completely sure.

- Walks out of the building with the furnace in it stops in this location (screenshot below), throws this message: could not find the banker could not find bankscreen could not find dtm: 2 could not find dtm: 3, and proceeds to log itself out.
[ATTACH=CONFIG]21598[/ATTACH]

Minor Problem(s):
Every now and then it clicks to smelt an iron bar clicks "x" types 33, and enter, starts smelting and instantly after it types 33 again in the chat instead.

INTrigue

2013-06-09 00:23:51

Could you guys explain to me, with this old DTM Anchor style …
How is it that you get an x coordinate in 900+, when the oldschool rs max height is like 765x505 px ??

Karkki Markku

2013-06-19 13:17:54

Hi guys! In the start this script takes well iron ores from the bank, but then comes this error:
westkevin12`s Al Kharid Iron Smelter V 1.3.1
1: trips with this ring
could not find dtm: 2
could not find dtm: 3
All DTMs Have Been Freed.
Successfully executed.
Thanks!:fiery:

sal man

2013-06-19 23:41:16

Could it mine ores then smelt/ bank?

hershey bar

2013-06-21 23:36:40

[Error] C:\Simba\Includes\SRL-OSR/SRL/misc/SmartParams.Simba(229:202): Invalid number of parameters at line 228
Compiling failed.
New window: 393994
im getting this message on different lines in every damn script why is this happening for!?

hershey bar

2013-06-23 20:01:55

[Error] C:\Simba\Includes\SRL-OSR/SRL/misc/SmartParams.Simba(229:202): Invalid number of parameters at line 228
Compiling failed.
New window: 393994
im getting this message on different lines in every damn script why is this happening for!?

[STILL NO ANSWER FROM YESTERDAY]

Gallium

2013-06-27 00:43:06

Last I checked the walking needed to be fixed for this script.

eggyd

2013-08-02 21:47:49

bank pin?

Breggin123

2013-08-14 19:27:52

Still getting the Dtm errors. Any fix in sight?

hakishakataki

2014-04-23 01:39:11

Is this updated to work with smart 8.3?

when I use smart 8 i get the error
Error] C:\Simba\Includes\SRL-OSR\SRL\misc\SmartParams.Simba(76:20): Unknown identifier 'SmartGetAvailablePID' at line 76
Compiling failed.

with 8.3 i get

[Hint] C:\Simba\Scripts\Westkevin12sAlKharidIronSmelterV1.3.simba(29:3): Variable 'X' never used at line 28
[Hint] C:\Simba\Scripts\Westkevin12sAlKharidIronSmelterV1.3.simba(29:3): Variable 'Y' never used at line 28
[Error] C:\Simba\Scripts\Westkevin12sAlKharidIronSmelterV1.3.simba(109:17): Unknown type 'TDTMPointDef' at line 109
Compiling failed.