Last reply I will make to these comments.
http://villavu.com/forum/showthread.php?t=99992
Maybe learn a little?
Last reply I will make to these comments.
http://villavu.com/forum/showthread.php?t=99992
Maybe learn a little?
Hey i wonder if someone could help me out
[Error] C:\Simba\Includes\SRL-OSR/SRL/misc/SmartParams.Simba(229:202): Invalid number of parameters at line 228
Compiling failed.
Im not the best at installing these but i appreciate any help
Thanks For Using Elfyyys PC Script!
Currently using version:1.9
Time Running: 6 Hours, 49 Minutes and 26 Seconds
Status:Waiting in boat, Start AntiBan
Played 85 Games So Far!
Won 18 games and Lost 67 games!
Earned 36 Zeal, Thats 5 Zeal P/h!
Successfully executed.
so last time it didn't do anything for the 6hrs i left it on.
This time i got some sht average lol idk what was going on my guys level 80 with 75str and d scim...60def, i thought i would do really good.
why it lost so many games,i don't know, but since my friend botted same wrld as me i think its because i didn't get enough hits before the end of match.
what world the ppl play it ? :S
this scrip kills 2-4 monsterst and then it stays only ? who has same problem ?
IT's Still going right now XD. hopefully it will win some instead of losing 460. I'll check back after school to see how its going
Time Running: 9 Hours, 57 Minutes and 55 Seconds
Status:Looking for Mobs
Played 490 Games So Far!
Won 30 games and Lost 460 games!
Earned 60 Zeal, Thats 6 Zeal P/h!
Yeah, I'm with athymy, when the bot runs to it's random place to kill monsters, and that portal has gone down, It will just stand there looking for mobs, if you could add something like "if not in combat for x-time, run to next destination" Or something this bot would be really awsome!! Works perfectly for 80% of the time! Nice bot =D=D!!
Yeah, and I dont konw if it's fixed, but I've seen sometimes it runs after the fence in the back of bank? It's just on a random time running there, I do not know why, but it messes up the bot, and it runs around between the bank and the magick shop =P
elfyyy, im going another 6hrs right now, already did it twice with pooooor results lets see how this one goes.
what are good pc worlds?
Won 18 games and Lost 7 games!
all 7 were from not getting enough damage, cause it was camping in the center.. :\
other than that, awesome script, you're an amazing scripter Elfyyy
70.
also, I spent a bit of time scripting the functions for spinner attacking and portal attacking.
Simba Code:Function WPortal:Boolean;
var
WPortal1TPA, WPortal2TPA:TPointArray;
WPortalATPA:T2DPointArray;
WPortalBox:TBox;
i:integer;
MSCTP:Tpoint;
begin
result := (False);
MSCTP := Point(MSCX, MSCY);
if findcolorstolerance(WPortal1TPA, 8656521, MSX1, MSY1, MSX2, MSY2, 5) then
begin
WPortalATPA := SplitTPAEx(WPortal1TPA, 30, 30);
SortATPAFrom(WPortalATPA, MSCTP);
for i := 0 to high(WPortalATPA) do
begin
WPortalBox := GetTPABounds(WPortalATPA[i]);
if findcolorstolerance(WPortal2TPA, 8656521, WPortalbox.x1, WPortalbox.Y1, WPortalbox.X2, WPortalbox.Y2, 15) then
begin
mmouse(WPortal2TPA[0].x, WPortal2TPA[0].y,2,2);
if WaitUpText('ttack', 160) then
begin
clickmouse2(mouse_left);
result := (True);
wait(RandomRange(1500,3900));
end;
end;
end;
end;
end;
Function SWPortal:Boolean;
var
SWPortal1TPA, SWPortal2TPA:TPointArray;
SWPortalATPA:T2DPointArray;
SWPortalBox:TBox;
i:integer;
MSCTP:Tpoint;
begin
result := (False);
MSCTP := Point(MSCX, MSCY);
if findcolorstolerance(SWPortal1TPA, 8085179, MSX1, MSY1, MSX2, MSY2, 5) then
begin
SWPortalATPA := SplitTPAEx(SWPortal1TPA, 30, 30);
SortATPAFrom(SWPortalATPA, MSCTP);
for i := 0 to high(SWPortalATPA) do
begin
SWPortalBox := GetTPABounds(SWPortalATPA[i]);
if findcolorstolerance(SWPortal2TPA, 8085179, SWPortalbox.x1, SWPortalbox.Y1, SWPortalbox.X2, SWPortalbox.Y2, 15) then
begin
mmouse(SWPortal2TPA[0].x, SWPortal2TPA[0].y,2,2);
if WaitUpText('ttack', 160) then
begin
clickmouse2(mouse_left);
result := (True);
wait(RandomRange(1500,3900));
end;
end;
end;
end;
end;
Function EPortal:Boolean;
var
EPortal1TPA, EPortal2TPA:TPointArray;
EPortalATPA:T2DPointArray;
EPortalBox:TBox;
i:integer;
MSCTP:Tpoint;
begin
result := (False);
MSCTP := Point(MSCX, MSCY);
if findcolorstolerance(EPortal1TPA, 11248539, MSX1, MSY1, MSX2, MSY2, 5) then
begin
EPortalATPA := SplitTPAEx(EPortal1TPA, 30, 30);
SortATPAFrom(EPortalATPA, MSCTP);
for i := 0 to high(EPortalATPA) do
begin
EPortalBox := GetTPABounds(EPortalATPA[i]);
if findcolorstolerance(EPortal2TPA, 11248539, EPortalbox.x1, EPortalbox.Y1, EPortalbox.X2, EPortalbox.Y2, 15) then
begin
mmouse(EPortal2TPA[0].x, EPortal2TPA[0].y,2,2);
if WaitUpText('ttack', 160) then
begin
clickmouse2(mouse_left);
result := (True);
wait(RandomRange(1500,3900));
end;
end;
end;
end;
end;
Function SEPortal:Boolean;
var
SEPortal1TPA, SEPortal2TPA:TPointArray;
SEPortalATPA:T2DPointArray;
SEPortalBox:TBox;
i:integer;
MSCTP:Tpoint;
begin
result := (False);
MSCTP := Point(MSCX, MSCY);
if findcolorstolerance(SEPortal1TPA, 3592403, MSX1, MSY1, MSX2, MSY2, 5) then
begin
SEPortalATPA := SplitTPAEx(SEPortal1TPA, 30, 30);
SortATPAFrom(SEPortalATPA, MSCTP);
for i := 0 to high(SEPortalATPA) do
begin
SEPortalBox := GetTPABounds(SEPortalATPA[i]);
if findcolorstolerance(SEPortal2TPA, 3592403, SEPortalbox.x1, SEPortalbox.Y1, SEPortalbox.X2, SEPortalbox.Y2, 15) then
begin
mmouse(SEPortal2TPA[0].x, SEPortal2TPA[0].y,2,2);
if WaitUpText('ttack', 160) then
begin
clickmouse2(mouse_left);
result := (True);
wait(RandomRange(1500,3900));
end;
end;
end;
end;
end;
Function Spinner:Boolean;
var
Spinner1TPA, Spinner2TPA:TPointArray;
SpinnerATPA:T2DPointArray;
SpinnerBox:TBox;
i:integer;
MSCTP:Tpoint;
begin
result := (False);
MSCTP := Point(MSCX, MSCY);
if findcolorstolerance(Spinner1TPA, 8812930, MSX1, MSY1, MSX2, MSY2, 5) then
begin
SpinnerATPA := SplitTPAEx(Spinner1TPA, 30, 30);
SortATPAFrom(SpinnerATPA, MSCTP);
for i := 0 to high(SpinnerATPA) do
begin
SpinnerBox := GetTPABounds(SpinnerATPA[i]);
if findcolorstolerance(Spinner2TPA, 8877988, Spinnerbox.x1, Spinnerbox.Y1, Spinnerbox.X2, Spinnerbox.Y2, 15) then
begin
mmouse(Spinner2TPA[0].x, Spinner2TPA[0].y,2,2);
if WaitUpText('ttack', 160) then
begin
clickmouse2(mouse_left);
result := (True);
wait(RandomRange(1500,3900));
end;
end;
end;
end;
end;
Simba Code:repeat
Spinner
until (Spinner = False);
repeat
WPortal
until (WPortal = False);
repeat
SWPortal
until (SWPortal = False);
repeat
EPortal
until (EPortal = False);
repeat
SEPortal
until (SEPortal = False);
colors on spinners needs to be adjusted a bit, when lots of people are attacking it, the script doesn't think it's there.
And it needs some way to tell when the portal barrier is down. I can think of a few ways to do this, if you're interested in my ideas. though you could probably think of better ways. This isn't TOO big of an issue, it just causes the curser to hover over the portal for a bit.
also, a combatcheck (or combat animation check) needs to be added for this code to not be buggy, by buggy i mean it would attack the portal, then go attack something else. it's not restricted to the portal, I've noticed it jumps targets a lot.
A good example of how to do it would be ineedbot's AIO chopper, it uses an animation check to see if the player is chopping
some of the code from that:
but i see on the main post you said you have it fixed in an unreleased version, so that's sweet ^^Simba Code:Function isChopping: Boolean;
var
PBox: TBox;
begin
PBox := IntToBox(MSCX - x1, MSCY - y1, MSCX + x2, MSCY + y2);;
Result := (AveragePixelShift(PBox, 250, 500) > AnimationCheck);
SMART_DrawBox(PBox);
// writeln(IntToStr(AveragePixelShift(PBox, 250, 500)));
end;
also would be nice if there was something called to make the player go to a live portal if there are no monsters to attack
I haven't tested this code much, just a bit on the east portal. been up 20 hours, so im off to bed now. night ^^
Last edited by aaron126; 04-10-2013 at 08:05 PM.
pest controle world please ?
Lol yeah thanks for that but I already have them all added and switched them into arrays to make the code much more cleaner. FYI they don't need to be in functions, I just never got around to changing it on that version. The way to yell which portal is activated is to read the text in the chat and then read the x over the port BTW. In combat function can't be done because of how many monsters there are and it bugs really bad
Thanks For Using Elfyyys PC Script!
Currently using version:1.9
Time Running: 5 Hours, 14 Minutes and 42 Seconds
Status:At Island Boat, Move out!
Played 72 Games So Far!
Won 57 games and Lost 15 games!
Earned 114 Zeal, Thats 21 Zeal P/h!
Going for 24hrs if laptop doesn't update -_-
Thanks For Using Elfyyys PC Script!
Currently using version:1.9
Time Running: 6 Hours, 1 Minutes and 9 Seconds
Status:Looking for Mobs
Played 71 Games So Far!
Won 20 games and Lost 51 games!
Earned 40 Zeal, Thats 6 Zeal P/h!
Successfully executed.
6hrs done, theres my thing from the 3rd try...it was wrld 344, it says i got 40 zeals but when i checked pc points, i only got 24.not blaming your script but -.-
I think i have had longest time know!!
Thanks For Using Elfyyys PC Script!
Currently using version:1.9
Time Running: 34 Hours, 53 Minutes and 33 Seconds
Status:At Island Boat, Move out!
Played 165 Games So Far!
Won 78 games and Lost 87 games!
Earned 156 Zeal, Thats 4 Zeal P/h!
Idk why it took so long to make that many.. I guess i had a bad boats?![]()
it has nothing to do with his script, if you actually sit and watch the script play the game, you should get the 50 damage necessary to earn zeal every time, but your team loses the game everytime. Most likely because over half the players in the game are botting and not attacking the portals. Any legit player would world hop to a pc clan world, or one of the players advertising on the bridge "trade for 70+ world" etc.
So, until the bugs are worked out to allow the script to support portals, you're not gonna get that great of zeal/hr.
ok cool ill try another 6hrs today but using a clan wrld ill let you know in 6-7 hrs how it went
There are currently 2 users browsing this thread. (0 members and 2 guests)