Cheat Engine Tutorial Step 9 : Shared Code

Sdílet
Vložit
  • čas přidán 23. 05. 2019
  • In this video i'll explain the basics of object oriented programming and shared code, and how to do a code injection filtering between player and enemy.
    It shows the use of the commonality scanner and structure dissect and then how to create a cheat table entry using the auto assembler script assign to cheat table
    (just ignore the bird sounds in the first quarter of the video)
    cheatengine.org/
  • Hry

Komentáře • 36

  • @SendFoodz
    @SendFoodz Před 2 lety +41

    i swear i didnt skip any steps.. tutorial 9 came OUTTA NOWHERE..
    "The easiest method is finding what addresses the code you found writes to and then use the dissect data feature to compare against two structures."
    WHEN DID WE LEARN THIS? LOL

    • @felipesb2
      @felipesb2 Před rokem

      Actually it's because he created the further steps years after the first 8 lessons. The comunity was asking for ASM lessos, so the it's a level up :P

  • @rdza-korozja_sp.z.o.o.
    @rdza-korozja_sp.z.o.o. Před 2 lety +7

    Great tut, I got lost after 10 sec's

  • @ixy6864
    @ixy6864 Před rokem +5

    in 2020, I don't understand your video
    in 2022, I can understand your video because I learn so much computer course

  • @SoxyKrawl
    @SoxyKrawl Před 4 lety +20

    I'm trying to follow these step by step but it isn't working for me at all, it just crashes the tutorial

    • @kaymarciy
      @kaymarciy Před 4 lety +4

      So, did anyone figure out why does code injection crash the cheat engine and how to fix that?

    • @Terry1212
      @Terry1212 Před 4 lety +1

      You'll notice that if you click on the Help menu of Cheat Engine, there are both a 32-bit and 64-bit version of the tutorial. In this video he is running the 64-bit version of the tutorial. The code that he injects will not work on the 32-bit version.

    • @VaidasBagdonas
      @VaidasBagdonas Před 3 lety +1

      code injection example that worked for me. basically checks the team, and instead of assigning the decreased health assigns a my value instead
      newmem:
      cmp [ebx+10],1
      je team1
      cmp [ebx+10],2
      je team2
      team1:
      mov [ebx+04],(float)200
      jmp exit
      team2:
      mov [ebx+04],eax
      jmp exit
      exit:
      fldz
      jmp returnhere
      originalcode:

    • @not.djkhalid6860
      @not.djkhalid6860 Před 3 lety

      @@VaidasBagdonas you are a life saver, but how did you get this code?

    • @provezano
      @provezano Před 3 lety

      newmem:
      cmp [ebx+10],1
      je exit
      originalcode:
      mov [ebx+04],eax
      exit:
      fldz
      jmp returnhere

  • @capitobenj
    @capitobenj Před 2 lety +5

    I did it step by step, everything, and I still can't go pass the step where you inject the code "je short exit" makes an error pop up whenever the condition is met it says "Invalid floating point operation". Any help? I only achieved that everyone dies.

    • @capitobenj
      @capitobenj Před 2 lety +1

      Nevermind I finally did it I just changed "je short exit" to "je returnhere" or created a function like this "this: fldz" to encapsulate the instruction after the "mov" one and did "je this" and it worked.

  • @EmptyVessel2012
    @EmptyVessel2012 Před 11 měsíci +2

    I tried this tutorial several times and sometimes the dissected address come with those auto-generated pointers, similar to this video shown. What I don't get is how can we know where to add elements that can let us distinguish the teams?? I tried adding randomly but it doesn't work.
    Also, why did the dissected result sometimes comes with auto-generated pointers? Can it be avoided or disabled?

  • @J0R1AN
    @J0R1AN Před 2 lety +2

    I realized I had some problems because I was using the 32bit version, it seems you are using the 64bit version in this video tutorial. For some reason the game crashes or does nothing if I try to use the same assembly code, and I'm not that familiar yet with it to understand why.
    On another note, I did the 3 games you get right after as well, and I can really recommend it to everyone. It really gives you room for creativity in how you solve the puzzles, and it's great practice of this theory

  • @Ismaelz
    @Ismaelz Před 4 lety

    It worked here! Thanks

  • @sunny25750
    @sunny25750 Před 6 měsíci

    i will explain as much as i understand:
    2:28 :he scanning to find the P1 address at that time
    2:41 :scan them then add them to the group to make compare easier
    3:36 :that window will future scan them to know each group is matching with each offset, then he remember the offset 0th is 14(just for easy to do)
    4:34 :he open the offset list to compare the offset(that table will also make diffrent between each address), there is a change pointer at offset 10th then next offset is 18 so he add new elememt 14th (the 14 above) and name it "teamnr" (just easy to see), adding other address, then matching them in right group, then there is a purple line appear, that is wat the differrent between player and the bot
    , u guy can see group 1 has value 1, group 2 have value 2 (remember this number)
    6:24 :just repeat that progress again but extra
    7:37 :code inject with cheat table to turn it on/off by clicking the X mark, he use "cmp" to compare "[rbx+14]",the "14" is the 14 above ",1" is the value compare (the 1 above), je to go through a specific place in the code "short exit" to exit the the code, (if the 14th offset is 1 then it ignore DECREASED HEALTH and jump out without doing original code label)
    i hope this is help u guy and not a big misunderstood lmao

  • @ngocsinhnguyen8450
    @ngocsinhnguyen8450 Před 4 lety

    Thank you!

  • @Mballs2478
    @Mballs2478 Před rokem

    thanks a lot!

  • @marcielpaz1058
    @marcielpaz1058 Před 4 lety

    how would I increase the value of group 1 to 999

  • @hts2370
    @hts2370 Před rokem

    offset is 0x10 on mine, and pointer is 4 bytes long. dont know how did you get value at 0008, on mine it is on 0004

  • @dockabler9180
    @dockabler9180 Před rokem +1

    mine keeps saying my player is already dead even though its health is at 100, and i followed the vid step for step

  • @Jorge_Pronto
    @Jorge_Pronto Před 4 lety +5

    Anyone have suggestions on a tutorial for this step that actually is understandable? For example 2:40 really needs more elaboration..

    • @Mat0Man
      @Mat0Man Před 4 lety +1

      I guess it's a little late now, but just for the record:
      He finds the code that lowers Dave's health. Because all players are the same entity, the same code will be used to lower the health of the respecting player, thus he can find out the different players by showing what adresses this instruction.

    • @aleks_ivanov
      @aleks_ivanov Před 7 měsíci +2

      @@Mat0Man You are not late. Your comment is still helpful, and a full video explanation of every step will be appreciated.

  • @da_cat
    @da_cat Před rokem

    u r magick

  • @markmallow6763
    @markmallow6763 Před 3 lety

    thanks

  • @PickyMcCritical
    @PickyMcCritical Před měsícem

    there is soo, soo much information needed for this step that is nowhere in the tutorial or this video. i am so very confused.

  • @DaRza17
    @DaRza17 Před 2 lety

    Seed Engine?

  • @alikaracadev
    @alikaracadev Před 4 lety

    gr8

  • @charlo12
    @charlo12 Před 3 lety

    i tried making it so that the health got increased instead of decreased it wanted be to abort the process lmao

  • @LittleFighter2005
    @LittleFighter2005 Před 2 lety +10

    lets see
    it starts by showing the differences between players and monsters, without mentioning how he filled that table if he doesn't know (because that's how it usually starts, with you knowing nothing about the game you are hacking).
    then he finds a parameter that distinguished between Allies and Enemies and proceeds to make comparisons and write a code that will ignore if it is the health of an ally.
    but he does that whit short keys that we can't see he is pressing.
    this is a tutorial to a tutorial that needs his own tutorial
    PS
    his accent doesn't help either

  • @liveunderthemusic
    @liveunderthemusic Před 3 lety +1

    посмотрел 5 раз нечего не понял пожал уста можно видео на русском

  • @leat8254
    @leat8254 Před 4 lety

    tôi đã chuyển máu của quái thành 1 và ấn tấn công, tôi đã thắng