SRL Archive - RS3 Outdated / Broken Scripts

Home's Mobilising Armies Suicider


Home

2012-02-01 14:29:56

Home's Mobilising Armies Suicider

Status: Working [ 2.01.2012 ]



History:
~ 0.1:
- Inital Release.




Features:
~ Suicides Your Troops Until You Ran Out Investment Credits
~ 10 Suicide Trips Per Hour
~ Small AntiBan




Instructions:

- World 76!
- Player In Front Of White Tent (Entrance To Games)
- Have Light Troops In Your Inventory
- DO NOT USE WITH CRASH SMART!



Post Proggies, Bugs, Suggestions And Feedpack.



Proggys:


+++++++++++++++++++++++++++++++++++++++++++++++++++++++
Home's Mobilising Armies Suicider 0,1
+++++++++++++++++++++++++++++++++++++++++++++++++++++++
Name : ******
Suicide Trips / Hour : 10
Suicide Trips Done : 95
Worked : 8 Hours, 44 Minutes and 25 Seconds
Time : 11:00:10 PM
-------------------------------------------------------





Donations are HIGHLY needed. I'm extremely broke currently..

Thanks Euph for GFX and Nathan and.. I will add you later dear tester.
~Home

Bwuk

2012-02-01 14:35:21

Going to try this out ASAP! man cant even wait :).

onilika

2012-02-01 14:49:19

I'll runn this right now! Was expecting this for a certain time! :)
Congratz on releasing script and catching the bug !

~onilika

kingob

2012-02-01 15:00:39

Yay having been waiting for this for a while so happy you released it home +Rep!! Will edit in a proggy in a while :)

euphemism

2012-02-01 15:03:01

I thought you wanted the graphic for on-screen paint, not a banner :/

Home

2012-02-01 15:04:32

From: euphemism
I thought you wanted the graphic for on-screen paint, not a banner :/


Well I did. : ) But.. Scripts doesn't need paint, do they? So I used it as a banner instead. Thanks mate!


~Home

Sin

2012-02-01 15:05:54

Beastbeast. :)

Home

2012-02-01 15:10:37

People please note that I haven't tested this very much. Only couple 2 hour trips.


DO NOT USE WITH CRASH SMART!



~Home

Wetish

2012-02-01 19:15:34

Looks great! Ill have to try it on my main :)

Sirhiro

2012-02-02 01:19:20

Whew, had to suffer through the tutorial and being forced to play a Conflict match so I could enter Siege games. Letting it run now and it's gone through a game no issues, then once the next round started up all the troops stayed in the spawned placement and the debug was outputting that all my troops were attacking the castle, had to manually make them all attack.


Suicide Trips / Hour : 12
Suicide Trips Done : 1
Worked : 4 Minutes and 54 Seconds
Time : 01:14:47 AM

Edit: It also has issues understanding how many credits I have. 10,000 credits appears as empty to it.

Brandon

2012-02-02 01:24:51

Sometimes doesn't move all troops to the wall.. I guess it's because it doesn't know if it clicked the thumb or not..
Sometimes thinks it's out of credits even though I have 500k of them due to the troops already being repaired..
Sometimes does not know when the game is over so the mouse goes crazy instead.. Also every time it moves all troops to the castle, it moves the camera all the way to the water near spawn which I think may be intended.

Home

2012-02-02 01:37:54

From: ggzz
Sometimes doesn't move all troops to the wall.. I guess it's because it doesn't know if it clicked the thumb or not..
Sometimes thinks it's out of credits even though I have 500k of them due to the troops already being repaired..
Sometimes does not know when the game is over so the mouse goes crazy instead.. Also every time it moves all troops to the castle, it moves the camera all the way to the water near spawn which I think may be intended.



1. I will take a look into that.
2. I will take a look into that.
3. It's my lazy ass Antiban :P


Can you Capture whole process into video so I can fix these issues.


~Home

LemonHaze

2012-02-02 04:03:15

nice, I will test it.

Brandon

2012-02-02 04:09:08

From: Home
1. I will take a look into that.
2. I will take a look into that.
3. It's my lazy ass Antiban :P


Can you Capture whole process into video so I can fix these issues.


~Home



I'll try to vid it.. no guarantees though cuz I gotta make a youtube account (Yes probably the only person in the world without one). I gotta catch it in the process. Happened pretty often so it won't really be hard to catch in the process. Just takes a bit of time.. around 2 hrs or so. Got me 80 rank though. Using runechainbody's that is.. and goblins for troops.

SantWrong

2012-02-02 04:41:21

Home saved a lot of my time. Thanks for script.

Matthijsd

2012-02-02 11:24:51

Is it possible to use cannons when @ 26 minutes?

Home

2012-02-02 11:56:45

From: Matthijsd
Is it possible to use cannons when @ 26 minutes?


Nope I still haven't added that. I find it useless :P


~Home

momotron

2012-02-02 12:10:20

\\OHMAGOD

\\trampoline! (anyone get reference?)

This. Is. Amazing. Will be back, with proggy & tell you how it went

How many credits do people invest usually??

——–
All opposing players quit and i got this up after the game:
Script doesn't seem to recognise it


Uploaded with ImageShack.us

nathan lad

2012-02-02 13:44:30

just saw the release will run it soon, might want to add to ure front page that they have to do one game of ma and the tutorial before they can use the bot.

GREEN GIANT

2012-02-02 13:50:22

Runs relatively well for a new script :)
I will say other than the obvious problems, when it runs toward the starting white tent after resupplying recruits, it stands at the side and then has to run around to enter. Looks kinda botty when there are 2 or 3 people all running around the tent.

Home

2012-02-02 14:10:03

Keep all bugs coming!
I will try fix these tomorrow!


~Home

nathan lad

2012-02-02 14:31:44

runnin smooth for nearly an hour will post proogy when stops

oligofren

2012-02-03 00:31:11

it often does not get credits because of insufficient number of commands issued, to get credits it should have at least 10, sometimes it misses some units and they stay inactive, it often fails to attack when it gets north side, south works the best, east and west sides fail too sometimes,

possible solution: rotate and lower camera, thus it will face castle, cycle over all units twice to be sure that over 10 commands issued and lower chances of missed units, missed units are not a problem because if they stay away they might bring 2 credits, and if bot gets stuck legiters will rectify the problem

illuminatiswag

2012-02-03 07:46:28

Whats the best item to invest for points ?

Also why do you say do not use crash smart ? As in no Smart period or do not use the thing that restarts after 6 hours im a noob lol.

onilika

2012-02-03 07:53:48

I tried some junk I had on bank. But I think maples should be fine.
Home says not to use with the crashsmart ( to run more than 6 hours ), because he did not tested more than 2 hours.
The script at moment has some bugs, and will be fixed soon. So, meanwhile, it might crash in some part.

~onilika

illuminatiswag

2012-02-03 08:01:48

So i can use reg Smart right

kingob

2012-02-03 08:14:07

+++++++++++++++++++++++++++++++++++++++++++++++++++++++
Home's Mobilising Armies Suicider 0,1
+++++++++++++++++++++++++++++++++++++++++++++++++++++++
Name : *****
Suicide Trips / Hour : 11
Suicide Trips Done : 15
Worked : 1 Hours, 20 Minutes and 28 Seconds
Time : 01:04:17 PM
-------------------------------------------------------

Ok so first of all thank you for the script Home. To make it more stable I have been making some alterations over the last few days as I have been running it.

First of all I changed the antiban as sometimes it would click on a unit and the script would think the game was over.

Second, I changed the location of the click for walking to the entrance so it walks in front of it instead of beside it as that looked quite bot like.

Third, added log in player lol. Also added a few, if not logged in then log in, failsafes as I found it sometimes randomly logged out for some reason.

