Thread: New version 5.7.1 is out, speedhack still working | Forums

  1. #1

    New version 5.7.1 is out, speedhack still working

    subj

    just add this line into code already
    source code:
    PHP Code:
    void __fastcall tr::BikeManager::setupBikeLevel(tr::BikeManager *thisfloat *bikelevel,
     
    float sum_of_upgradesfloat min_upgrade_levelfloat max_upgrade_level)
    {
      *
    bikelevel min_upgrade_level + ((max_upgrade_level min_upgrade_level) * (sum_of_upgrades 1000.0));


    fixed code:
    PHP Code:
    void __fastcall tr::BikeManager::setupBikeLevel(tr::BikeManager *thisfloat *bikelevel,
     
    float sum_of_upgradesfloat min_upgrade_levelfloat max_upgrade_level)
    {
      if (
    sum_of_upgrades 1000.0sum_of_upgrades 1000.0// <-- here's the check
      
    *bikelevel min_upgrade_level + ((max_upgrade_level min_upgrade_level) * (sum_of_upgrades 1000.0));

    Share this post

  2. #2
    badem0n's Avatar Banned
    Join Date
    Apr 2017
    Posts
    20
    ah, very good! i think next update will officially include the speed-hack, so that the honest players do not feel disadvantaged anymore.
    Share this post

  3. #3
    dutscher-DE's Avatar Senior Member
    Join Date
    Jul 2014
    Location
    germany
    Posts
    949
    it should definitely be fixxed, but when i'am able to change the 1000 in the division line, why i'am not be able to hack the conditions 1000.
    your fix is quick but not bullet proofed...

    my idea was, track the max speed the whole run and send the maxspeed with the record to the server, and their is the validation of a hacked run or not.
    in this way they have to hack more vars and more code as now.

    cheers
    Share this post

  4. #4
    dutscher-DE's Avatar Senior Member
    Join Date
    Jul 2014
    Location
    germany
    Posts
    949
    it's added to the fixlist http://trialstrackmap.sb-f.de/fixlist.html

    cheers
    Share this post

  5. #5
    Originally Posted by dutscher-DE Go to original post
    why i'am not be able to hack the conditions 1000.
    Of course it's not, but it's almost impossible to find this constant in memory. There will be too many false alarms that will cause game to crash if they willl be edited.

    Max speed actually recorded in the ghost file already. But it's hard to detect not obvious speedhack this way. I think best way is to guard all bike-related variables by comparing them to their fast-encrypted copies. But hey, they can't even add the simple check
    Share this post

  6. #6
    Originally Posted by dutscher-DE Go to original post
    you forgot to add all scoring bugs there
    Share this post

  7. #7
    Originally Posted by dutscher-DE Go to original post
    when i'am able to change the 1000 in the division line
    Forgot to say, actually it's not the 1000 that changed. They search for elements which sum_of_upgrades consists of. So total sum become much greater than 1000. And upgrade level exceeds maximum greatly.
    Share this post