|
You last visited: Today at 16:05
Advertisement
AutoIT Healthbar,Mob attack ?
Discussion on AutoIT Healthbar,Mob attack ? within the AutoIt forum part of the Coders Den category.
12/30/2012, 23:28
|
#1
|
elite*gold: 68
Join Date: Feb 2011
Posts: 401
Received Thanks: 96
|
AutoIT Healthbar,Mob attack ?
Hallo ich mache ein bot und ich habe die memory Adressen von Max HP und actual Hp wie kan ich damit eine healthbar machen ? die mit Grün und rot %100 ,%90 hp anzeigt
? und when etc. Hp weniger als %50 ist das dan eine function ausfürt ?
Das hp ist nicht immer gleich etc: bei einen account 225 beim anderen 4002 ...
Und kan ich mit Memory Adressen mob attacken ?oder nur mit packets ? wie kan ich von ollydbg das Packet Send & Receiv Adresse finden ?(Irgendwie find die adressen nich für packets  )
English:
Hi i make a bot and i have the memory adresses from max hp and actual hp i will make a health bar that show the hp in form with green to red and write on it %100 hp %90hp etc...
and how can i make example hp is under %50 then it use a function that i added ?
Note:The max hp is not allways the same,in some accounts it 225 in some 4002 etc.......
And can i make With memory adresses Mob (Online game mmorpg) ?or only with packets ?(i cant find the packets in ollydbg  i try to find it but i cannot find them)how can i find them ?
Please add what i must include
and on the codes this ; What the code do
only give the code that i will i mean not a full code
and if you can give examples too.
Thanks for your help..
|
|
|
12/30/2012, 23:40
|
#2
|
elite*gold: 528
Join Date: Jan 2012
Posts: 2,127
Received Thanks: 2,403
|
Hi
GuictrlcreateProgress
If $iHP/$iGesamtHP*100 < 50 then _Func()
MfG
|
|
|
12/31/2012, 12:53
|
#3
|
elite*gold: 68
Join Date: Feb 2011
Posts: 401
Received Thanks: 96
|
Quote:
Originally Posted by Achat
Hi
GuictrlcreateProgress
If $iHP/$iGesamtHP*100 < 50 then _Func()
MfG
|
hier das habe ich bei progressbar gemacht;
GUICtrlSetData($progressbar1, ($HP/$GHP*100 < 100)) ABER Funct nicht  sorry ich bin so gut bei auto it.
eng:
that i maked GUICtrlSetData($progressbar1, ($HP/$GHP*100 < 100)) but the progressbar will not full or only %100 full and not changing ..
Kanst du helfen ?_ danke
|
|
|
12/31/2012, 14:55
|
#4
|
elite*gold: 528
Join Date: Jan 2012
Posts: 2,127
Received Thanks: 2,403
|
Quote:
Originally Posted by blackout617
GUICtrlSetData($progressbar1, ($HP/$GHP*100 < 100))
|
< kleiner als
Code:
GUICtrlSetData($progressbar1, $HP/$GHP*100)
MfG
|
|
|
12/31/2012, 16:34
|
#5
|
elite*gold: 68
Join Date: Feb 2011
Posts: 401
Received Thanks: 96
|
Quote:
Originally Posted by Achat
< kleiner als
Code:
GUICtrlSetData($progressbar1, $HP/$GHP*100)
MfG
|
Funkt immer noch nicht 
Hp bar ist gans leer.
Was habe ich falsch gemacht ?
Ein teil von Code:
Code:
;**************Ja hier ist die ADRESS LİST*********************
Global Const $Mem_Address = 0x0ABCRYA0 ; <-- HP Adress
Global Const $Mem_Address2 = 0x0CDDEA4 ; <-- Gold Adress
Global Const $Mem_Address3 = 0x0APVXEO0 ; <-- Max HP Adress
Global Const $Mem_Address4 = 0x0SDRXQT2 ; <--- 1.Slot
GUICreate("Project Blackout617",200, 200,-1,-1,-1,$WS_EX_TOPMOST)
$Label_1 = GUICtrlCreateLabel("HP:",20, 60)
$Label_2 = GUICtrlCreateLabel("Gold:" ,20, 80)
$Label_3 = GUICtrlCreateLabel("Here Will Show Your HP-Blackout",40, 60)
$Label_4 = GUICtrlCreateLabel("Here Will Show Your Gold-Blackout" ,45, 80)
$maxhp = GUICtrlCreateLabel("?????????",65,60) ;
$map = GUICtrlCreateLabel("1.Slot:",20,100)
$map2 = GUICtrlCreateLabel("Here Will Show Your User Name-Blackout",50,100)
$progressbar1 = GUICtrlCreateProgress(10, 10, 200, 20)
GUICtrlSetColor(-1, 32250); not working with Windows XP Style
;$progressbar2 = GUICtrlCreateProgress(10, 30, 200, 20, $PBS_SMOOTH) ; disabled
;GUICtrlCreateProgress(10,10,80,10,1,1)
;GuictrlcreateProgress
GUISetState ()
$HP=Readmem()
$MaxHP=Readmem3()
;~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Func HpCheck()
; If $Label_3/$maxhp*100 < 50 then msg( ;disabled ich brauche es der zeit noch nicht
EndFunc
Func msg()
MsgBox(0,"Wow","HP %50")
EndFunc
; $
While 1
;$msg = GUIGetMsg()
;Select
; Case $msg = $GUI_EVENT_CLOSE
; ExitLoop
; Case $msg = $Button_1
sleep(100)
ReadMem()
sleep(45)
ReadMem2()
sleep(12)
ReadMem3()
sleep(45)
sleep(12)
ReadMem4()
sleep(45)
HpCheck()
GUICtrlSetData($progressbar1, $HP/$MaxHP*100)
sleep(120)
Eng:
I Maked it but not working the health bar was empty allways 
A Place from my code:
Code:
;**************Ja hier ist die ADRESS LİST*********************
Global Const $Mem_Address = 0x0ABCRYA0 ; <-- HP Adress
Global Const $Mem_Address2 = 0x0CDDEA4 ; <-- Gold Adress
Global Const $Mem_Address3 = 0x0APVXEO0 ; <-- Max HP Adress
Global Const $Mem_Address4 = 0x0SDRXQT2 ; <--- 1.Slot
GUICreate("Project Blackout617",200, 200,-1,-1,-1,$WS_EX_TOPMOST)
$Label_1 = GUICtrlCreateLabel("HP:",20, 60)
$Label_2 = GUICtrlCreateLabel("Gold:" ,20, 80)
$Label_3 = GUICtrlCreateLabel("Here Will Show Your HP-Blackout",40, 60)
$Label_4 = GUICtrlCreateLabel("Here Will Show Your Gold-Blackout" ,45, 80)
$maxhp = GUICtrlCreateLabel("?????????",65,60) ;
$map = GUICtrlCreateLabel("1.Slot:",20,100)
$map2 = GUICtrlCreateLabel("Here Will Show Your User Name-Blackout",50,100)
$progressbar1 = GUICtrlCreateProgress(10, 10, 200, 20)
GUICtrlSetColor(-1, 32250); not working with Windows XP Style
;$progressbar2 = GUICtrlCreateProgress(10, 30, 200, 20, $PBS_SMOOTH) ; disabled
;GUICtrlCreateProgress(10,10,80,10,1,1)
;GuictrlcreateProgress
GUISetState ()
$HP=Readmem()
$MaxHP=Readmem3()
;~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Func HpCheck()
; If $Label_3/$maxhp*100 < 50 then msg( ;disabled ich brauche es der zeit noch nicht
EndFunc
Func msg()
MsgBox(0,"Wow","HP %50")
EndFunc
; $
While 1
;$msg = GUIGetMsg()
;Select
; Case $msg = $GUI_EVENT_CLOSE
; ExitLoop
; Case $msg = $Button_1
sleep(100)
ReadMem()
sleep(45)
ReadMem2()
sleep(12)
ReadMem3()
sleep(45)
sleep(12)
ReadMem4()
sleep(45)
HpCheck()
GUICtrlSetData($progressbar1, $HP/$MaxHP*100)
sleep(120)
|
|
|
12/31/2012, 16:56
|
#6
|
elite*gold: 235
Join Date: Jan 2012
Posts: 920
Received Thanks: 377
|
Es kann eig. nur an zwei Dingen liegen:
Entweder $HP/$GHP*100 ist größer 100
oder
$HP/$GHP*100 ist kleiner 0
Nur mal so am Rande:
Wenn HP die volle HP ist z.B 200 und GHP die HP die man hat z.B 133 dann wäre die Rechnung (133*100)/200 und nicht 200/133*100
|
|
|
12/31/2012, 17:34
|
#7
|
elite*gold: 68
Join Date: Feb 2011
Posts: 401
Received Thanks: 96
|
Quote:
Originally Posted by Croco™
Es kann eig. nur an zwei Dingen liegen:
Entweder $HP/$GHP*100 ist größer 100
oder
$HP/$GHP*100 ist kleiner 0
Nur mal so am Rande:
Wenn HP die volle HP ist z.B 200 und GHP die HP die man hat z.B 133 dann wäre die Rechnung (133*100)/200 und nicht 200/133*100
|
also meinst du;
($HP*100)/$MaxHP =?
die variable habe ich anders gemacht kanst im den gucken den habe gepostet dar
aber leider funkt es immer nocht nicht  .
Bei labels ist es grade so;
HP:485 485
HP  DAS IST ACTUAL HP) (UND HIER MAXHP)
Und die progressbar ist empty
|
|
|
12/31/2012, 17:58
|
#8
|
elite*gold: 0
Join Date: Mar 2009
Posts: 2,317
Received Thanks: 1,255
|
zeig doch mal alles, was du bisher hast, dann können wir es allgemein verbessern.
hast eh ein haufen müll drin.
|
|
|
12/31/2012, 18:07
|
#9
|
elite*gold: 68
Join Date: Feb 2011
Posts: 401
Received Thanks: 96
|
Quote:
Originally Posted by omer36
zeig doch mal alles, was du bisher hast, dann können wir es allgemein verbessern.
hast eh ein haufen müll drin.
|
das problem ist bei health bar und dafür reicht der code .Das andere ist Die functionen MemoryRead Process open und soo weiter...
|
|
|
12/31/2012, 18:14
|
#10
|
elite*gold: 235
Join Date: Jan 2012
Posts: 920
Received Thanks: 377
|
Hast du dir mal in einer MsgBox ausgeben lassen was bei deiner Rechung raus ?
|
|
|
12/31/2012, 18:18
|
#11
|
elite*gold: 1000
Join Date: Apr 2012
Posts: 1,003
Received Thanks: 208
|
Quote:
Global Const $Mem_Address = 0x0ABCRYA0 ; <-- HP Adress
Global Const $Mem_Address2 = 0x0CDDEA4 ; <-- Gold Adress
Global Const $Mem_Address3 = 0x0APVXEO0 ; <-- Max HP Adress
Global Const $Mem_Address4 = 0x0SDRXQT2 ; <--- 1.Slot
|
Wie kommst du bitteschön auf die Adressen? Hast du die geändert? Die machen nämlich keinen Sinn und sind definitiv falsch.
|
|
|
12/31/2012, 19:47
|
#12
|
elite*gold: 68
Join Date: Feb 2011
Posts: 401
Received Thanks: 96
|
Quote:
Originally Posted by qkuh
Wie kommst du bitteschön auf die Adressen? Hast du die geändert? Die machen nämlich keinen Sinn und sind definitiv falsch.
|
die adressen habe ich geändert
Quote:
Originally Posted by Croco™
Hast du dir mal in einer MsgBox ausgeben lassen was bei deiner Rechung raus ?
|
habe es jetzt ge testet es komt 1.#INF was ist das 
aber bei der labels steht das hp correct
Code:
MsgBox(0,"Test",$HP*100/$MaxHP)
und bei
Code:
MsgBox(0,"Test",$HP*$MaxHP/100)
komt 0
aber bei:
Code:
MsgBox(0,"Test",$HP/$MaxHP*100)
komt es wieder 1.#INF
was ist das den
Code:
MsgBox(0,"Test",$MaxHp)
es komt 0 aber es must 510 zein.  ?? beim label ist $MaxHP, 510
|
|
|
12/31/2012, 20:35
|
#13
|
elite*gold: 0
Join Date: Mar 2009
Posts: 2,317
Received Thanks: 1,255
|
1.#INF kommt bei einer division durch 0
$HP*100/$MaxHP
also ist deine $MaxHP = 0.
also ist deine addresse falsch.
|
|
|
12/31/2012, 20:40
|
#14
|
elite*gold: 68
Join Date: Feb 2011
Posts: 401
Received Thanks: 96
|
Quote:
Originally Posted by omer36
1.#INF kommt bei einer division durch 0
$HP*100/$MaxHP
also ist deine $MaxHP = 0.
also ist deine addresse falsch.
|
die adresse habe ich mit c.e. gefunden in 4bytes search und in labels ist die Hp richtig.
Maxhp msg box=0
hp msg box = 6 ..s
|
|
|
12/31/2012, 20:51
|
#15
|
elite*gold: 0
Join Date: Mar 2009
Posts: 2,317
Received Thanks: 1,255
|
Quote:
Originally Posted by blackout617
die adresse habe ich mit c.e. gefunden in 4bytes search und in labels ist die Hp richtig.
Maxhp msg box=0
hp msg box = 6 ..s
|
was sollen wir da noch sagen?
wenn die msgbox für deine maxhp 0 zeigt muss sie wohl falsch sein.
dir ist schon kla, dass nach jedem neustart des spiels sich auch die addressen ändern ja?
oder (wie ichs schon anfangs sagte) zeig uns alles und wir schauen ob du nocht doch ein fehler hast.
du brauchst keien angst zu haben, dass dir jemand dein code klaut.......
|
|
|
 |
|
Similar Threads
|
Unity 3D HealthBar
02/21/2012 - Off Topic - 0 Replies
Hey Leute,
als 1.
Ich weiß nicht genau wo das rein kommt deswegen poste ich es hier:
ich habe ein c# Script gemacht womit ist eine Lebensanzeige bekommen sollte, diese wird aber in Unity 3D 3.5 NICHT angezeigt, woran liegt das?
Script:
using UnityEngine;
using System.Collections;
|
[Release] Healthbar ESP
05/25/2010 - GW Exploits, Hacks, Bots, Tools & Macros - 37 Replies
Hello !
As my last Release was for Programmers only, this is a Healthbar ESP - made for PvP !
What are the single executable Files for?
The Healthbar ESP Startup.exe is the standard-launcher, which is everytime executed,
if you want to launch the Healthbar ESP.
The TryToRepair.exe is only for the users, which have occuring errors with the 'd3dx9_42.dll'.
|
autoIT simple Target&attack bot help
01/29/2010 - AutoIt - 7 Replies
ok got something here and im stucked please.. could anyone have a tip or suggestion in this code:
#include <GUIConstantsEx.au3>
GUICreate("Forsaken's Bot", 335, 100)
GUISetState(@SW_SHOW)
$startbutton = GUICtrlCreateButton("Start", 190, 8, 60)
HotKeySet("{ESC}", "Terminate")
|
All times are GMT +1. The time now is 16:05.
|
|