SRL Archive - RS3 Help

Working on first Simba Script - A few questions regarding drops.


Zombiousdr

2015-04-22 19:51:21

I'm working on a script that allows players to farm Edgeville Dungeon for herbs, either with melee or ranged combat, then bank them
in Edgeville and return to the dungeon etc. I'll recommend it for players with 110+ Combat Level so they can wear minimal gear(in case they get killed, as its in the Wildernerss) while still being able to kill the Druids effectively and needing no food.

However I'm wondering how I'd go about nominating which drops to pick up, its simple enough setting up for herbs, coins, mithril bolts etc but how would I go about setting up the script for picking up items that drop off the Rare Drop Table, considering its quite a list and to see every item on it may take quiiiite a while.

Is there already a set list of Texture ID's for the Rare Drop Table available? Or will I have to compile it myself?

Thanks.

Clarity

2015-04-22 20:18:27

From: Zombiousdr
I'm working on a script that allows players to farm Edgeville Dungeon for herbs, either with melee or ranged combat, then bank them
in Edgeville and return to the dungeon etc. I'll recommend it for players with 110+ Combat Level so they can wear minimal gear(in case they get killed, as its in the Wildernerss) while still being able to kill the Druids effectively and needing no food.

However I'm wondering how I'd go about nominating which drops to pick up, its simple enough setting up for herbs, coins, mithril bolts etc but how would I go about setting up the script for picking up items that drop off the Rare Drop Table, considering its quite a list and to see every item on it may take quiiiite a while.

Is there already a set list of Texture ID's for the Rare Drop Table available? Or will I have to compile it myself?

Thanks.
No, there is not a compiled list for a number of reasons. The strategy I use for most looting is detection of the light beam for high value loot, and then having it pick up everything in that drop pile.

You will need to use models, by the way, not textures, for picking up drops.

Their are three tiers of light beams that appear for various drops: http://runescape.wikia.com/wiki/Drops

Charming imp handles charms, bonecrusher handles bones, ectoplasmlator handles ashes, spring cleaner handles any rune or adamant drops.

Good luck with your script :)

Ross

2015-04-22 20:25:19

In addition to what Clarity says, if the item isn't to expensive you can buy it on the G.E., drop it to get the model, and then sell it back. Rinse and repeat for other desired RDT items.

Clarity

2015-04-22 20:32:21

From: Ross
In addition to what Clarity says, if the item isn't to expensive you can buy it on the G.E., drop it to get the model, and then sell it back. Rinse and repeat for other desired RDT items.


Although be sure to do this in the environment where the model will be dropped. Sometimes, drops will have different IDs in different lightings. This is one of the reasons a list has not been compiled.

Clutch

2015-04-22 21:20:25

From: Clarity
No, there is not a compiled list for a number of reasons. The strategy I use for most looting is detection of the light beam for high value loot, and then having it pick up everything in that drop pile.

You will need to use models, by the way, not textures, for picking up drops.

Their are three tiers of light beams that appear for various drops: http://runescape.wikia.com/wiki/Drops

Charming imp handles charms, bonecrusher handles bones, ectoplasmlator handles ashes, spring cleaner handles any rune or adamant drops.

Good luck with your script :)


Care sharing on how you got the Model ID of the loot beams?

Clarity

2015-04-22 21:49:34

From: Clutch
Care sharing on how you got the Model ID of the loot beams?

When one appears, I would just grab it from the green numbers onscreen, or do a text debug of writeln(ogl.getModels()). You can reason which model is the one you want using knowledge of other model IDs.

For instance, if the light beam appears amongst a bunch of drops, since you already know the IDs of the drops from past research, the odd one out must be the light beam.

Just be quick before it disappears! :)

Clutch

2015-04-22 21:53:45

From: Clarity
When one appears, I would just grab it from the green numbers onscreen, or do a text debug of writeln(ogl.getModels()). You can reason which model is the one you want using knowledge of other model IDs.

For instance, if the light beam appears amongst a bunch of drops, since you already know the IDs of the drops from past research, the odd one out must be the light beam.

Just be quick before it disappears! :)


I think the writeLn will be best thanks for that! Although…how do you filter the right-click options then?

Clarity

2015-04-22 21:56:29

From: Clutch
I think the writeLn will be best thanks for that! Although…how do you filter the right-click options then?


I have a list of things I want to loot. Writing a list like:
LOOT_ITEM_STRINGS = ['Brawling gloves', 'Starved ancient effigy', 'Elysian sigil', 'Onyx bolts (e)', 'Corporeal bone', 'Holy elixir'];
For the super rare loot beams, I have it take whatever is in the pile, in case I missed out something in my list.

Zombiousdr

2015-04-22 22:31:40

Thanks a lot for the quick answers!

I understand what you're saying using the models instead of textures, its much easier to script also, then having to collect 100 different Texture IDs….

My plan is…
- Set up route from Edgeville Bank to Chaos Druids in dungeon.
- Then allocate functions for attacking druids and drops(allowing options to nominate what you want to be picked up)
- Set route for getting back to bank + deposit.
- Once bags are empty, rinse repeat cycle.

As stated I'll post to have a minimal combat level to avoid any problems of needing food, as its been a long long time since I've attempted any scripting and I'm trying to keep it as simple as possible and grow from there and teaching myself some higher level functions. I'd also like to get this script to a point of being a simple Combat Trainer with the option of gathering herb drops, but one thing at a time ay ;)

EDIT - I've set up TeamViewer on my phone, so once I get it satisfactorily running, I'll run a 24/48 log before releasing it, just in case anything comes up…