Fourth, I changed how it invests credits. This was just personal preference, instead of having it invest X, I just made it click on the box for e.g. 10000 or 1000, which ever one I want to invest.

Bugs:
Sometimes I come back to the computer to find it logged it out with no troops in inventory, I still haven't figured out why that is but think it may be if you log out due to inactivity or something? I dont know but if anybody knows I would love to know.

So thanks for the great script Home :)


*
From: onilika
I tried some junk I had on bank. But I think maples should be fine.
Home says not to use with the crashsmart ( to run more than 6 hours ), because he did not tested more than 2 hours.
The script at moment has some bugs, and will be fixed soon. So, meanwhile, it might crash in some part.

~onilika


I have found mind runes to be the best combination of high buy limit on ge(25000) and price but they have just gone up in price so maybe you will find something better. Look it up on this page. What you are looking for is the highest number in the right most column, but really the seeds dont buy and anything 1 or over is good. Good luck :)

xx blood xx

2012-02-03 08:17:02

i try it for 6 hours but it log out and it stayed in the lobby , it play like one hour then it log out to the lobby and stayed there lie 5 hrs -______-

kingob

2012-02-03 08:22:26

From: xx blood xx
i try it for 6 hours but it log out and it stayed in the lobby , it play like one hour then it log out to the lobby and stayed there lie 5 hrs -______-


Add in some
 if not LoggedIn then
begin
LoginPlayer;
ClickNorth(SRL_ANGLE_HIGH);
end;

failsafes.

Home

2012-02-03 09:00:38

Keep all bugs coming. For logout issue, I have no idea why it comes. I will try do some excessive testing this weekend.

Thanks.

~Home

trials6112

2012-02-03 09:18:03

come on to msn home :)

currently i just messaged you :

onilika

2012-02-03 09:58:05

From: kingob

I have found mind runes to be the best combination of high buy limit on ge(25000) and price but they have just gone up in price so maybe you will find something better. Look it up on this [URL="http://runescape.wikia.com/wiki/Mobilising_Armies/Investments"]page[/URL]. What you are looking for is the highest number in the right most column, but really the seeds dont buy and anything 1 or over is good. Good luck :)


Thanks for the tip :) I really appreciated!

~onilika

l337murd3r

2012-02-03 10:13:34

<3 ur script will post some nice proggies when i get em!

Edit: when none of your units are hurt it thinks your out of credits and logs out

iCURiP

2012-02-03 14:41:43

Oh my, always wanted Imbued rings on my pure, can't wait to try it.

Mink

2012-02-03 15:12:49

THANKS SO MUCH! Perfect for my pure! thank u thank u thank u!

nathan lad

2012-02-03 15:53:47

i find when it exits to the lobby for whatever reason. the script will still run and click on the players profile page repeatedly, opening hundreds of pages. not sure if im the only one who has experianced this. and as some have previously mentioned it walks to the left of the entrance rather than the right, also repeatadly typing the number to invest as apposed to clicking min med max button is abit bot like

quazzymodem

2012-02-03 16:00:12

Thanks for this I will be testing soon, also if anyone wants a good item to use for creds, buy flatpack construction items, there is a flood of them on the market so you can buy for 10%+ under the price! Also its a good excuse to train your con anyway.

kingob

2012-02-03 18:21:30

+++++++++++++++++++++++++++++++++++++++++++++++++++++++
Home's Mobilising Armies Suicider 0,1
+++++++++++++++++++++++++++++++++++++++++++++++++++++++
Name : ******
Suicide Trips / Hour : 10
Suicide Trips Done : 95
Worked : 8 Hours, 44 Minutes and 25 Seconds
Time : 11:00:10 PM
-------------------------------------------------------


Lol epic proggy, I manually logged out after 4 hours for a few mins so thats how I missed the six hour timer!

illuminatiswag

2012-02-03 19:59:22

Damit it only does the second option i never played MA so got to do a game myself and can never get into one lolol

Edit: ok running now says out of credits so i just removed that from script so even if i really am out of credits wont log me out got way more then enough credits about 188k also the more points i gamble or what ever you want to call it is it faster ranking ?

Edit: now when it goes to resupply just logs out any temp fixes to avoid checking if enough credits ?

1Cexyranged1

2012-02-03 23:20:19

trying not to be a noob here but how do I DL and start using this?

illuminatiswag

2012-02-03 23:27:08

From: 1Cexyranged1
trying not to be a noob here but how do I DL and start using this?


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

illuminatiswag

2012-02-04 00:13:02

Any reason why my script atks castle then just moves camera to water and sits there sometimes till games over and also spams over right corner where it shows time remaining looks very bot like

Home

2012-02-04 05:45:16

From: illuminatiswag
Any reason why my script atks castle then just moves camera to water and sits there sometimes till games over and also spams over right corner where it shows time remaining looks very bot like


It's because of my lazy ass antiban :P


~Home

nathan lad

2012-02-04 05:59:14

mind runes, body runes, willow logs and oak shortbow (u). are all cheap and can be bought in bulk easily on ge

GREEN GIANT

2012-02-04 07:18:03

Bugs I've experienced so far include:
-Not gained points because it didnt issue enough commands
-Selecting a unit but not attacking wall because the camera has moved to far over and so cannot find the wall.
-Failing to recognize units are depleted / failing to replenish
-Running battle plans outside the battlefield, resulting in a logout
-Clicking repeatedly on the message centre once logged out.

kingob

2012-02-04 07:26:36

From: GREEN GIANT
Bugs I've experienced so far include:
1 Not gained points because it didnt issue enough commands
2 Selecting a unit but not attacking wall because the camera has moved to far over and so cannot find the wall.
3 Failing to recognize units are depleted / failing to replenish
4 Running battle plans outside the battlefield, resulting in a logout
5 Clicking repeatedly on the message centre once logged out.



I have to say that I have not really experienced bugs 1,2 or 3. Maybe its your network connection? Do you lag a lot at MA because its so crowded?

Could you explain what you mean for number 4 and 5?

Ironduke

2012-02-04 07:40:21

Nice work, I'll have to try it out.

GREEN GIANT

2012-02-04 07:49:18

From: kingob
I have to say that I have not really experienced bugs 1,2 or 3. Maybe its your network connection? Do you lag a lot at MA because its so crowded?

Could you explain what you mean for number 4 and 5?


Well 1 ties in directly with 2, i'v been watching it run and sometimes it only moves the camera 2 movements towards the wall and therefore cannot find it resulting in it not doing anything for the rest of the game other than looking for the wall. This means it wont have issued enough commands to gain a rank.
I haven't witnessed 3 other than coming back to find myself logged out and my units dead in the inventory.
4 and 5 also tie in together as sometimes it logs out but thinks its still running battle plans so clicks around the log in page looking for the wall etc

tommyashcroft

2012-02-04 11:11:45

Im sitting at entrance with my armies/special units and my character isnt doing anything? It wont fill in my username/pw so I had to do that manually also, any ideas of a fix?

kingob

2012-02-04 11:33:14

From: tommyashcroft
Im sitting at entrance with my armies/special units and my character isnt doing anything? It wont fill in my username/pw so I had to do that manually also, any ideas of a fix?


It does not use special units only light infantry.

Are you in world 76?
Have you fully filled out the declare players form?
Do you have fixed screen, safe mode, lowest detail, highest brightness?

Go down to the very bottom of the script and replace your entire main loop with this
begin
Smart_Server := 76;
Smart_Members := True;
Smart_Signed := True;
Smart_SuperDetail := False;
SetupSRL;
DeclarePlayers;
ClearDebug;
LogInPlayer;
SDebug('Welcome To Home''s MA!');
MakeCompass('N');
If Not InBattle then SetAngle(SRL_ANGLE_HIGH);
repeat
if not LoggedIn then
begin
LoginPlayer;
ClickNorth(SRL_ANGLE_HIGH);
end;
Walk('Entrance');
GetIn;
WaitRoom;
MobiliseArmy;
WhileInBattle;
If FindLadders then
Inc(Players[CurrentPlayer].Integers[2]);
Walk('ReSupply');
ReSupply;
Walk('Entrance');
ProgressReport;
until(False);
end.

