|
Post by playaplaya on Feb 3, 2005 16:58:16 GMT -5
Ok, I understand you have a life, so it's no sweat. I will play with the script as much as I can. But this sounds like it's not going anywhere fast. So i guess I'll just try to make a pixel script. EWW... But I only know the commands in Autoit, not for Autoterror (can you edit that anyways?? thought it was a launcher only) and I don't know squat about FFACT. Thanks though.
Playaplaya
|
|
|
Post by TinyTerror on Feb 3, 2005 17:04:22 GMT -5
I am actually adding commands to the complier from the AutoIT source code. Its a pain in the ass because of the way autoIT is set up.
|
|
|
Post by playaplaya on Feb 3, 2005 23:48:24 GMT -5
Okay so I found some code on your forum that I could use, and it works! Only problem is it tabs and tabs, even past the desired mob I have set it up to attack. I don't want to release my whole script but I'll give the part that I think needs tweaking...
Do Sleep(10) FFACT_Update() $mob = FFACT_GetTargetName() If $mob = "Huge Wasp" Then Send("$MyStunMacro"); $fight = 1 Fight() EndIf Send("{TAB}") Until $fight = 1
You see any reason why it shouldn't stop on a Huge Wasp and cast Stun? Let me know thanks.
Also this thing runs slow, as slow as a pixel bot, and my computer isn't that slow. P4 256mb ram 256mb graphics card... Anyway to only refer to certain aspects of that helper as described before? I would be willing to give it a shot and experiment and post my results for the public. Thanks.
Playaplaya
|
|
|
Post by TinyTerror on Feb 3, 2005 23:51:34 GMT -5
Do Sleep(10) Send("{TAB}") FFACT_Update() $mob = FFACT_GetTargetName() If $mob = "Huge Wasp" Then Send("$MyStunMacro"); $fight = 1 Fight() EndIf Until $fight = 1
|
|
|
Post by playaplaya on Feb 4, 2005 0:00:59 GMT -5
okay I'll try now, I'll post results within a few minutes. Thanks.
|
|
|
Post by playaplaya on Feb 4, 2005 0:16:36 GMT -5
Unfortunately, it still just tabs past the bee. I even made my camera angle only have a bee in it, and still it just REtabs the same bee, never actually using the macro. Any thoughts?
|
|
|
Post by Duke Newrise on Feb 4, 2005 0:39:35 GMT -5
It's not voking because Tiny has an error in his script! When the FFXI helper parses the target info it leaves a space in the target name. I should have fixed this but I forgot about it so you'll need to trim the string. Ok, that may be a little to hard for you so try this.
If $mob = " Huge Wasp" Then
It's alright Tiny, we still love you.
|
|
|
Post by playaplaya on Feb 4, 2005 8:40:59 GMT -5
I seen that from your other post and I originally had it with an extra space, however after it didn't work I just thought it was a typo maybe. So I put it back with no space and still doesn't work. Any ideas? Also this thing bogs way down after like 15-30 seconds of tabbing... Anyway to correct this? Thanks.
Playaplaya
|
|
|
Post by playaplaya on Feb 4, 2005 8:57:07 GMT -5
Okay, when I had the space before, the code was in the backwards form. Then Tiny posted how to re-write it, in combination with that and adding a space.. IT WORKS!! Okay now to work with the slow issue. Thanks so much.
Playaplaya
|
|
|
Post by TinyTerror on Feb 4, 2005 9:11:42 GMT -5
Sweet! I don't really do that much in game scripting at all. I just don't feel the need to do it. This being so, I will often miss little things like this. I see scripting as a programming challenge, not really as a way to do things in the game.
|
|
|
Post by playaplaya on Feb 4, 2005 10:24:14 GMT -5
Yea, in all practicality, this isn't the way to go. I mean 1. it scrolls slow to start, then just gets slower, then when it finds the right mob, it waits, then tries to cast, most likely its out of range, and I dont have a way to just sleep the script for "x" amount of time then wake up and try again. 2. I would NEVER afk bot this unreliable work of art. 3. It's simply faster, more fun, and more chances of success to do it yourself. Perhaps things like: zoning quests, fishing, and maybe a few other things would be practical. But all in all, a good learning experience. Thanks.
Playaplaya
|
|
|
Post by TinyTerror on Feb 4, 2005 10:27:45 GMT -5
I have heard reports of FFACT_Helper based scripts slowing down over time. This issue should be resolved in Autoterror.
|
|
|
Post by playaplaya on Feb 4, 2005 12:00:42 GMT -5
I don't know if it's possible or not, but I'm going to try to slim FFXI_Helper down for a NM script. So I'm not sure if this will impact the bots speed or not but I'm hoping. I will post my results.
|
|
|
Post by TinyTerror on Feb 4, 2005 13:06:51 GMT -5
I suggest using StringInStr and WinGetText together to do this. Shouldnt be too hard at all. Good luck.
|
|
|
Post by Izlude on Feb 4, 2005 14:57:33 GMT -5
ok thanks alot tiny for providing me with this script to learn the basics of a ffact bot. this is one of the reasons i have been chatting here, i want a basic ffact bot to learn from, and as you know there aren't too many out there to learn from. i will play around with this and try to add more functions, and try to make it more advanced. i just want to make this a learning experience, i am not a big fan of nm bots that snag it away the second he pops. i just want to do this in a learning experience and do this to little nm's that dont get camped, so it dont hurt the society. i will also never do this then others are there, unless they are decked in amazing equipment, or tell me they are rich, and are simply doing it for fun. I really need the gil >.< thanks alot man, Izlude
|
|