|
Post by Izlude on Feb 15, 2005 11:25:03 GMT -5
well its awesome to help you out. i think that this thread is one of the best learning experiences for making a bot, that you will find here. it is almost a step by step walk through. even though it was quite a pain in the ass for poor tiny, i am sure it will be a great learning experience for all you guys ^^
|
|
|
Post by Kelpinn on Feb 15, 2005 13:35:21 GMT -5
I don't think its such a pain in the ass for Tiny otherwise I don't think he'd be running this Forum. Its actually quite cool to know that there's guys like Tiny out there to help us guys that are new to the scripting "business" as we could say. I know by my own experience, i've enjoyed this forum immensely, getting back in touch with "programming" / "scripting" because i haven't touched this stuff in over 10 years. Anyways enough for me... Tiny's gonna start thinking i'm a brown noser... LOL PS: I know my "..." are annoying but its a 20 year old habit, its hard to break.
|
|
|
Post by Izlude on Feb 15, 2005 16:38:39 GMT -5
well, i was gunna do some nm camping using my bot or the one the new auto terror included, but nether of them work, i get a error in mine, and for some retarded reason the one tiny included, just tabs right by the mob. why is this? i have even tried mutliple mobs
|
|
|
Post by TinyTerror on Feb 15, 2005 17:15:59 GMT -5
Works just fine for me. Make sure you arent using any leading spaces in the script when you define your mob name. Thats not needed anymore.
|
|
|
Post by Izlude on Feb 15, 2005 17:20:43 GMT -5
well there is no spaces in the name except for the spaces inbetween the words in his name. like "Ashmaker Gotblut"
|
|
|
Post by TinyTerror on Feb 15, 2005 17:31:42 GMT -5
Does the FFACT debug window show the right info?
|
|
|
Post by Izlude on Feb 15, 2005 17:52:43 GMT -5
well it seems to show the right name and stuff. the line for my name is:
$MyTarget="Orcish Grunt"; //Set target name here
|
|
|
Post by TinyTerror on Feb 15, 2005 17:56:09 GMT -5
Maybe autoterror isnt connecting to FFACT right. Add the line
ConOut("<"); ConOut($Mob); ConOut(">"); Sleep(100);
underneath the $Mob=FFACTTargetGetName(); line.
Post what appears in the black console window.
|
|
|
Post by Izlude on Feb 15, 2005 18:07:28 GMT -5
god damnit still nothin. here is what the black box says:
AutoTerror Started. Starting AutoTerror FFACT interface. Created FFACT MMF interface. AutoTerror Interface ready.
also here is the script i have added slight mods, but still the original wont work.
FFACTInit(); //Start up ffact interface $MyTarget="Grotto Bats"; //Set target name here
While 1=1; //Start infinite main loop
;//This loop sleeps until numlock is on. ;//This effectively pauses the script if numlock is off. ;//Even if numlock is on, the script will still sleep for 10ms per cycle.
Do Sleep(10); Until NumCheck()=1; //Do this until num lock is on
Send("{Left}"); Send("{TAB}"); //Aquire target
FFACTTargetUpdate(); //Check target $mob = FFACTTargetGetName(); //Get mob name
;//Voke condition If $mob = $MyTarget Then; //Check to see if this is the right target. Send("*") Send("^3"); /follow Send("^1"); voke Fight(); EndIf
;//This loop sleeps until the target is killed or untargetted While $mob=$MyTarget; //Do this until target lost FFACTTargetUpdate(); //Check target $mob = FFACTTargetGetName(); //Get mob name ConOut("<"); ConOut($Mob); ConOut(">"); Sleep(100); Sleep(2000); WEnd
WEnd; //End infinite main loop
Func Fight() Sleep(3000) Send("^2");macro for auto attack Send("^4"); macro to tell me i killed him EndFunc #nosmileys
|
|
|
Post by TinyTerror on Feb 15, 2005 19:34:40 GMT -5
Target the monster you are trying to kill, then copy and paste whats in the black console word for word. It needs to be a perfect copy so I can see if autoterror is misidentifying the monster.
|
|
|
Post by Izlude on Feb 15, 2005 19:56:17 GMT -5
well tiny, how am i supposed to get targeted on the nm, and have time to copy it all down before he is dead or claimed? or can i use any target?
|
|
|
Post by TinyTerror on Feb 15, 2005 20:14:17 GMT -5
Any target. Sorry I forgot to mention that. See if the script scrolls past an enemy you can find all over the place.
|
|
|
Post by Izlude on Feb 15, 2005 20:35:14 GMT -5
the black bow always says :
AutoTerror Started. Starting AutoTerror FFACT interface. Created FFACT MMF interface. AutoTerror Interface ready.
never anything else
|
|
|
Post by TinyTerror on Feb 15, 2005 21:05:26 GMT -5
Try putting the ConOut block underr the first $mob=FFACTTargetGetName block. The place you put it only gets triggered when the mob is locked on and voked.
|
|
|
Post by Izlude on Feb 15, 2005 21:10:19 GMT -5
well i tried that and all i got was the usual thing, but i never tried targeting enything, i did check it once and see a bunch of this:
<><><><><><><><><>
|
|