Results 1 to 14 of 14

Thread: help me fill out a script

  1. #1
    Join Date
    Aug 2012
    Posts
    31
    Mentioned
    1 Post(s)
    Quoted
    14 Post(s)

    Question help me fill out a script

    hey im just wondering what all I need to put into the basic basket filler script. it says fill out line 11 and 1-17, can someone post an example of what that would look like? sorry ive been unable to use samba since I got my new laptop going to relearn everything just want a script to run while I start on my own.

  2. #2
    Join Date
    Oct 2015
    Location
    Nowhere
    Posts
    134
    Mentioned
    2 Post(s)
    Quoted
    64 Post(s)

    Default

    BasicBaskets by goodgamescript?

    Simba Code:
    Banktype = BANK_CHEST_CW; //Set this to the bank type you're using, this one is currently set to castle wars chest.
      Camera = MM_DIRECTION_SOUTH; //This will set your compass to face south
      BankPinNum = '5555'; //Self explanatory
      preset = BANK_BUTTON_PRESET_1; //  or BANK_BUTTON_PRESET_2 for 2. //I assume the script requires you to make a bank preset with baskets/bananas on either 1 or 2, your choice
      ActionBarKey = VK_NUMPAD1; //VK_NUMPAD2 for 2 , VK_NUMPAD3 and so on. //I've never "filled baskets", but I assume you can place a basket on your action bar and the option is fill.
    // so just place the basket on your action bar and type in the number you chose
      BasketCost = 30; //Self explanatory - probably for progress report
      ProductCost = 233 * 5; //Self explanatory - probably for progress report
      SellPrice = 3500; //Self explanatory - probably for progress report

    I could be wrong, I didn't look at the script and I've never done basket filling, but it looks simple enough. Should work without changing any lines, just set your guy up like he does

  3. #3
    Join Date
    Aug 2012
    Posts
    31
    Mentioned
    1 Post(s)
    Quoted
    14 Post(s)

    Default

    yeah I figured it out now the only problem im having is the script fills 1 basket then ends because it keeps typing "1" either on my rs screen or in my script because its trying to get the hotkey to press 1 and fill the basket, how do I fix that?

    update: its no longer typing 1's anywhere its just filling one basket and ending

    debug box says stuff like this

    ---- TRSGameTab.__initTabs(): Setup gametab properties
    -- TRSGameTabs.openTab(2)
    ---- Opening tab via gametab navigation bar
    -- TRSGameTabs.openTab(2): result = False
    -- Freeing gametabs bitmaps...
    Last edited by HippestTrip; 01-22-2016 at 05:03 AM.

  4. #4
    Join Date
    Dec 2011
    Location
    East Coast, USA
    Posts
    4,231
    Mentioned
    112 Post(s)
    Quoted
    1869 Post(s)

    Default

    Quote Originally Posted by HippestTrip View Post
    yeah I figured it out now the only problem im having is the script fills 1 basket then ends because it keeps typing "1" either on my rs screen or in my script because its trying to get the hotkey to press 1 and fill the basket, how do I fix that?

    update: its no longer typing 1's anywhere its just filling one basket and ending

    debug box says stuff like this

    ---- TRSGameTab.__initTabs(): Setup gametab properties
    -- TRSGameTabs.openTab(2)
    ---- Opening tab via gametab navigation bar
    -- TRSGameTabs.openTab(2): result = False
    -- Freeing gametabs bitmaps...
    Seems like the script is unable to open new gametabs, have you followed the steps in this thread? https://villavu.com/forum/showthread.php?t=47714

    Post a screenshot of your game window so I can check
    GitLab projects | Simba 1.4 | Find me on IRC or Discord | ScapeRune scripts | Come play bot ScapeRune!

    <BenLand100> we're just in the transitional phase where society reclassifies guns as Bad™ before everyone gets laser pistols

  5. #5
    Join Date
    Aug 2012
    Posts
    31
    Mentioned
    1 Post(s)
    Quoted
    14 Post(s)

    Default

    yeah ive fallowed everything correctly I think.. I cant post a screenshot can you post a screenshot and show me what needs fixing? I don't even know what gametabs are :/

  6. #6
    Join Date
    Aug 2012
    Posts
    31
    Mentioned
    1 Post(s)
    Quoted
    14 Post(s)

    Default

    changed some stuff in my settings so that my screen looks like the screenshot in the setup guide.. getting this error now

    New window: 2032880
    Compiled successfully in 19204 ms.
    Current Time Running 39 hr 47 min 0 sec current range 1246 current time in 2387
    SRL: Logfile = C:\Simba\Includes\SRL-6/logs/SRL log (22-01-16 at 02.26.31 PM).txt
    ---- TRSGameTab.__initTabs(): Setup gametab properties
    Current Time Running 39 hr 47 min 6 sec current range 428 current time in 2387
    Current Time Running 39 hr 47 min 7 sec current range 741 current time in 2387
    Current Time Running 39 hr 47 min 8 sec current range 351 current time in 2387
    Current Time Running 39 hr 47 min 8 sec current range 423 current time in 2387
    Current Time Running 39 hr 47 min 9 sec current range 534 current time in 2387
    Current Time Running 39 hr 47 min 9 sec current range 344 current time in 2387
    Current Time Running 39 hr 47 min 10 sec current range 144 current time in 2387
    Current Time Running 39 hr 47 min 10 sec current range 1309 current time in 2387
    Chance of Antiban is 9% The current number is 58
    Error: Access violation at line 53
    Execution failed.
    The following bitmaps were not freed: [Minimap Mask, Gametab Bitmap[0], Gametab Bitmap[1], Gametab Bitmap[2], Gametab Bitmap[3], Gametab Bitmap[4], Gametab Bitmap[5], Gametab Bitmap[6], Gametab Bitmap[7], Gametab Bitmap[8], Gametab Bitmap[9], Gametab Bitmap[10], Gametab Bitmap[11], Gametab Bitmap[12], Gametab Bitmap[13]]
    File[C:\Simba\Includes\SRL-6/logs/SRL log (22-01-16 at 02.26.31 PM).txt] has not been freed in the script, freeing it now.

  7. #7
    Join Date
    Dec 2011
    Location
    East Coast, USA
    Posts
    4,231
    Mentioned
    112 Post(s)
    Quoted
    1869 Post(s)

    Default

    Quote Originally Posted by HippestTrip View Post
    yeah ive fallowed everything correctly I think.. I cant post a screenshot can you post a screenshot and show me what needs fixing? I don't even know what gametabs are :/
    I really need a screenshot if I'm expected to tell you what needs fixing, otherwise the screenshot in that thread (http://i.imgur.com/mnKEZvG.png) shows you what your game screen needs to look like.

    I can't exactly take your word for it either, seeing as you're currently having issues if I did, there'd be no more help to offer.

    TeamViewer will work too if you have that.

    Gametabs are just what they sound like, the various in-game tabs you can switch to (inventory, magic, prayer, etc)
    GitLab projects | Simba 1.4 | Find me on IRC or Discord | ScapeRune scripts | Come play bot ScapeRune!

    <BenLand100> we're just in the transitional phase where society reclassifies guns as Bad™ before everyone gets laser pistols

  8. #8
    Join Date
    Aug 2012
    Posts
    31
    Mentioned
    1 Post(s)
    Quoted
    14 Post(s)

  9. #9
    Join Date
    Aug 2012
    Posts
    31
    Mentioned
    1 Post(s)
    Quoted
    14 Post(s)

    Default

    I removed anything that might be used by jagex to identify me... just a precaution

    also thanks a bunch for taking the time to help me with this problem.

  10. #10
    Join Date
    Dec 2011
    Location
    East Coast, USA
    Posts
    4,231
    Mentioned
    112 Post(s)
    Quoted
    1869 Post(s)

    Default

    Quote Originally Posted by HippestTrip View Post
    I removed anything that might be used by jagex to identify me... just a precaution

    also thanks a bunch for taking the time to help me with this problem.
    Everything looks pretty good, make sure your brightness is at 100%, that's hard to gauge visually
    GitLab projects | Simba 1.4 | Find me on IRC or Discord | ScapeRune scripts | Come play bot ScapeRune!

    <BenLand100> we're just in the transitional phase where society reclassifies guns as Bad™ before everyone gets laser pistols

  11. #11
    Join Date
    Aug 2012
    Posts
    31
    Mentioned
    1 Post(s)
    Quoted
    14 Post(s)

    Default

    now im getting this problem again

    -- TRSBankscreen.__open()
    -- TRSBankScreen.__open(): Didn't find enough bank color 0

  12. #12
    Join Date
    Dec 2011
    Location
    East Coast, USA
    Posts
    4,231
    Mentioned
    112 Post(s)
    Quoted
    1869 Post(s)

    Default

    Quote Originally Posted by HippestTrip View Post
    now im getting this problem again

    -- TRSBankscreen.__open()
    -- TRSBankScreen.__open(): Didn't find enough bank color 0
    I can't imagine that would happen unless one or more of your graphics settings was off. I urge you to go back through the thread I linked and very carefully read all of the steps in their entirety. Your base setup looks okay but factors such as brightness or interface positions are impossible to determine from a screenshot, they're really up to you to get right.

    If you're still experiencing problems, it seems the only reliable resolution will involve a knowledgeable member setting up your environment for you -- I can do this over TeamViewer if you wish.
    Last edited by KeepBotting; 01-22-2016 at 11:54 PM.
    GitLab projects | Simba 1.4 | Find me on IRC or Discord | ScapeRune scripts | Come play bot ScapeRune!

    <BenLand100> we're just in the transitional phase where society reclassifies guns as Bad™ before everyone gets laser pistols

  13. #13
    Join Date
    Dec 2013
    Location
    Pitcairn Island
    Posts
    288
    Mentioned
    20 Post(s)
    Quoted
    166 Post(s)

    Default

    Quote Originally Posted by HippestTrip View Post
    now im getting this problem again

    -- TRSBankscreen.__open()
    -- TRSBankScreen.__open(): Didn't find enough bank color 0
    What bank did you put for the bank type?

  14. #14
    Join Date
    Aug 2012
    Posts
    31
    Mentioned
    1 Post(s)
    Quoted
    14 Post(s)

    Default

    where is bank type? and how do I change it.. I just noticed the script requires a 4x7 inventory and my inventory is different its 5 across on the top instead of 4 and im at cw bank.

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
  •