View Full Version : Da Der Der Proudly Presents: My AutoTalker Function - Almost every skill!
Da Der Der
12-10-2006, 07:58 PM
I know this is not a script, but I didn't know where to put it.
EDIT - JUST RELEASED A NEW VERSION! A FEW MORE THINGS TO AUTO RESPOND TO NOW!
ALSO, YOU NEED THE 2 OTHER ATTACHMENTS FOR THIS TO WORK PROPERLY! JUST ADD THEM IN YOUR SCRIPT ABOVE MY AUTOTALKER AND IT WILL WORK!
Da Der Der proudly presents:
The AutoTalker Function!
This is very very useful for not getting banned.
INSTALL IT HERE ------->
Features:
----------------------------------------------
• Talks to people that say your name!
• Responds to every level except for attack, strength, defence hits, and hunter!
• Responds quickly!
• Responds to random questions!
----------------------------------------------
PLEASE POST ANY WAY THAT I CAN IMPROVE THIS AND PLEASE POST IF YOU LIKE IT OR NOT!
Thanks for looking!
- Da Der Der
Looks darn great, I'll be testing and if it works great, will add to my script.
Da Der Der
12-10-2006, 09:15 PM
Thanks and be sure to tell me if it works please. And one question. I know this is really an odd question but I am still a noob at scripting. I know how to make all these functions and procedures but how would I add that to my script? Do I just leave it as it is since it is a function or do I have to add it in my main loop or something?
Thanks and be sure to tell me if it works please. And one question. I know this is really an odd question but I am still a noob at scripting. I know how to make all these functions and procedures but how would I add that to my script? Do I just leave it as it is since it is a function or do I have to add it in my main loop or something?
You call them up in youre loop etc.
like
AutoTalk; etc.
Da Der Der
12-10-2006, 09:22 PM
Gimme an example please?
Gimme an example please?
Well Kattackmonster is a procedure in SRL fighting
function KAttackMonster(Color1, Color2, Color3, Tolerance: Integer; MonsterName: String): Boolean;
var
i, x, y: Integer;
begin
Flag;
for i:= 1 to 5 do
begin
if(FindColorTolerance(x, y, Color1, MSX1, MSY1, MSX2, MSY2, Tolerance + i))and
(FindColorTolerance(x, y, Color2, MSX1, MSY1, MSX2, MSY2, Tolerance + i))and
(FindColorTolerance(x, y, Color3, MSX1, MSY1, MSX2, MSY2, Tolerance + i))then
begin
MMouse(x, y, 3, 3);
wait(80 + random(60));
if(IsUpText('Attack '+MonsterName))then
begin
result:= true;
GetMousePos(x, y);
Mouse(x, y, 0, 0, true);
wait(40 + random(20));
Flag;
OutFight; //Waits Until Out Of Fight..
exit;
end;
end;
end;
end;
And Now Lets play that Im calling it up on my main loop
Procedure MainLoop;
Begin
a=0;
Repeat;
Kattackmonster(Color1,Color2,Color3,Tolerance,Mons tername) ;
EatFood;
FindNormalRandoms;
a=a+1;
Until(a=1000) ;
End;
Da Der Der
12-10-2006, 10:21 PM
Lol, no I mean could you give me an example using my function lol?
Dadeer
12-10-2006, 10:38 PM
Excellent work dude! cant even make a 10 line script and your makeing functions
Da Der Der
12-10-2006, 11:12 PM
Thanks for the first sentence at least. And haha I'm not that bad. I got a pretty good Fire Crafter going but I'm holding off on that for a little bit and continuing on my Al Kharid Smelter. Hopefully will be a pay script. But ya, anyways, thanks for the comment =]
Da Der Der
12-10-2006, 11:15 PM
Could you give me an example of how I could call my AutoTalker up into my loop?
Da Der Der
12-10-2006, 11:18 PM
Or whatever DaWu meant above?
Hey321
12-11-2006, 12:44 AM
Nice, a few things:
You triple posted
I get:
Line 17: [Error] (17:50): Unknown identifier 'SmallChars' in script
Wierd?
Good job other then that!
Da Der Der
12-11-2006, 01:08 AM
SmallChars is not even on line 17 in my function, so it has to be the script you're putting it into, or it is the include you are using. Oh, and sorry about the tripple post.
Hey321
12-11-2006, 12:23 PM
I added a few varibables, so it bumped it 2 lines forward. The OldLine and some other Line didnt work, had to declare them as variables. But yes good job.
Da Der Der
12-11-2006, 01:07 PM
So I have to declare OldLine and NewLine a variable? Or is it OldLine and TheLine?
Rencuz
12-11-2006, 02:27 PM
nice work
Da Der Der
12-11-2006, 02:41 PM
Thank you very much Rencuz Jr. I just need to know how to call it up in my loop. Could you help me? Maybe add me on MSN or AIM?
Da Der Der
12-11-2006, 03:15 PM
90 Some views and only like 5 comments?
IronTeapot
12-11-2006, 03:49 PM
Wow, i cant believe how many times he has asked someone to show him how to use his function in a script...
Program new
{.include srl and if you have yoru function in a seperate file]
//main loop
begin
Your normal stuff
//usually in a repeat loop
doing stuff;
while (doing your stuff, smithing or whatever, and waiting around)
AutoTalk;//where its looking for anyone talking to you
untill ( the stuff you are doing is done, or you want to do something else);
do more stuff;
end.
It is very similar to calling 'FindNormalRandoms' where when you call it it looks for randoms and if it finds one, acts accordingly. When your call your AutoTalk, it checks if some1 is talking to you, and acts how it is supposed to.
Note: I havent actually looked at your script as of writing this, but i felt you deserved an answer.
Da Der Der
12-11-2006, 04:56 PM
Thanks, I understand better now. =]
Da Der Der
12-12-2006, 01:30 AM
No one wants to comment?
Da Der Der
12-12-2006, 10:36 AM
So no one likes this? come one!
WT-Fakawi
12-12-2006, 10:46 AM
Hmm.
This looks exactly like our private Autoresponder....Where did you copy this idea from? just curious....
Da Der Der
12-12-2006, 12:58 PM
I didn't copy it, I saw that Charmz had it in his and I edited it. I haven't put up the new version yet, this was just a beta type thing. All your names are in this next version.
Powered by vBulletin® Version 4.2.1 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.