Results 1 to 4 of 4
  1. #1
    kvdirect's Avatar
    Join Date
    Mar 2009
    Gender
    male
    Posts
    24
    Reputation
    10
    Thanks
    2

    Help with no bounds function

    Soryy to bother u guys but I'm having a problem with warrock freezing when I try to use this nobounds function and help would be aprreciated.

    Here are my addies
    #define ADR_BOUNDS_1 0x00C5DF9C
    #define ADR_BOUNDS_2 0x00C5DFA0

    Here is my function
    void nobound() // no boundries
    {

    *(float*) ADR_BOUNDS_1 = 5000000;
    *(float*) ADR_BOUNDS_2 = 5000000;
    }

  2. #2
    zhaoyun333's Avatar
    Join Date
    Apr 2009
    Gender
    male
    Posts
    396
    Reputation
    11
    Thanks
    1,125
    freeze to 0
    There are five possible operations for any army. If you can fight, fight; if you cannot fight, defend; if you cannot defend, flee; if you cannot flee, surrender; if you cannot surrender, die." - Sima Yi

  3. #3
    m4c4r0ni3z's Avatar
    Join Date
    Aug 2007
    Gender
    male
    Location
    I'm in your memory, caving your codes.
    Posts
    161
    Reputation
    13
    Thanks
    38
    My Mood
    Breezy
    Code:
    if (NoBounds)
    {
    long t=0;
    unsigned long Protection;
    VirtualProtect((void*)BOUNDS1, sizeof(t), PAGE_READWRITE, &Protection);
    memcpy((void*)BOUNDS1, &t , sizeof(t));
    VirtualProtect((void*)BOUNDS1, sizeof(t), Protection, 0);
    
    VirtualProtect((void*)BOUNDS2, sizeof(t), PAGE_READWRITE, &Protection);
    memcpy((void*)BOUNDS2, &t , sizeof(t));
    VirtualProtect((void*)BOUNDS2, sizeof(t), Protection, 0);
    }

  4. #4
    kvdirect's Avatar
    Join Date
    Mar 2009
    Gender
    male
    Posts
    24
    Reputation
    10
    Thanks
    2
    Thanks worked great!

Similar Threads

  1. [Help Request] Anyone can help with this ?
    By devileyebg in forum Vindictus Help
    Replies: 1
    Last Post: 05-01-2011, 03:57 PM
  2. [Help Request] need help with mod
    By .:MUS1CFR34K:. in forum Call of Duty Modern Warfare 2 GSC Modding Help/Discussion
    Replies: 4
    Last Post: 05-01-2011, 12:40 PM
  3. [Help Request] need help with modding
    By BayBee Alyn in forum Combat Arms Help
    Replies: 0
    Last Post: 04-27-2011, 09:06 PM
  4. [Solved]Help with the setShader / createIcon function
    By lior19940 in forum Call of Duty Modern Warfare 2 GSC Modding Help/Discussion
    Replies: 5
    Last Post: 09-27-2010, 06:11 AM
  5. Help With Functions
    By User1 in forum C# Programming
    Replies: 10
    Last Post: 05-02-2010, 09:50 PM

Tags for this Thread