PDA

View Full Version : [07]ShopBuyer



mmmvvvbbb
03-04-2013, 04:59 AM
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` (http://villavu.com/forum/showthread.php?t=96863).

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 (http://villavu.com/forum/showthread.php?t=97144).

kz1rs0dmg
03-05-2013, 06:27 AM
whats anti leach

killyoulol
03-05-2013, 06:33 AM
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
03-05-2013, 03:28 PM
EError] C:\Users\Dna423\Downloads\ShopBuyer1.0 (1).simba(28:1): Unknown identifier 'amount' at line 27
Compiling failed.

I might be retarted :(

Frito
03-05-2013, 03:35 PM
Add world hop and this thing is GOLD!

Shorteh96
03-06-2013, 02:15 AM
I am trying to get this currently but am frozen at amount, I've solved everything else however . . . what is wrong?

Evaporation
03-06-2013, 02:56 AM
Desktop\ShopBuyer1.0.simba(39:3): comma (',') expected at line 38

Pkingd3vil
03-06-2013, 04:08 AM
Works great Tested for about 3 hours flawless as far as I can see nice work

mmmvvvbbb
03-06-2013, 04:44 AM
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.

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)

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
03-06-2013, 12:14 PM
This script is awesome, it took a little while to figure out the antileech (like about 5 minutes), but this is great.

Bench
03-06-2013, 03:28 PM
[Error] C:\Simba\Scripts\ShopBuyer1.0.simba(40:16): Unknown identifier 'amount' at line 39
Compiling failed.

Tips?

random491
03-06-2013, 05:47 PM
[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
03-06-2013, 09:29 PM
[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
03-07-2013, 03:56 AM
what are parens? sorry im a total noob here.

Orpheus
03-08-2013, 05:03 AM
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
03-08-2013, 05:08 AM
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
03-08-2013, 05:10 AM
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
03-08-2013, 10:51 AM
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
03-08-2013, 08:13 PM
Wheres the best place to us this? Also, best runes for gp gain?

Orpheus
03-08-2013, 08:45 PM
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 (http://villavu.com/forum/showthread.php?t=58935)
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
03-10-2013, 09:54 PM
i cant frickin solve this anti leach ... lool

random491
03-10-2013, 10:28 PM
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 (http://villavu.com/forum/usertag.php?do=list&action=hash&hash=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 (http://villavu.com/forum/usertag.php?do=list&action=hash&hash=2)
It works perfectly! Thanks :)

frozen5
03-10-2013, 10:32 PM
dont mean to be a noob but does simba support random events? cuz wbot doesnt

gs3
03-10-2013, 11:02 PM
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
03-11-2013, 04:41 PM
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
03-11-2013, 08:33 PM
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
03-12-2013, 12:01 AM
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
03-12-2013, 04:22 AM
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
03-12-2013, 08:27 PM
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
03-12-2013, 10:08 PM
[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
03-12-2013, 10:16 PM
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
03-14-2013, 12:36 AM
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
03-15-2013, 09:29 PM
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
05-14-2013, 01:08 PM
Man can you tell me how to make it buy more then 100 runes a time

dannyman22
05-28-2013, 10:55 PM
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
06-12-2013, 12:27 PM
Can you help me with the anti leech please.
I got the error about amount.
Thanks

thatstranger1
07-05-2013, 03:38 AM
maybe u need to set rs window as client kids

Ashaman88
11-27-2013, 05:13 AM
P07include outdated. Please use official one - shoot me a PM when/if this is updated.