That will log your player in and also walk to the entrance at the start.

tommyashcroft

2012-02-04 11:40:31

From: kingob
It does not use special units only light infantry.

Are you in world 76?
Have you fully filled out the declare players form?
Do you have fixed screen, safe mode, lowest detail, highest brightness?

Go down to the very bottom of the script and replace your entire main loop with this
begin
Smart_Server := 76;
Smart_Members := True;
Smart_Signed := True;
Smart_SuperDetail := False;
SetupSRL;
DeclarePlayers;
ClearDebug;
LogInPlayer;
SDebug('Welcome To Home''s MA!');
MakeCompass('N');
If Not InBattle then SetAngle(SRL_ANGLE_HIGH);
repeat
if not LoggedIn then
begin
LoginPlayer;
ClickNorth(SRL_ANGLE_HIGH);
end;
Walk('Entrance');
GetIn;
WaitRoom;
MobiliseArmy;
WhileInBattle;
If FindLadders then
Inc(Players[CurrentPlayer].Integers[2]);
Walk('ReSupply');
ReSupply;
Walk('Entrance');
ProgressReport;
until(False);
end.

That will log your player in and also walk to the entrance at the start.



World 76, check.
Fully filled out Declare Players form
All of those screen details are the same

Just ran script again after using that code, it logged into W139 so I relogged to W76. Seems to be working right now so thank-you.

Also: Anyone know which is a decent item to invest in?

kingob

2012-02-04 11:45:42

From: kingob

*
I have found mind runes to be the best combination of high buy limit on ge(25000) and price but they have just gone up in price so maybe you will find something better. Look it up on this page. What you are looking for is the highest number in the right most column, but really the seeds dont buy and anything 1 or over is good. Good luck :)


Although prices have risen slightly in the last few days. I wonder why :frusty:

tommyashcroft

2012-02-04 12:21:53

IS their anti-leech on this?

Edit: For me sometimes it will attack the castle and sometimes not. It will cycle through each army and act like its about to attack but will not, and other times it just attacks the chance of it attacking is 50/50. Is their two different methods of attacking? Just babysat it for a few minutes watching games and noticed that when it doesnt attack, it does not move the camera to show the castle to click on it, whereas when it does attack its because the camera is moved to be able to click on the castle. Hope this helps.

onilika

2012-02-04 15:36:07

It's a way to avoid leecher :D

tommyashcroft

2012-02-04 15:36:44

From: onilika
It's a way to avoid leecher :D


What is~?

momotron

2012-02-04 15:55:17

When you dc out of a game, you lose all your troops, so you have to manually buy new ones ;P nice if script did this!
Cheers for the great script!

onilika

2012-02-04 15:58:11

From: tommyashcroft
What is~?


It doesn't logs you in automatically. You have to add something..

tommyashcroft

2012-02-04 16:51:33

Ahhh I understand. Are you by any chance having the same problem as me where in it only moves the camera to the castle to attack every so often, rather than every game ?

kingob

2012-02-04 17:15:00

From: tommyashcroft
Ahhh I understand. Are you by any chance having the same problem as me where in it only moves the camera to the castle to attack every so often, rather than every game ?



I have not had this happen to me, maybe its some lag that you have that is messing up the script?

This script is very sensitive to lag because of the lack of failsafes( add them in yourself ), so you should bring the slider, to the right of the smart client, all the way to the top. I also put my simba process running at a High priority in task manager to try and reduce lag.

John

2012-02-04 17:41:31

First minigame in this section for a while, Good Job

illuminatiswag

2012-02-04 23:03:23

Running better then yesterday :o

kingob

2012-02-05 08:18:41

Got 300 rank yesterday and imbued the rings I need :spot:! Thanks so much Home!


This is what I changed my anti ban to as people were saying they were having problems with it
procedure AntiBan;
var r: Integer;
begin
if not LoggedIn then Exit;
r := (RandomRange(1, 14));
if (r = 4) then
begin
SDebug('AntiBan');
case Random(25) of
0:
begin
SDebug('AntiBan 0')
TypeByte(112)
end;
1:
begin
SDebug('AntiBan 1')
TypeByte(113)
Wait(RandomRange(100, 200))
TypeByte(112)
end;

2:
begin
SDebug('AntiBan 2')
TypeByte(112)
Wait(RandomRange(100, 200))
TypeByte(113)
Wait(RandomRange(100, 200))
TypeByte(112)
end;

3:
begin
SDebug('AntiBan 3')
MMouse(MMX1, MMY1, MMX2, MMY2)
end;

4:
begin
SDebug('AntiBan 4')
TypeByte(37)
Wait(RandomRange(400, 600))
TypeByte(39)
end;

5:
begin
SDebug('AntiBan 5')
TypeByte(38)
Wait(RandomRange(400, 600))
TypeByte(40)
end;

6:
begin
SDebug('AntiBan 6')
TypeByte(39)
Wait(RandomRange(400, 600))
TypeByte(37)
end;

7:
begin
SDebug('AntiBan 7')
TypeByte(40)
Wait(RandomRange(400, 600))
TypeByte(38)
end;
end;
SDebug('Sleeping..');
end;
end;

You are free to just use that in the script if you want Home. Again thanks so much :)

illuminatiswag

2012-02-05 09:46:07

Ok i have a question how do i rank up faster betting more points ? or ?

kingob

2012-02-05 10:05:56

From: illuminatiswag
Ok i have a question how do i rank up faster betting more points ? or ?

:google: http://runescape.wikia.com/wiki/Mobilising_armies#Ranking_points

took 5 seconds

illuminatiswag

2012-02-05 10:11:36

From: kingob
:google: http://runescape.wikia.com/wiki/Mobilising_armies#Ranking_points

took 5 seconds


:f: You

stu

2012-02-05 12:43:03

it always just types "0" into the investment no matter what i tell it to invest. is this anti-leech or a bug?

Whatmatters

2012-02-05 14:34:36

My walk from the resupply to the entrance usually lands it in an awkward position to the left of the entrance. (botter position!) Lol at all the suspicion of anti-leech measures.

Line 665 adjusted lands it to the top more often for me.

Mouse(LadderPoint.X + 5, LadderPoint.Y, 2, 2, mouse_Left);

