SRL Archive - SRL Suggestions

Money Pouch


Geo

2011-12-06 11:59:07

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

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;

YoHoJo

2011-12-06 12:02:42

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!

Geo

2011-12-06 12:04:20

From: YoHoJo
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. :p

Kyle Undefined

2011-12-07 10:09:27

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.

legoace

2011-12-07 23:43:26

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?

KingKong

2011-12-08 00:07:10

From: legoace
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.

Kyle Undefined

2011-12-08 01:24:43

Yes, it's a Safe Mode thing. I don't think it was intentional, but more of an oversight by Jagex.

Coh3n

2011-12-08 13:04:38

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 :p).

footballjds

2011-12-08 13:06:10

From: Coh3n
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 :p).


I'd like to see gametab broken down a bit.
IMO it's so bloated…

Coh3n

2011-12-08 13:16:25

From: footballjds
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. ;)

footballjds

2011-12-08 14:05:24

From: Coh3n
It's part of our future plans, don't worry. ;)


<3 you

putonajonny

2011-12-22 22:49:41

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

Hero

2011-12-23 01:54:52

GetMoneyPouchAmount

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

Note by Home

Already there O_O

Fruit Bat

2011-12-23 02:10:14

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.

putonajonny

2011-12-26 21:40:26

From: MrDerp
GetMoneyPouchAmount

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

Note by Home

Already there O_O



Compiling failed.
[Error] (772:11): Unknown identifier 'GetMoneyPouchAmount' at line 771
Compiling failed.

Which include is it in?




From: Fruit Bat
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