Skocz do zawartości

Dołącz do społeczności!

👋 Witaj na MPCForum!

Przeglądasz forum jako gość, co oznacza, że wiele świetnych funkcji jest jeszcze przed Tobą! 😎

  • ✅ Pełny dostęp do działów i ukrytych treści
  • ✅ Możliwość pisania i odpowiadania w tematach
  • ✅ System prywatnych wiadomości
  • ✅ Zbieranie reputacji i rozwijanie swojego profilu
  • ✅ Członkostwo w jednej z największych społeczności graczy

👉 Dołączenie zajmie Ci mniej niż minutę – a zyskasz znacznie więcej!

Zarejestruj się teraz

Autoit Tibia

Rekomendowane odpowiedzi

Opublikowano

Cześć, pobierałem zawsze dane z tibi na temat many za pomoca cheat engine, ale teraz gdy pobieram dane to one po wyłaczeniu klienta się zmieniają i mam pytanie jak pobrac żeby sie nie zmieniały. Dzieki za odpowiedzi

Opublikowano

musisz znalezc adres statyczny czy cos w tym guscie ...

W dziale CE Ci pomoga i moze znajdziesz tuty

Opublikowano

Pomocne może być dla ciebie hasło "Multi Level Pointer", w toutorialu CheatEngine, o ile z takiego korzystałeś, jest to bodajże 8 czy 9 punkt.

 

Do odczytania wartości, przyda ci się UDF NomadMemory.au3 w nowej wersji, z PointerSupport.

 

Ważna wskazówka:

Offsety zawsze zapisujemy od końca.

Opublikowano

Od ostatniego update'a wprowadzili do każdego adresu baseadress i teraz jest z tym więcej jebania;/ i np: mi się to psuje co jakieś 3 dni i nie czyta adresów ale tak poza jest git.(to chyba zależy od tego jak mi się komp odpala bo po resecie czasem jest ok odrazu) :)

Tu masz includa do baseadress:

 

;===================================================================================================

; Function........:  _MemoryGetBaseAddress($ah_Handle, $iHD)
;
; Description.....:  Reads the 'Allocation Base' from the open process.
;
; Parameter(s)....:  $ah_Handle - An array containing the Dll handle and the handle of the open
;                               process as returned by _MemoryOpen().
;                    $iHD - Return type:
;                       |0 = Hex (Default)
;                       |1 = Dec
;
; Requirement(s)..:  A valid process ID.
;
; Return Value(s).:  On Success - Returns the 'allocation Base' address and sets @Error to 0.
;                    On Failure - Returns 0 and sets @Error to:
;                  |1 = Invalid $ah_Handle.
;                  |2 = Failed to find correct allocation address.
;                  |3 = Failed to read from the specified process.
;
; Author(s).......:  Nomad. Szhlopp.
; URL.............:  http://www.autoitscript.com/forum/index.php?showtopic=78834
; Note(s).........:  Go to Www.CheatEngine.org for the latest version of CheatEngine.
;===================================================================================================

Func _MemoryGetBaseAddress($ah_Handle, $iHexDec = 0)

   Local $iv_Address = 0x00100000
   Local $v_Buffer = DllStructCreate('dword;dword;dword;dword;dword;dword;dword')
   Local $vData
   Local $vType

   If Not IsArray($ah_Handle) Then
       SetError(1)
       Return 0
   EndIf


   DllCall($ah_Handle[0], 'int', 'VirtualQueryEx', 'int', $ah_Handle[1], 'int', $iv_Address, 'ptr', DllStructGetPtr($v_Buffer), 'int', DllStructGetSize($v_Buffer))

   If Not @Error Then

       $vData = Hex(DllStructGetData($v_Buffer, 2))
       $vType = Hex(DllStructGetData($v_Buffer, 3))

       While $vType <> "00000080"
           DllCall($ah_Handle[0], 'int', 'VirtualQueryEx', 'int', $ah_Handle[1], 'int', $iv_Address, 'ptr', DllStructGetPtr($v_Buffer), 'int', DllStructGetSize($v_Buffer))
           $vData = Hex(DllStructGetData($v_Buffer, 2))
           $vType = Hex(DllStructGetData($v_Buffer, 3))
           If Hex($iv_Address) = "01000000" Then ExitLoop
           $iv_Address += 65536

       WEnd

       If $vType = "00000080" Then
           SetError(0)
           If $iHexDec = 1 Then
               Return Dec($vData)
           Else
               Return $vData
           EndIf

       Else
           SetError(2)
           Return 0
       EndIf

   Else
       SetError(3)
       Return 0
   EndIf

