Sleep PTC Method?
Whit Base in release mode causing this crash!
I checked 1337 times. Nothing. I changed the character to "Not Set". Compiled. It said I was missing d3dx9.lib. I put it in. Now I have 1 new error and all the others are gone. Here it iZ:
Code:
1>Base.obj : error LNK2019: unresolved external symbol _D3DXCreateFontA@48 referenced in function "public: void __thiscall cBase::RenderFrame(struct IDirect3DDevice9 *)" (?RenderFrame@cBase@@QAEXPAUIDirect3DDevice9@@@Z) 1>C:\Users\******\Documents\Visual Studio 2010\Projects\Hans & Gellins Base Combined\Debug\FroyBoy v1 Pub.dll : fatal error LNK1120: 1 unresolved externals
just make sure that you put the sleeps and the p*** in a while loop in their own thread
cause if you don't you will be freezing up the whole process with these sleeps
cause if you don't you will be freezing up the whole process with these sleeps

You're making it hard on yourself.
Let's say JumpHack is an integer than is "controlled" by the menu (like "if JumpHack > 0"). You want to go up to let's say.. 10. However, you don't want to code 10 if statements or 10 cases. Make another integer called JumpVel.
330 is the default value for jump velocity. 100 is the unit that the hack goes up by (basically, it's the increment). JumpHack is the multiplier. Then, you need to convert JumpVel into a PTC command. Add char Jump; to your declarations.
Then you would do:
Now, your jump hack can cover infinite numbers of degrees instead of just two.
Let's say JumpHack is an integer than is "controlled" by the menu (like "if JumpHack > 0"). You want to go up to let's say.. 10. However, you don't want to code 10 if statements or 10 cases. Make another integer called JumpVel.
Code:
JumpVel = (JumpHack * 100) + 330.
Code:
sprintf(Jump, "PushToConsole %d, JumpVel)
Code:
PushToConsole(Jump);

