AutoIT - Help (Loot Scrpit)

07/21/2009 05:20 blade3000#16
Good luck krzy that would be a sweet addition. I will continue to work on Trin's bot and i'm thinking the solution is as simple as adding or subtracting an #include

I will let everyone know what happened on my other post.

If you get that pet feeder pls pm meh:)
07/21/2009 05:32 Krzy305#17
ya ill get on it 2mmrow I got a headace from looking at so many numbers, am just testing stuff out now ingame, heh.

I ran into a problem with the auto buffer thou, cause it won't buff if your spamming your AoE skill. So I need to some how make it prioritize the buffing while AoEing than continue on its loop, but am not pro at coding, Am learning as I Go /heh
07/21/2009 05:52 blade3000#18
Same here:)
07/21/2009 07:04 strikeraid#19
well since i gave you both the same awesome script (though krzy's doesn't have the spdhack built in cuz he probably uses CE) you guys better help me out. LOL. i'm trying to remedy the buffing problem right now. it probably has something to do with not being able to buff when the aoe animation is active. i'm reading on tutorials (off of google searches) of how to make pixel bots. i'm really pissed off that the colors of mobs and the background are too similar. hahah.
07/21/2009 07:14 blade3000#20
Krzy and I are working on compiling the bots into one. Pm me so I can give you the step by step instructions to remove the error ok?
07/21/2009 13:51 Krzy305#21
Ya strike is a major contributor to this so of course he is in, am also reading up on some coding at school, and trying to figure out the whole pixel search.
07/21/2009 14:20 strikeraid#22
Quote:
Originally Posted by Krzy305 View Post
Ya strike is a major contributor to this so of course he is in, am also reading up on some coding at school, and trying to figure out the whole pixel search.
i'm actually done with the pixel bot. LOL.
07/22/2009 17:08 Krzy305#23
Func Buff()
SetPrivilege("SeDebugPrivilege", 1)
$ID = _MemoryOpen(ProcessExists("TwelveSky2.exe"))
$Address = $Buff
$Buff = _MemoryRead($Address, $ID)
If $Buff = 0 then
Send (5)
Endif
_MemoryClose($ID)
EndFunc ;==>Buff

while 1
send("{q}")
sleep("2000")
send("{5}")
sleep("180000")
WEnd

Error: WARNING: $Buff: possibly used before declaration.
$Address = $Buff

Am trying to make the bot to auto buff even when it's spamming AoE, because currently I can't get him to buff unless my character is not AoEing, I guess the AoE key spams so much it won't let auto buff cast.

Am trying this code out but I get that damn error, and help please?
07/22/2009 17:20 XiaoBao#24
From the warning you did declare the buff as a variable. You have to go to the part of the scrip where you declare the buffs and type something similiar to this.

$buff = 0x(adress of the timer)

Then

If $Buff = 0 then
Send (5)
Else send (Aoe)
_MemoryClose($ID)
EndIf ;==>Buff

You have to put this if function be4 the aoe function. I think there is an easier way to put make this happened im just not sure how though and i could be wrong with the code.
07/22/2009 17:52 Krzy305#25
I can't get it to work, my knowledge is to limited at this point to get into something complex like this now /sigh
07/22/2009 18:45 strikeraid#26
oh did i mention that you can't open the memory and change the address because dunmgr.des hides the process? i've been searching for 12+hrs to find the PID without using "wingetprocess" since twelvesky2's process is hidden.

anyways. i got the autobuffer working to buff even when spamming aoe's i think. thats why you gotta check your PMs krzy. send me your email too so i can send you my test bot.
07/22/2009 18:46 strikeraid#27
wtf double post. i swear i pushed the "post quick reply" once. LOL
07/22/2009 18:48 Krzy305#28
You never sent me the script and Ive been PMing you lol am waiting on you =P and no wonder I couldn't get it to work stupid dun file -.-, but you can still find the 12sky2.exe with window process list atleast for CE.
07/22/2009 19:02 strikeraid#29
Yea so basically CE for everything else. haha. damn... woulda been a nice bot if i could have autorevive and autopot built in.
07/22/2009 20:36 XiaoBao#30
lol not for aeria, it still works reading the adresses. :P Aeria ftw? haha