EndFunc   ;==>_MemoryGetBaseAddress

 

 

a tu żebyś wiedział jak uzyc

 

 

#include <NomadMemory.au3>
$PID = ProcessExists('Tibia.exe')
$MO = _MemoryOpen($PID)
$BaseAdress = _MemoryGetBaseAddress($MO, 1)
MsgBox(0, '', $BaseAdress);baseadress

$PlayerHealth = 0x7e2cd4 - 0x400000 + $BaseAdress;hp
$HP = _MemoryRead($PlayerHealth, $MO);czyta z pamieci gry ilosc hp
MsgBox(0, '', $HP)

 

Do
$wiek+=1
Until ŻycieGetMsg() = -3

zbieram +

Opublikowano
  • Autor

Dzieki loku za odpowiedź, ale nie wiem za bardzo czy mam te bassadress dodac do nomadmemory czy tez nowy plik zrobić z tym bassadres i jak zadeklarowac zeby czytał mane zebym nie musiał zmieniac co chwile

Opublikowano

@up teraz nie wiem czy sie zbijasz czy co:D?

 

@2up musisz do pierwszy spoiler dodać do nomadmemory.au3 (wklej sobie gdzieś na poczatku)

 

http://code.google.com/p/tibiaapi/source/browse/trunk/tibiaapi/Addresses/Versions/Version910.cs

tu masz adresy z tibia9,1 masz tam mane hp i cala reszte

 

 

#include <NomadMemory.au3>

$PID = ProcessExists('Tibia.exe');łapie procs

$MO = _MemoryOpen($PID);i go otwiera

$BaseAdress = _MemoryGetBaseAddress($MO, 1);tu ci wylapuje basadress

MsgBox(0, '', $BaseAdress);baseadress

 

$PlayerHealth = 0x7e2cd4 - 0x400000 + $BaseAdress;hp - czyli jego adres

$HP = _MemoryRead($PlayerHealth, $MO);czyta z pamieci gry ilosc hp (dodaj ta linijke w petle i masz czytanie adresu w kolko)

MsgBox(0, '', $HP);a tu ci go pokazuje

 

 

 

lub zrób sobie oddzielny include :D juz go zrobiłem musisz tylko dodać go do: Autoit>include>Tibia_Adresy.au3

i masz tu wszystko zadeklarowane:)

 

 

#include <nomadmemory.au3>
$PID = ProcessExists("Tibia.exe")
$memarray = _MemoryOpen($PID)
$BaseAdress = _MemoryGetBaseAddress($memarray, 1)
$PlayerFlags = 0x7e2cdc - 0x400000 + $BaseAdress
$PlayerId = 0x81ceac - 0x400000 + $BaseAdress
$PlayerHealth = 0x7e2cd4 - 0x400000 + $BaseAdress
$PlayerHealthMax = 0x81cea0 - 0x400000 + $BaseAdress
$PlayerMana = 0x81ce5c - 0x400000 + $BaseAdress
$BattleListStart = 0x7e4f98 - 0x400000 + $BaseAdress

$BattleListStepCreatures = 0xb0
$BattleListMaxCreatures = 1300
$BattleListEnd = $BattleListStart + ($BattleListStepCreatures * $BattleListMaxCreatures)

