Why my code no work?

Posts 1–8 of 8 · Page 1 of 1
Why my code no work?
Why my code of no spread no work in 3d3?
Code:
Code:
if (Spread) {

   DWORD spred = *(DWORD*)0xB51E24;
   if(spred != 0)
      {
      *(float*)(spred+0x0) = 0.0f;
      }
}
Thx
Maybe because you made some ortograffic errors?
Code:
if (Spread) {

   DWORD spred = *(DWORD*)0xB51E24;
   if(spred != 0)
      {
      *(float*)(spred+0x0) = 0.0f;
      }
}
Isn't it supposed to be "Spread" instead of "Spred"?
Silk[H4x] if u don't know, plz don't answer. If u see the code, u can see that "Spread" is a condition (boolean?) that its true, enter in the "if" secuence, and its false, don't enter in the "if"; spred is a DWORD variable, absolutly different.
Quote Originally Posted by Silk[H4x] View Post
Maybe because you made some ortograffic errors?
Code:
if (Spread) {

   DWORD spred = *(DWORD*)0xB51E24;
   if(spred != 0)
      {
      *(float*)(spred+0x0) = 0.0f;
      }
}
Isn't it supposed to be "Spread" instead of "Spred"?
Haha. He's defining 0xB51E24 as "spred".

@Silk The address 0xB51E24, I think it's dynamic, although I might be wrong.

Code:
*(float*)(spred+0x0) = 0.0f;
Try changing it to:

Code:
*(float*)(spred) = 0.0f;
Roger That KiN, sorry my knowledge about C++ is really limited
Quote Originally Posted by xsmilex14 View Post
Why my code of no spread no work in 3d3?
Code:
Code:
if (Spread) {

   DWORD spred = *(DWORD*)0xB51E24;
   if(spred != 0)
      {
      *(float*)(spred+0x0) = 0.0f;
      }
}
Thx
lol everyone can see this
Code:
if (Spread) 
{
   DWORD spred = *(DWORD*)0xB51E24;
   if(spred != 0)
      {
      *(float*)(spred+0x0) = 0.0f;
      }
}
Quote Originally Posted by xsmilex14 View Post
Why my code of no spread no work in 3d3?
Code:
Code:
if (Spread) {

   DWORD spred = *(DWORD*)0xB51E24;
   if(spred != 0)
      {
      *(float*)(spred+0x0) = 0.0f;
      }
}

Thx
becouse your addrese is wrong

Quote Originally Posted by poesy700 View Post
lol everyone can see this
Code:
if (Spread) 
{
   DWORD spred = *(DWORD*)0xB51E24;
   if(spred != 0)
      {
      *(float*)(spred+0x0) = 0.0f;
      }
}
wtf?learn c++ befor posting ... he dosent have post syntax compiele errors
and you can use like void omghax(){ int imdonthax = 999999; }
Quote Originally Posted by deadnesser View Post
becouse your addrese is wrong



wtf?learn c++ befor posting ... he dosent have post syntax compiele errors
and you can use like void omghax(){ int imdonthax = 999999; }
u learn coding
all of u guys are wrong
it wont work because u are using an offset while spread doesnt use an offest
just use this code and everything will be just fine
first off
define ur spread addie
Code:
#define Spread_Addie 0xB51E24
then do this:

Code:
if (Spread) 
{
DWORD spread = *(DWORD*)Spread_Addie;
   if(spread != 0)
      {
      *(long*)(spread) = 0;
      }
}
as you can see i changed FLOAT to LONG
it is possible to have float to but i suggest u use long

thx button is at the right corner below

p.s:
i also defined ur addie, that will make ur code easier to look at and it is easier to update, just use it for every other hack also

and if ur wondering
why u have recoil, thats because u will need to write to the playerpointer with 3 offsets if u need further help just pm me and il see if im in the mood to help
Posts 1–8 of 8 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

Talk with us