SRL Archive - Outdated / Broken

[SRL] Al-Kharid Shmelter


Ejjman

2007-05-25 22:24:29

Finally, it is done! Introduction my latest creation, [SRL][RS2]Al-Kharid Shmelter! This script has taken me awhile to perfect it, and with the last update I changed on it, there's no stopping it!

EDIT: Change CurrentPlayer := 1 to CurrentPlayer := 0; ! Ty!!

v0.63
——-Al-Kharid Smelter 0.63——
Been running for 4 Hours, 30 Minutes and 53 Seconds
—> 1820 Bars smithed
—> 3836 Ores smithed
——————————
# Nick - T/F - Lvl - Bars - Location

0: uggl - F - Lvl 21 - 0 - Lost
1: errb - F - Lvl 18 - 140 - Lost
2: eeni - F - Lvl 21 - 210 - Lost
3: erkm - F - Lvl 15 - 56 - Lost
4: rise - F - Lvl 18 - 308 - Lost
5: redr - F - Lvl 15 - 0 - Lost
6: resm - T - Lvl 19 - 546 - Bank
7: arol - F - Lvl 11 - 14 - Lost
8: ngal - F - Lvl 14 - 0 - Lost
9: akru - T - Lvl 19 - 546 - Bank}

/~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\
| SRL Randoms Report |
| www.villu-reborn.com |
|~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
| Logged in : 49 |
\~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~/


–>

v0.64
——-Al-Kharid Smelter 0.64——
Been running for 1 Hours, 41 Minutes and 10 Seconds
—> 708 Bars smithed
—> 1416 Ores smithed
——————————
# Nick - T/F - Lvl - Bars - Location

0: uggl - F - Lvl 21 - 0 - Done
1: errb - F - Lvl 21 - 0 - Done
2: eeni - F - Lvl 21 - 0 - Done
3: erkm - F - Lvl 21 - 0 - Done
4: rise - F - Lvl 21 - 0 - Done
5: redr - F - Lvl 21 - 263 - Done
6: resm - F - Lvl 21 - 0 - Done
7: arol - F - Lvl 21 - 242 - Done
8: ngal - F - Lvl 21 - 203 - Done
9: akru - F - Lvl 21 - 0 - Done

/~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\
| SRL Randoms Report |
| www.villu-reborn.com |
|~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
| Logged in : 23 |
\~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~/


Latest Update News: Such simple things can make a script so much better…As you can see, 3 players lasted very long compared to the other version.





********************* Features *********************
* Can smith bronze, iron, and steel currently
* Goes at a decent speed, I think between 300-500 per hour.
* Detects location and controls where to go, and doesn't get lost as much anymore





********************* Bugs **********************
* If someone shuts the furnace door, you cannot get in. Will fix later in time I think
* The furnace finding may possibly mess up
* (Not really bug) Have to input own RockColor.
* (Not really bug) No pin use
* Haven't fully tested iron and steel







********************* SETUP ********************
1. Divi 3.06, with SRL 3.7
2. Highest Brightness, 32 Bit Color, All characters in bank
3. Fill in DeclarePlayers. (String1 arguements: (CaPs) 'Bronze', 'Iron', 'Steel')
4. LOG IN, LOG OUT, LOG IN, Get the RockColor, explained below.
5. Have Ores on top bank screen



********************* ROCK COLOR SETUP *******************

LOG IN, LOG OUT, LOG IN…


Zooming up…


The light color inside of the red box is what you need to get. ;)


Remember to change 185 to 184 in BankScreen ;)
Remember to LOG IN, LOG OUT, LOG IN, and get RockColor.
Remember to get the rock color.
Remember to watch the first load, incase the script pops up and does something wrong.
Remember to have fun!


Script Stats: HERE

-Ejjman1

Dark_Sniper

2007-05-26 00:19:24

looked though it and it looks amazing nice work doode.

Ejjman

2007-05-26 00:26:55

From: Dark_Sniper
looked though it and it looks amazing nice work doode.


Thanks. I just wish people smithed more to test :D

YoHoJo

2007-05-26 02:09:13

Ill be smithing eventualy, ill test for you later.
EDIT:
Wow ejj the code here isnt too shabby at all =) Looks nice to me good job on this.

Ejjman

2007-05-26 13:21:34

Ty Yohojo. :)

The Un-Named

2007-05-26 17:28:43

I'll try and get you an 8+ hour report. ;)
Good Job!

Dark_Sniper

2007-05-26 19:39:25

did you purposely mis spell smelter? (shmelter) in your title.

badman1

2007-05-26 21:30:52

I got 12k copper and tin to smelt. :-)

Ejjman

2007-05-26 23:16:11

From: badman1
I got 12k copper and tin to smelt. :-)


Well that just made me happy!

@DarkSniper: Yes :p Its my Shmelter. quote Boreas "I was in an unfortunate shmelting accident"

lolpie

2007-05-27 23:06:14

From: Ejjman1
"I was in an unfortunate shmelting accident"


Sounds suspiciously Irish :O

Ejjman

2007-05-27 23:50:27

From: lolpie
Sounds suspiciously Irish :O


Go watch Austin Powers: Gold Member.