$ClientSocketStruct = 0x86c910 - 0x400000 + $BaseAdress
$ClientRecvPointer = 0x6c4928 - 0x400000 + $BaseAdress
$ClientSendPointer = 0x6c4958 - 0x400000 + $BaseAdress
$ClientLastRcvPacket = 0x822800 - 0x400000 + $BaseAdress
$ClientDecryptCall = 0x45d230 - 0x400000 + $BaseAdress
$ClientParserFunc = 0x45d1f0 - 0x400000 + $BaseAdress
$ClientXTeaKey = 0x7dad4c - 0x400000 + $BaseAdress
$ClientGetNextPacketCall = 0x4fc0c0 - 0x400000 + $BaseAdress

$ClientRecvStream = 0x9b2690 - 0x400000 + $BaseAdress
$ClientFrameRatePointer = 0x86d448 - 0x400000 + $BaseAdress
$ClientFrameRateCurrentOffset = 0x60
$ClientFrameRateLimitOffset = 0x58
$ClientMultiClient = 0x50f221 - 0x400000 + $BaseAdress
$ClientMultiClientJMP = 0xeb
$ClientMultiClientJNZ = 0x75
$ClientStatus = 0x8296ec - 0x400000 + $BaseAdress
$ClientSafeMode = 0x829506 - 0x400000 + $BaseAdress
$ClientFollowMode = 0x8270d8 - 0x400000 + $BaseAdress
$ClientAttackMode = 0x82950c - 0x400000 + $BaseAdress
$ClientActionState = 0x829698 - 0x400000 + $BaseAdress

$ClientStatusbarText = 0x86b360 - 0x400000 + $BaseAdress
$ClientStatusbarTime = 0x86b35c - 0x400000 + $BaseAdress
$ClientClickId = 0x9b34b4 - 0x400000 + $BaseAdress
$ClientClickCount = $ClientClickId + 4
$ClientClickZ = $ClientClickId - 0x68
$ClientSeeId = 0x9b2a2c - 0x400000 + $BaseAdress
$ClientSeeCount = $ClientSeeId + 4
$ClientSeeZ = $ClientSeeId - 0x68
$ClientClickContextMenuItemId = $ClientSeeId

$ClientClickContextMenuCreatureId = $ClientClickContextMenuItemId + 0xc
$ClientLoginServerStart = 0x821f98 - 0x400000 + $BaseAdress
$ClientStepLoginServer = 112
$ClientDistancePort = 100
$ClientMaxLoginServers = 10
$ClientRSA = 0x757280 - 0x400000 + $BaseAdress
$ClientLoginCharList = 0x8296b8 - 0x400000 + $BaseAdress
$ClientLoginCharListLength = 0x8296e8 - 0x400000 + $BaseAdress
$ClientLoginSelectedChar = 0x829738 - 0x400000 + $BaseAdress

$ClientDatPointer = 0x827030 - 0x400000 + $BaseAdress
$ClientEventTriggerPointer = 0x523750 - 0x400000 + $BaseAdress
$ClientDialogPointer = 0x81d45c - 0x400000 + $BaseAdress
$ClientDialogLeft = 0x14
$ClientDialogTop = 0x18
$ClientDialogWidth = 0x1c
$ClientDialogHeight = 0x20
$ClientDialogCaption = 0x50
$ClientLoginAccountNum = 0
$ClientLoginPassword = $ClientLoginCharList + 8
$ClientLoginAccount = $ClientLoginPassword + 32
$ClientLoginPatch = 0
$ClientLoginPatch2 = 0

$ContainerStart = 0x86f6b8 - 0x400000 + $BaseAdress
$ContainerStepContainer = 492
$ContainerStepSlot = 12
$ContainerMaxContainers = 16
$ContainerMaxStack = 100
$ContainerDistanceIsOpen = 0
$ContainerDistanceId = 4
$ContainerDistanceName = 16
$ContainerDistanceVolume = 48
$ContainerDistanceAmount = 56
$ContainerDistanceItemId = 60
$ContainerDistanceItemCount = 64
$ContainerEnd = $ContainerStart + ($ContainerMaxContainers * $ContainerStepContainer)

