pixellegolas Posted October 26, 2007 Share Posted October 26, 2007 How do i make two functions run at same time simultaniously? I have it like this now: Winactive blah blah... attack() buff() Func attack() send 1 sleep(200) send 2 sleep(200) and so on Func end Func buff() send 5 sleep (30000) Func end The reason is i want my character to attack all the time but use the buff only once in a much longer time. I tried different ways but either it jumps over the buff() or it first attacks then jumps to buff and the sleep very long and then back to attack. I tried like this while 1 attack() buff() wend and another was to put buff() inside func attack() like this: Func attack() send 1 sleep(200) send 2 sleep(200) and so on buff() Func end But neither of this makes them work parallel And also note that is not the real code just a quick scribble so don't comment that the for example send should be written in another way Link to comment Share on other sites More sharing options...
weaponx Posted October 26, 2007 Share Posted October 26, 2007 Function 1: Computer running game Function 2: Human playing game Problem solved. Link to comment Share on other sites More sharing options...
pixellegolas Posted October 26, 2007 Author Share Posted October 26, 2007 Function 1: Computer running gameFunction 2: Human playing gameProblem solved.function 1: Human need sleep and want helpfunction: Computer don't need sleep and want to helpHuman very happy to get help from very nice computer and gives him for RAM for birthday Link to comment Share on other sites More sharing options...
DW1 Posted October 26, 2007 Share Posted October 26, 2007 Function 1: Computer running gameFunction 2: Human playing gameProblem solved.LMFAO, I don't think weaponx likes cheaters AutoIt3 Online Help Link to comment Share on other sites More sharing options...
pixellegolas Posted October 26, 2007 Author Share Posted October 26, 2007 Well, he doesn't even know why i am making this so i don't really bother about it And if it was cheating i would rather call it schortcutting or "just doing the fun stuff in the game and don't bother about the rest". I totally understand the anti-cheat feeling but this is for a good cause Link to comment Share on other sites More sharing options...
Blue_Drache Posted October 26, 2007 Share Posted October 26, 2007 (edited) The solution lies in a particular function that runs an impromptu function every X # of seconds. You just have to enable it in a line. Keep in mind, you can only have one of these running per program.You could also use a Timer function....Or something similar toIf Mod(@SEC, 4) = 0 Then ; Check the status of the buttons and lamps once every 4 seconds. Change if required. If $i_ModFlag = 0 Then _LoliCheck() $i_ModFlag = 1 EndIf Else $i_ModFlag = 0 EndIfThat's all the help you're getting from me.I detest bots. Edited October 26, 2007 by Blue_Drache Lofting the cyberwinds on teknoleather wings, I am...The Blue Drache Link to comment Share on other sites More sharing options...
Nevin Posted October 26, 2007 Share Posted October 26, 2007 I will rejoice the day that Blizzard games do not have bots in them, but until then. I sometimes use them just to keep up. It's insane how screwed up the economy gets in Diablo II. When you do find something decent on your own, everyone else has a mule full of them, because they bot 24/7. Everyone else has a shiny suit of armor, mostly from cheating , and I'm always wearing rags because I don't have time to MF all day long. Link to comment Share on other sites More sharing options...
Blue_Drache Posted October 26, 2007 Share Posted October 26, 2007 It will never happen. Lofting the cyberwinds on teknoleather wings, I am...The Blue Drache Link to comment Share on other sites More sharing options...
weaponx Posted October 26, 2007 Share Posted October 26, 2007 When I play Oblivion do I have a bot gather Nirnroot? HELL NO! I go out and gather that shit myself even if it takes 3 weeks. When I play Call of Duty do I have an aimbot target the heads of my enemies? HELL NO! I run up in their face with my thompson on full auto. When I play Battlefield 2 do I wall hack? SHIT NO! I get my ass kicked just like everyone else. I have to hit an enemy 3 times with my 50 cal to kill him just like every other MF! So, in closing I would just like to note that no, I don't support game hacking. Link to comment Share on other sites More sharing options...
pixellegolas Posted October 26, 2007 Author Share Posted October 26, 2007 well aimbotting i can agree is bad because then you use skill that you have trained but collecting some shitty flowers...where is the skill? I will not argue with you because i agree fully but i still want to test this for a open beta game that will soon close anyhow. And it's just that i want to see the next armors before it closes Link to comment Share on other sites More sharing options...
Nevin Posted October 26, 2007 Share Posted October 26, 2007 Yeah, I hate all that shit, too. Those hacks are on an entirely different level than just killing Mephisto over and over again, too. Although the only bot I ever used was a Pindlebot...I actually would like to write one now, even though I don't play D2 anymore. I have a lot to learn about AutoIt and all projects help me learn a bit more. I don't really know anyone who would want to take the time to explain all the pixel editing crap to me though. Link to comment Share on other sites More sharing options...
Blue_Drache Posted October 26, 2007 Share Posted October 26, 2007 Forum search for a D2 bot. Tons are here. Read and learn. Lofting the cyberwinds on teknoleather wings, I am...The Blue Drache Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now