SRL Archive - Research & Development Lounge

SWB MultiBot!


Master BAW

2012-07-05 09:11:50

Hello everyone,

I introduce to you, the….
BankMultiSkiller!
…it will be a 100% Flawless, multi mode, bank-trainable-skill script.

What does it do?
  • all skills that are skillable at a bank without random-events can be done
  • it alternates to another mode, after a by you specified amount of runs
  • you can choose which modes you want to have activated
  • breaking and antiban
  • some skills need to be prepared, such as taking a firestaff for alching, or put on other things on like goldsmithing gloves for superheating
  • make all functions and procedures as general as possible to decrease lines of coding and increase performance :)

Different 'MODES' it should get:
  • highalch (magic)
  • superheat item (smithing + magic)
  • make unf potion (herblore)
  • make finished potion (herblore)
  • make wine (cooking)
  • blow glass (crafting)
  • string bows (fletching)
  • hard but usefull
  • clean herbs (herblore)
  • make fires, cook on fires <- Isn't possible without randoms, so maybe later
  • not so important:
  • lowalch (magic)
  • make planks (magic)
  • other crafting
  • other fletching
  • other (moneymaking) methods

Basically, with this script you don't have to look to your account anymore after setting the script up until all items are done and you have gained a lot of exp in multiple skills. :)

I hope you like the idea, because I've already started! This is what a proggy looks like for now:

Time Running: 1 Hours, 5 Minutes and 3 Seconds 
XP Earned: 255640
XP/h: 237600
Inventories wine: 67 (168k exp/h)
Inventories glass blowed: 46 (70k exp/h)

I have made this so fast by combining two scripts of Shay (thanks Shay), but I've now also started with making the more general file for this idea, where I can easily add multiple skills. :)


All suggestions/idea's/comments are welcome :spot:


Progress
  • 5th of july: Started working out a plan for making this bot, and wrote this topic
  • 8th of july: I now have a basis-script for this bot. A lot of work has to be done, but I'm on the right way. Check the file (BAWS-BMS01.simba)

Main

2012-07-05 09:15:59

this looks awsome! Good job!

Perhaps soul war minigame support in the future eh eh? JK :)

Mat

2012-07-05 09:17:35

Looks like a nice little project :)
Mike :P although that would be sick as you could use it for slayer xp :)
Mat

CephaXz

2012-07-05 09:19:06

Aww you took the AIO idea to soul wars :p
BTW, don't think you can light fire at soul wars. Great project you got there. Good luck :D

Master BAW

2012-07-05 09:28:36

From: CephaXz
Aww you took the AIO idea to soul wars :p
BTW, don't think you can light fire at soul wars. Great project you got there. Good luck :D


aww shit that ruins my plan a little bit :(
are there other places without randoms where you CAN light fires to cook on?
soulwars is the perfect place for crafting, magic and fletching and such, but It would be perfect if there was a place where you could do that AND make fires/cook… Grand exchange maybe, but then it's a little harder to bank (takes longer)

CephaXz

2012-07-05 09:38:14

I heard Daemonheim had no randoms. RunAway made a few scripts for skilling there, that includes cooking.

http://villavu.com/forum/showthread.php?t=85329

Master BAW

2012-07-05 09:49:47

Are you sure it doesn't have random events? Then it could be the solution, although the banking there is a little bit slower becuase you can't leftclick.
Can somebody confirm there arn't random events at deamonheim bank?

Edit: when I teleported from soulwars to deamonheim I instantly got into a random:(

[D]ude

2012-07-05 10:12:48

I alched in Daimonheim for 15 hours without a single random. Go figure.

Er1k

2012-07-05 10:23:00


hard but usefull
- make fires (firemaking)
- cook on fires (cooking)
- make fire and cook at the same time (fm + cooking)


I thought you cant make fires in SW lobby?

The Killer

2012-07-05 11:09:02

From: CephaXz
I heard Daemonheim had no randoms. RunAway made a few scripts for skilling there, that includes cooking.

http://villavu.com/forum/showthread.php?t=85329


u get random where u can light fires :( but inside there's no randoms :)

offtopic: woooooot 300 posts :))

F33NY

2012-07-05 11:11:14

I swear I've seen fires being lit constantly in SW… But I could be hallucinating.

Hazzah

2012-07-05 11:11:58

From: Er1k
I thought you cant make fires in SW lobby?


You definitely cant firemake at SW. This seems like an ambitious run in my opinion. How I would do this is to make them all seperately and then try to merge them.

Shatterhand

2012-07-05 11:19:59

From: The Killer
u get random where u can light fires :( but inside there's no randoms :)

This.
Basically theres a border line. Above it its random free, under that you can light fire, but get randoms. So alching/superheating/item combining can all be done there in F2P. :)

Master BAW

2012-07-05 11:22:54

From: Hazzah
You definitely cant firemake at SW. This seems like an ambitious run in my opinion. How I would do this is to make them all seperately and then try to merge them.

Don't worry, I think I can do it the right way. Making them all seperately and add 'em together will result in a very very long script full of bugs so I *try to* do it the pro way (I scripted PHP since 2007 so I know something about OOP, which will be usefull) :smarty:
From: Shatterhand
This.
Basically theres a border line. Above it its random free, under that you can light fire, but get randoms. So alching/superheating/item combining can all be done there in F2P. :)