$ContextMenusAddContextMenuPtr = 0x4538e0 - 0x400000 + $BaseAdress
$ContextMenusOnClickContextMenuPtr = 0x453fd0 - 0x400000 + $BaseAdress

$ContextMenusAddSetOutfitContextMenu = 0x454626 - 0x400000 + $BaseAdress
$ContextMenusAddPartyActionContextMenu = 0x45454c - 0x400000 + $BaseAdress
$ContextMenusAddCopyNameContextMenu = 0x4546bd - 0x400000 + $BaseAdress
$ContextMenusAddTradeWithContextMenu = 0x4542b6 - 0x400000 + $BaseAdress
$ContextMenusAddLookContextMenu = 0x45418f - 0x400000 + $BaseAdress

$CreatureDistanceId = 0
$CreatureDistanceType = 3
$CreatureDistanceName = 4
$CreatureDistanceX = 36
$CreatureDistanceY = 40
$CreatureDistanceZ = 44
$CreatureDistanceScreenOffsetHoriz = 48
$CreatureDistanceScreenOffsetVert = 52
$CreatureDistanceIsWalking = 76
$CreatureDistanceDirection = 80
$CreatureDistanceOutfit = 96
$CreatureDistanceColorHead = 100
$CreatureDistanceColorBody = 104
$CreatureDistanceColorLegs = 108
$CreatureDistanceColorFeet = 112
$CreatureDistanceAddon = 116
$CreatureDistanceMountId = 120
$CreatureDistanceLight = 124
$CreatureDistanceLightColor = 128
$CreatureDistanceBlackSquare = 136
$CreatureDistanceHPBar = 140
$CreatureDistanceWalkSpeed = 144
$CreatureDistanceIsVisible = 148
$CreatureDistanceSkull = 152
$CreatureDistanceParty = 156
$CreatureDistanceWarIcon = 164
$CreatureDistanceIsBlocking = 168

$DatItemStepItems = 0x50
$DatItemWidth = 0
$DatItemHeight = 4
$DatItemMaxSizeInPixels = 8
$DatItemLayers = 12
$DatItemPatternX = 16
$DatItemPatternY = 20
$DatItemPatternDepth = 24
$DatItemPhase = 28
$DatItemSprite = 32
$DatItemFlags = 36
$DatItemCanEquip = 40
$DatItemCanLookAt = 0
$DatItemWalkSpeed = 44
$DatItemTextLimit = 48
$DatItemLightRadius = 52
$DatItemLightColor = 56
$DatItemShiftX = 60
$DatItemShiftY = 64
$DatItemWalkHeight = 68
$DatItemAutomap = 72
$DatItemLensHelp = 76
$DrawItemDrawItemFunc = 0x4b5a30 - 0x400000 + $BaseAdress
$DrawSkinDrawSkinFunc = 0x4b96f0 - 0x400000 + $BaseAdress

$HotkeySendAutomaticallyStart = 0x8295b4 - 0x400000 + $BaseAdress
$HotkeySendAutomaticallyStep = 0x1
$HotkeyTextStart = 0x8270e8 - 0x400000 + $BaseAdress
$HotkeyTextStep = 0x100
$HotkeyObjectStart = 0x829600 - 0x400000 + $BaseAdress
$HotkeyObjectStep = 0x4
$HotkeyObjectUseTypeStart = 0x829518 - 0x400000 + $BaseAdress
$HotkeyObjectUseTypeStep = 0x4
$HotkeyMaxHotkeys = 36

