Page 2 of 3 FirstFirst 123 LastLast
Results 16 to 30 of 41
  1. #16
    MEkhi2's Avatar
    Join Date
    Nov 2008
    Gender
    male
    Location
    Earth.
    Posts
    101
    Reputation
    10
    Thanks
    15
    My Mood
    Tired
    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

  2. #17
    Alessandro10's Avatar
    Join Date
    Oct 2010
    Gender
    male
    Location
    MPGH.NET
    Posts
    6,140
    Reputation
    215
    Thanks
    4,607
    My Mood
    Busy
    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;
    }}
    Last edited by Alessandro10; 12-05-2010 at 06:57 AM.

  3. #18
    MEkhi2's Avatar
    Join Date
    Nov 2008
    Gender
    male
    Location
    Earth.
    Posts
    101
    Reputation
    10
    Thanks
    15
    My Mood
    Tired

    Post

    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.

  4. #19
    Alessandro10's Avatar
    Join Date
    Oct 2010
    Gender
    male
    Location
    MPGH.NET
    Posts
    6,140
    Reputation
    215
    Thanks
    4,607
    My Mood
    Busy
    Change from Release to Debug, try entering the game again

  5. #20
    .L33T's Avatar
    Join Date
    Oct 2010
    Gender
    male
    Posts
    80
    Reputation
    9
    Thanks
    49
    My Mood
    Cool
    Using "Sleep" on hooked D3DPresent/D3DEndScene will make your hack lag more.

  6. #21
    MEkhi2's Avatar
    Join Date
    Nov 2008
    Gender
    male
    Location
    Earth.
    Posts
    101
    Reputation
    10
    Thanks
    15
    My Mood
    Tired

    Post

    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 ==========

  7. #22
    Alessandro10's Avatar
    Join Date
    Oct 2010
    Gender
    male
    Location
    MPGH.NET
    Posts
    6,140
    Reputation
    215
    Thanks
    4,607
    My Mood
    Busy
    Change Charecter Set unicode to Multi-Byte

  8. #23
    MEkhi2's Avatar
    Join Date
    Nov 2008
    Gender
    male
    Location
    Earth.
    Posts
    101
    Reputation
    10
    Thanks
    15
    My Mood
    Tired

    Post

    Quote Originally Posted by Alessandro10 View Post
    Change Charecter Set unicode to Multi-Byte
    It is on MultiBype

  9. #24
    whit's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Posts
    7,159
    Reputation
    490
    Thanks
    2,253
    Why dont you just use booleans

  10. #25
    Alessandro10's Avatar
    Join Date
    Oct 2010
    Gender
    male
    Location
    MPGH.NET
    Posts
    6,140
    Reputation
    215
    Thanks
    4,607
    My Mood
    Busy
    Code:
    bool nx = false;
    Code:
    while(true){
    if(nx < 0){
    //PTC OFF
    nx = false;
    }else{
    //PTC ON
    nx = true;
    }}

  11. #26
    whit's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Posts
    7,159
    Reputation
    490
    Thanks
    2,253
    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

  12. #27
    Alessandro10's Avatar
    Join Date
    Oct 2010
    Gender
    male
    Location
    MPGH.NET
    Posts
    6,140
    Reputation
    215
    Thanks
    4,607
    My Mood
    Busy
    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.

  13. #28
    Nubzgetkillz's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Location
    hacktown
    Posts
    838
    Reputation
    13
    Thanks
    411
    My Mood
    Amazed
    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?

    Member since September 25, 2010

    Current Objectives:
    • Graduate college with a degree in Computer Science
    • Find a decent job in the Computer Science Field
    • Learn more programming languages

    Looking for Elo Boosting Job - League of Legends
    Looking for Bronze -> Gold Jobs


    Skype: whatthedream

  14. #29
    Alessandro10's Avatar
    Join Date
    Oct 2010
    Gender
    male
    Location
    MPGH.NET
    Posts
    6,140
    Reputation
    215
    Thanks
    4,607
    My Mood
    Busy
    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

  15. #30
    MEkhi2's Avatar
    Join Date
    Nov 2008
    Gender
    male
    Location
    Earth.
    Posts
    101
    Reputation
    10
    Thanks
    15
    My Mood
    Tired
    Quote Originally Posted by whit View Post
    Why dont you just use booleans
    Will that fix my compiling problem?

Page 2 of 3 FirstFirst 123 LastLast