PDA

View Full Version : Hey321's Auto-Dueler



Hey321
12-17-2006, 10:12 PM
Hey321's Auto-Dueler Version 0.2

I have worked and asked quite a few questions on this :). Still not perfect and i need feedback on it but its pretty good for version 0.2 Alpha i think. I hope you enjoy it and help me make it really good!

Updated talking. Thanks Da Der Der.

Da Der Der
12-17-2006, 11:19 PM
Looks pretty good, although I haven't tested it yet. Only suggestion that I have is to change this:

Procedure GetDuel;
Begin
Repeat
TypeSend('Funning all');
If (Duel) Then Break;
Until(FindColorTolerance(x,y,12926,MCX1,MCY1,MCX2, MCY2,1))
End;


To something like this:

Function FunDuel : Boolean;
Var
RandomDuel : Integer;
DuelMsg : String;
Begin
RandomDuel:= random(6)+1;
Case(RandomDuel)Of
0 : DuelMsg:= ('funning all!');
1 : DuelMsg:= ('fun dueling');
2 : DuelMsg:= ('funning everyone!!!');
3 : DuelMsg:= ('dueling for fun!');
4 : DuelMsg:= ('funning!');
5 : DuelMsg:= ('funning anyone!');
End;
TypeSend(DuelMsg);
Result:= True;
End;


^ All this is doing is making your sentences random that you say. This is better for the user to not get banned (as easily) at least.

But other than that, I don't see why you couldn't make this into a pretty nice script. Good Job! :)

Hey321
12-17-2006, 11:44 PM
Thanks for the suggestion! I'll add it now ;). You also get creds for it.

Da Der Der
12-18-2006, 12:10 AM
Alright I appreciate it.

Hey321
12-21-2006, 12:40 AM
Come on people! Feedback!

madd
12-21-2006, 12:57 AM
Dueling is members only.....right?

Wool
12-21-2006, 01:04 AM
Yea its members only, I believe its at the Dueling Arena

Hey321
12-21-2006, 02:07 AM
Yes, it is Members and at the Duel Arena. Post feedback plox!

Edit: Updated talking! Thanks Da Der Der!

IronTeapot
12-21-2006, 02:18 AM
I would just consider this more of an auto 'funner' since it doesn't really 'duel', although i wouldn't trust my stuff to a macro to fight other people lol. Whats the practically of auto funning people though? If i may ask.

Hey321
12-21-2006, 12:28 PM
It gets you XP :P. A dude asked me to make one, so i started making it.

tarajunky
12-21-2006, 03:35 PM
Remember that random(6) goes from 0...5 and random(6)+1 goes from 1...6.

If you put random(6)+1 with only 5 statements you will not say anything 1 out of 6 times. I guess that isn't a big problem in your particular script, but in other implementations it could cause errors. Especially if you had used an array rather than a case.

Hey321
12-21-2006, 05:05 PM
Hehe, not my fault. Anyways thanks for pointing that out, Da Der Der!!! Lol :P.

0z0ne
12-22-2006, 12:32 AM
So has any 1 gotten banned for this yet

optikal
12-25-2006, 12:06 AM
It gets you XP :P. A dude asked me to make one, so i started making it.

that dude would be me from

www.scarforum.com