SRL Archive - First Scripts

Paula's Chocolate Crusher. 300k/hr (members), 150k/hr (free to play).


Paula_Deen

2012-01-23 15:36:17

This thread/script has been moved.
Please go to http://villavu.com/forum/showthread.php?t=73161



Hey everyone!
This is my first script.
It is very basic. The main purpose of making this script was to learn the basics of scripting. I'll be continuing my progress from here! :) This is just the first of many steps…

Anyway, the script…
It crushes chocolate! :spot:


Instructions:
- Firstly, you must have a Knife (non-members) or a Pestle and Mortar (members) in your Toolbelt.
-If you are a member, make sure you use the Pestle and Mortar!
It crushes chocolate TWICE as fast as a knife. (double the profit! ;D)
- Secondly, you must have your chocolate bars in the FIRST bank slot.
- Thirdly, you must put in your account information, and make sure you fill in " 'UsingPestle' = true/false"!

- If you want to use the Soul War's bank, make sure you set "SoulWars" to true!

Things to add:
- Soul Wars banking. (Done!)
- Improved anti-ban. (I need help with this!)

Update Log:
- Initial Release: 1/23/12 (1.0b)
- Soul Wars banking added: 1/23/12 (1.1b)
- Progress Report added 1/24/12 (1.2b)

Regarding anti-ban, does anyone know how I could make it so that the bot randomly does anti-ban while it is waiting for the chocolate to be crushed?

jakeyboy29

2012-01-23 15:42:56

Would you like me to add sw banking? will take a few minutes

Paula_Deen

2012-01-23 15:45:34

From: jakeyboy29
Would you like me to add sw banking? will take a few minutes

Sure!
That would be greatly appreciated. :)
Would you mind if I use the same coding for my future scripts?

I'm working on a script that gets 1.2m/hr (members), but I may not release it.
I don't feel like crashing the market…

jakeyboy29

2012-01-23 15:46:59

From: Paula_Deen
Sure!
That would be greatly appreciated. :)

Would you mind if I use the same coding for my future scripts?

I'm working on a script that gets 1.2m/hr (members), but I may not release it.
I don't feel like crashing the market…


Ill use some code from my good friend -daazndagger-

I believe its just been committed to SRL. oooww 1.2mph! sounds very nice

Give me a minute!

VillaVuFTW

2012-01-23 15:53:18

You're making the same script, that I already have >.> .. I might end up releasing since I don't need it anymore >.<

Kosova

2012-01-23 16:04:37

will try it out tommorrow

jakeyboy29

2012-01-23 16:04:38

I feel so stupid right now. I couldnt get it to work at all!

what you need to do mate, it change the

      OpenBank(Players[CurrentPlayer].Loc, True, True);


to


OpenBankChest(SRL_BANK_SW);

should work

Paula_Deen

2012-01-23 16:20:56

From: jakeyboy29
I feel so stupid right now. I couldnt get it to work at all!

what you need to do mate, it change the

      OpenBank(Players[CurrentPlayer].Loc, True, True);


to


OpenBankChest(SRL_BANK_SW);

should work


It's working for me, and I used the same coding as you did.
Did you have the chocolate bars in the first bank slot?
Is your SRL up to date?

jakeyboy29

2012-01-23 16:37:34

No sorry, I worded that terribly.

It took me around fifteen minutes playing around with the whole bank chest thing.

To get it working with the sw chest, changing those lines i said should work, but i havent tested it.

Paula_Deen

2012-01-23 16:51:20

Thanks for the help, man! :D

One more question: Will "LampSkill := 'random' " actually work? I sort of made it up -cough-

RISK

2012-01-23 16:54:10

  case (LowerCase(Skill)) of
'attack': Mouse(81, 108, 12, 12, mouse_left);
'strength': Mouse(139, 108, 12, 12, mouse_left);
'ranged': Mouse(196, 108, 12, 12, mouse_left);
'magic': Mouse(257, 108, 12, 12, mouse_left);
'defence': Mouse(319, 108, 12, 12, mouse_left);
'crafting', 'craft': Mouse(376, 108, 12, 12, mouse_left);
'hitpoints', 'hp': Mouse(436, 108, 12, 12, mouse_left);
'prayer', 'pray': Mouse(81, 166, 12, 12, mouse_left);
'agility': Mouse(141, 166, 12, 12, mouse_left);
'herblore': Mouse(199, 166, 12, 12, mouse_left);
'thieving', 'thief': Mouse(258, 166, 12, 12, mouse_left);
'fishing', 'fish': Mouse(325, 166, 12, 12, mouse_left);
'runecraft', 'runecrafting': Mouse(375, 166, 12, 12, mouse_left);
'slayer', 'slay': Mouse(436, 166, 12, 12, mouse_left);
'farming', 'farm': Mouse(83, 220, 12, 12, mouse_left);
'mining', 'mine': Mouse(137, 220, 12, 12, mouse_left);
'smithing', 'smith': Mouse(197, 220, 12, 12, mouse_left);
'hunting', 'hunt', 'hunter': Mouse(257, 220, 12, 12, mouse_left);
'cooking', 'cook': Mouse(318, 220, 12, 12, mouse_left);
'firemaking', 'fire': Mouse(378, 220, 12, 12, mouse_left);
'woodcutting', 'wc': Mouse(439, 220, 12, 12, mouse_left);
'fletching', 'fletch': Mouse(141, 277, 12, 12, mouse_left);
'construction': Mouse(195, 277, 12, 12, mouse_left);
'summoning': Mouse(266, 277, 12, 12, mouse_left);
'dungeoneering': Mouse(320, 277, 12, 12, mouse_left);
else
Mouse(438, 113, 12, 12, mouse_left);

From the include. :o

Paula_Deen

2012-01-23 17:18:19

Sorry guys, I did the math wrong…
I accidentally doubled the profits :(

ppgab

2012-01-23 18:24:12

wow i was waiting for this, thank you lots

Paula_Deen

2012-01-23 22:54:14

Haha - Why did two other Chocolate Crushers release on the same day I released mine? :p

sizwiz

2012-01-24 00:36:09

From: Paula_Deen
Haha - Why did two other Chocolate Crushers release on the same day I released mine? :p


Haha, I was wondering the same thing!

Good job on your first script, it's running perfectly for me. I'm on f2p, started out with 140k or so, currently up to 420k. Haven't encountered any problems at all with it.

Thanks for the release!

Paula_Deen

2012-01-24 01:38:27

I'm going to push the full release. I feel it's stable enough.
I've never had any issues with it during my numerous hours of testing.

marsera

2012-01-24 01:40:16

Does this auto log off after its done?

Paula_Deen

2012-01-24 01:41:10

From: marsera
Does this auto log off after its done?

Yup! :)

marsera

2012-01-24 01:42:30

Thanks

Paula_Deen

2012-01-24 02:28:20

I'm moving this script to the Money Making section.
…
http://villavu.com/forum/showthread.php?t=73161

Cookah

2012-01-24 03:09:46

Flawless Script Thanks Keep Up The Work :)

ppgab

2012-01-24 11:19:16

hm, mine keeps the screen all the way down, it sometimes misclick "powder" button and just sits there, and sometimes switches the bank booth its using, so it's pretty buggy for me

Heya69

2012-01-25 13:44:21

Profit/hr?

RISK

2012-01-25 13:52:51

Look at the thread's title.

Heya69

2012-01-25 14:24:35

From: RISK
Look at the thread's title.


Paula's Chocolate Crusher. 300k/hr (members), 150k/hr (free to play)
Paula's Chocolate Crusher. 180k/hr (members), 90k/hr (free to play)