SRL Archive - SRL Archives

* Remade skill files.


Naike

2009-05-06 00:46:11

Remade the old skill files to make them work/better. Let's start out…

Cooking.scar
  • Rewrote FindRange and added support for new&old ranges.
  • Added FindFire.

Ranging.scar
  • Added LoadAmmoDTM.
  • Kept ArrowAmount, added a little wait.
  • Rewrote the current concept(Tail/Head Color) into DTMs.
  • Added FindAmmo(Finds almost every ammo F2P&P2P).
  • Added EquipAmmo.

Crafting.scar
  • Remade FindOven(Now uses TPA's).
  • Added IsOvenOpen.
  • Added OvenCraft.
  • Added TanScreenOpen.

Woodcutting/Fishing/Mining.scar
  • Deleted useless code.
  • Shorten



Got any other files that can be updated renewed? Please tell me.

Naike

2009-05-06 00:47:24

Tho the 5 file upload limit, i post the last one here.

Floor66

2009-05-06 00:47:50

;o You get bored? xD

ShowerThoughts

2009-05-06 00:48:42

Moar <3

Naike

2009-05-06 00:48:54

As soon as i release something massive you think i'm bored? Lol ;)

No, got more time now then ever to work with scar!

And yes there is more to come ^^

Torrent of Flame

2009-05-06 00:49:12

Dude. You must have a bit of bordem, or extreme commitment.

ShowerThoughts

2009-05-06 00:56:09

When I got THE programming feeling again I will release and fix up my latest program and release it here :p Did I say it twice?

jakeyboy29

2009-05-06 00:59:42

i smell dev.

Floor66

2009-05-06 01:01:32

lulz. wannabe dev (i support you <3)

Nava2

2009-05-06 05:21:12

Use an archive?

Naike

2009-05-06 09:46:04

Nava2: if i use an archive, No one will even bother opening it…
Trust me ^^

Floor66: luv u..

ZephyrsFury

2009-05-06 09:48:46

From: N1ke!
Nava2: if i use an archive, No one will even bother opening it…
Trust me ^^

Floor66: luv u..


But I cbfed downloading 6 individual files. :p

Sir R. M8gic1an

2009-05-06 11:47:33

jah removed meh whirpool finders! :'( are whirpools gone for sure?

cooking.scar : looking good, although a Case for True / False is not needed, an if is enough :p and find range should problably just simply search the whole screen. Finally, you should probably check for uptext.

FindFire will always returns true, no matter the outcome ;)

will look through more later.

~RM

Naike

2009-05-06 14:38:28

whirpools are gone for sure!

Cooking.scar, I'm sure i had CTS2 modifiers in there :S

Case look so much neater, and more user friendly.

FindRange & FindFire don't have uptext which means trouble..
Came up with an idea for FindFire tho, Store all potential fires in a TPointArray and so on..


Big thanks for looking at it, Rep+.

Sir R. M8gic1an

2009-05-06 16:43:32

FindFire doesn't loop through the ATPA, and always returns true.

btw, you don't have enought failsafes; eg: If Length(ATPA) <= 0 then exit
cus otherwise it'll still loop once

FindOven -> OpenOven (wrong description)

more likely than not, you'll need a small wait after MMouse to check for uptext.
and you'll also need a small wait after flag to check for IsOvenOpen

with OvenCraft you might have trouble, because if the player is a RS p2p then they will also have the Pot Lid, not sure how much that'd affect the points you chose.

Result := ChooseOption(IntToStr(Amount));

humm… if i want 12, and i've never done 12 before then i'd still need to do Chose X


…. anyway:
this is what the new ranging.scar would look like, but since your dtms only work for 5+ arrows etc, it won't happen :(