SRL Archive - OSR Outdated / Broken Scripts

[07]ShopBuyer


mmmvvvbbb

2013-03-03 23:59:51

This script will buy or sell 10 of an item in any shop x amount of times.
This is useful for buying runes or other things that don't have a buy x feature.
Simply start by double clicking what you want to buy or sell when the shop window is up.
There are two versions:
A mediocre version that works right away
And a challenge version that require some editing to get it to work, what great fun! (If you are new and don't know how to fix a broken script this is a very fun exercise if you don't want to leech.

Must have the Unofficial P07 include found here`.

The Challenge version is more effective than the mediocre version is included in this. Hints to solving the Challenge:
watch the parens
watch the includes
watch the vars
watch the booleans

And tips/suggestions are welcome. Tell me if this is useless or if I should include features like "out of money log out" or a huge delay to let items spawn. Keep in mind I am a new scripter around here.

Need a script to use your newly bought runes? Try kiwiownage's AutoCurser found here.

kz1rs0dmg

2013-03-05 01:27:34

whats anti leach

killyoulol

2013-03-05 01:33:46

Nice. Something I would recommend to add would be possibly adding world hopping support? There are many shops which you can take advantage of by world hopping to get cheap items right now :)

random491

2013-03-05 10:28:05

EError] C:\Users\Dna423\Downloads\ShopBuyer1.0 (1).simba(28:1): Unknown identifier 'amount' at line 27
Compiling failed.

I might be retarted :(

Frito

2013-03-05 10:35:12

Add world hop and this thing is GOLD!

Shorteh96

2013-03-05 21:15:42

I am trying to get this currently but am frozen at amount, I've solved everything else however . . . what is wrong?

Evaporation

2013-03-05 21:56:45

Desktop\ShopBuyer1.0.simba(39:3): comma (',') expected at line 38

Pkingd3vil

2013-03-05 23:08:08

Works great Tested for about 3 hours flawless as far as I can see nice work

mmmvvvbbb

2013-03-05 23:44:50

From: random491
EError] C:\Users\Dna423\Downloads\ShopBuyer1.0 (1).simba(28:1): Unknown identifier 'amount' at line 27
Compiling failed.

I might be retarted :(

This is part of the anti leach. Just remember that you have to "establish" variables at the beginning of the script.
From: Evaporation
Desktop\ShopBuyer1.0.simba(39:3): comma (',') expected at line 38


Remember that error messages may be from one line above the error. (Thats a big hint)
From: Pkingd3vil
Works great Tested for about 3 hours flawless as far as I can see nice work


Thanks for the feed back!

____________________________________
I am investigating world hopping possibly implementing it.

ipkpjersi

2013-03-06 07:14:07

This script is awesome, it took a little while to figure out the antileech (like about 5 minutes), but this is great.

Bench

2013-03-06 10:28:52

[Error] C:\Simba\Scripts\ShopBuyer1.0.simba(40:16): Unknown identifier 'amount' at line 39
Compiling failed.

Tips?

random491

2013-03-06 12:47:43

[Error] C:\Users\Dna423\Downloads\ShopBuyer1.0 (2).simba(39:47): comma (',') expected at line 38
Compiling failed.

Not sure if I corrected the errors before that succesfully ;P
According to your tip the line above it is wrong but that is just Buy; where would that comma be expected?

mmmvvvbbb

2013-03-06 16:29:11

From: random491
[Error] C:\Users\Dna423\Downloads\ShopBuyer1.0 (2).simba(39:47): comma (',') expected at line 38
Compiling failed.

Not sure if I corrected the errors before that succesfully ;P
According to your tip the line above it is wrong but that is just Buy; where would that comma be expected?

watch the parens

dblurxd

2013-03-06 22:56:45

what are parens? sorry im a total noob here.

Orpheus

2013-03-08 00:03:22

From: dblurxd
what are parens? sorry im a total noob here.

Parentheses

@mmmvvvbbb
Thanks for the script, but it would be nice if the script followed the standards a bit more.
I'd rather have to think more than have to try to read something that's badly formatted.

Brid Mayhem

2013-03-08 00:08:04

Goodjob, but I already use Sythe's auto buyer, so unless you add something like world hopping and evading combat I don't need this :)

zacb

2013-03-08 00:10:46

Woot, got it to work :D, not actually planning on using the script (maybe i will), just wanted to see if I could fix a script with absolutely no knowledge took me about a hour but I did it LOL. Though I did some java tut's a few years ago, this is pastal I hear? no idea what that is :P, pretty fun though, when I seen it successfully compile boomchickalackalacka!

Edit: actually I probably will use this if i do any fletching (u)'s lol

sho

2013-03-08 05:51:30

getting 2 many errors…is there only "1" anti-leech if not.. could use some help plox..really would appreciate it.

[Error] C:\Simba\Scripts\ShopBuyer1.0.simba(14:14): Unknown identifier 'ifyouwant' at line 13
Compiling failed.
-after i delete
[Error] C:\Simba\Scripts\ShopBuyer1.0.simba(15:3): Syntax error at line 14
Compiling failed.
-soz i'm a newb at this :( any suggestions?

Metroidprim1

2013-03-08 15:13:56

Wheres the best place to us this? Also, best runes for gp gain?

Orpheus

2013-03-08 15:45:45

From: sho
getting 2 many errors…is there only "1" anti-leech if not.. could use some help plox..really would appreciate it.

[Error] C:\Simba\Scripts\ShopBuyer1.0.simba(14:14): Unknown identifier 'ifyouwant' at line 13
Compiling failed.
-after i delete
[Error] C:\Simba\Scripts\ShopBuyer1.0.simba(15:3): Syntax error at line 14
Compiling failed.
-soz i'm a newb at this :( any suggestions?


There are quite a few anti-leaches. I suggest you read this: THE Beginner's Simba Tutorial
I'll give you a hint on your first error: start is a Boolean. Try to use the thread I linked above to solve the rest.

gs3

2013-03-10 17:54:43

i cant frickin solve this anti leach … lool

random491

2013-03-10 18:28:18

I might have reached the very last error.
[Error] C:\Users\Dna423\Downloads\ShopBuyer1.0 (3).simba(41:23): Identifier expected at line 40
Compiling failed.
Any tips?

Edit #1

nvm got it after some trial & error.
Now time to test it and see if I screwed up the anti leach so bad that it caused the script to die.

Edit #2
It works perfectly! Thanks :)

frozen5

2013-03-10 18:32:00

dont mean to be a noob but does simba support random events? cuz wbot doesnt

gs3

2013-03-10 19:02:50

Error: Exception: IsMouseButtonHeld not available for this target at line 27
The following DTMs were not freed: [SRL - Lamp bitmap, 1, 2, 3, 4, 5]
The following bitmaps were not freed: [SRL - Mod bitmap, SRL - Admin bitmap, SRL - Flag bitmap, SRL - NavBar Bitmap, SRL - Options Bitmap]
HELP???

some please help …

it compiles and starts smart but gives me that error … help!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!1

Hobbit

2013-03-11 12:41:27

From: gs3
Error: Exception: IsMouseButtonHeld not available for this target at line 27
The following DTMs were not freed: [SRL - Lamp bitmap, 1, 2, 3, 4, 5]
The following bitmaps were not freed: [SRL - Mod bitmap, SRL - Admin bitmap, SRL - Flag bitmap, SRL - NavBar Bitmap, SRL - Options Bitmap]
HELP???

some please help …

it compiles and starts smart but gives me that error … help!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!1


Please use the edit button if you wish to add something to your posts. Double and triple posting is not acceptable here.

mmmvvvbbb

2013-03-11 16:33:00

From: gs3
Error: Exception: IsMouseButtonHeld not available for this target at line 27
The following DTMs were not freed: [SRL - Lamp bitmap, 1, 2, 3, 4, 5]
The following bitmaps were not freed: [SRL - Mod bitmap, SRL - Admin bitmap, SRL - Flag bitmap, SRL - NavBar Bitmap, SRL - Options Bitmap]
HELP???

some please help …

it compiles and starts smart but gives me that error … help!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!1


This script is not designed to work with smart, you would have to edit the coordinates as you cant use your own mouse.

gs3

2013-03-11 20:01:44

ok i set it up without smart … i changed mmouse cords to what i want to buy …. now it doesnt do anything …also i clicked the item(body runes) but it just does nothing..now it changed the camera angle …. omg… i srsly cant get this or the other buying scripts working …

Rareware

2013-03-12 00:22:05

Ugh.. I hate to ask this.. but does anyone have a hint for this error? I've gotten most of the other scripts' anti-leeches but I'm not sure what the problem is with this one. Thanks in advance :3

[Error] C:\Simba\Scripts\ShopBuyer1.0.simba(41:1): Syntax error at line 40
Compiling failed.

Jekora

2013-03-12 16:27:43

I think i fixed all the errors, when i start it, i tells me to double click the item, when i do, it instatly finnishes. "Successfully executed."
And hints please?


Or
I need to fix this error

[Error] C:\Simba\Scripts\ShopBuyer1.0.simba(40:22): Identifier expected at line 39
Compiling failed.

Any hints please?

bovman11

2013-03-12 18:08:19

[Error] H:\Users\Sabel\Downloads\ShopBuyer1.0.simba(28:1): Unknown identifier 'amount' at line 27
Compiling failed. cant fix it pm me help please

gs3

2013-03-12 18:16:30

the author needs to make the antileach easier or help us out … this is kinda annoying … well anyways i just tweaked the script and made it work by erasing all the clicking and stuff and made it myself … got fed up with this bs.

gs3

2013-03-13 20:36:56

yoooooo mmmvvvbbb you need to remove the antileach, its against the rules… read the article thing b4 your thread gets closed…oh dang … i sud of edited taht post up there … idk how to delete this now ..

mmmvvvbbb

2013-03-15 17:29:56

Anti-Leech is against the rules now, but I don't want people downloading this who cant solve the anti-leech I had before. Instead of anti-leech, I will make the script less effective and users can edit it to improve functionality.

rivaldo

2013-05-14 09:08:51

Man can you tell me how to make it buy more then 100 runes a time

dannyman22

2013-05-28 18:55:00

all the way at the bottom of the script(the second to last line) it should say……until((10*n)=100). just change the last number (in this case 100) to any number you want. say you wanted to do 2000 at a time, change it to look like until((10*n)=2000) =)

Verm

2013-06-12 08:27:57

Can you help me with the anti leech please.
I got the error about amount.
Thanks

thatstranger1

2013-07-04 23:38:33

maybe u need to set rs window as client kids

Ashaman88

2013-11-27 00:13:27

P07include outdated. Please use official one - shoot me a PM when/if this is updated.