THREAD: [1.11 Release]Getting multiple Patches in one
  1. 10-31-2011, 03:22 PM
    #1
    Cody_h4x's Avatar
    Cody_h4x
    Nobody is like me
    Cody_h4x's Avatar
    Cody_h4x
    Nobody is like me
    2,404
    Posts
    6,379
    Reputation
    Oct 2010
    NextGenUpdate
    Multiple Patches
    So far I've gotten (and satisfied with)
    My private Patch,
    Craigchrist's "Steal this Patch"
    Hawkin's "Zombieland" Latest version
    all in one

    Alright everyone, I've been bugged about this to release but this is really only common sense and the only thing needed to be done is to modify the second patches init, Connect, and spawned. Its fairly simple your using the same code to switch game modes. I feel this had to go in Modified patches section because even though it's a code its more about the patch itself, but if a mod wants to move it to exploits go ahead. kay:

    By using the Gamemode changer:
    Code:
    GameChange(G){
    self iPrintln("^1Changing Game Mode : ^5Done");
    wait 1;
    setDvar("matchGameType",G);
    setDvar("g_password","");
    map(getDvar("mapname"));
    }
    You can "Dual Boot" into another patch

    (Basically your menu would look like)

    Code:
    menu.namer[1]="GodlyModz v4";
    menu.funcs[1]=::GameChange;
    menu.input[1]=1;
    Just change the variable to any integar your gunna use for that specific patch, because your going to have to go to onPlayerConnect() and thread it.

    So for example putting GodlyModz v4 was like this:
    Code:
    		if(level.matchGameType=="1")
    		{
    			player.Verify1=0;
    			player.Verify2=0;
    			player thread Hunter();
    		}
    but now you can make things more organised for yourself and simply thread it without having to put it through onPlayerSpawned, and again for example my GodlyModz v4 was setup like this:
    Code:
    Hunter(){
    for(;;){
    self waittill("spawned_player");
    //codes here
    }
    So its very simple to put more than one patch in one some of the file sizes on estimation are:

    GodlyModz v4 == About 7,000
    Hunter128's (old patch) == About 3,500
    Chocolates Patch == About 9,000

    Also if your seeting another mod menu than your gunna have to disable the mod menu of the orignal patch, or else you'll be opeing two menus at the same time :carling:
    You can simply do this by calling a "Remove Access" function from your patch for each player, ( Dont forget to remove if (p!=self) or similar) so It removes it for everyone including the host

    Haha a cool thing for xbox patches is that you can really have "unlimited" room...........inb4 all patches in one? :carling:

    If you need any help at all feel free to let me know
    Oh 1 more thing......







    if sum rdc new*** fanboy***s r readin dis right nao fuk u :carling:
    & stop takin creditz0rz
    Last edited by Cody_h4x; 02-27-2012 at 02:42 PM.

  2. The Following 14 Users Say Thank You to Cody_h4x For This Useful Post:

    , , , , , , , , , , , , ,

  3. 11-01-2011, 07:25 PM
    #41
    Cody_h4x's Avatar
    Cody_h4x
    Nobody is like me
    Cody_h4x's Avatar
    Cody_h4x
    Nobody is like me
    2,404
    Posts
    6,379
    Reputation
    Oct 2010
    NextGenUpdate
    Originally Posted by kane212v2isgay View Post
    How is this a release? Everyone who knows how to code in GSC knows how to do this.
    Hahaha Everyone knows how to do this? Thats why the only people who released somehting with more menu than just one or (patch) was x_Daftvader_x (never released, it was his small menu with TheUnknown's 2.8.5) and KBrizzle with zombies and tree Patch, and me obviously with hunter, chocolate, and godlymodz v4.
  4. Sponsored Links
  5. 11-01-2011, 07:27 PM
    #42
    4
    Posts
    10
    Reputation
    Aug 2010
    NextGenUpdate
    can u send the xbox patch u use
  6. 11-01-2011, 07:33 PM
    #43
    Kane500's Avatar
    Kane500
    < ^ > < ^ >
    Kane500's Avatar
    Kane500
    < ^ > < ^ >
    1,018
    Posts
    1,404
    Reputation
    Jun 2011
    NextGenUpdate
    Originally Posted by Cody_h4x View Post
    Hahaha Everyone knows how to do this? Thats why the only people who released somehting with more menu than just one or (patch) was x_Daftvader_x (never released, it was his small menu with TheUnknown's 2.8.5) and KBrizzle with zombies and tree Patch, and me obviously with hunter, chocolate, and godlymodz v4.
    I did this in W@W with my studman edit. Same exact way.

    ---------- Post added at 08:33 PM ---------- Previous post was at 08:32 PM ----------

    Originally Posted by NGU Troll View Post
    They know how to call a different patch from the one you are running? I know how to code in GSC and I didn't know how. I pestered him for weeks to tell me how to do this
    Yea sure you do.
  7. 11-01-2011, 07:36 PM
    #44
    Clouds's Avatar
    Clouds
    Error 404: Title Not Found
    Clouds's Avatar
    Clouds
    Error 404: Title Not Found
    1,466
    Posts
    4,985
    Reputation
    Jun 2010
    NextGenUpdate
    Originally Posted by kane212v2isgay View Post
    I did this in W@W with my studman edit. Same exact way.

    ---------- Post added at 08:33 PM ---------- Previous post was at 08:32 PM ----------



    Yea sure you do.
    If everyone knew how to do this, don't you think it would have been released a WHILE ago? Some knew how to do it, but not everyone knew it was this simple.
  8. 11-01-2011, 07:38 PM
    #45
    Kane500's Avatar
    Kane500
    < ^ > < ^ >
    Kane500's Avatar
    Kane500
    < ^ > < ^ >
    1,018
    Posts
    1,404
    Reputation
    Jun 2011
    NextGenUpdate
    Originally Posted by NGU Troll View Post
    If everyone knew how to do this, don't you think it would have been released a WHILE ago? Some knew how to do it, but not everyone knew it was this simple.
    Theres a few different ways to do this. This isn't the only way to do this.
  9. 11-01-2011, 07:47 PM
    #46
    Clouds's Avatar
    Clouds
    Error 404: Title Not Found
    Clouds's Avatar
    Clouds
    Error 404: Title Not Found
    1,466
    Posts
    4,985
    Reputation
    Jun 2010
    NextGenUpdate
    Originally Posted by kane212v2isgay View Post
    Theres a few different ways to do this. This isn't the only way to do this.
    Yeah, I know that there are multiple ways.
  10. 11-01-2011, 09:08 PM
    #47
    Kitty=^.^='s Avatar
    Kitty=^.^=
    Do a barrel roll!
    Kitty=^.^='s Avatar
    Kitty=^.^=
    Do a barrel roll!
    139
    Posts
    484
    Reputation
    Jan 2011
    NextGenUpdate
    can some 1 post a vid tutorial or wat patches this code cud be used with or another tutorial plz
  11. 11-01-2011, 09:27 PM
    #48
    IDontbreak's Avatar
    IDontbreak
    Cake is a lie
    IDontbreak's Avatar
    IDontbreak
    Cake is a lie
    3,257
    Posts
    7,674
    Reputation
    Apr 2010
    NextGenUpdate
    Originally Posted by Forsaken_Truce View Post
    Notepad++ as well as tutorials throughout the Youtube community. I once was told, 'Find you a Youtube channel you can clearly understand, and you'll learn just as much, if not more, as you would from a University.' Then I was reminded from my girlfriend, 'You can't get a job with a *Youtube Degree*'. :lol:
    Funny thing is you stole that joke and you do not have a girlfriend.
    Ha-ha :megusta:
  12. The Following User Says Thank You to IDontbreak For This Useful Post:


  13. 11-01-2011, 11:25 PM
    #49
    Docko412's Avatar
    Docko412
    Banned
    Docko412's Avatar
    Docko412
    Banned
    467
    Posts
    474
    Reputation
    Dec 2010
    NextGenUpdate
    Originally Posted by Cody_h4x View Post
    Multiple Patches

    Alright everyone, I've been bugged about this to release but this is really only common sense and the only thing needed to be done is to modify the second patches init, Connect, and spawned. Its fairly simple your using the same code to switch game modes. I feel this had to go in Modified patches section because even though it's a code its more about the patch itself, but if a mod wants to move it to exploits go ahead. kay:

    By using the Gamemode changer:
    Code:
    GameChange(G){
    self thread iPrintln("^1Changing Game Mode : ^5Done");
    wait 1;
    setDvar("matchGameType",G);
    setDvar("g_password","");
    map(getDvar("mapname"));
    }
    You can "Dual Boot" into another patch

    (Basically your menu would look like)

    Code:
    menu.namer[1]="GodlyModz v4";
    menu.funcs[1]=::GameChange;
    menu.input[1]=1;
    Just change the variable to any integar your gunna use for that specific patch, because your going to have to go to onPlayerConnect() and thread it.

    So for example putting GodlyModz v4 was like this:
    Code:
    		if(level.matchGameType=="1")
    		{
    			player.Verify1=0;
    			player.Verify2=0;
    			player thread Hunter();
    		}
    but now you can make things more organised for yourself and simply thread it without having to put it through onPlayerSpawned, and again for example my GodlyModz v4 was setup like this:
    Code:
    Hunter(){
    for(;;){
    self waittill("spawned_player");
    //codes here
    }
    So its very simple to put more than one patch in one some of the file sizes on estimation are:

    GodlyModz v4 == About 7,000
    Hunter128's (old patch) == About 3,500
    Chocolates Patch == About 9,000

    Also if your seeting another mod menu than your gunna have to disable the mod menu of the orignal patch, or else you'll be opeing two menus at the same time :carling:
    You can simply do this by calling a "Remove Access" function from your patch for each player, ( Dont forget to remove if (p!=self) or similar) so It removes it for everyone including the host

    Haha a cool thing for xbox patches is that you can really have "unlimited" room...........inb4 all patches in one? :carling:

    If you need any help at all feel free to let me know
    Oh 1 more thing......







    if sum rdc new*** fanboy***s r readin dis right nao fuk u :carling:
    & stop takin creditz0rz
    nice, so with this do you think it would be possible to maybe keep the host using a different patch and give other players a different patch. like for example i like to use tree patch, but most people like the dconnor style menus etc.
    so like you i use tree patch they use different patch whatever. i'm look into it. i'll post my finding here.
  14. 11-01-2011, 11:48 PM
    #50
    Clouds's Avatar
    Clouds
    Error 404: Title Not Found
    Clouds's Avatar
    Clouds
    Error 404: Title Not Found
    1,466
    Posts
    4,985
    Reputation
    Jun 2010
    NextGenUpdate
    Originally Posted by D3ss3rtPr0ducts View Post
    nice, so with this do you think it would be possible to maybe keep the host using a different patch and give other players a different patch. like for example i like to use tree patch, but most people like the dconnor style menus etc.
    so like you i use tree patch they use different patch whatever. i'm look into it. i'll post my finding here.
    It's possible, but unlikely. You'd need to run separate onPlayerConnect() threads, which I don't think is possible. There's always the chance that you could use the if(self isHost()) command to thread a separate patch to run only for you, though. But I'm going to keep running in a circle on why it can't be done, and how it could. So I'll stop here.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •