Results 1 to 8 of 8
  1. #1
    _corn_'s Avatar
    Join Date
    Jun 2010
    Gender
    male
    Location
    0x0C482BF2
    Posts
    673
    Reputation
    13
    Thanks
    294
    My Mood
    Brooding

    Why, why, why?????

    In CShell.dll, if you search for all referenced text strings with olly debug, you find text strings such as "ReloadAnimRatio". Why are these strings there? Why does CF need those strings? Why doesn't the creator of CF remove them to make it harder to find addys? What purpose do they serve?

    Thanks.

  2. #2
    rabir007's Avatar
    Join Date
    Aug 2011
    Gender
    male
    Location
    Behind you...
    Posts
    2,323
    Reputation
    148
    Thanks
    1,925
    My Mood
    Bored
    If i understand right, Cf use them as:
    Code:
    WeaponList.GetAttribute("ReloadAnimRatio");
    So it contains the "ReloadAnimRatio" string, and olly finds it...
    But other coders would give you a better answer...







  3. #3

  4. #4
    _corn_'s Avatar
    Join Date
    Jun 2010
    Gender
    male
    Location
    0x0C482BF2
    Posts
    673
    Reputation
    13
    Thanks
    294
    My Mood
    Brooding
    Quote Originally Posted by rabir007 View Post
    If i understand right, Cf use them as:
    Code:
    WeaponList.GetAttribute("ReloadAnimRatio");
    So it contains the "ReloadAnimRatio" string, and olly finds it...
    But other coders would give you a better answer...
    That makes sense. A much better way to achieve such a thing is like this:
    Code:
    #define RELOAD_ANIM_RATIO 0xA4F //Or whatever
    
    WeaponList.GetAttribute(RELOAD_ANIM_RATIO);
    This way, hackers wouldn't be able to search for all referenced text strings to find classes.

  5. #5
    rabir007's Avatar
    Join Date
    Aug 2011
    Gender
    male
    Location
    Behind you...
    Posts
    2,323
    Reputation
    148
    Thanks
    1,925
    My Mood
    Bored
    Quote Originally Posted by _corn_ View Post


    That makes sense. A much better way to achieve such a thing is like this:
    Code:
    #define RELOAD_ANIM_RATIO 0xA4F //Or whatever
    
    WeaponList.GetAttribute(RELOAD_ANIM_RATIO);
    This way, hackers wouldn't be able to search for all referenced text strings to find classes.

    Cf is just a corean game, they don't even update the engine itself, so it will never get better...







  6. #6
    giniyat101's Avatar
    Join Date
    Sep 2011
    Gender
    male
    Location
    Not telling.
    Posts
    1,935
    Reputation
    130
    Thanks
    1,380
    My Mood
    Dead
    thats how they find a certain value from the weapon bute file (aka bf005.ltc)
    further information here:
    https://www.mpgh.net/forum/242-crossf...d-strings.html


     



    [img]https://i43.photobucke*****m/albums/e367/DeteSting/Steam-update.gif[/img]

  7. #7
    _corn_'s Avatar
    Join Date
    Jun 2010
    Gender
    male
    Location
    0x0C482BF2
    Posts
    673
    Reputation
    13
    Thanks
    294
    My Mood
    Brooding
    Quote Originally Posted by rabir007 View Post



    Cf is just a corean game, they don't even update the engine itself, so it will never get better...
    How come CShell.dll gets patched then?

  8. #8
    rabir007's Avatar
    Join Date
    Aug 2011
    Gender
    male
    Location
    Behind you...
    Posts
    2,323
    Reputation
    148
    Thanks
    1,925
    My Mood
    Bored
    Quote Originally Posted by _corn_ View Post


    How come CShell.dll gets patched then?
    Publisher can do it... Since CShell getting packed to a "Self-Extraction package"
    When crossfire loads it, CShell will restore itself to its original state...

    Also new contents are just like "mods" for the game...







Similar Threads

  1. Why hack??? Why not?
    By nobartholem in forum General Hacking
    Replies: 2
    Last Post: 06-13-2010, 06:14 AM
  2. Why MPGH why...
    By iHolyElement in forum General
    Replies: 74
    Last Post: 08-15-2009, 07:40 AM
  3. Why Billy, why!!
    By Synns in forum General
    Replies: 17
    Last Post: 08-08-2009, 07:25 AM
  4. G36E, Why or why not?
    By iNoobxD in forum Combat Arms Hacks & Cheats
    Replies: 11
    Last Post: 08-02-2009, 03:35 AM
  5. Why MPGH Why...
    By ExileWarrior in forum General
    Replies: 51
    Last Post: 01-04-2009, 09:14 AM