google-site-verification: googlebaca44933768a824.html DoD: S nospread problem+forum activation problem at same time - Old Royal Hack Forum

Announcement

Collapse
No announcement yet.

DoD: S nospread problem+forum activation problem at same time

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    DoD: S nospread problem+forum activation problem at same time

    My mate "My5Cents" has been trying to create account here but it doesnt seem to get activated for some weird reason so i will post his question here.

    hello,
    im trying to do dods nospread.. i have detoured FX_Firebullets and readin flSpread out of it.
    Like this...
    Code:
    DWORD FireBullets_Address = m_pMemory.dwFindPattern(GetModuleHandle("client.dll"),
                                  (BYTE*)"x8BxDx00x00x00x00x81xECx00x00x00x00x55x8BxACx24x00x00x00x00x56x57x55xE8x00x00x00x00x8BxF0x85xF6x74x00x8Bx6x8Bx90x00x00x00x00x8BxCExFFxD2x84xC0x74x00x6Ax00x68x00x00x00x00x68x00x00x00x00x6Ax00x56xE8x00x00x00x00x83xC4x00x8BxF0xEBx00x33xF6x8BxBCx24x00x00x00x00x57xE8x00x00x00x0",
                                  "xx????xx????xxxx????xxxx????xxxxx?xxxx????xxxxxxx?x?x????x????x?xx????xx?xxx?xxxxx????xx???" );
                          FX_FireBullets = (FX_FireBullets_org)FbDetour.Initialize( (void*)FireBullets_Address, FX_FireBullets_new );
    now i looked in the sdk in the fx_firebullets function how the spread is calculated:
    Code:
    iSeed++;
          ...
          RandomSeed( iSeed );    // init random system with this seed
           
                          // Get circular gaussian spread.
                          float x, y;
                          x = RandomFloat( -0.5, 0.5 ) + RandomFloat( -0.5, 0.5 );
                          y = RandomFloat( -0.5, 0.5 ) + RandomFloat( -0.5, 0.5 );
                 
                          iSeed++; // use new seed for next bullet
           
                          pPlayer->FireBullet(
                                  vOrigin,
                                  vAngles,
                                  flSpread,
                                  iDamage,
                                  iAmmoType,
                                  pPlayer,
                                  bDoEffects,
                                  x,y );
    so ive redone this in my hack

    Code:
                  int iSeed = seed;
                  iSeed++;
                  RandomSeed(iSeed);
                  vec[0] = RandomFloat(-0.5, 0.5) + RandomFloat(-0.5, 0.5);
                  vec[1] = RandomFloat(-0.5, 0.5) + RandomFloat(-0.5, 0.5);
                  float flSpread = 0.0f;
                  flSpread = Spread;
    but i seem to get wrong random numbers? i dont know why, would be nice if someone could point me in the right direction
    lolmaoman: Germans are born with a lifetime x22 login engraved into their birth certificates. True story.
    I DONT HAVE TEAMVIEWER AND IM NOT GOING TO GIVE ANY 24/7 ONLINE SUPPORT VIA STEAM, XFIRE OR OTHER IM PROGRAMS SO DONT BOTHER ASKING. THANKS.

    #2
    dod:s nospread is very rare so there are only a few people who know how to do it...we would be stupid to help people who don't knwo what they are doing

    ->

    reverse it :alien:
    I 0x90 you!

    Comment


      #3
      Originally posted by aVitamin View Post
      dod:s nospread is very rare so there are only a few people who know how to do it...we would be stupid to help people who don't knwo what they are doing

      ->

      reverse it :alien:
      aVitamins DOD:S hack= Best dods hack ever


      He has nospread and anti aim :D
      hi@

      Comment

      Working...
      X