$MapMapPointer = 0x871fb8 - 0x400000 + $BaseAdress
$MapStepTile = 168
$MapStepTileObject = 12
$MapDistanceTileObjectCount = 0
$MapDistanceTileObjects = 4
$MapDistanceObjectId = 0
$MapDistanceObjectData = 4
$MapDistanceObjectDataEx = 8
$MapMaxTileObjects = 10
$MapMaxX = 18
$MapMaxY = 14
$MapMaxZ = 8
$MapMaxTiles = 2016
$MapZAxisDefault = 7
$MapNameSpy1 = 0x4f245b - 0x400000 + $BaseAdress
$MapNameSpy2 = 0x4f2465 - 0x400000 + $BaseAdress
$MapNameSpy1Default = 0x4c75
$MapNameSpy2Default = 0x4275
$MapLevelSpy1 = 0x4eef7f - 0x400000 + $BaseAdress
$MapLevelSpy2 = 0x4ef06b - 0x400000 + $BaseAdress
$MapLevelSpy3 = 0x4ef0db - 0x400000 + $BaseAdress
$MapLevelSpyAdd1 = 28
$MapLevelSpyAdd2 = 0x5bc0
$MapFullLightNop = 0x4F7229 - 0x400000 + $BaseAdress
$MapFullLightAdr = 0x4F722E - 0x400000 + $BaseAdress

$PlayerExperience = 0x81ce10 - 0x400000 + $BaseAdress
$PlayerFlags = 0x7e2cdc - 0x400000 + $BaseAdress
$PlayerId = 0x81ceac - 0x400000 + $BaseAdress
$PlayerHealth = 0x7e2cd4 - 0x400000 + $BaseAdress
$PlayerHealthMax = 0x81cea0 - 0x400000 + $BaseAdress
$PlayerLevel = 0x81ce44 - 0x400000 + $BaseAdress
$PlayerMagicLevel = 0x81ce4c - 0x400000 + $BaseAdress
$PlayerLevelPercent = 0x81ce9c - 0x400000 + $BaseAdress
$PlayerMagicLevelPercent = 0x81ce54 - 0x400000 + $BaseAdress
$PlayerMana = 0x81ce5c - 0x400000 + $BaseAdress
$PlayerManaMax = 0x7e2cdc - 0x400000 + $BaseAdress
$PlayerSoul = $PlayerExperience - 32
$PlayerStamina = $PlayerExperience - 36
$PlayerCapacity = $PlayerExperience - 40

$PlayerFistPercent = $PlayerFlags + 4
$PlayerClubPercent = $PlayerFistPercent + 4
$PlayerSwordPercent = $PlayerFistPercent + 8
$PlayerAxePercent = $PlayerFistPercent + 12
$PlayerDistancePercent = $PlayerFistPercent + 16
$PlayerShieldingPercent = $PlayerFistPercent + 20
$PlayerFishingPercent = $PlayerFistPercent + 24
$PlayerFist = $PlayerFistPercent + 28
$PlayerClub = $PlayerFistPercent + 32
$PlayerSword = $PlayerFistPercent + 36
$PlayerAxe = $PlayerFistPercent + 40
$PlayerDistance = $PlayerFistPercent + 44
$PlayerShielding = $PlayerFistPercent + 48
$PlayerFishing = $PlayerFistPercent + 52

$PlayerWhiteSquare = $PlayerFlags + 60
$PlayerGreenSquare = $PlayerFlags + 64
$PlayerRedSquare = 0x81ce58 - 0x400000 + $BaseAdress

$PlayerSlotHead = 0x871f28 - 0x400000 + $BaseAdress
$PlayerSlotNeck = $PlayerSlotHead + 12
$PlayerSlotBackpack = $PlayerSlotHead + 24
$PlayerSlotArmor = $PlayerSlotHead + 36
$PlayerSlotRight = $PlayerSlotHead + 48
$PlayerSlotLeft = $PlayerSlotHead + 60
$PlayerSlotLegs = $PlayerSlotHead + 72
$PlayerSlotFeet = $PlayerSlotHead + 84
$PlayerSlotRing = $PlayerSlotHead + 96
$PlayerSlotAmmo = $PlayerSlotHead + 108
$PlayerMaxSlots = 10
$PlayerDistanceSlotCount = 4
$PlayerCurrentTileToGo = $PlayerFlags + 132
$PlayerTilesToGo = $PlayerCurrentTileToGo + 4
$PlayerGoToX = 0x81cea8 - 0x400000 + $BaseAdress
$PlayerGoToY = 0x81ce90 - 0x400000 + $BaseAdress
$PlayerGoToZ = 0x7e2ce4 - 0x400000 + $BaseAdress

