Author Topic: This tread can be removed,  (Read 3716 times)

0 Members and 1 Guest are viewing this topic.

feldmarschall

  • Online Villain
  • ***
  • Posts: 244
  • Strategist
    • View Profile
This tread can be removed,
« on: December 13, 2014, 07:25:17 pm »
I have a problem with one strategy game. I found after research adress that have acess to values to unit in game statistics. When i edit those values i can see improvement( like from 50 to 100 shooting accuracy) but changing values make game desync even in singleplayer battle vs computer. How i know that? I saved the replay( this game has replay option) and watched it and after changing value battle is different from what i saw first, my units go to different positions and theres no accuracy improvement(desync). Is there any possiblity to edit value so game wouldn't notice this and doesnt cause desnync? Please help guys  :icon_cry2
« Last Edit: July 11, 2015, 04:29:54 pm by feldmarschall »
"Strategy is a system of expedients; it is more than a mere scholarly discipline. It is the translation of knowledge to practical life, the improvement of the original leading thought in accordance with continually changing situations."

MrMedic

  • MasstKer
  • ********
  • Posts: 8900
  • programmer/dev/software engineer
    • View Profile
Re: Desync in strategy game
« Reply #1 on: December 13, 2014, 07:39:28 pm »
I have a problem with one strategy game. I found after research adress that have acess to values to unit in game statistics. When i edit those values i can see improvement( like from 50 to 100 shooting accuracy) but changing values make game desync even in singleplayer battle vs computer. How i know that? I saved the replay( this game has replay option) and watched it and after changing value battle is different from what i saw first, my units go to different positions and theres no accuracy improvement(desync). Is there any possiblity to edit value so game wouldn't notice this and doesnt cause desnync? Please help guys  :icon_cry2

break point the address you changed , then find out what access it , 1 will be the actual , and the other will be the anti cheat ( desynch routune ) , disable it.
EnCoded Message: i3iy9yl8kr2xf3g2Txs3pr6ye3ya7jg5ty2z

https://www.youtube.com/watch?v=62_7-AYfdkQ
you need a paypal account for the private versions.

Website:
http://bit.ly/medic101

Teamspeak 3: 85.236.101.5:10157

feldmarschall

  • Online Villain
  • ***
  • Posts: 244
  • Strategist
    • View Profile
Re: Desync in strategy game
« Reply #2 on: December 13, 2014, 07:49:58 pm »
I found value, checked what has acces to it. One is Kod :fild dword ptr [eax+00000140] and second is Kod :mov edx,[eax+00000140] and disabling one of them( you mean NOP) wont make game desync?
"Strategy is a system of expedients; it is more than a mere scholarly discipline. It is the translation of knowledge to practical life, the improvement of the original leading thought in accordance with continually changing situations."

feldmarschall

  • Online Villain
  • ***
  • Posts: 244
  • Strategist
    • View Profile
Re: Desync in strategy game
« Reply #3 on: December 13, 2014, 08:37:50 pm »
I tried noping many adresses in dissembler but it doesnt work, help plz
"Strategy is a system of expedients; it is more than a mere scholarly discipline. It is the translation of knowledge to practical life, the improvement of the original leading thought in accordance with continually changing situations."

MrMedic

  • MasstKer
  • ********
  • Posts: 8900
  • programmer/dev/software engineer
    • View Profile
Re: Desync in strategy game
« Reply #4 on: December 13, 2014, 09:21:54 pm »
I tried noping many adresses in dissembler but it doesnt work, help plz

you cant expect a nop to magically fix things like this , look at the functions that are using the value , work out why and what it is using it for, then why and what it does with it.
EnCoded Message: i3iy9yl8kr2xf3g2Txs3pr6ye3ya7jg5ty2z

https://www.youtube.com/watch?v=62_7-AYfdkQ
you need a paypal account for the private versions.

Website:
http://bit.ly/medic101

Teamspeak 3: 85.236.101.5:10157

feldmarschall

  • Online Villain
  • ***
  • Posts: 244
  • Strategist
    • View Profile
Re: Desync in strategy game
« Reply #5 on: December 22, 2014, 05:20:55 pm »
I chcecked what opcodes change this adress(value of unit accuracy for ex 60) and there are 2: one is "copy memory" second is "load integer"   01120157 - DB 80 40010000  - fild dword ptr [eax+00000140] load integer looks like this, idk if its helpful. I just want to change this value without causing desync in game( it cause desync even in singleplayer battle vs CPU). Im figuring it out for a long time, i gonna be grateful for any help.
"Strategy is a system of expedients; it is more than a mere scholarly discipline. It is the translation of knowledge to practical life, the improvement of the original leading thought in accordance with continually changing situations."

feldmarschall

  • Online Villain
  • ***
  • Posts: 244
  • Strategist
    • View Profile
Re: Desync in strategy game
« Reply #6 on: December 23, 2014, 06:01:02 pm »
After attaching debugger to the game, memory viewer looks like this
SCREENSHOT
Those 2 adresses: mov edx,[eax+00000140] and fild dword ptr [eax+00000140] have acess to value of unit shooting accuracy, i tried noping them. I once noped random values from this screenshot and it didnt desync immidietly but it did after 30 seconds. This mov value is copy memory and dword is load integer. Its Cheat Engine memory viewer ofc.
Regards
« Last Edit: January 21, 2015, 02:49:25 pm by feldmarschall »
"Strategy is a system of expedients; it is more than a mere scholarly discipline. It is the translation of knowledge to practical life, the improvement of the original leading thought in accordance with continually changing situations."

MrMedic

  • MasstKer
  • ********
  • Posts: 8900
  • programmer/dev/software engineer
    • View Profile
