Results 1 to 5 of 5
  1. #1
    殺す必要がある唯一のものは殺されるために準備され人 々である。
    Premium Member
    Hitokiri~'s Avatar
    Join Date
    Oct 2012
    Gender
    female
    Location
    Cancer.
    Posts
    1,195
    Reputation
    24
    Thanks
    863
    My Mood
    Bitchy

    Why editing stats fail to "stick" and how to prevent this.

    This isn't meant to actually give you C&P code or even a download to fix your problems.
    This is meant for those who can reverse engineer properly and are actually having trouble figuring out why stats don't save after editing.

    Some tips before starting:
    - Don't edit your stats. ( You'll see why. You'll also see how you can edit them )
    - Don't use Cheat Engine ( Please. PLEASE Do not use Cheat Engine without first modifying the binary. )

    Ok let's get started. I'll explain how stats are loaded first off:

    - When you start the game, Steam loads all the necessary playing information ( Steam Name, Steam ID etc. ) into the game.
    - Next, the game then initializes it's sub-systems.
    - After this, it proceeds to connect to the Activision servers.
    - The connection to the Activision servers then return information such as:
    -> Is the person banned?
    -> Stats
    -> Leaderboards
    -> Message Of The Day shit etc.

    What happens next is the main part for loading:

    - Various functions in the game are hashed and stored in a hash block by type etc. The functions are pretty complicated to prevent users from understanding them and possibly provide a measure to avoid copying them and forging signatures.
    - This also occurs for stats. When your game first retrieves stats, it downloads them from the servers and performs hash verifications on them.
    -> If the calculated hash doesn't match the hash stored in the stats itself, it is discarded ( Aka your rank is reset )
    - How can you prevent this? Personally, I haven't tried this method but you can attempt to force the validation result to always match by one of two ways:

    -> The validation checking code that prevents invalid stats from loaded could simply be removed
    -> You can calculate the hash of the updated stats before saving it to the servers.

    ADDITIONAL INFORMATION:

    - This is common across all CoDs:
    -> Upon joining a server/starting a match, your stats file is sent to the host. The host itself performs calculations on your stats file to determine if your stats hash matches the one stored in it. ( Same like the above except it's host-sided. ) If the host detects a mismatch, it zeros out your stats file ( Meaning rank reset -> Invalid stats when leaving server )
    -> Once a game ends leave a server, the server sends you back a copy of your updated and properly hashed stats file which is then uploaded to Activision.

    Well, that should be enough for you to figure out the rest.

    P.S. Why doesn't data_validation_allow_drop not work? Because simply disabling the dvar doesn't stop an invalid hash from being calculated.

  2. The Following 3 Users Say Thank You to Hitokiri~ For This Useful Post:

    [MPGH]akim14 (03-16-2015),bog624 (04-01-2015),StonedEngine (04-02-2015)

  3. #2
    akim14's Avatar
    Join Date
    Oct 2009
    Gender
    male
    Posts
    855
    Reputation
    281
    Thanks
    4,997
    My Mood
    Doh
    Totally awesome, I could not describe it better...
    anyway, I cant exactly remember what I did when I edited my stats, but they were not resetted (I got banned two months later)

    MPGH Member since 21/10/2009
    CoD section Minion since 1/22/2015
    GTA section Minion since 7/15/2015
    Minion+ since 1/27/2016
    Skype Impersonator: mpgh.akim14. (always use skype buton on my profile and contact me here)

  4. The Following User Says Thank You to akim14 For This Useful Post:

    Hitokiri~ (03-16-2015)

  5. #3
    Threadstarter
    殺す必要がある唯一のものは殺されるために準備され人 々である。
    Premium Member
    Hitokiri~'s Avatar
    Join Date
    Oct 2012
    Gender
    female
    Location
    Cancer.
    Posts
    1,195
    Reputation
    24
    Thanks
    863
    My Mood
    Bitchy
    An easy way that actually made my stats save was this:

    --> Join an XP lobby.
    --> Level up till level 49
    --> Kick the host ( Or convince him to leave which resets XP dvars )
    --> New host will be retrieved
    --> Continue playing normally till the game ends.

    That actually saves stats.

  6. The Following 2 Users Say Thank You to Hitokiri~ For This Useful Post:

    [MPGH]akim14 (03-17-2015),bog624 (04-01-2015)

  7. #4
    bog624's Avatar
    Join Date
    Jun 2012
    Gender
    male
    Posts
    676
    Reputation
    95
    Thanks
    1,121
    My Mood
    Drunk
    Quote Originally Posted by Hitokiri~ View Post
    An easy way that actually made my stats save was this:

    --> Join an XP lobby.
    --> Level up till level 49
    --> Kick the host ( Or convince him to leave which resets XP dvars )
    --> New host will be retrieved
    --> Continue playing normally till the game ends.

    That actually saves stats.
    Where would I even go about finding an xp lobby, let alone hosting one, but if I did host one would It not work for me?
    Good Day.



    Quote Originally Posted by DimitriSavage View Post
    *le wild bog is hunting in his natural habitat....le wild bog sees pray...le wild bog uses HACK....le wild bog wins....le wild bog is evolving....le wild bog is now le wild gob*

    LE WILD BOG IN LE POKEDEX : POKEDEX ENTRY

    LE WILD GOB IN LE POKEDEX : POKEDEX ENTRY

    TEH FINAL EVOLUTION OF LE WILD BOG : POKEDEX ENTRY


  8. #5
    ginuz's Avatar
    Join Date
    Nov 2013
    Gender
    male
    Posts
    256
    Reputation
    10
    Thanks
    407
    My Mood
    Inspired
    Quote Originally Posted by bog624 View Post
    Where would I even go about finding an xp lobby, let alone hosting one, but if I did host one would It not work for me?
    joing some friends already in game through steam

Similar Threads

  1. Why do choobs fail so hard?
    By Hysteria in forum Combat Arms Mod Discussion
    Replies: 6
    Last Post: 08-26-2010, 10:06 AM
  2. Can i know why ppl joining -Fail-'z clan (_Time*)
    By J0kEr... in forum CrossFire Clan Recruitment & Advertising
    Replies: 10
    Last Post: 07-30-2010, 12:57 PM
  3. [REQUEST] Can Anyone pOst a Tut here? Models and edit stats for gun
    By W$fSEDfw435sef in forum Combat Arms Mods & Rez Modding
    Replies: 10
    Last Post: 01-02-2010, 06:39 PM
  4. Why does nexon fail?
    By CRUSTY in forum Combat Arms Discussions
    Replies: 23
    Last Post: 12-12-2009, 02:16 AM
  5. Election '08 and why it's fail.
    By Freek in forum General
    Replies: 9
    Last Post: 11-05-2008, 09:34 AM