Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Guild Wars > GW Bots
You last visited: Today at 03:49

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



GWCA Deathcheck

Discussion on GWCA Deathcheck within the GW Bots forum part of the Guild Wars category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Feb 2009
Posts: 31
Received Thanks: 2
GWCA Deathcheck

Hey...irgendwie bekomm ichs nicht hin, nen vernünftigen Deathcheck in GWCA zu schreiben. Der hier funktioniert nicht:
PHP Code:
$cbType "int"
   
Do
      
Sleep(250)
      
CmdCB($CA_GETDEAD)
   
Until $cbVar[0] = 
Kann mir jemand helfen? Wäre nett ;-)
G1337 is offline  
Old 02/03/2010, 06:30   #2
 
solos's Avatar
 
elite*gold: 0
Join Date: Dec 2007
Posts: 324
Received Thanks: 85
Func DeathCheck()
$cbType = "int"
CmdCB($CA_GETDEAD)
If $cbVar[0] = 1 Then
Resign()
EndIf
EndFunc
solos is offline  
Old 02/03/2010, 14:09   #3
 
elite*gold: 0
Join Date: Feb 2009
Posts: 31
Received Thanks: 2
Hmm also irgendiwe klappt das nicht bei mir...weder so:
PHP Code:
shellExecute("fight.exe")

While 
1
    $cbType 
"int"
    
CmdCB($CA_GETISDEAD, -2)
    If(
$cbVar[0] = 1Then
            UpdateStatus
("Dead, waiting")
            
ProcessClose("fight.exe"
Noch so:
PHP Code:
shellExecute("fight.exe")

While 
1
Adlibenable
("Deathcheck")



 
Func DeathCheck()
$cbType "int"
CmdCB($CA_GETDEAD)
If 
$cbVar[0] = 1 Then
UpdateStatus
("Dead, waiting")
ProcessClose("fight.exe")
EndIf
EndFunc 
Wäre schön wenn mir wer helfen kann!
G1337 is offline  
Old 02/04/2010, 13:52   #4
 
Cr33p's Avatar
 
elite*gold: 0
The Black Market: 133/0/1
Join Date: Mar 2008
Posts: 820
Received Thanks: 156
Hmm...machs einfach mit der HP-Abfrage:

PHP Code:
  shellExecute("fight.exe"

  Do
            
Sleep(200)
            
$cbType "float"
            
CmdCB($CA_GetHP, -2)
         
Until $cbVar[0] = 0        
                      UpdateStatus
("Dead, waiting")
                      
ProcessClose("fight.exe"
Cr33p is offline  
Reply


Similar Threads Similar Threads
Ständiger Deathcheck | Start-Button
05/13/2010 - GW Bots - 28 Replies
Hey ihr, nachdem ich über das letzte Event hinweg ein paar der hier zu findenden Bots durchprobiert habe, spinnt seit vorgestern der Wunsch in meinem Kopf rum, sowas tolles möchte ich auch können! :D Also habe ich mir ein paar Tuts angesehn, da mir AutoIt ja bis dato noch gänzlich unbekannt war und dann einfach mal drauflosgelegt. Ganz nach dem Motto: Learning by Doing. Klappt auch soweit besser als erwartet. Immerhin bin ich schonmal soweit, dass mein kleiner Bot in den nötigen...
Deathcheck
04/26/2009 - GW Bots - 65 Replies
Ich hab in der Suchfunktion gesucht und hab mir fast alles durchgelesen... dabei kam das hier raus: If _MemoryRead($Check_NPC, $hprocess) = 1 Then Sleep(10000) ControlSend("Guild Wars", "", "", "ö") Sleep(100) ControlSend("Guild Wars", "", "", "{SPACE}") Sleep(100)
Frage zu Memories + DeathCheck
02/13/2009 - GW Bots - 62 Replies
Kann mir wer das Script für den DeathCheck nochmal zeigen? Wäre sehr nett. Und noch eine Frage: Wie kriege ich das hin, das der Bot weiss wieviele Kreaturen ich schon getötet habe? Danke im vorraus! #N.E.O.
Dauerhafter Deathcheck
01/01/2009 - Guild Wars - 14 Replies
Hi also ich wollte gerne den Deathcheck über AdlibEnable laufen lassen. Aber das geht ja nicht, weil er dann die laufende Funktion nicht abbricht. Wie regelt ihr das denn mit den Deathcheck?
Dauerhafter Deathcheck
12/16/2008 - Guild Wars - 19 Replies
Also meine frage ist nun wie ich einen dauerhaften Deathcheck einbauen kann. Also natürlich mit einer schleife welcher schleifencode wäre dafür am besten? Diese schleife soll dauerhaft im ganzen script laufen halt per memory abfrage Die memory adresse dafür ist momentan $Deathcheck = a044ec Valuers sind Nicht Tod = 0 Tod = 1



All times are GMT +1. The time now is 03:49.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.