Re: Desync in strategy game
« Reply #7 on: December 23, 2014, 06:25:38 pm »
well i dont know as ive never seen the game but judging by the eax+140 , eax could be the base offset of your whatever they are , so work from there , check the address of eax and breakpoint it to see what access it.
EnCoded Message: i3iy9yl8kr2xf3g2Txs3pr6ye3ya7jg5ty2z

https://www.youtube.com/watch?v=62_7-AYfdkQ
you need a paypal account for the private versions.

Website:
http://bit.ly/medic101

Teamspeak 3: 85.236.101.5:10157

M. O.

  • Administrator
  • MasstKer
  • *
  • Posts: 9185
    • View Profile
    • http://www.tkc-community.net
Re: Desync in strategy game
« Reply #8 on: December 23, 2014, 06:40:37 pm »
Eax could be the start addr of some kind of struct.

A sync check could loop through the entries there and compare them to something or with some value to see if they add up.

However, I'm sure accuracy is accessed for other reasons as well.

In that snippet edx further on after the zero check could be interesting to take a look at.
Heckling is an art, and game hacking a science.

feldmarschall

  • Online Villain
  • ***
  • Posts: 244
  • Strategist
    • View Profile
Re: Desync in strategy game
« Reply #9 on: December 23, 2014, 07:56:56 pm »
Next, starting from mov fs:[00000000],ecx it looks like this:

SCREEN

When i check what fild dword ptr [eax+00000140] acess to and if i have for example 4 units i get 4 adresses and their values are accuracy of musket shooting of my units, so if my unit is guard with 60 accuracy i get 60 value.
« Last Edit: January 18, 2015, 09:41:41 pm by feldmarschall »
"Strategy is a system of expedients; it is more than a mere scholarly discipline. It is the translation of knowledge to practical life, the improvement of the original leading thought in accordance with continually changing situations."

MrMedic

  • MasstKer
  • ********
  • Posts: 8900
  • programmer/dev/software engineer
    • View Profile
Re: Desync in strategy game
« Reply #10 on: December 23, 2014, 08:03:05 pm »
Eax could be the start addr of some kind of struct.

A sync check could loop through the entries there and compare them to something or with some value to see if they add up.

However, I'm sure accuracy is accessed for other reasons as well.

In that snippet edx further on after the zero check could be interesting to take a look at.

nah mate hes in a function there so he needs to look at what evers calling it ( possibly iterator ).

and check his last post , whats with the napoleon? you conning us bruv.


EnCoded Message: i3iy9yl8kr2xf3g2Txs3pr6ye3ya7jg5ty2z

https://www.youtube.com/watch?v=62_7-AYfdkQ
you need a paypal account for the private versions.

Website:
http://bit.ly/medic101

Teamspeak 3: 85.236.101.5:10157

MrMedic

  • MasstKer
  • ********
  • Posts: 8900
  • programmer/dev/software engineer
    • View Profile
Re: Desync in strategy game
« Reply #11 on: December 23, 2014, 08:05:50 pm »
Next, starting from mov fs:[00000000],ecx it looks like this:



When i check what fild dword ptr [eax+00000140] acess to and if i have for example 4 units i get 4 adresses and their values are accuracy of musket shooting of my units, so if my unit is guard with 60 accuracy i get 60 value.

might help if you knew what fild actually does.

EnCoded Message: i3iy9yl8kr2xf3g2Txs3pr6ye3ya7jg5ty2z

https://www.youtube.com/watch?v=62_7-AYfdkQ
you need a paypal account for the private versions.

Website:
http://bit.ly/medic101

Teamspeak 3: 85.236.101.5:10157

M. O.

  • Administrator
  • MasstKer
  • *
  • Posts: 9185
    • View Profile
    • http://www.tkc-community.net
Re: Desync in strategy game
« Reply #12 on: December 23, 2014, 11:15:10 pm »
Well if [eax+140] is the accuracy value, chances are eax contains the address of a unit or whatever structure. But it doesn't matter. Putting a breakpoint on whats in eax is a good idea.

And what's in eax+E0? The fate of edx is not known either.

The game hacking archive has lots of examples and sample problems to solve. It's a better starting point. If you don't know what you do there's no chance at all to beat the sync problem.

Heckling is an art, and game hacking a science.

feldmarschall

  • Online Villain
  • ***
  • Posts: 244
  • Strategist
    • View Profile
Re: Desync in strategy game
« Reply #13 on: December 24, 2014, 12:00:09 am »
 fild dword ptr[eax+00000140] has acess to value which is for example 60 or other number, when i right click on this  fild dword ptr[eax+00000140] in the assembler and choose "find what it have acess to it" shows statistics for all units in particular battle, 3 units= 3 values.  It looks like this.
SCREEN
Adresses and next values.
« Last Edit: January 18, 2015, 09:42:05 pm by feldmarschall »
"Strategy is a system of expedients; it is more than a mere scholarly discipline. It is the translation of knowledge to practical life, the improvement of the original leading thought in accordance with continually changing situations."

feldmarschall

  • Online Villain
  • ***
  • Posts: 244
  • Strategist
    • View Profile
Re: Desync in strategy game
« Reply #14 on: December 26, 2014, 11:18:47 pm »
Damn even noping all values from specific function doesnt do anything :icon_mad2, there must be some instruction or function that checks if values are correct and its comparing  them or something like that, i dont know how to make this..... Pm me if you want to help me, i gonna write name of game and maybe we gonna figure it out...
"Strategy is a system of expedients; it is more than a mere scholarly discipline. It is the translation of knowledge to practical life, the improvement of the original leading thought in accordance with continually changing situations."