Other things Suggestions/Bugs (may be repeating others):
- Fail-safe detecting having entered the lobby. Sometimes it is just standing in front of the tent thinking it joined.
- Fail-safe detecting if the squads weren't repaired.
- Fail-safe squads not having moved (this one seems a bit more difficult, but it's also a bit less frequent).

The script is dang nifty though. I had to help it a few times in this proggy, but other than that.

+++++++++++++++++++++++++++++++++++++++++++++++++++++++
Home's Mobilising Armies Suicider 0,1
+++++++++++++++++++++++++++++++++++++++++++++++++++++++
Name : [email]ThisIsMyMail@yahoo.com[/email] //Not such a true story
Suicide Trips / Hour : 10
Suicide Trips Done : 24
Worked : 2 Hours, 16 Minutes and 53 Seconds
Time : 09:51:49 PM
——————————————————-

lncreased

2012-02-05 15:15:04

The only bug I have experienced so far is when it is in the lobby it spams the messages folder, woke up this morning with a few hundred tabs open :L

EDIT: I have no idea how it got into lobby in the first place as I was asleep.

Whatmatters

2012-02-06 23:59:41

Wewt…. Berserker Ring is finally enchanted.


Thanks Home.

I Bot Phats

2012-02-07 00:08:08

very nice script, will test it out when I get a chance!

lncreased

2012-02-07 04:20:07

Very useful script but sometimes it changes world, I'm not sure why it's doing this or what is causing it as I don't have time to watch the bot until it does this. It usually stop after running for 1:20. I have seen it says not to use CRASH Smart, what is this?

hader dem2

2012-02-07 16:37:24

its not that good have problem's with at it not all time want to att so that need to be make better

illuminatiswag

2012-02-07 20:59:11

Damn me i was betting 100 investment the whole time now i get to 287 rank almost 300 and cant get a ring lmao so now im betting 15k a game untill like 500 rank to have enough for archer ring and zerk ring

Edit: NVM take that back took only about 11 extra trips at 15k bets got my imbued ring and 301 rank ;p Thank you very much Home

Jim

2012-02-07 23:59:33

Do you get randoms at mobilising armies?

illuminatiswag

2012-02-08 08:45:32

From: Liimujx
Do you get randoms at mobilising armies?


I didnt get a single one these past few days i was there

Ziggily

2012-02-08 13:29:58

I also finally got rank 300 on my skiller. Thank you so much for your work on this bot :D

Jim

2012-02-08 20:06:01

Only major problem is that sometimes it misclicks/forgets and 1 of the squads stays at the spawn point

and randomly logs out sometimes and doesn't do anything if it wins.

lncreased

2012-02-09 11:50:30

I think I just spent about 6 hours in the wrong world clicking the start thing after I manually entered W76 and watched it play one game. Why does it keep doing this?

momotron

2012-02-09 13:19:36

From: lncreased
I think I just spent about 6 hours in the wrong world clicking the start thing after I manually entered W76 and watched it play one game. Why does it keep doing this?


To get complacent noobs like you banned!

jesse63

2012-02-09 14:38:36

The script runs really well, up to the point ->


[05:33:45 AM] - Debug: Troop 4 Attack!
[05:33:48 AM] - Debug: Troop 5 Attack!
[05:33:53 AM] - Debug: Troop 6 Attack!
[05:33:56 AM] - Debug: Troop 7 Attack!
[05:34:01 AM] - Debug: Troop 8 Attack!
[05:34:04 AM] - Debug: Troop 9 Attack!
[05:34:10 AM] - Debug: All Troops Are Attacking Castle

It leave the 10th troop alone. unsure why



Ran four times over an hour, on average i came out with this:

Name : xxxxxxxxxxxxxxxxxx
Suicide Trips / Hour : 3
Suicide Trips Done : 1
Worked : 17 Minutes and 22 Seconds
Time : 06:30:43 AM


it keeps skipping unit's, so it dosent do at least 10 commands (requirement to get a rank.)


also, if spawned as green team, it will select each troop, press attack the wall. but clicks where the team status icon is, (the overlay on top of wall attack option) so it just afk's

g e r bi l

2012-02-09 18:27:45

its working well for me so far, except sometimes it pans all the way over to the ocean and sits there trying to click in the water

Swagger

2012-02-09 18:40:24

Doubt I'll even use this script as I have 0 knowledge how MA works, but if you want a free 5m* PM me. We can meet in game sometime.

*I know it isn't a lot but it's all I have atm -.^. Some extra playing cash is always nice.

werder

2012-02-10 13:39:12

home! its as amazing as you

NotReligious

2012-02-10 14:57:34

Wow. Seems to be a really impressive script.

werder

2012-02-10 15:22:52

started well but after 14 ranks it started bugging, im front of tent and it doesnt go in? fix please

werder

2012-02-10 15:26:42

From: jesse63
The script runs really well, up to the point ->


[05:33:45 AM] - Debug: Troop 4 Attack!
[05:33:48 AM] - Debug: Troop 5 Attack!
[05:33:53 AM] - Debug: Troop 6 Attack!
[05:33:56 AM] - Debug: Troop 7 Attack!
[05:34:01 AM] - Debug: Troop 8 Attack!
[05:34:04 AM] - Debug: Troop 9 Attack!
[05:34:10 AM] - Debug: All Troops Are Attacking Castle

It leave the 10th troop alone. unsure why



It leave the 10th troop alone. <—- i think thats meant to. it's one ma tactic to leave 1 troop to stand there so you mite get 2 ranks from 1 game unwhile evry1 else's suicides.

Turmoil

2012-02-10 21:08:14

Some1 skype me about this need help badly complete.warfare thanks guys !!!

jesse63

2012-02-11 20:28:51

From: werder
From: jesse63
The script runs really well, up to the point ->


[05:33:45 AM] - Debug: Troop 4 Attack!
[05:33:48 AM] - Debug: Troop 5 Attack!
[05:33:53 AM] - Debug: Troop 6 Attack!
[05:33:56 AM] - Debug: Troop 7 Attack!
[05:34:01 AM] - Debug: Troop 8 Attack!
[05:34:04 AM] - Debug: Troop 9 Attack!
[05:34:10 AM] - Debug: All Troops Are Attacking Castle

It leave the 10th troop alone. unsure why



It leave the 10th troop alone. <—- i think thats meant to. it's one ma tactic to leave 1 troop to stand there so you mite get 2 ranks from 1 game unwhile evry1 else's suicides.


That makes only 9-11 action, not enough to gain a rank. even if you win, you will get "not enough actions performed"

ernestthechicken

2012-02-12 16:43:49

it doesnt autologin for me :-(

Home

2012-02-12 16:52:36

From: ernestthechicken
it doesnt autologin for me :-(


I know :P Read my instructions.


And little update for people.. I will update this when I have enough time.

Pretty much core is working. Simple bugs. Simple fixes. Help yourself out here.

Post your versions in this thread :)


~Home

werder

2012-02-13 12:37:41

- DO NOT USE WITH CRASH SMART!

what that means?

and ist normal it stops playing and logs out after 10-11 games?

illuminatiswag

2012-02-13 19:49:30

From: werder
- DO NOT USE WITH CRASH SMART!

what that means?

and ist normal it stops playing and logs out after 10-11 games?


Crash smart is something to restart client after 6 hours and continue botting and yes it is normal for it to stop after few games as it hasnt been updated since release hell get to it eventually

Home

2012-02-14 15:14:47

All my focus currently goes to SoulWars script. It's pretty huge job, yet I wan't it to be perfect. This little project goes on hold.

You can freely update this script and post modified versions in this thread.

Thanks.


~Home

Sherk n nemo

2012-02-14 19:00:24

When i start the script after putting my information in. it just clicks the login screenand goes

It just like starts going. without logging in or anything =0

[06:59:31 PM] - Debug: Searching Army Location
[06:59:31 PM] - Debug: Moving To Castle
[06:59:31 PM] - Debug: All Troops Are Attacking Castle
[06:59:31 PM] - Debug: Sleeping..
[06:59:31 PM] - Debug: Closing Result Screen
[06:59:32 PM] - Debug: Closing Result Screen
[06:59:33 PM] - Debug: Finding MainScreen Ladders
[06:59:37 PM] - Debug: Walking To ReSupply
[06:59:40 PM] - Debug: Walking To Entrance
+++++++++++++++++++++++++++++++++++++++++++++++++++++++
Home's Mobilising Armies Suicider 0,1
+++++++++++++++++++++++++++++++++++++++++++++++++++++++

illuminatiswag

2012-02-15 00:27:51

From: Home
All my focus currently goes to SoulWars script. It's pretty huge job, yet I wan't it to be perfect. This little project goes on hold.

You can freely update this script and post modified versions in this thread.

Thanks.


~Home


Like i said hell get to it EVENTUALLY :D Gl on SW script ill be first one buying when you start selling on Sythe :D

aruder

2012-02-17 00:08:38

so i have a bug when it has investments still it says out of investments and logs out so?

aruder

2012-02-17 00:12:56

so will disabling debug help me for this problem im going to test it anyways lol

aruder

2012-02-17 13:14:13

[08:23:50 AM] - Debug: Welcome To Home's MA!
[08:23:53 AM] - Debug: Finding Entrance
[08:23:58 AM] - Debug: Found Entrance
[08:24:03 AM] - Debug: Investing 10000 Points
[08:24:06 AM] - Debug: In Waiting Room
[08:24:11 AM] - Debug: At War
[08:24:11 AM] - Debug: Searching Army Location
[08:24:11 AM] - Debug: Location Is S
[08:24:11 AM] - Debug: Moving To Castle
[08:24:11 AM] - Debug: We Need 3 Moves
[08:24:12 AM] - Debug: Moved Succesfully
[08:24:14 AM] - Debug: Troop 0 Attack!
[08:24:16 AM] - Debug: Troop 1 Attack!
[08:24:19 AM] - Debug: Troop 2 Attack!
[08:24:21 AM] - Debug: Troop 3 Attack!
[08:24:24 AM] - Debug: Troop 4 Attack!
[08:24:26 AM] - Debug: Troop 5 Attack!
[08:24:31 AM] - Debug: Troop 6 Attack!
[08:24:33 AM] - Debug: Troop 7 Attack!
[08:24:36 AM] - Debug: Troop 8 Attack!
[08:24:39 AM] - Debug: Troop 9 Attack!
[08:24:43 AM] - Debug: All Troops Are Attacking Castle
[08:24:43 AM] - Debug: Sleeping..
[08:24:50 AM] - Debug: AntiBan
[08:24:50 AM] - Debug: Sleeping..
[08:25:39 AM] - Debug: AntiBan
[08:25:40 AM] - Debug: Sleeping..
[08:26:04 AM] - Debug: AntiBan
[08:26:04 AM] - Debug: Sleeping..
[08:26:17 AM] - Debug: AntiBan
[08:26:31 AM] - Debug: Sleeping..
[08:26:49 AM] - Debug: AntiBan
[08:26:49 AM] - Debug: Sleeping..
[08:26:53 AM] - Debug: AntiBan
[08:26:53 AM] - Debug: Sleeping..
[08:27:50 AM] - Debug: AntiBan
[08:27:51 AM] - Debug: Sleeping..
[08:28:39 AM] - Debug: AntiBan
[08:28:53 AM] - Debug: Sleeping..
[08:28:56 AM] - Debug: AntiBan
[08:28:56 AM] - Debug: Sleeping..
[08:29:04 AM] - Debug: AntiBan
[08:29:04 AM] - Debug: Sleeping..
[08:29:20 AM] - Debug: War Is Over!
[08:29:20 AM] - Debug: Closing Result Screen
[08:29:21 AM] - Debug: Closing Result Screen
[08:29:22 AM] - Debug: Finding MainScreen Ladders
[08:29:27 AM] - Debug: Found Ladders
[08:29:28 AM] - Debug: Walking To ReSupply
[08:29:43 AM] - Debug: Walking To Entrance
+++++++++++++++++++++++++++++++++++++++++++++++++++++++
Home's Mobilising Armies Suicider 0,1
+++++++++++++++++++++++++++++++++++++++++++++++++++++++
Name :
Suicide Trips / Hour : 10
Suicide Trips Done : 1
Worked : 5 Minutes and 58 Seconds
Time : 08:29:49 AM
——————————————————-

[08:29:49 AM] - Debug: Finding Entrance
[08:29:56 AM] - Debug: Found Entrance
[08:30:00 AM] - Debug: Investing 10000 Points
[08:30:03 AM] - Debug: In Waiting Room
[08:30:11 AM] - Debug: At War
[08:30:11 AM] - Debug: Searching Army Location
[08:30:11 AM] - Debug: Location Is S
[08:30:11 AM] - Debug: Moving To Castle
[08:30:11 AM] - Debug: We Need 3 Moves
[08:30:12 AM] - Debug: Moved Succesfully
[08:30:14 AM] - Debug: Troop 0 Attack!
[08:30:16 AM] - Debug: Troop 1 Attack!
[08:30:19 AM] - Debug: Troop 2 Attack!
[08:30:23 AM] - Debug: Troop 3 Attack!
[08:30:26 AM] - Debug: Troop 4 Attack!
[08:30:28 AM] - Debug: Troop 5 Attack!
[08:30:31 AM] - Debug: Troop 6 Attack!
[08:30:33 AM] - Debug: Troop 7 Attack!
[08:30:37 AM] - Debug: Troop 8 Attack!
[08:30:39 AM] - Debug: Troop 9 Attack!
[08:30:42 AM] - Debug: All Troops Are Attacking Castle
[08:30:42 AM] - Debug: Sleeping..
[08:31:03 AM] - Debug: AntiBan
[08:31:03 AM] - Debug: Sleeping..
[08:31:07 AM] - Debug: AntiBan
[08:31:07 AM] - Debug: Sleeping..
[08:31:30 AM] - Debug: AntiBan
[08:31:30 AM] - Debug: Sleeping..
[08:32:33 AM] - Debug: AntiBan
[08:32:34 AM] - Debug: Sleeping..
[08:33:24 AM] - Debug: War Is Over!
[08:33:24 AM] - Debug: Closing Result Screen
[08:33:25 AM] - Debug: Closing Result Screen
[08:33:26 AM] - Debug: Finding MainScreen Ladders
[08:33:31 AM] - Debug: Found Ladders
[08:33:32 AM] - Debug: Walking To ReSupply
[08:33:44 AM] - Debug: Walking To Entrance
+++++++++++++++++++++++++++++++++++++++++++++++++++++++
Home's Mobilising Armies Suicider 0,1
+++++++++++++++++++++++++++++++++++++++++++++++++++++++
Name :
Suicide Trips / Hour : 12
Suicide Trips Done : 2
Worked : 9 Minutes and 59 Seconds
Time : 08:33:51 AM
——————————————————-

[08:33:52 AM] - Debug: Finding Entrance
[08:35:01 AM] - Debug: In Waiting Room
[08:40:02 AM] - Debug: Searching Army Location
[08:40:02 AM] - Debug: Moving To Castle
[08:40:04 AM] - Debug: All Troops Are Attacking Castle
[08:40:04 AM] - Debug: Sleeping..
[08:40:08 AM] - Debug: War Is Over!
[08:40:08 AM] - Debug: Closing Result Screen
[08:40:10 AM] - Debug: Closing Result Screen
[08:40:11 AM] - Debug: Finding MainScreen Ladders
[08:40:12 AM] - Debug: Found Ladders
[08:40:14 AM] - Debug: Walking To ReSupply
[08:40:32 AM] - Debug: Out Of Credits. Logging Out.

aruder

2012-02-17 13:15:19

yeah when i have 400k credits left its says out so what is wrong??

oxox0xoxo

2012-02-20 21:52:18

great script thanks helps a lot =]

werder

2012-02-21 05:25:23

From: oxox0xoxo
great script thanks helps a lot =]


