Results 1 to 15 of 15

Thread: Money Pouch

  1. #1
    Join Date
    Feb 2007
    Location
    Florida
    Posts
    460
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Money Pouch

    Just a mock up of stuff to check and a function to toggle whether the Money pouch should be open or closed.

    Simba Code:
    Function PouchEmpty : Boolean;
    Begin
      Result := CountColor(65535, 494, 93, 503, 103) = 14;
    End;

    Function PouchOpen : Boolean;
    Begin
      Result := CountColor(65535, 482, 93, 505, 104) > 0;
    End;

    Function TogglePouch(Open : Boolean) : Boolean;
    Var
      i : Integer;
    Begin
      For i := 0 to 5 do
      Begin
        if (PouchOpen) and (Open) then
          Exit;
        if (Not PouchOpen) XOR (Not Open) then
        Begin
          MouseBox(523, 92, 537, 105, 2);
          ChooseOption('oggle');
          WaitFunc(@PouchOpen, 250, 2500);
          If PouchOpen then
          Begin
            Result := True;
            Exit;
          End;
        End;
       Result := False;
      End;
    End;
    Varrock gTanner
    Previously known as England155.

  2. #2
    Join Date
    Feb 2006
    Location
    Tracy/Davis, California
    Posts
    12,631
    Mentioned
    135 Post(s)
    Quoted
    418 Post(s)

    Default

    Good work, quickly made, I like it, but don't really see how this could be used in SRL, besides for an antiban procedure or something.

    Thanks!

  3. #3
    Join Date
    Feb 2007
    Location
    Florida
    Posts
    460
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by YoHoJo View Post
    Good work, quickly made, I like it, but don't really see how this could be used in SRL, besides for an antiban procedure or something.

    Thanks!
    Ah, ok. So if people want to use the money pouch then they chould just add it to their script.

    This is why we need a snippet section.
    Varrock gTanner
    Previously known as England155.

  4. #4
    Join Date
    Oct 2008
    Location
    C:\Simba\Includes\
    Posts
    7,566
    Mentioned
    19 Post(s)
    Quoted
    180 Post(s)

    Default

    The only useful thing I can see SRL using the pouch for is counting how much money a user has on them, since it frees up a inventory slot. Since I assume most people will be using it now.
    Away for awhile, life is keeping me busy. | Want to get my attention in a thread? @Kyle Undefined; me.
    { MSI Phoenix || SRL Stats Sigs || Paste || Scripts || Quotes || Graphics }

    When posting a bug, please post debug! Help us, help you!

    I would love to change the world, but they won't give me the source code. || To be the best, you've got to beat the rest. || Logic never changes, just the syntax.
    If you PM me with a stupid question or one listed in FAQ, or about a script that is not mine, I will NOT respond.


    SRL is a Library of routines made by the SRL community written for the Program Simba. We produce Scripts for the game Runescape.


  5. #5
    Join Date
    Jan 2011
    Posts
    121
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Does anyone else have the issue with the money pouch not showing up when smart loads until coins are added or taken away from it during gameplay?

  6. #6
    Join Date
    Nov 2010
    Location
    Australia
    Posts
    1,472
    Mentioned
    0 Post(s)
    Quoted
    8 Post(s)

    Default

    Quote Originally Posted by legoace View Post
    Does anyone else have the issue with the money pouch not showing up when smart loads until coins are added or taken away from it during gameplay?
    AFAIK everyone on safe mode has that issue.

  7. #7
    Join Date
    Oct 2008
    Location
    C:\Simba\Includes\
    Posts
    7,566
    Mentioned
    19 Post(s)
    Quoted
    180 Post(s)

    Default

    Yes, it's a Safe Mode thing. I don't think it was intentional, but more of an oversight by Jagex.
    Away for awhile, life is keeping me busy. | Want to get my attention in a thread? @Kyle Undefined; me.
    { MSI Phoenix || SRL Stats Sigs || Paste || Scripts || Quotes || Graphics }

    When posting a bug, please post debug! Help us, help you!

    I would love to change the world, but they won't give me the source code. || To be the best, you've got to beat the rest. || Logic never changes, just the syntax.
    If you PM me with a stupid question or one listed in FAQ, or about a script that is not mine, I will NOT respond.


    SRL is a Library of routines made by the SRL community written for the Program Simba. We produce Scripts for the game Runescape.


  8. #8
    Join Date
    Apr 2008
    Location
    Marquette, MI
    Posts
    15,252
    Mentioned
    138 Post(s)
    Quoted
    680 Post(s)

    Default

    I think this could be added to antiban.simba in some way. Toggling the pouch would make good antiban I think.

    Only thing is, PouchEmpty and PouchOpen don't really fit in antiban. They may be better fit in gametab (like that file needs to get any bigger ).

  9. #9
    Join Date
    Feb 2007
    Location
    PA, USA
    Posts
    5,240
    Mentioned
    36 Post(s)
    Quoted
    496 Post(s)

    Default

    Quote Originally Posted by Coh3n View Post
    I think this could be added to antiban.simba in some way. Toggling the pouch would make good antiban I think.

    Only thing is, PouchEmpty and PouchOpen don't really fit in antiban. They may be better fit in gametab (like that file needs to get any bigger ).
    I'd like to see gametab broken down a bit.
    IMO it's so bloated...

  10. #10
    Join Date
    Apr 2008
    Location
    Marquette, MI
    Posts
    15,252
    Mentioned
    138 Post(s)
    Quoted
    680 Post(s)

    Default

    Quote Originally Posted by footballjds View Post
    I'd like to see gametab broken down a bit.
    IMO it's so bloated...
    It's part of our future plans, don't worry.

  11. #11
    Join Date
    Feb 2007
    Location
    PA, USA
    Posts
    5,240
    Mentioned
    36 Post(s)
    Quoted
    496 Post(s)

    Default

    Quote Originally Posted by Coh3n View Post
    It's part of our future plans, don't worry.
    <3 you

  12. #12
    Join Date
    Oct 2011
    Location
    UK
    Posts
    1,322
    Mentioned
    2 Post(s)
    Quoted
    1 Post(s)

    Default

    I have written a function that returns the amount of money in your pouch, if anybody is interested PM me.

  13. #13
    Join Date
    Dec 2011
    Location
    P2P :)
    Posts
    561
    Mentioned
    0 Post(s)
    Quoted
    5 Post(s)

    Default

    GetMoneyPouchAmount

    function GetMoneyPouchAmount: LongInt;
    Returns amount of coins in pouch.

    Note by Home

    Already there O_O
    I wear my scars like the rings on a pimp
    I live life like the captain of a sinking ship
    Always sell your product for ATLEAST mid to ensure that the market doesn't drop.

  14. #14
    Join Date
    Aug 2011
    Posts
    62
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I think the money pouch was a crappy idea in the first place when jagex implimented it. Probley too old school on the game, but I find it irritating to find your coins + it laggs for me, and has messed up the walking on one of my bots once or twice. Ah well.

  15. #15
    Join Date
    Oct 2011
    Location
    UK
    Posts
    1,322
    Mentioned
    2 Post(s)
    Quoted
    1 Post(s)

    Default

    Quote Originally Posted by MrDerp View Post
    GetMoneyPouchAmount

    function GetMoneyPouchAmount: LongInt;
    Returns amount of coins in pouch.

    Note by Home

    Already there O_O

    Code:
    Compiling failed.
    [Error] (772:11): Unknown identifier 'GetMoneyPouchAmount' at line 771
    Compiling failed.
    Which include is it in?




    Quote Originally Posted by Fruit Bat View Post
    I think the money pouch was a crappy idea in the first place when jagex implimented it. Probley too old school on the game, but I find it irritating to find your coins + it laggs for me, and has messed up the walking on one of my bots once or twice. Ah well.
    Agreed, Especially since any windows you are in close when you try to examine/withdraw
    Last edited by putonajonny; 12-27-2011 at 02:56 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
  •