Sign in to follow this  
Followers 0
kookoosan

Need help :( with a check au3

48 posts in this topic

What im changing here is that it will join a private channel in a game and flood in that channel but I want it to flood every 2 runs but it floods every run I dont get it why Done like 5-10 variants to fix this error, Please can someone help me?

;  /////////// JHJ RESTARTER /////////////
; ///////////// by Cascius //////////////
;//////////////// v 1.0 ////////////////
;//// Modyfied By KooKooSan //////////

AutoItSetOption("MouseCoordMode", 0)

$counter = 0

Func CheckCount() 
         $counter = $counter + 1
    
         If $counter = 4 then 
       
         WinActivate("Create Delay") 

         


        Opt("SendKeyDelay", 1) 
        MouseClick("Left", 82, 501)
        MouseClick("Left", 583, 506)
        MouseClick("Left", 573, 178)
        Send("123") 
        MouseClick("Left", 726, 443)
        MouseMove(200, 560) 
        MouseClick("left", 200, 560, 10) 
        Sleep(500) 
        Send ("dsaliyrtgf") 
        Send ("{ENTER}") 
        Sleep(500) 
        Send ("hthtdeeds") 
        Send ("{ENTER}") 
        Sleep(500) 
        Send ("hi") 
        Send ("{ENTER}") 
        Sleep(5000) 
        $counter = 0

    EndIf 
EndFunc 
Do 
   
   
   $JHJNAME = IniRead("restarter.ini", "Settings", "jhjname", "NotFound")
   $RUNS = IniRead("restarter.ini", "Settings", "runs", "NotFound")
   $DELAY = IniRead("restarter.ini", "Settings", "delay1", "NotFound")
   $KILL = IniRead("restarter.ini", "Settings", "kill", "NotFound")
   $RD_DELAY = IniRead("restarter.ini", "Settings", "delay2", "NotFound")
   $MODE = IniRead("restarter.ini", "Settings", "mode", "NotFound")
   $WIN98FIX = IniRead("restarter.ini", "Settings", "win98fix", "NotFound")
   
   
   
   
   If WinExists($JHJNAME, "Create Delay") Then  
   Call("CheckCount") 
   Endif
  
;// 




   
  ;/////////////// Start the Realm Down/# of runs Detection ///////////////
   
   $RESTART = 0
   If WinExists($JHJNAME, "Realm Down") Then
      $RESTART = 1
      $WAIT = $RD_DELAY
   EndIf
   If WinExists($JHJNAME, "Total  : " & $RUNS) Then
      $RESTART = 1
      $WAIT = $DELAY
   EndIf
   If WinExists($JHJNAME, "T2     : 12:0" & $KILL) Then
      $RESTART = 1
      $WAIT = $DELAY
   EndIf
   
   
  ;/////////////// End the Realm Down/# of runs Detection ///////////////
   
   
   
   
   
  ;/////////////// Start the restart process ///////////////   
   
   If $RESTART = 1 Then
      
     ;--------------- This kills Diablo bots ---------------
      
      WinActivate($JHJNAME) 
      WinWaitActive($JHJNAME) 
      MouseClick("Left", 150, 210)
      Sleep($WAIT)
      
     ;--------------- Restart the bots ---------------
      WinActivate($JHJNAME) 
      WinWaitActive($JHJNAME)       
      If $MODE = 0 Then
         MouseClick("Left", 150, 71)
      Else
         MouseClick("Left", 75, 60)
         MouseClick("Left", 150, 110)
      EndIf
      If $WIN98FIX = 1 Then
         Sleep(5000)
         Run("Loader.exe")
      EndIf
      Sleep(5000)
      
   EndIf
   
  ;/////////////// End the restart process ///////////////      
   
   
   
   
   
  ;/////////////// Start the "Wait for Bnet" Detection ///////////////
   
   If $MODE = 1 Then
      If WinExists("PBot by JHJ - Translated By LordLardo and Fish Beans", "Wait BN") Then
         
         
        ;--------------- Switch Character and CDkey ---------------
         WinActivate($JHJNAME) 
         WinWaitActive($JHJNAME) 
         MouseClick("Left", 150, 210)
         Sleep(500)
         MouseClick("Left", 75, 60)
         MouseClick("Left", 150, 110)
         Sleep(5000)
      EndIf      
   EndIf
   
  ;/////////////// End the "Wait for Bnet" Detection ///////////////
   
   
   
   
   
   
   Sleep(1000);// This delay reduces CPU load
   
   $VARIABLE = $VARIABLE + 1 
Until $VARIABLE = 5000000000000 


; Finished!

Share this post


Link to post
Share on other sites



I dont get it I dont get answers here and I dont get answers in blizzhackers...IM getting really sad and abandonded now..

Share this post


Link to post
Share on other sites

I think that none wants to help a flooder. Sorry for being so crude.

Share this post


Link to post
Share on other sites

I think that none wants to help a flooder. Sorry for being so crude.

<{POST_SNAPBACK}>

no problem..it just that.. I really need help and I tried several other forums without help..just thought that maybe autoit ppl can help me :ph34r:

Share this post


Link to post
Share on other sites

no problem..it just that.. I really need help and I tried several other forums without help..just thought that maybe autoit ppl can help me  :ph34r:

Why would you want to flood a channel? What does it mean?

Share this post


Link to post
Share on other sites

#6 ·  Posted (edited)

no problem..it just that.. I really need help and I tried several other forums without help..just thought that maybe autoit ppl can help me  :ph34r:

<{POST_SNAPBACK}>

So you want us to help you, to annoy other people in that "channel"?! Edited by SlimShady

Share this post


Link to post
Share on other sites

So you want us to help you, to annoy other people in that "channel"?!

<{POST_SNAPBACK}>

OMG If you dont know It creates a new channel to flood in 3 lines this is for Too prevent R/D in diablo

Share this post


Link to post
Share on other sites

Here's a piece of advice for you. If you want to make this bot do what you want, spend your time trying to learn the language and not waiting around for somebody on a forum to answer you. The language isn't really all that hard to learn and you could of probably learned enough by now if you'd of stopped trying to fix this script and just concentrated on writing something trivial of your own.

Most people here have a distaste for bot-writing. Most people also have a distaste for people wanting somebody else to do the work for them. Put the two together and you're in an even bigger hole. We will help you if you have a problem with AutoIt, one of its commands, et cetera; but you have to at least demonstrate some knowledge of what you are doing or an attempt at what you've done. We will not help you write or modify a bot to suit your needs when you are not willing to learn the language and do it on your own.

Share this post


Link to post
Share on other sites

Here's a piece of advice for you.  If you want to make this bot do what you want, spend your time trying to learn the language and not waiting around for somebody on a forum to answer you.  The language isn't really all that hard to learn and you could of probably learned enough by now if you'd of stopped trying to fix this script and just concentrated on writing something trivial of your own.

Most people here have a distaste for bot-writing.  Most people also have a distaste for people wanting somebody else to do the work for them.  Put the two together and you're in an even bigger hole.  We will help you if you have a problem with AutoIt, one of its commands, et cetera; but you have to at least demonstrate some knowledge of what you are doing or an attempt at what you've done.  We will not help you write or modify a bot to suit your needs when you are not willing to learn the language and do it on your own.

<{POST_SNAPBACK}>

mY way of learning is to modified already done scripts and everytime I modyfies something I learn from when I do wrong and when I do right.. And I dont want any1 to do the work for me, I've written some code and now I dont get it to work..the way I want it to..if I get to learn why then I have accompleished something and learned from it.

Share this post


Link to post
Share on other sites

Lots of creative scripts in the forum to learn from. No need for scripts that only ruin a game. Whether good or bad, game bots are wicked pieces of work.

Anyone using methods to alter a game, do not deserve to be in the game.

:ph34r:

Share this post


Link to post
Share on other sites

$VARIABLE = $VARIABLE + 1

Until $VARIABLE = 5000000000000

the point of this is? why not just

HotKeySet( "{ESC}", "die" )

Func die()

Exit

EndFunc

While 1

(ALL OF YOUR CODE)

WEnd

instead of trying to go to a reall high number?

Share this post


Link to post
Share on other sites

$VARIABLE = $VARIABLE + 1

Until $VARIABLE = 5000000000000

the point of this is? why not just

HotKeySet( "{ESC}", "die" )

Func die()

Exit

EndFunc

While 1

(ALL OF YOUR CODE)

WEnd

instead of trying to go to a reall high number?

<{POST_SNAPBACK}>

I can see that I wont getting any help here ...well thx 4 nothing all I wanted was some help..

Share this post


Link to post
Share on other sites

I can see that I wont getting any help here ...well thx 4 nothing all I wanted was some help..

<{POST_SNAPBACK}>

A better attitude, a demonstration of actually wanting to learn the language, showing what specifically you have a problem with are all good ways to get help. Whining around is not. Re-evaluate your help-asking methods and you might actually get help and not ignored.

Share this post


Link to post
Share on other sites

Since it is just for avoiding R/D I think it is not sooo bad.

Since I never played Diablo 2 I hardly understand what do you mean to do. What do you mean with every 2 runs instead that every run?

Share this post


Link to post
Share on other sites

Since it is just for avoiding R/D I think it is not sooo bad.

Since I never played Diablo 2 I hardly understand what do you mean to do. What do you mean with every 2 runs instead that every run?

<{POST_SNAPBACK}>

R/D is something blizzard has done to stop botting, but I figured out how to prevent R/D , Why I dont want it to spam every run is because then it will give me a timeban for spamming , I want it to do every 2 run just because to avoid timeban too...

:ph34r:

Share this post


Link to post
Share on other sites

Ooh, maybe it's Realm Down? It's a message you get telling you that you can't log on for a bit. It seems to happen when you sign off/on really quickly. It happens to me all the time whenever I'm trying to sign on my characters so they don't expire (Diablo II characters expire after 90 days if they aren't used). I don't play the game anymore, however, so I may be wrong about what he means.

Share this post


Link to post
Share on other sites

R/D is something blizzard has done to stop botting, but I figured out how to prevent R/D , Why I dont want it to spam every run is because then it will give me a timeban for spamming , I want it to do every 2 run just because to avoid timeban too...

:(

<{POST_SNAPBACK}>

ok... that explains it all ...... :ph34r:

Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

Can someone translate for a non-diablo player? :ph34r:

<{POST_SNAPBACK}>

What he means is he has a bot doing runs for him. After every other run he wants it to go into the chat, make a room and then type something. This will keep the bot from getting a Realm Down, in other words disconnected.

Share this post


Link to post
Share on other sites

What he means is he has a bot doing runs for him. After every other run he wants it to go into the chat, make a room and then type something. This will keep the bot from getting a Realm Down, in other words disconnected.

<{POST_SNAPBACK}>

The rEalm down lasts in 1 hour so :/ Does anyone have a solution? how to fix the code?? cuz It spams everytime instead of every 2 Runs

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0