Results 1 to 5 of 5
  1. #1
    Crash's Avatar
    Join Date
    Aug 2009
    Gender
    male
    Location
    JAville
    Posts
    2,881
    Reputation
    163
    Thanks
    3,291
    My Mood
    Sleepy

    How to make Fog RGB Changer on Gellin's Base !

    Here is how to make fog colors in Gellin's base guys! Just wanted to share with you how those other guys did it

    Add this code to base.cpp:
    Code:
                    char rd[3], gr[3], bl[3];
    			if(Menu2.mOpt[7].nopt>0){
    				sprintf(rd, "FogR %d" , Menu2.mOpt[8].nopt);
    				sprintf(gr, "FogG %d" , Menu2.mOpt[9].nopt);
    				sprintf(bl, "FogB %d" , Menu2.mOpt[10].nopt);
    				this->PushToConsole((const char *)rd);
    				this->PushToConsole((const char *)gr);
    				this->PushToConsole((const char *)bl);
    			}else{
     				this->PushToConsole("FogR 0");
    				this->PushToConsole("FogG 0");
    				this->PushToConsole("FogB 0");
    			}
    Add this to menu.cpp in the second menu's intiation code.

    Code:
    		this->AddItemToMenu("Fog Editor"   ,1, 0);
    		this->AddItemToMenu("Fog Red Val"  ,255, 0);
    		this->AddItemToMenu("Fog Blue Val"  ,255, 0);
    		this->AddItemToMenu("Fog Green Val"  ,255, 0);
    This works with the edited version of gellins base that I released. If you're smart enough you can find it and implement this code. Heck the hack might already have it.

    Please don't complain if you don't know what you're doin. Thanks.
    Last edited by Crash; 01-19-2010 at 03:32 PM.

  2. The Following 3 Users Say Thank You to Crash For This Useful Post:

    matypatty (03-02-2010),MGHP (01-20-2010),why06 (01-20-2010)

  3. #2
    MGHP's Avatar
    Join Date
    Nov 2008
    Gender
    male
    Posts
    94
    Reputation
    10
    Thanks
    21
    My Mood
    Aggressive
    nice work seal
    Goal List:

    Have 50 posts []
    Have 75 posts[]
    Have 100 posts [ ]
    Have 150 posts []
    Have 250 posts []
    Have 500 posts []
    Have 1000 posts[]
    Have atleast 2 acc banned[]
    Make my own hack []
    Finish list start new one[]

    Im getting some kind of posts from some people and IDK WHAT to do with em so let me tell now If you send me message about " should be MPGH not MGHP AND LAUGH ABOUT" IT I KNOW THAT IT SHOULD BE like that NOT MGHP BUT MGHP STANDS FOR ME SOMETHING Else
    Actually when i got this username it was going to be MultiGearHp then I just want to make it smaller and said MGHP so now if you send me a message remember this!And if any mod can change it To MultiGearHp im glad to that! Thank MGHP (MultiGearHp)!


    Status: Bored From Playing Combat Arms

  4. #3
    why06's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Location
    IBM
    Posts
    4,304
    Reputation
    170
    Thanks
    2,203
    My Mood
    Flirty
    Looks right... I just don't get one thing.
    Code:
    char rd[3], gr[3], bl[3];
    Your strings are only 3 chars long
    Code:
    sprintf(rd, "FogR %d" , Menu2.mOpt[8].nopt);
    And yet your trying to stick a string of 6+ into a buffer of 3. That doesn't make sense to me.
    I recommend you increase the size of your strings is all. go ahead and make them
    Code:
    char rd[30], gr[30], bl[30];
    It's not like your gonna run out of memory.... =/

    EDIT:
    Wait I just looked at the base and somethings not right here. Oh... you just did it wierd. You used the menu option which was supposed to be the default value to set it up.... To be hones I don't get why you didn't just push the string directly... it makes for cleaner code, and you could do without this messiness, but yeh it would work I suppose.
    Code:
    sprintf(rd, "FogR %d" , Menu2.mOpt[8].nopt);
    				sprintf(gr, "FogG %d" , Menu2.mOpt[9].nopt);
    				sprintf(bl, "FogB %d" , Menu2.mOpt[10].nopt);
    Last edited by why06; 01-20-2010 at 07:35 AM.

    "Every gun that is made, every warship launched, every rocket fired signifies, in the final sense, a theft from those who hunger and are not fed, those who are cold and are not clothed. This world in arms is not spending money alone. It is spending the sweat of its laborers, the genius of its scientists, the hopes of its children. The cost of one modern heavy bomber is this: a modern brick school in more than 30 cities. It is two electric power plants, each serving a town of 60,000 population. It is two fine, fully equipped hospitals. It is some fifty miles of concrete pavement. We pay for a single fighter plane with a half million bushels of wheat. We pay for a single destroyer with new homes that could have housed more than 8,000 people. This is, I repeat, the best way of life to be found on the road the world has been taking. This is not a way of life at all, in any true sense. Under the cloud of threatening war, it is humanity hanging from a cross of iron."
    - Dwight D. Eisenhower

  5. #4
    Stephen's Avatar
    Join Date
    Jun 2009
    Gender
    male
    Location
    Engine.exe
    Posts
    4,689
    Reputation
    184
    Thanks
    1,149
    My Mood
    Aggressive
    I got that in my hack

  6. #5
    LegendaryAbbo's Avatar
    Join Date
    Dec 2008
    Gender
    male
    Posts
    5,243
    Reputation
    23
    Thanks
    546
    My Mood
    Relaxed
    Nice work, hope it helps some people :

Similar Threads

  1. [Release]How to make your own IP changer.
    By Rawr Rawr in forum Game Hacking Tutorials
    Replies: 9
    Last Post: 02-09-2014, 05:18 AM
  2. How to make a IP changer in VB6
    By trevor206 in forum Visual Basic Programming
    Replies: 10
    Last Post: 01-16-2010, 03:23 PM
  3. How to make a Ip changer? in visual basics 2008
    By deathninjak0 in forum Programming Tutorial Requests
    Replies: 2
    Last Post: 11-25-2009, 05:00 PM
  4. [Request] Does anyone know how to make a ip changer
    By trevor206 in forum Visual Basic Programming
    Replies: 5
    Last Post: 11-14-2009, 10:24 PM
  5. How do i make fog at the bottom?
    By Ariez in forum Help & Requests
    Replies: 3
    Last Post: 04-23-2009, 04:45 PM