From: The Killer
u get random where u can light fires :( but inside there's no randoms :)

offtopic: woooooot 300 posts :))


okay thanks for the replies everyone.
I have decided to just make it without fm and fishcooking then… I make it for SWB and maybe later I can add another bank

Shatterhand

2012-07-05 11:35:04

From: MasterCrimez
I have decided to just make it without fm and fishcooking then… I make it for SWB and maybe later I can add another bank

Having demonheim bank would be awesome, so f2p users can use the script too. :)

Master BAW

2012-07-05 11:59:02

From: Shatterhand
Having demonheim bank would be awesome, so f2p users can use the script too. :)


Okay, I guess it wouldn't be too hard to make it bank at different banks. I'll try my best. :)

If anyone have any more suggestions for MODES or other things, just tell me.I'm in the very beginning of the developing stage so right now I have to think about which procedures I have to make.

But I think I have the most important modes now:)

TehNeonFishy

2012-07-05 23:18:34

Sounds like an absolutely amazing project, good luck with it mate.

Can't think of any more modes to add though, I'll get back to you if I think of anything, but as I can remember right now you have it pretty much all covered.

EDIT: Actually enchanting jewelry? If not if it is profitable but hey it's an idea. :D

Sin

2012-07-05 23:38:18

MMm wonder who's base you're using :rolleyes:

Master BAW

2012-07-06 07:17:02

From: Shay
MMm wonder who's base you're using :rolleyes:


I had combined your two scripts to try if it was possible, but now i've started the real project a blank page. :) You'll see when the first version is finished, you won't recognize your scripts ;)

Master BAW

2012-07-08 11:32:46

Bump, changed the title, and the topic itself a lot.
I also added the script I have now.
Please notice it won't do anything, it's just the base.

If you like, you can review the script as it is now (not about the functionality ofcourse, because it does nothing yet). I would apreciate it.

Runaway

2012-07-08 12:45:36

You've used a with..do statement in your DeclarePlayers, but perhaps you don't understand it's use. You can use it in your DeclareModes as well:


Mode[x].Name := 'Mode name';
Mode[x].Description := 'Describes what the mode does';
Mode[x].Skill := SKILL_COOKING;
Mode[x].Active := True;
Mode[x].AvgAmount := 1;
Mode[x].MaxAmount := 10;
Mode[x].ModeType := mType_CombineStackedWithSpell;
Mode[x].PrepareType := pType_Withdraw;

// etc ...

Is the same as:


with Mode[x] do
begin
Name := 'Mode name';
Description := 'Describes what the mode does';
Skill := SKILL_COOKING;
Active := True;
AvgAmount := 1;
MaxAmount := 10;
ModeType := mType_CombineStackedWithSpell;
PrepareType := pType_Withdraw;

// etc ...
end;

Master BAW

2012-07-08 13:09:05

From: Runaway
You've used a with..do statement in your DeclarePlayers, but perhaps you don't understand it's use. You can use it in your DeclareModes as well:
..

Yea I know, but I thought it didn't really matter, does it? I find this better-looking :D Also, when coding and you use a with-do, you don't see which variables are available… if you use mode[x]. then you see all vars you can use after the point. ;) so that's why I chose this way

But if that's the only thing you can think of, does that mean my start is nice for the rest? :D Of course maybe you can't really see how I'm planning to script it for the rest and maybe it's too early to ask, but I think with this base I can make what I want. If I then want to add a mode, I just copy/paste this piece:



inc(x);
setlength(Mode,x+1);

Mode[x].Name := 'Mode name';
Mode[x].Description := 'Describes what the mode does';
Mode[x].Skill := SKILL_COOKING;
Mode[x].Active := True;
Mode[x].AvgAmount := 1;
Mode[x].MaxAmount := 10;
Mode[x].ModeType := mType_CombineStackedWithSpell;
Mode[x].PrepareType := pType_Withdraw;

Mode[x].Slot[0].Name := 'ItemName';
Mode[x].Slot[0].Amount := 10;
Mode[x].Slot[0].Slot := 01;
Mode[x].Slot[0].DTM := '';
Mode[x].Slot[0].BMP := '';
Mode[x].Slot[0].BMPw := 0;
Mode[x].Slot[0].BMPh := 0;
Mode[x].Slot[0].BMPt := 0;

Mode[x].PrepareSlot[0].Name := 'ItemName';
Mode[x].PrepareSlot[0].Amount := 10;
Mode[x].PrepareSlot[0].Slot := 03;
Mode[x].PrepareSlot[0].DTM := '';
Mode[x].PrepareSlot[0].BMP := '';
Mode[x].PrepareSlot[0].BMPw := 0;
Mode[x].PrepareSlot[0].BMPh := 0;
Mode[x].PrepareSlot[0].BMPt := 0;

edit the values here and there, and then i'm done :D

Runaway

2012-07-08 13:30:56

From: MasterCrimez
Yea I know, but I thought it didn't really matter, does it? I find this better-looking :D Also, when coding and you use a with-do, you don't see which variables are available… if you use mode[x]. then you see all vars you can use after the point. ;) so that's why I chose this way


Hmm yes makes sense, but you'd be surprised how soon you'll be ignoring those because you know exactly what's what :p