The Gang Garrison 2 Forum

Gang Garrison Discussion => Announcements => Topic started by: MedO on June 25, 2010, 02:19:57 pm

Title: By popular demand: Version 2.2.1
Post by: MedO on June 25, 2010, 02:19:57 pm
This is a small update to fix one notorious bug without upsetting anything else:


That's right, you can now download a custom map from a server and actually play on it instantly without having to reconnect. Thanks to L for the fix.

It seems that there's still some way to go before the next big version will appear, so I decided to put this out now because the actual work was already done.

Technically, I think this is the first time we made a "stable branch" release, that is, a release that is not based on the latest development version.

Modders:
Mods will continue to work as they are. If you want to fix this bug in your mod too, go to the CustomMapDownload script and add the following code just before the final closing brace:
Code: [Select]
  //now we have the map check if its the same as the servers map
  if(CustomMapGetMapMD5(global.currentMap) == global.currentMapMD5) {
    room_goto_fix(CustomMapRoom);
    exit;
  } else {
    // our map isn't the same, locator points to diffrent map
    show_message("The server's locator for " +global.currentMap+ " points to a different map");
    game_end();
    exit;
  }

Alternatively, just copy and paste the entire script into your mod if you didn't change it yourself.

Download
Just get it from the main page or use the updater. Or click this link (http://www.ganggarrison.com/download.php?file=1) for the http download. You lazy bastards.
Title: Re: By popular demand: Version 2.2.1
Post by: Psychopath on June 25, 2010, 02:24:49 pm
Suddenly, FAUCET ninjas
Title: Re: By popular demand: Version 2.2.1
Post by: Agh on June 25, 2010, 02:33:15 pm
THANK YOU!
Title: Re: By popular demand: Version 2.2.1
Post by: Wherewolf on June 25, 2010, 02:33:31 pm
Yay, thanks for this.
Title: Re: By popular demand: Version 2.2.1
Post by: MedO on June 25, 2010, 02:36:23 pm
Please re-download if you have already got the new version, there was a mix-up and the exe was not updated with the new version number (so you will get the "new version" message again)
Title: Re: By popular demand: Version 2.2.1
Post by: Teekytots [PC][OG] on June 25, 2010, 02:36:54 pm
Downloading once again.
Title: Re: By popular demand: Version 2.2.1
Post by: MedO on June 25, 2010, 02:43:21 pm
Okay, update: Please download from the homepage, the auto-update doesn't work right now.
Title: Re: By popular demand: Version 2.2.1
Post by: Saniblues on June 25, 2010, 02:51:49 pm
Thank you, MedO, for making a fix that can easily be added to the old source.
Title: Re: By popular demand: Version 2.2.1
Post by: MedO on June 25, 2010, 03:30:22 pm
The updater should work now.
Title: Re: By popular demand: Version 2.2.1
Post by: aptanananananator on June 25, 2010, 03:57:19 pm
THANK YOU.
Can't wait for some custom maps again :z6:
Title: Re: By popular demand: Version 2.2.1
Post by: Footpöp on June 25, 2010, 05:02:44 pm
Suddenly, mods dont work
(http://www.ddcrew.com/rageguy.jpg)
Title: Re: By popular demand: Version 2.2.1
Post by: a/d on June 25, 2010, 05:03:23 pm
Wasn't this fixed in VinMod?

Good thing I've based most of my mods off of that base.
Title: Re: By popular demand: Version 2.2.1
Post by: Psychopath on June 25, 2010, 05:04:26 pm
Suddenly, mods dont work
(http://www.ddcrew.com/rageguy.jpg)
Mods still work.
Title: Re: By popular demand: Version 2.2.1
Post by: Footpöp on June 25, 2010, 05:06:00 pm
Suddenly, mods dont work
(http://www.ddcrew.com/rageguy.jpg)
Mods still work.
>open candy mod
>new version avaiable
>mods dont work
Title: Re: By popular demand: Version 2.2.1
Post by: L on June 25, 2010, 05:06:52 pm
Suddenly, mods dont work
(http://www.ddcrew.com/rageguy.jpg)
:drool: they have same uuid (you can still use them)
 :ninja: psychoninjacat

Just hit no....

Wasn't this fixed in VinMod?

Good thing I've based most of my mods off of that base.
Yea vinmod got the fix but now non-forumgoers as well as non vinmod users can enjoy custom maps with no problems
Title: Re: By popular demand: Version 2.2.1
Post by: Saniblues on June 25, 2010, 07:37:15 pm
Suddenly, mods dont work
(http://www.ddcrew.com/rageguy.jpg)
Mods still work.
>open candy mod
>new version avaiable
>mods dont work
>Scripts
>That one names something along the lines of "Check for update"
>/*code*/ to cancel it out
Title: Re: By popular demand: Version 2.2.1
Post by: Psychopath on June 25, 2010, 10:47:44 pm
Suddenly, mods dont work
(http://www.ddcrew.com/rageguy.jpg)
Mods still work.
>open candy mod
>new version avaiable
>mods dont work
>Scripts
>That one names something along the lines of "Check for update"
>/*code*/ to cancel it out
>New Version Available. Do you want to update? Update/No
>No.
>Derp
Title: Re: By popular demand: Version 2.2.1
Post by: Gnome Chompski on June 26, 2010, 07:33:30 am
Finally i can play custom again  :woot:
Title: Re: By popular demand: Version 2.2.1
Post by: Gnome Chompski on June 26, 2010, 07:35:14 am
My Game still sending unexpected data D:
Title: Re: By popular demand: Version 2.2.1
Post by: a/d on June 26, 2010, 07:49:10 am
define constants
version number 99999999
superfun
Title: Re: By popular demand: Version 2.2.1
Post by: NAGN on June 26, 2010, 07:56:08 am
define constants
version number 99999999
superfun
ha good luck with peeps who start screaming no servers after an update
Title: Re: By popular demand: Version 2.2.1
Post by: a/d on June 26, 2010, 07:58:23 am
I only did it for the offline training thing, in which online play is merely a vestigial feature.
Title: Re: By popular demand: Version 2.2.1
Post by: Osmosis on June 26, 2010, 10:18:41 am
Please tell me I can still spawn camp with  :x13:
Title: Re: By popular demand: Version 2.2.1
Post by: Brief Moment of Enthusiasm on June 26, 2010, 01:13:39 pm
Nothing bad has happened yet so i guess the update rocks
Title: Re: By popular demand: Version 2.2.1
Post by: CobaltBW on June 26, 2010, 04:53:44 pm
About freakin' time. :E

Thank you, the game needed this fix really badly.
Title: Re: By popular demand: Version 2.2.1
Post by: Chris P. Bacon on June 26, 2010, 06:39:33 pm
oh god....

I almost shat my pants when I saw "Update"

It's going to be a painful port when the next real update is released... provided I do my job some time :<

Seriously get to work..  You new devs aren't supposed to slack like us old timers. :P
Title: Re: By popular demand: Version 2.2.1
Post by: Rock on June 26, 2010, 08:47:32 pm
oh god....

I almost shat my pants when I saw "Update"

It's going to be a painful port when the next real update is released... provided I do my job some time :<

Seriously get to work..  You new devs aren't supposed to slack like us old timers. :P


I admit. I laughed my ass off at this
Title: Re: By popular demand: Version 2.2.1
Post by: Hydra on June 26, 2010, 11:17:40 pm
I've manually updated my mod, but it still asks if I want to update when I execute it.  I've changed the version number to 2 2 1 0, which is all I thought you'd have to do.  How do I make my mod appear up-to-date to the lobby server?
Title: Re: By popular demand: Version 2.2.1
Post by: L on June 26, 2010, 11:41:38 pm
I've manually updated my mod, but it still asks if I want to update when I execute it.  I've changed the version number to 2 2 1 0, which is all I thought you'd have to do.  How do I make my mod appear up-to-date to the lobby server?
Well what I do is just comment where the game calls for the script that updates. This is found under the object MainMenuController in the Create event.

Also it doesn't check the version number under the game global settings, it checks the constant VERSION. Which should be set to 22100 if you want to stop the update messages that way.
Title: Re: By popular demand: Version 2.2.1
Post by: MedO on June 27, 2010, 08:54:32 am
Just to clarify, the VERSION constant is used to check if there's an update available, the PROTOCOL_UUID constant is used to check which servers are compatible to your client when you use the lobby.
Title: Re: By popular demand: Version 2.2.1
Post by: Hydra on June 28, 2010, 03:04:25 pm
I've manually updated my mod, but it still asks if I want to update when I execute it.  I've changed the version number to 2 2 1 0, which is all I thought you'd have to do.  How do I make my mod appear up-to-date to the lobby server?
Also it doesn't check the version number under the game global settings, it checks the constant VERSION. Which should be set to 22100 if you want to stop the update messages that way.

Thanks L that's exactly what I needed to know.
Title: Re: By popular demand: Version 2.2.1
Post by: SgtKakoan on August 03, 2010, 03:09:21 pm
GRRRR ive downloaded new version, about 3 times and it STILL wont work im pissed awffff :z3: