Hacking any Game with Python and Cheat Engine

Поділитися
Вставка
  • Опубліковано 23 січ 2025

КОМЕНТАРІ • 90

  • @JustAnotherCoder
    @JustAnotherCoder  5 місяців тому +2

    Consider donating to help the channel!
    Buy me a kofi ko-fi.com/justanothercoder
    Patreon patreon.com/justanothercoder

  • @TopRemix0
    @TopRemix0 6 місяців тому +2

    how can i makeing mod menu with this pointers ?

  • @originalni_popisovac
    @originalni_popisovac 2 роки тому +5

    It works omg!! my 4th try works! Thank you man, you helped my code.

  • @seanbrockest3888
    @seanbrockest3888 2 роки тому +11

    I've been using cheat engine for years, but I've run into a number of python games that seem to hide their values so that no matter how many times you do new scan/next scan you cannot find the values you want. There's just no values in the list because none of them changed predictably. Apparently python can hide its values. Any idea how to get around that?

    • @followerofchrist5432
      @followerofchrist5432 2 роки тому

      have u tried other types of values? like for example float and not only 4bit

    • @Nickfulcrium
      @Nickfulcrium 2 роки тому

      Yoo l that’s cause games anti cheats block it u need a bypass to access games with anti cheats memory

    • @utku8613
      @utku8613 2 роки тому +3

      Mobile game variables are dynamic, not static. You either need to create a pattern finder or.. Up to your imagination.

  • @Narwhyn
    @Narwhyn 10 місяців тому

    Thanks very much! This really helped me with my CS assignment.

  • @tru3nz
    @tru3nz 3 місяці тому

    I know I'm 2 years late, but how can i find enemy entities? So i want to make a esp only tool, but idk how to find enemy entity offsets?

  • @Bruce_Gaming_1
    @Bruce_Gaming_1 Місяць тому

    When I did import pymem and import keyboard, it just said "ModuleNotFoundError: No module named 'pymem'"

    • @JustAnotherCoder
      @JustAnotherCoder  21 день тому

      download it using pip. open cmd and type pip install pymem

  • @MotionTutorial
    @MotionTutorial 3 роки тому +2

    in some games cheat engine don't show address when I click next scan

    • @CaPixelado
      @CaPixelado 10 місяців тому

      This engine just work in offline games and some online games.

  • @harshplayz31882
    @harshplayz31882 2 роки тому +2

    Will it work in online game

  • @jasonvaf1
    @jasonvaf1 3 роки тому +1

    how is reading the value stored at an address and adding it to the address going to guide you down the pointer map?

    • @dfgh-by7fx
      @dfgh-by7fx 2 роки тому

      I'd like to know aswell

  • @hackzgamezyt
    @hackzgamezyt 3 роки тому +1

    How can i make the game run as a tab? When i run it it runs on the entire screen and i cant run anything else but the game

    • @JustAnotherCoder
      @JustAnotherCoder  3 роки тому

      To go out of the game you can use ALT + TAB. To make the game window be smaller you can go to settings (escape key) and then to graphics settings iirc

    • @itscookies7753
      @itscookies7753 2 роки тому

      @@JustAnotherCoder can u make it afk 24/7 on online game?? is that possible

  • @Labuly
    @Labuly 2 роки тому

    hey the code is not working for me can u please help me

  • @5onic
    @5onic 2 роки тому

    how come I only see one pointer in the "change address" window while you have 5?

    • @5onic
      @5onic 2 роки тому

      Either way, regardless how many are observed, I was still able to do it successfully.

  • @Gdlock0
    @Gdlock0 Рік тому

    please answer quick can i put more shortcuts like F1 ammo hack F2 health hack F3 money hack .. like this if it possible please tell me how

  • @Life-zx5wp
    @Life-zx5wp 3 роки тому

    and how can i read that memory, i need to read the value in that memory only

    • @JustAnotherCoder
      @JustAnotherCoder  3 роки тому +2

      you can do mem.read_int instead of mem.write_int

  • @JustAnotherCoder
    @JustAnotherCoder  3 роки тому +7

    Join the new discord server here: discord.gg/wXz8GD9ySm

    • @jm180
      @jm180 2 роки тому

      Hi can you make a video how to hack save the world in fortnite i need only raindrops

  • @DexNeXuS1
    @DexNeXuS1 3 роки тому

    Does cheat engine work with emulators. So I use retro arch and wanted to do some stuff with it. I can find the addresses when the game is loaded but when I exit it’s gone so I try and find the offsets and the pointer scan shows no results every time.

    • @JustAnotherCoder
      @JustAnotherCoder  3 роки тому

      I'm not sure, I tried using cheat engine on bluestacks and I failed but I havent tried any other emulators.

    • @littricks3631
      @littricks3631 3 роки тому

      It's tough to shortlist addresses on emulators using CE,because the retrieved data is often so large because it includes search result from the emulator itself.

    • @0xC47P1C3
      @0xC47P1C3 2 роки тому

      It does, you just need to configure a few things. Also if the game is in big endian or little endian

  • @VictorRaposo
    @VictorRaposo 2 роки тому

    HI i like your video but i;m still trying to find out how to install CE without an error, i was wondering if i am on facebook, and i go into a slotgame, like Double u casino whould i b able to hack more coins for freeplay??

  • @rat9995
    @rat9995 2 роки тому +2

    thx it worked :) do you know how to do the same for float and double value types?

    • @jeldo_
      @jeldo_ 2 роки тому

      You could read the documentation for things like write_float and write_double

  • @heygabrielgg
    @heygabrielgg 2 роки тому

    What would be the most appropriate language for game hacking?

    • @ivankurniawan6825
      @ivankurniawan6825 2 роки тому +3

      "C & C++ for sure, because these languages are commonly used for game hacking because they are fast, powerful, and widely available. Many games are written in C or C++, and these languages can be used to create custom tools or modify the game's code directly."
      "Second is Lua: Lua is a lightweight, embeddable scripting language that is often used for game hacking because it is easy to use and can be easily integrated into a game."
      "Third is C# (also known as Sharp): a popular programming language that can be used for a variety of purposes, including game development and game hacking. It is a powerful and versatile language that is well suited for game development due to its support for object-oriented programming and strong integration with the Unity game engine.
      Overall, Python is good too for game hacking but often not used as often as these three languages.

  • @condutioner7978
    @condutioner7978 2 роки тому

    What if the moment we open Engine the game detects it

    • @linciecka
      @linciecka 6 місяців тому

      Sorry for necroing your comment but you simply need to make cheat engine undetectably by changing it's name via hex editor and lazarus or use a free for download patch of cheat engine.

  • @Nexiwo
    @Nexiwo Рік тому

    can you make one for infinite health?

  • @GAMER20Aayush
    @GAMER20Aayush 2 роки тому +4

    Great tutorial 👍

  • @worthstore-n5t
    @worthstore-n5t 2 роки тому

    Can we hack ludo dice??

  • @justusgamingstuff5016
    @justusgamingstuff5016 Рік тому

    Assault Cube boi this is a legendary game :D

  • @josiahbringas5932
    @josiahbringas5932 3 роки тому

    where did you save that file? is their any specific file to save so the code wont error?

    • @JustAnotherCoder
      @JustAnotherCoder  3 роки тому +1

      Well it doesn't matter, you just save it wherever on your pc

    • @josiahbringas5932
      @josiahbringas5932 3 роки тому

      @@JustAnotherCoder can you make a video of your vscode set up and python extension

    • @JustAnotherCoder
      @JustAnotherCoder  3 роки тому +1

      @@josiahbringas5932 sure, I have few extensions though so Ill talk about other IDE's as well

  • @jm180
    @jm180 2 роки тому

    Hi is this working for fortnite save the world to make raindrops?

    • @ava-daniels
      @ava-daniels Рік тому

      no it does not work with fortnite stw because fortnite has a thing to block CE

  • @faizanmahuli3512
    @faizanmahuli3512 3 роки тому

    @just another coder bro plz reply how to hack online game clash of clans to get dead max bases. using python?

  • @wadiesama
    @wadiesama Місяць тому

    Didn't work

  • @faizanmahuli3512
    @faizanmahuli3512 3 роки тому

    can we hack clash of clans dead bases sir?
    plz reply

    • @JustAnotherCoder
      @JustAnotherCoder  3 роки тому +2

      Nope. To hack a multiplayer game like Clash of Clans you need to hack the server which is pretty hard. Also hacking a mobile game is more difficult and I have no idea how to do it

    • @kingleo429
      @kingleo429 2 роки тому

      @@JustAnotherCoder but will this work for games. Like asphalt 8 and injustice or shadow fight cause they have offline mode.

  • @hellohiavi
    @hellohiavi 3 роки тому

    I can hack ludo king ????
    Can you anyone do for me ludo king dice controller ?I will pay whatever amount after testing

  • @ytrack9980
    @ytrack9980 2 роки тому

    Hey can you help me?

  • @lythrongaming
    @lythrongaming 3 роки тому

    Yo, i wanna ask for help. Did anyone knows how to extract the string/addresss into an image by using cheat engine? I think it is possible

    • @lythrongaming
      @lythrongaming 2 роки тому

      @ nah you so late to reply, i already know how

  • @learnwithmrmachine7955
    @learnwithmrmachine7955 2 роки тому

    Could you make pubg mobile ESP with python please ? Still I can’t understand how it works bro please

  • @hacker-wp9mb
    @hacker-wp9mb 2 роки тому

    I can't copy

  • @elllseifu1199
    @elllseifu1199 2 роки тому

    does this work with roblox

    • @CaPixelado
      @CaPixelado 10 місяців тому

      No, Roblox is a online game

  • @enemy7956
    @enemy7956 2 роки тому

    I need someone to help me hacking one unhackable online flash game i can pay thanks.

    • @realAowtrz669
      @realAowtrz669 2 роки тому

      “Dont trust anyone , learn and do it yourself”

    • @enemy7956
      @enemy7956 2 роки тому

      @@realAowtrz669 I can't its very hard, i need someone with big knowledge here.

  • @shortsdoshorts6803
    @shortsdoshorts6803 2 роки тому

    erro unsupported operand type(s) for +: 'MODULEINFO' and 'int'

  • @RiyankaGhosh-j8u
    @RiyankaGhosh-j8u 10 місяців тому

    Why It does not work in pubg 😔

    • @TreasureThabo
      @TreasureThabo 3 місяці тому

      I also wanna use it in pub g🔥🙏

  • @mahdihasan6699
    @mahdihasan6699 6 місяців тому

    Good work

  • @II-ii2um
    @II-ii2um 3 роки тому

    Good stuff broo

  • @vpxnyy69
    @vpxnyy69 3 роки тому +1

    MORE

  • @littricks3631
    @littricks3631 3 роки тому

    You can't hack the health using this method.I tried and it never works

  • @thelambros6525
    @thelambros6525 3 роки тому

    holy shit the cheat engine has like 50 trojans

    • @JustAnotherCoder
      @JustAnotherCoder  3 роки тому

      yeah most antivirus's give alerts that it is a virus since it contains code to inject into other programs, that is because it needs to inject itself into the game you want to hack. But it is perfectly safe if you download it from the official website, I have used it for about half a year and nothing happened to my pc.

  • @calyx2142
    @calyx2142 3 роки тому

    Can I hack robux?

  • @DoubleRTropical
    @DoubleRTropical 2 роки тому

    420 likes? funny number

  • @ahmedgames9335
    @ahmedgames9335 Рік тому

    Hi I tried With The ''' Plants vs zombies''' i do the same thing but i incress the offsets to 22000 to get result, and get pointers ,
    and i do the same thing like you in python but i get this error, --- Could not read memory at: 28, length: 4 - GetLastError: 299 ---
    THE CODE--
    from pymem import *
    from pymem.process import *
    ##? Using This When Get This Error
    ##? Could not read memory at: 1619428523640, length: 8 - GetLastError: 299
    from pymem.ptypes import RemotePointer
    # The Offsets Of The Pointers
    class Offsets:
    sunsOffsets = [0x48, 0x5C, 0x1C, 0xE0, 0x4, 0x5560]
    class Menu:
    def __init__(self) -> None:
    self.application = 'popcapgame1.exe'
    try:
    self.mem = Pymem(self.application)
    self.module = module_from_name(self.mem.process_handle, self.application).lpBaseOfDll
    except Exception as error:
    print('From Init:: {0}'.format(error))
    def appInfo(self):
    print('Address Of ( {0} ):: {1}'.format(self.application,self.mem.base_address))
    print('Module:: {0}'.format(self.module))
    def incressSunCount(self):
    try:
    baseAddress = (self.module + 0x000A0C78)
    address = self.getPointerAddress(baseAddress, Offsets.sunsOffsets)
    self.mem.write_int(address, self.mem.read_int(address) + 100)
    except Exception as error:
    print('From Get Incress Suns:: {}'.format(error))

    def getPointerAddress(self, base, offsets):
    try:
    addr = self.mem.read_int(base)
    for offset in offsets:
    if offset != offsets[-1]:
    addr = self.mem.read_int(addr + offset)
    addr += offsets[-1]
    except Exception as error:
    print('From Get Pointer:: {}'.format(error))
    return addr

    if __name__ == '__main__':
    menu = Menu()
    menu.appInfo()
    menu.incressSunCount()
    ## Error Code ##! 299
    # ERROR_PARTIAL_COPY
    # 299 (0x12B)
    # Only part of a ReadProcessMemory or WriteProcessMemory request was completed.