works for you? not for me, logs out after 3-4 games

momotron

2012-02-27 09:44:09

From: werder
works for you? not for me, logs out after 3-4 games


Werder that's why you have to babysit… it isn't hard to log it back in every 25 mins or so.

Hessel

2012-02-27 20:06:09

Nice script, some problems with contracts :o

seedweed

2012-02-27 20:46:19

From: Home
1. I will take a look into that.
2. I will take a look into that.
3. It's my lazy ass Antiban :P


Can you Capture whole process into video so I can fix these issues.


~Home


just wondeirn if u have fixed it yet could u pm me please if theer is a solution

werder

2012-02-28 10:14:09

From: momotron
Werder that's why you have to babysit… it isn't hard to log it back in every 25 mins or so.


well yes i can babysit every couple hours but not evry 10 minutes because that aint botting than.

bobowns

2012-02-29 17:58:05

runs for an hour then somehow deletes all of the contracts and logs out :(

petter95

2012-02-29 21:16:14

How do i make it do more than 5 games before logging out.. and saying like out of credits.. when i got 400k creds left.. ? please help

Kajutsky

2012-03-02 05:42:37

From: petter95
How do i make it do more than 5 games before logging out.. and saying like out of credits.. when i got 400k creds left.. ? please help


not sure as i haven't managed to finsish the tutorial for the mini-game (ITS HARD!)

plekter

2012-03-03 11:59:21

Lovely script. Had some issues with stability but all-in-all, I got rank 300 in few days!

It sometimes made 2-3 games before crashing and one time I got it close to 20 IIRC.

Braiden

2012-03-04 06:01:58

Okay so basically the problem is:

The bot wins a match and no units are lost, it then goes to do its routine and resupply all of them. When it goes to do this, it thinks there is no credits because the units are already supplied.

Another problem is that the bot sometimes forgets to attack the castle before sleeping. After it does this is drifts off to the middle of no-where and leaves the units to do nothing, then it leads to bigger problems such as shutting down.

Hope this helps and makes more sense of what other people are saying.

teamemb99

2012-03-04 16:23:13

From: Braiden
Okay so basically the problem is:

The bot wins a match and no units are lost, it then goes to do its routine and resupply all of them. When it goes to do this, it thinks there is no credits because the units are already supplied.

Another problem is that the bot sometimes forgets to attack the castle before sleeping. After it does this is drifts off to the middle of no-where and leaves the units to do nothing, then it leads to bigger problems such as shutting down.

Hope this helps and makes more sense of what other people are saying.


yeah i have these problems aswell my longest proggy is like 15 mins

dzdizzy

2012-03-06 10:11:32

I'm pressing run on the .simba, i'm getting this error

[Error] (363:8): Unknown identifier 'PercentBlackMM' at line 362
Compiling failed.

Kave

2012-03-06 10:33:59

<3 you Home.


Snowflak

2012-03-06 20:07:10

Try this guys

{$I SRL/SRL.simba}



var
Sst: Integer;
Ver: string;


procedure DeclarePlayers;
begin

HowManyPlayers := 4; //How many players in the script. (No Need To Touch. For Those Players What You Don't Wan't To Use Put Active := False;)
CurrentPlayer := 0; //Current player in the Players array.
NumberOfPlayers(HowManyPlayers); //Don't change.

with Players[0] do
begin
Name := ''; {Player Username}
Pass := ''; {Player Password}
Pin := ''; {Player Bank Pin}

Integers[20] := 10; {How Much Invest Per Suicide}

Active := True; {Use This Player?}

end;
end;







procedure SDebug(Debug: string);
begin
Writeln('[' + TheTime + '] - ' + 'Debug: ' + Debug);
end;




function ScenarioScreen :Boolean;
begin
Result := CountColorTolerance(2071039, 20, 29, 474, 47, 20) > 250;
end;


function SiegeScreen :Boolean;
begin
Result := CountColorTolerance(2071039, 20, 29, 474, 47, 20) > 400;
end;


function RecruitScreen :Boolean;
begin
Result := CountColorTolerance(2071039, 21, 14, 466, 34, 20) > 100;
end;


function InvestmentScreen :Boolean;
begin
Result := CountColorTolerance(3512831, 279, 58, 481, 77, 20) > 300;
end;


function FindRecruiter :Boolean;
var
TPA: TPointArray;
aTPA : T2DPointArray;
MiddlePoint :TPoint;
Hi, I, TempCTS :Integer;
begin
Flag;
while IsMoving do Wait(RandomRange(100, 250));
TempCTS := GetColorToleranceSpeed;
ColorToleranceSpeed(2);
SetColorSpeed2Modifiers(0.04, 0.29);

FindColorsSpiralTolerance(MSCX, MSCY, TPA, 7492688, MSX1, MSY1, MSX2, MSY2, 19);
If Length(TPA) = 0 Then Exit;
aTPA := TPAToATPAEx(TPA, 5, 5);
SortATPAFromFirstPoint(aTPA, Point(MSCX, MSCY));
Hi := Length(aTPA);
for I := 0 to Hi - 1 do
begin
MiddlePoint := MiddleTPA(aTPA);
MMouse(MiddlePoint.X, MiddlePoint.Y, 2, 2);
If WaitUpTextMulti(['Recr', 'ecru', 'uiter'], 150) then
begin
ClickMouse2(Mouse_Right);
If WaitOptionMulti(['Manage', 'anage', 'nage'], 350) then
begin
Flag;
Result := WaitFunc(@RecruitScreen, RandomRange(100, 250), 3500);
If Result then
Break;
end;
end;
end;
ColorToleranceSpeed(TempCTS);
SetColorSpeed2Modifiers(0.2, 0.2);
end;




function FindEntrance :Boolean;
var
TPA: TPointArray;
aTPA : T2DPointArray;
MiddlePoint :TPoint;
Hi, I, TempCTS :Integer;
begin
Flag;
SDebug('Finding Entrance');
TempCTS := GetColorToleranceSpeed;
ColorToleranceSpeed(2);
SetColorSpeed2Modifiers(0.10, 2.78);

FindColorsSpiralTolerance(MSCX, MSCY, TPA, 11327460, MSX1, MSY1, MSX2, MSY2, 14);
If Length(TPA) = 0 Then Exit;
aTPA := TPAToATPAEx(TPA, 5, 5);
SortATPASize(aTPA, True);
Hi := Length(aTPA);
for I := 0 to Hi - 1 do
begin
If Length(aTPA) > 100 then Continue;
MiddlePoint := MiddleTPA(aTPA);
MMouse(MiddlePoint.X, MiddlePoint.Y, 2, 2);
If WaitUpTextMulti(['limb', 'room', 'rance'], 150) then
begin
ClickMouse2(Mouse_Right);
If WaitOptionMulti(['limb', 'Cli', 'own', 'Dow'], 350) then
begin
Flag;
Result := WaitFunc(@ScenarioScreen, RandomRange(100, 250), 5500);
If Result then
Break;
end;
end;
end;
ColorToleranceSpeed(TempCTS);
SetColorSpeed2Modifiers(0.2, 0.2);
end;






function FindWall(SP :TPoint) :Boolean;
var
TPA: TPointArray;
aTPA : T2DPointArray;
MiddlePoint :TPoint;
Hi, I, TempCTS :Integer;
begin
MMouse(SP.X, SP.Y, 5, 5);
If WaitUpTextMulti(['Castle', 'astle', 'sle', 'wall'], 250) then
begin
ClickMouse2(Mouse_Right);
If WaitOptionMulti(['ttack C', 'ack Ca'], 350) then
begin
Result := True
Exit;
end;
end;
TempCTS := GetColorToleranceSpeed;
ColorToleranceSpeed(2);
SetColorSpeed2Modifiers(0.05, 0.58);

FindColorsSpiralTolerance(MSCX, MSCY, TPA, 9544365, MSX1, MSY1, MSX2, MSY2, 14);
If Length(TPA) = 0 Then Exit;
aTPA := TPAToATPAEx(TPA, 40, 40);
SortATPAFromFirstPoint(aTPA, SP);
Hi := Length(aTPA);
for I := 0 to Hi - 1 do
begin
MiddlePoint := MiddleTPA(aTPA);
MMouse(MiddlePoint.X, MiddlePoint.Y, 0, 0);
If WaitUpTextMulti(['Castle', 'astle', 'sle', 'wall'], 150) then
begin
ClickMouse2(Mouse_Right);
If WaitOptionMulti(['ttack C', 'ack Ca'], 350) then
begin
Result := True
Break;
end;
end;
end;
ColorToleranceSpeed(TempCTS);
SetColorSpeed2Modifiers(0.2, 0.2);
end;




//North = Blue.
//South = Red.
//East = Yellow.
//West Green.

function GetArmyLocation(var Dir : Integer; var StartPoint :TPoint) : String;
var
DirArr, Colors :TIntegerArray;
I :Integer;
Loc :TStringArray;
TPA :TPointArray;
begin
SDebug('Searching Army Location');
Loc := ['W', 'S', 'E', 'N'];

{Green = 297 Red = 280 Yellow = 280 Blue 270}
Colors := [441136, 592313, 567264, 13504519]

{0 = Up 1 = Right 2 = Down, 3 = Left}
DirArr := [1, 0, 3, 2];

TPA := [Point(359, 117), Point(244, 140), Point(185, 134), Point(280, 220)]

for I := 0 to 3 do
If CountColorTolerance(Colors, MCX1, MCY1, MCX2, MCY2, 20) > 100 then
begin
Dir := DirArr;
StartPoint := TPA;
Result := Loc;
SDebug('Location Is ' + Result);
Exit;
end;
end;



function MoveToCastle(var SP :TPoint) :String;
var
Loc :String;
Dir, I, C :Integer;
StartPoint :TPoint;
begin
Loc := GetArmyLocation(Dir, StartPoint);
SDebug('Moving To Castle ' + Result);

If Loc = '' then Exit;

If (Loc = 'E') or (Loc = 'W') then
C := 1
else
C := 2;
SDebug('We Need ' + IntToStr(C + 1) + ' Moves');

for I := 0 to C do
SendArrowWait(Dir, RandomRange(250, 350));

SP := StartPoint;
Result := Loc;
SDebug('Moved Succesfully');
Wait(RandomRange(2000, 3500));
end;


function TroopsTab :Boolean;
var
TPA :TPointArray;
begin
ColorToleranceSpeed(2);
SetColorSpeed2Modifiers(0.02, 0.70);
FindColorsTolerance(TPA, 8762062, MIX1, MIY1, MIX2, MIY2, 14);
Result := Length(TPA) > 150;
ColorToleranceSpeed(1);
SetColorSpeed2Modifiers(0.2, 0.2);
end;


function NotTroopsTab :Boolean;
begin
Result := not TroopsTab;
end;



function WaitTroopsTab(Time :Integer) :Boolean;
var
T :Integer;
begin
If TroopsTab then
begin
Result := True;
Exit;
end;

MarkTime(T);
while (TimeFromMark(T) < Time) do
begin
If Not LoggedIn then Exit;
TypeByte(112);
Wait(RandomRange(250, 355));
if TroopsTab then
begin
Result := True;
Break;
end;
end;
end;







procedure MobiliseArmy;
var
Loc :String;
TPA :TPointArray;
aTPA :T2DPointArray;
MiddlePoint, StartPoint :TPoint;
I, Hi :Integer;
begin
Loc := MoveToCastle(StartPoint);
WaitTroopsTab(RandomRange(1500, 2500));
ColorToleranceSpeed(2);
SetColorSpeed2Modifiers(0.02, 0.70);

FindColorsTolerance(TPA, 8762062, MIX1, MIY1, MIX2, MIY2, 14);
If Length(TPA) <> 0 then
begin
aTPA := TPAtoATPAEx(TPA, 10, 10)

Hi := Length(aTPA);
for I := 0 to Hi - 1 do
begin
SDebug('Troop ' + IntToStr(I) + ' Attack!');
WaitTroopsTab(RandomRange(1500, 2500));
MiddlePoint := MiddleTPA(aTPA);
Mouse(MiddlePoint.X, MiddlePoint.Y, 3, 3, mouse_Left);
FindWall(StartPoint);
WaitFunc(@NotTroopsTab, RandomRange(25, 50), 1500);
end;
end;
ColorToleranceSpeed(1);
SetColorSpeed2Modifiers(0.2, 0.2);
SDebug('All Troops Are Attacking Castle');
end;





function BlackMM(Percent, PercentBlackMM, Time :Integer) :Boolean;
var
T :Integer;
begin
MarkTime(T);
while (TimeFromMark(T) < Time) do
begin
If Not LoggedIn then Exit;
Wait(RandomRange(10, 25));
if PercentBlackMM >= Percent then
begin
Result := True;
Break;
end;
end;
end;



function GetIn :Boolean;
begin
If FindEntrance then
begin
SDebug('Found Entrance');
if WaitFunc(@ScenarioScreen, RandomRange(100, 250), 3500) then
Mouse(341, 127, 10, 10, mouse_Left);
if WaitFunc(@SiegeScreen, RandomRange(100, 250), 3500) then
Mouse(438, 294, 5, 5, mouse_Left);

if WaitFunc(@InvestmentScreen, RandomRange(100, 250), 3500) then
begin
Wait(RandomRange(100, 250));
Mouse(284, 209, 5, 5, mouse_Left);
While not GetColor(472, 394) = 0 do
begin
If Not LoggedIn Then Exit;
Wait(RandomRange(300, 450));
end;
Wait(RandomRange(900, 1000));
SDebug('Investing ' + IntToStr(Players[CurrentPlayer].Integers[20]) + ' Points');
TypeSend(IntToStr(Players[CurrentPlayer].Integers[20]));
Mouse(385, 303, 5, 5, mouse_Left);
end;
end;
end;



function InBattle :Boolean;
var
I :Integer;
Colors :TIntegerArray;
begin
{Green = 297 Red = 280 Yellow = 280 Blue 270}
Colors := [441136, 592313, 567264, 13504519]
for I := 0 to 3 do
If CountColorTolerance(Colors, 8, 345, 17, 468, 20) > 100 then
Result := True;
end;


function MiniGameArea :Boolean;
begin
Result := Length(GetMiniMapDots('NPC')) > 3;
end;



function WaitRoom :Boolean;
var
T :Integer;
begin
MarkTime(T);
SDebug('In Waiting Room');
while (TimeFromMark(T) < 300000) do
begin
If Not LoggedIn then Exit;
Wait(RandomRange(10, 25));
if InBattle then
begin
Result := True;
Wait(RandomRange(2500, 3500));
SDebug('At War');
Break;
end;
end;
end;






function SimpleClose :Boolean;
begin
If CountColorTolerance(7490635, MSX1, MSY1, MSX2, MSY2, 29) > 150 then
begin
SDebug('Closing Result Screen');
MMouse(457, 57, 3, 3);
If WaitUpTextMulti(['Click', 'ick'], 350) then
ClickMouse2(mouse_Left);
Wait(RandomRange(500, 600));
end;
end;






function FindLadders :Boolean;
var
TPA: TPointArray;
aTPA : T2DPointArray;
MiddlePoint :TPoint;
Hi, I, TempCTS :Integer;
begin
MakeCompass('N');
for I := 0 to 1 do
SimpleClose;
SDebug('Finding MainScreen Ladders');
TempCTS := GetColorToleranceSpeed;
ColorToleranceSpeed(2);
SetColorSpeed2Modifiers(0.03, 0.40);

FindColorsSpiralTolerance(MSCX, MSCY, TPA, 3557721, MSX1, MSY1, MSX2, MSY2, 13);
If Length(TPA) = 0 Then Exit;
aTPA := TPAToATPAEx(TPA, 30, 30);
SortATPASize(aTPA, True);
Hi := Length(aTPA);
for I := 0 to Hi - 1 do
begin
MiddlePoint := MiddleTPA(aTPA);
MMouse(MiddlePoint.X, MiddlePoint.Y, 2, 2);
If WaitUpTextMulti(['limb', 'tairs', 'up'], 250) then
begin
ClickMouse2(Mouse_Right);
If WaitOptionMulti(['limb', 'Cli', 'own', 'Dow'], 350) then
begin
Flag;
Result := WaitFunc(@MiniGameArea, RandomRange(100, 250), 5500);
SDebug('Found Ladders');
Break;
end;
end;
end;
Wait(RandomRange(1000, 2000));
ColorToleranceSpeed(TempCTS);
SetColorSpeed2Modifiers(0.2, 0.2);
end;


procedure AntiBan;
var r: Integer;
begin
if not LoggedIn then Exit;
r := (RandomRange(1, 14));
if (r = 4) then
begin
SDebug('AntiBan');
case Random(20) of
0:
begin
MakeCompass('Random');
end;
1:
begin
RandomRClick;
end;
2:
SetAngle(SRL_ANGLE_HIGH);
3:
RandomRClick;
4:
Mouse(MIX1, MIY1, MIX2, MIY2, False);
5:
MMouse(MMX1, MMY1, MMX2, MMY2);
end;
SDebug('Sleeping..');
end;
end;




function WhileInBattle :Boolean;
var
T :Integer;
TPA :TPointArray;
begin
MarkTime(T);
SDebug('Sleeping..');
while (TimeFromMark(T) < 1800 * 1000) do
begin
If Not LoggedIn then Exit;
AntiBan;
Wait(RandomRange(1500, 2500));
if not InBattle then
begin
Result := True;
Wait(RandomRange(1500, 2500));
SDebug('War Is Over!');
Break;
end;
end;
end;



function OutOfCredits :Boolean;
begin
Result := CountColorTolerance(6710886, 32, 298, 121, 316, 2) > 200;
end;



function ReSupply :Boolean;
begin
If FindRecruiter then
begin
If OutOfCredits then
begin
LogOut;
SDebug('Out Of Credits. Logging Out.');
LogOut;
TerminateScript;
end;
Mouse(78, 308, 5, 5, mouse_Left);
Wait(RandomRange(350, 550));
Mouse(327, 226, 5, 5, mouse_Left);
end;
end;




function LadderPointExists(var Ladder :TPoint) :Boolean;
var
TempCTS :Integer;
TPA :TPointArray;
begin
Result := False;
TempCTS := GetColorToleranceSpeed;
ColorToleranceSpeed(2);
SetColorSpeed2Modifiers(0.64, 3.76);
FindColorsSpiralTolerance(MMCX, MMCY, TPA, 536665, MMX1, MMY1, MMX2, MMY2, 3);
FilterPointsDist(TPA, 0, 75.5, MMCX, MMCY);
if Length(TPA) <> 0 then
begin
Ladder := TPA[0];
Result := True;
end;
ColorToleranceSpeed(TempCTS);
SetColorSpeed2Modifiers(0.2, 0.2);
end;




function Walk(Where :String) :Boolean;
var
LadderPoint :TPoint;
begin
SDebug('Walking To ' + Where);
If LadderPointExists(LadderPoint) then
begin
If Where = 'ReSupply' then
Mouse(LadderPoint.X - 35, LadderPoint.Y - 10, 2, 2, mouse_Left)
else
Mouse(LadderPoint.X, LadderPoint.Y + 5, 2, 2, mouse_Left);
end
else
begin
If Where = 'ReSupply' then
Mouse(601, 86, 2, 2, True)
else
Mouse(664, 96, 2, 2, True)
end;
while isMoving do Wait(RandomRange(200, 400));
Flag;
end;



procedure PrintOnSmart(TP: TStringArray; Placement: TPoint; Colour, Shadow: integer);
var
mx, my, Pic, I, B, H, TPH, Numb: Integer;
TTP: TPointArray;
Canvas: TCanvas;
begin
SmartSetDebug(True);
GetClientDimensions(mx, my);
Pic := BitmapFromString(mx, my, '');
TPH := High(TP);
for I := 0 to TPH do
begin
TTP := LoadTextTPA(TP, SmallChars, H);
for B := 0 to High(TTP) do
begin
Numb := ((I + 1) * 13);
FastSetPixel(Pic, TTP.x + 1, TTP.y + Numb + 1, Shadow);
FastSetPixel(Pic, TTP.x, TTP.y + Numb, Colour);
end;
end;
Canvas := TCANVAS.Create;
Canvas.Handle := SmartGetDebugDC;
DrawBitmap(Pic, Canvas, Placement.x, Placement.y);
FreeBitmap(Pic);
end;



procedure DoSmartPrint;
var
Wet, Wst, Cst, Srt, Tih, Tim, Tis, Awt, Sec: Integer;
begin

Cst := GetSystemTime;
Srt := (cst - sst) / 1000;
Tih := srt / 3600;
tim := (srt / 60) - tih * 60;
Tis := srt - tim * 60 - tih * 3600;
Awt := wet - wst
Sec := GetTimeRunning div 1000 + 1;

PrintOnSmart([' Home'#39's Mobilising Armies Suicider 0,1 ' + Ver], Point(15, 30), clRed, 131072);
PrintOnSmart([
'Name : ' + Capitalize(Players[CurrentPlayer].Name),
'',
'Suicide Trips / Hour : ' + IntToStr(Round(3600 * Players[CurrentPlayer].Integers[2] / Sec)),
'',
'Suicide Trips Done : ' + IntToStr(Players[CurrentPlayer].Integers[2]),
'',
'Worked : ' + TimeRunning,
'',
''], Point(20, 60), 1959605, 131072)

end;



procedure PlayerStats;
var
Wet, Wst, Cst, Srt, Tih, Tim, Tis, Awt, Sec: Integer;
begin
Cst := GetSystemTime;
Srt := (cst - sst) / 1000;
Tih := srt / 3600;
tim := (srt / 60) - tih * 60;
Tis := srt - tim * 60 - tih * 3600;
Awt := wet - wst
Sec := GetTimeRunning div 1000 + 1;
Writeln('+++++++++++++++++++++++++++++++++++++++++++++++++++++++');
Writeln(' Home'#39's Mobilising Armies Suicider 0,1 ');
Writeln('+++++++++++++++++++++++++++++++++++++++++++++++++++++++');
writeln('Name : ' + Capitalize(Players[CurrentPlayer].Name));
Writeln('Suicide Trips / Hour : ' + IntToStr(Round(3600 * Players[CurrentPlayer].Integers[2] / Sec)));
Writeln('Suicide Trips Done : ' + IntToStr(Players[CurrentPlayer].Integers[2]));
Writeln('Worked : ' + TimeRunning);
Writeln('Time : ' + TheTime)
Writeln('——————————————————-');
end;



procedure ProgressReport;
begin
PlayerStats;
WriteLn(' ');
DoSmartPrint;
end;




begin
Smart_Server := 39;
Smart_Members := True;
Smart_Signed := True;
Smart_SuperDetail := False;
SetupSRL;
DeclarePlayers;
ClearDebug;
SDebug('Welcome To Home''s MA!');
MakeCompass('N');
If Not InBattle then SetAngle(SRL_ANGLE_HIGH);
repeat
GetIn;
WaitRoom;
MobiliseArmy;
WhileInBattle;
If FindLadders then
Inc(Players[CurrentPlayer].Integers[2]);
Walk('ReSupply');
ReSupply;
Walk('Entrance');
ProgressReport;
until(False);
end.

Cronic_Ko

2012-03-07 03:12:23

When i try to run the script now it says this:

[Hint] C:\Simba\Includes\SRL/SRL/core/antirandoms\beekeeper.simba(194:3): Variable 'T' never used at line 193
[Error] (363:8): Unknown identifier 'PercentBlackMM' at line 362
Compiling failed.

Anyone help ;o

FlyingMonkey

2012-03-07 05:12:05

i get the same message as above. I have no scripting knowledge and am a true beginner at simba, eager to learn. I'd love someone to be able to come up with the fix if anyone has it. "[Error] (363:8): Unknown identifier 'PercentBlackMM' at line 362
Compiling failed."
Does anyone have the fix for this? Thanks so much in advanced!

Home

2012-03-07 06:16:57

Locked.

No more updates on this one.

~Home