$PlayerTargetId = $PlayerRedSquare
$PlayerTargetBattlelistId = $PlayerTargetId - 8
$PlayerTargetBattlelistType = $PlayerTargetId - 5
$PlayerTargetType = $PlayerTargetId + 3

$PlayerZ = 0x81d484 - 0x400000 + $BaseAdress
$PlayerY = 0x81d480 - 0x400000 + $BaseAdress
$PlayerX = 0x81d478 - 0x400000 + $BaseAdress

$PlayerAttackCount = 0x86c6e4 - 0x400000 + $BaseAdress
$PlayerFollowCount = 0x7e2cd8 - 0x400000 + $BaseAdress

$TextDisplayPrintName = 0x4f010f - 0x400000 + $BaseAdress
$TextDisplayPrintFPS = 0x45a793 - 0x400000 + $BaseAdress
$TextDisplayShowFPS = 0x86c6e2 - 0x400000 + $BaseAdress
$TextDisplayPrintTextFunc = 0x4b6e20 - 0x400000 + $BaseAdress
$TextDisplayNopFPS = 0x45a6e9 - 0x400000 + $BaseAdress

$VipStart = 0x7e2cec - 0x400000 + $BaseAdress
$VipStepPlayers = 0x2c
$VipMaxPlayers = 200
$VipDistanceId = 0
$VipDistanceName = 4
$VipDistanceStatus = 34
$VipDistanceIcon = 40

 

Do
$wiek+=1
Until ŻycieGetMsg() = -3

zbieram +

  • 4 miesiące temu...
Opublikowano

Wie ktoś czy znowu nastąpiły jakieś zmiany w tych adresach? Chciałem napisać sobie bota do tego ale ten kod zwraca ilość hp jako zero. Próbowałem zczytać adres z cheat engine i podmienić w ale bez rezultau.

 

Czy to http://code.google.com/p/tibiaapi/source/browse/trunk/tibiaapi/Addresses/Versions/Version910.cs jest ciągle aktualne?

Opublikowano

Przeczytałem wszystko dokładnie i stosuje się do tego ale nie wychodzi mi to. Wydaje mi się, że cipsoft znowu coś namieszał. Ogólnie po jednym z ostatnich update'ow długo nie było żadnego bota bo było ciężko je dostosować. Chyba jednak zwykły szarak jak ja już sobie sam nie zrobi leczenia :P

Opublikowano

Jesli tibia ma wersje 9.44 to spróbuj tego

 

Local $adrXOR = 0x7ABF8C,
$adrMyHP = 0x941000, 
$adrMyMaxHP = 0x978E9C,
$adrMyMana = 0x7ABFE0,
$adrMyMaxMana = 0x7ABF90

    Local $tibia = ProcessExists("tibia.exe")
  	 Local $MyHP = _MemoryRead($adrMyHP, $open),
$MyMaxHP = _MemoryRead($adrMyMaxHP, $open),
$MyMana = _MemoryRead($adrMyMana, $open),
$MyMaxMana = _MemoryRead($adrMyMaxMana, $open),
$valueXOR = _MemoryRead($adrXOR, $open)

	Local $MyHP2 = BitXOR($valueXOR, $MyHP),
$MyMaxHP2 = BitXOR($valueXOR, $MyMaxHP),
$MyMana2 = BitXOR($valueXOR, $MyMana),
$MyMaxMana2 = BitXOR($valueXOR, $MyMaxMana)

Edytowane przez Vertek

Jedyny działający bot do Gladiatusa 2015!!!

https://www.facebook.com/Gbot.vertek

Opublikowano

Aby w ogóle dało się skompilować ten kod musiałem dodać wartość do zmiennej $open oraz usunąć przecinki na końcu niektórych linijek. Mimo wszystko zwracana wartość jest równa 0. Vertek, czy jeśli masz trochę czasu mógłbyś się jeszcze temu przyjrzeć? Wersja klienta 9.44

 

