Results 1 to 9 of 9

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

  1. #1
    Join Date
    Apr 2015
    Posts
    18
    Mentioned
    0 Post(s)
    Quoted
    4 Post(s)

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

    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.

  2. #2
    Join Date
    Dec 2011
    Posts
    2,147
    Mentioned
    221 Post(s)
    Quoted
    1068 Post(s)

    Default

    Quote Originally Posted by Zombiousdr View Post
    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
    Last edited by Clarity; 04-23-2015 at 12:20 AM.

  3. #3
    Join Date
    Jan 2012
    Location
    East Coast
    Posts
    733
    Mentioned
    81 Post(s)
    Quoted
    364 Post(s)

    Default

    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.

  4. #4
    Join Date
    Dec 2011
    Posts
    2,147
    Mentioned
    221 Post(s)
    Quoted
    1068 Post(s)

    Default

    Quote Originally Posted by Ross View Post
    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.

  5. #5
    Join Date
    Mar 2015
    Posts
    438
    Mentioned
    21 Post(s)
    Quoted
    211 Post(s)

    Default

    Quote Originally Posted by Clarity View Post
    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?

  6. #6
    Join Date
    Dec 2011
    Posts
    2,147
    Mentioned
    221 Post(s)
    Quoted
    1068 Post(s)

    Default

    Quote Originally Posted by Clutch View Post
    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!

  7. #7
    Join Date
    Mar 2015
    Posts
    438
    Mentioned
    21 Post(s)
    Quoted
    211 Post(s)

    Default

    Quote Originally Posted by Clarity View Post
    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?

  8. #8
    Join Date
    Dec 2011
    Posts
    2,147
    Mentioned
    221 Post(s)
    Quoted
    1068 Post(s)

    Default

    Quote Originally Posted by Clutch View Post
    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:
    Simba Code:
    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.

  9. #9
    Join Date
    Apr 2015
    Posts
    18
    Mentioned
    0 Post(s)
    Quoted
    4 Post(s)

    Default

    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...
    Last edited by Zombiousdr; 04-23-2015 at 02:34 AM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •