Sleep PTC Method?

Posts 16–30 of 41 · Page 2 of 3
Quote Originally Posted by Alessandro10 View Post
Before else, you put a showfps 1
After Else showfps 0
I know, but for some reason... all of them don't turn off except fps.. I'll investigate.

EDIT: Found my problem :] For some reason I had an exclamation mark before my equal signs
just try down with nx

In Global

Code:
int nx = 0;
int nx1 = 0;
Code:
if( nx > 0 ){if( nx1 != nx ){
pRunConsoleCommand ("SkelModelStencil -1");
nx1 = nx;
}
}else{
if( nx1 != nx ){
pRunConsoleCommand ("SkelModelStencil 0");
nx1 = nx;
}}
Quote Originally Posted by Alessandro10 View Post
just try down with nx

In Global

Code:
int nx = 0;
int nx1 = 0;
Code:
if( nx > 0 ){if( nx1 != nx ){
pRunConsoleCommand ("SkelModelStencial -1");
nx1 = nx;
}
}else{
if( nx1 != nx ){
pRunConsoleCommand ("SkelModelStencial 0");
nx1 = nx;
}}
I found out what my problem was, but thanks.
Change from Release to Debug, try entering the game again
Quote Originally Posted by Alessandro10 View Post
Change from Release to Debug, try entering the game again
Build failed..

Error
Code:
1>c:\users\*****\documents\visual studio 2010\projects\hans & gellins base combined\cabase\menu.cpp(81): error C2664: 'ID3DXFont::DrawTextW' : cannot convert parameter 2 from 'char *' to 'LPCWSTR'
1>          Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
1>c:\users\*****\documents\visual studio 2010\projects\hans & gellins base combined\cabase\menu.cpp(84): error C2664: 'ID3DXFont::DrawTextW' : cannot convert parameter 2 from 'char *' to 'LPCWSTR'
1>          Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
1>c:\users\*****\documents\visual studio 2010\projects\hans & gellins base combined\cabase\menu.cpp(86): error C2664: 'ID3DXFont::DrawTextW' : cannot convert parameter 2 from 'char *' to 'LPCWSTR'
1>          Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
1>  DirectX.cpp
1>c:\users\******\documents\visual studio 2010\projects\hans & gellins base combined\cabase\directx.cpp(25): error C2664: 'ID3DXFont::DrawTextW' : cannot convert parameter 2 from 'char [1024]' to 'LPCWSTR'
1>          Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
1>  Base.cpp
1>c:\users\*****\documents\visual studio 2010\projects\hans & gellins base combined\cabase\base.cpp(627): error C2664: 'GetModuleHandleW' : cannot convert parameter 1 from 'const char [9]' to 'LPCWSTR'
1>          Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
1>c:\users\******\documents\visual studio 2010\projects\hans & gellins base combined\cabase\base.cpp(628): error C2664: 'GetModuleHandleW' : cannot convert parameter 1 from 'const char [13]' to 'LPCWSTR'
1>          Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
1>c:\users\******\documents\visual studio 2010\projects\hans & gellins base combined\cabase\base.cpp(629): error C2664: 'GetModuleHandleW' : cannot convert parameter 1 from 'const char [11]' to 'LPCWSTR'
1>          Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
1>  Generating Code...
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Using "Sleep" on hooked D3DPresent/D3DEndScene will make your hack lag more.
Change Charecter Set unicode to Multi-Byte
Quote Originally Posted by Alessandro10 View Post
Change Charecter Set unicode to Multi-Byte
It is on MultiBype
Why dont you just use booleans
Quote Originally Posted by whit View Post
Why dont you just use booleans
Will that fix my compiling problem?
Code:
bool nx = false;
Code:
while(true){
if(nx < 0){
//PTC OFF
nx = false;
}else{
//PTC ON
nx = true;
}}
Quote Originally Posted by Alessandro10 View Post
Code:
bool nx = false;
Code:
while(true){
//PTC OFF
nx = false;
}else{
//PTC ON
nx = true;
}
so in your loop your going to have the ptc on and off at the same time?
Wheres the if statement...Or switch
Quote Originally Posted by whit View Post


so in your loop your going to have the ptc on and off at the same time?
Wheres the if statement...Or switch
I just use the switch when you have more than one option.

Example: Speed with 3 speed, super jump with two jumps, crosshair with different colors.
Quote Originally Posted by Alessandro10 View Post
Code:
bool nx = false;
Code:
while(true){
if(nx < 0){  <-- Lol bool nx = false. and you do < 0 ??
//PTC OFF 
nx = false;
}else{
//PTC ON
nx = true;
}}
Idk, But That seems wrong what do you have to say about that Whit?
Quote Originally Posted by Nubzgetkillz View Post
Idk, But That seems wrong what do you have to say about that Whit?
Code:
while(true){
if(nx){
//PTC ON
nx = true;
}else{
//PTC OFF
nx = false;
}}
I put wrong ....... lol
Posts 16–30 of 41 · Page 2 of 3

Post a Reply

Tags for this Thread

None

Talk with us