#include <NomadMemory.au3>

Local $adrXOR = 0x7ABF8C
$adrMyHP = 0x941000
$adrMyMaxHP = 0x978E9C
$adrMyMana = 0x7ABFE0
$adrMyMaxMana = 0x7ABF90

	    Local $tibia = ProcessExists("tibia.exe")
           $open = _MemoryOpen($tibia)
	 Local $MyHP = _MemoryRead($adrMyHP, $open)
$MyMaxHP = _MemoryRead($adrMyMaxHP, $open)
$MyMana = _MemoryRead($adrMyMana, $open)
$MyMaxMana = _MemoryRead($adrMyMaxMana, $open)
$valueXOR = _MemoryRead($adrXOR, $open)

		    Local $MyHP2 = BitXOR($valueXOR, $MyHP)
$MyMaxHP2 = BitXOR($valueXOR, $MyMaxHP)
$MyMana2 = BitXOR($valueXOR, $MyMana)
$MyMaxMana2 = BitXOR($valueXOR, $MyMaxMana)

MsgBox(0, '', $MyMana2)

Opublikowano

A mógłbyś podać kod od include'ów aż do msgbox'a gotowego do kompilacji zwracającego wartość hp bądź many?

Widzę, że jesteś w temacie to może orientujesz się czy jest możliwość przenoszenia przedmiotów np, kamieni z plecaka do ręki? Taki ammo refill ;)

Z góry dziękuję

Edytowane przez Niecek

Opublikowano

Powinna być taka możliwosc, lecz nigdy tego nie robiłem

 

@edit

 

całego kodu ci nie podam, kombinuj. Ja mam to z gui

#include <GUIConstantsEx.au3>
#include <nomad.au3>
#include <ButtonConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>

Edytowane przez Vertek

Jedyny działający bot do Gladiatusa 2015!!!

https://www.facebook.com/Gbot.vertek

Opublikowano

Ok, refill ammo jest w dalszym planie. Teraz jednak chciałbym zrobić auto healing ale stosując poniższy kod zwraca mi wartość 0. Twojego kodu bez usuni ecia przecinków na końcu linii oraz dodaniu $open = _MemoryOpen($tibia) nie da się nawet skompilować

 

#include <NomadMemory.au3>

Local $adrXOR = 0x7ABF8C
$adrMyHP = 0x941000
$adrMyMaxHP = 0x978E9C
$adrMyMana = 0x7ABFE0
$adrMyMaxMana = 0x7ABF90

                   Local $tibia = ProcessExists("tibia.exe")
           $open = _MemoryOpen($tibia)
                Local $MyHP = _MemoryRead($adrMyHP, $open)
$MyMaxHP = _MemoryRead($adrMyMaxHP, $open)
$MyMana = _MemoryRead($adrMyMana, $open)
$MyMaxMana = _MemoryRead($adrMyMaxMana, $open)
$valueXOR = _MemoryRead($adrXOR, $open)

                           Local $MyHP2 = BitXOR($valueXOR, $MyHP)
$MyMaxHP2 = BitXOR($valueXOR, $MyMaxHP)
$MyMana2 = BitXOR($valueXOR, $MyMana)
$MyMaxMana2 = BitXOR($valueXOR, $MyMaxMana)

MsgBox(0, '', $MyMana2)

Ostatnio przeglądający 0

  • Brak zarejestrowanych użytkowników przeglądających tę stronę.

Konto

Nawigacja

Skonfiguruj powiadomienia push w przeglądarce

Chrome (Android)
  1. Stuknij ikonę kłódki obok paska adresu.
  2. Stuknij Uprawnienia → Powiadomienia.
  3. Dostosuj swoje ustawienie.
Chrome (Komputer)
  1. Kliknij ikonę kłódki na pasku adresu.
  2. Wybierz Ustawienia witryny.
  3. Znajdź Powiadomienia i dostosuj swoje ustawienie.