;)

3Garrett3

2007-05-28 15:23:37

nice work ejj, i am testing now, will do a few loads and post a proggy, then run tonight to get a big proggy for ya.

lolpie

2007-05-28 15:26:09

I get a runtime error on line 907 when I run it

Ejjman

2007-05-28 15:33:38

Edit: ~~

3Garrett3

2007-05-28 15:35:50

really? 907..

SymbolAccuracy := 0.5;
BNKX1 := 21; // 907? for me it is... i have all the player things still there
BNKY1 := 29;


anyway, here is the proggy. it worked flawlessly, perfectly, just.. wow.
[php]
——-Al-Kharid Smelter 0.64——
Been running for 4 Minutes and 35 Seconds
—> 28 Bars smithed
—> 40 Ores smithed
[/php]

Ejjman

2007-05-28 15:38:10

Garret.. Look

HowManyPlayers := 2;
CurrentPlayer := 1;


Players[0].Crap

Players[1].Crap

If CurrentPlayer := 1, it will start on Players[1]

CurrentPlayer switches to using the array, so if you have only one player, then 0 is what you need. I belive that should fix it.

EDIT: Tested it. I am right. So lolpie your running with one player I presume? :)

lolpie

2007-05-28 15:43:10

From: Ejjman1
Get on MSN I added you. That makes no fliipping sense. Unless you didn't correcly set up Players.

EDIT: Ok, so, if you have one player, and it says CurrentPlayer, you put it to 0

So 10 players, and you want it to start on player 1, you do CurrentPlayer := 0;

Sorry I left one in there. confusing.


Hold up I think I know what the problem is. Let me try something. Btw I don't have MSN, AIM, or Yahoo messengers installed (don't ask why I have the s/n on this site)

EDIT: Alright, it works now. I accidently mixed up the values for HowManyPlayers and CurrentPlayer so that's why it kept crashing =/

YoHoJo

2007-05-28 15:49:18

Yay ejj, people are using your script.
I can sense tons of nice proggies rolling in soon…
Ill use this eventually, im working all my chars on VEM right now, getting some copper/tin.

Ejjman

2007-05-28 15:51:46

From: YoHoJo
Yay ejj, people are using your script.
I can sense tons of nice proggies rolling in soon…
Ill use this eventually, im working all my chars on VEM right now, getting some copper/tin.



Yay :)

I'm going to run my players through VEM a little bit more, just to get a little extra mining experience.



BTW everyone, I think you could, in around 3 days or 4 days, Mine 8k Copper + 8k Tin, then smelt, MY SCRIPT :P, then sell. I sold for 200 each! Can you say ca-ca-ca-CHING! I even use rune picks with my players, and I don't care if they break. I have 1.8 mil :)

lolpie

2007-05-28 16:41:08

Alright, I found a problem :D. It doesn't withdraw the ores after opening the bank. In your mainloop, it says

repeat
if(NoOres)then
begin
CloseBank;
Players[CurrentPlayer].Active := False;
Players[CurrentPlayer].Loc := 'Done';
Break;
end;


So what it does is open the bank, close it, then log out. I tried to fix it by changing it to

repeat
if(Bankscreen)then
begin
WithdrawOre('Iron', 9);
WithdrawOre('Coal', 18);
end;


But it withdraws the Iron ores twice for some reason, then go on as usual :(

Ejjman

2007-05-28 16:49:55

Make sure you make sure everything is loaded in RS. I don't have a wait time cuz it will be slow. So if I were you, do a load yourself. Just to get all of the rs images loaded that u'll be using. If your autoing on an unsigned client, then yes, do this. :) Keep the script the way it is, I assure you, theres NO problem :P

WhiteShadow

2007-05-28 16:53:55

Good job, Ejjman!

Nice use of static colors. :)

Ejjman

2007-05-28 16:55:32

@WhiteShadow, TY


Listen, lolpie

1. Login to any of your players
2. Open the bank, wait for the images to load
3. Withdraw ore, do a load your self of smithing, to get all the RS stuff loaded
4. Start script Logged in or out. WITH the rock color :)

3Garrett3

2007-05-28 17:04:55

ejj, i didnt have problems with it? i set it up to do 2 loads, just to test it out for you, and it worked perfectly, i love it/you(but not sexually)

Ejjman

2007-05-28 17:17:41

From: 3garrett3
ejj, i didnt have problems with it? i set it up to do 2 loads, just to test it out for you, and it worked perfectly, i love it/you(but not sexually)


Ur computer may be faster at loading the bank images. that is the only problem that he had. Cuz when you first open RS in unsigned anyway, it takes a second for everyting to load. Try it, you'll see his error.

3Garrett3

2007-05-28 17:32:16

lol i used signed because it was such a short time, and i delete uid all the time

EDIT: I just tried it again, and it withdrew body runes instead of tin? :p maybe i will restart it :p

lolpie

2007-06-10 15:02:09

Will you be adding mith/addy ores too?

Ejjman

2007-06-12 15:00:40

Ehh, if I am bored :P

Soz

Just Kidding

2007-06-23 19:43:53

Looks good will put it to use in the next few weeks.