The Gang Garrison 2 Forum

Gang Garrison Discussion => Announcements => Topic started by: MedO on May 17, 2011, 01:12:17 pm

Title: Gang Garrison 2.3.2
Post by: MedO on May 17, 2011, 01:12:17 pm
As promised, here is the Custom Maps bugfix - and as a welcome side effect, the loading time for custom maps has been reduced a lot as well.

Here is the complete (though very short) changelog:
- Fixed the Custom Maps Bug and dramatically improved loading speed of custom maps (Bug #735740 and 10 others)
- Fixed error when the lastDamageDealer is dead and a class change is triggered (Bug #778626)
- Kill the character *before* switching the class (fixes Bug#746940)

Download, as always, is here (http://www.ganggarrison.com/download.php?file=1). Enjoy!
Title: Re: Gang Garrison 2.3.2
Post by: RBY on May 17, 2011, 01:14:11 pm
So more people will now probably join my server when it has custom maps? Okay, sweet.
Title: Re: Gang Garrison 2.3.2
Post by: Psychopath on May 17, 2011, 01:21:53 pm
Uh, we're on version 2.3.2 now, if I'm not mistaken.
Title: Re: Gang Garrison 2.3.2
Post by: MedO on May 17, 2011, 01:22:56 pm
Of course we are. Does it say otherwise anywhere? Huh?  :angel:
Title: Re: Gang Garrison 2.3.2
Post by: Senhor Barriga on May 17, 2011, 01:56:54 pm
are you sure that custom map bug is fixe? Because i cant join craznodale elemental server and he has koth_contra (i dont have it), as always say "invalid download, exiting"...
Title: Re: Gang Garrison 2.3.2
Post by: Psychopath on May 17, 2011, 02:02:02 pm
are you sure that custom map bug is fixe? Because i cant join craznodale elemental server and he has koth_contra (i dont have it), as always say "invalid download, exiting"...
That could mean that his locator file is pointing towards an invalid url.
Title: Re: Gang Garrison 2.3.2
Post by: Haunted on May 17, 2011, 02:05:56 pm
- Fixed the Custom Maps Bug and dramatically improved loading speed of custom maps (Bug #735740 and 10 others)
YES
YES!
Now back to actual gameplay fun
YAT-Wait,what about Quote,he is a bit UP still... :z7:
Title: Re: Gang Garrison 2.3.2
Post by: Senhor Barriga on May 17, 2011, 02:07:14 pm
are you sure that custom map bug is fixe? Because i cant join craznodale elemental server and he has koth_contra (i dont have it), as always say "invalid download, exiting"...
That could mean that his locator file is pointing towards an invalid url.

oh! Thanks! So its the server's problem =D.
Title: Re: Gang Garrison 2.3.2
Post by: Lemonade on May 17, 2011, 02:18:49 pm
You could have waited and sneaked in the dominations.
Dayuuuumm.
(on the topic of these, I think I can get someone to do the sounds...)
Title: Re: Gang Garrison 2.3.2
Post by: Haunted on May 17, 2011, 02:22:04 pm
Uh ok,a custom map i see!*Tries to download*
Unspected Data

Alright whats up MeDO,u jelly or something!?
Title: Re: Gang Garrison 2.3.2
Post by: MedO on May 17, 2011, 02:23:27 pm
are you sure that custom map bug is fixe? Because i cant join craznodale elemental server and he has koth_contra (i dont have it), as always say "invalid download, exiting"...
That could mean that his locator file is pointing towards an invalid url.

oh! Thanks! So its the server's problem =D.
Yes, the bug that was fixed only happened after the map was downloaded and verified, so this is definitely not related.
Title: Re: Gang Garrison 2.3.2
Post by: CrazNoDale on May 17, 2011, 02:43:48 pm
are you sure that custom map bug is fixe? Because i cant join craznodale elemental server and he has koth_contra (i dont have it), as always say "invalid download, exiting"...
That could mean that his locator file is pointing towards an invalid url.

oh! Thanks! So its the server's problem =D.
Wait, how is it my problem if, other people can join and you cant?
Title: Re: Gang Garrison 2.3.2
Post by: Z3r05t4r on May 17, 2011, 02:48:14 pm
Neat bugfixes, but the Deto/Demo/Louis still looks like he is greeting Hi**er. Please, split up his fingers. so they make a V. I will talk to kondo as soon as possible.
Title: Re: Gang Garrison 2.3.2
Post by: Senhor Barriga on May 17, 2011, 03:00:02 pm
are you sure that custom map bug is fixe? Because i cant join craznodale elemental server and he has koth_contra (i dont have it), as always say "invalid download, exiting"...
That could mean that his locator file is pointing towards an invalid url.

oh! Thanks! So its the server's problem =D.
Wait, how is it my problem if, other people can join and you cant?

ask to Med0.
Title: Re: Gang Garrison 2.3.2
Post by: NAGN on May 17, 2011, 03:30:41 pm
it's not the lcoator, as the map must be able to be downloaded beforehand

that means that either the map is broken (wrong entities) but if other people can play that specific map, this could be another bug

please see if you can replicate it and post it on launchpad, if we can pinpoint the problem, we could be able to fix it
Title: Re: Gang Garrison 2.3.2
Post by: Mudley on May 17, 2011, 03:44:14 pm
I looove this! :wuv:
Title: Re: Gang Garrison 2.3.2
Post by: Super Sgt. Brown on May 18, 2011, 10:31:57 am
Holy jesus christ man! Is this game getting laggier each time it gets updated? Cause I now find incredible lag on every single server!
Title: Re: Gang Garrison 2.3.2
Post by: Senhor Barriga on May 18, 2011, 11:19:39 am
it's not the lcoator, as the map must be able to be downloaded beforehand

that means that either the map is broken (wrong entities) but if other people can play that specific map, this could be another bug

please see if you can replicate it and post it on launchpad, if we can pinpoint the problem, we could be able to fix it

I post it in launchpad. I dont know how to make a log error or something like that, but I still can replicate this "bug".
Title: Re: Gang Garrison 2.3.2
Post by: Psychopath on May 18, 2011, 12:10:33 pm
Holy jesus christ man! Is this game getting laggier each time it gets updated? Cause I now find incredible lag on every single server!
Did you ever consider that your connection/computer is terrible? Nothing has changed aside from optimizing the code that is run when custom maps are loaded.
Title: Re: Gang Garrison 2.3.2
Post by: Super Sgt. Brown on May 18, 2011, 12:37:14 pm
No, I never considered that because I simply never needed to.

You see those 150 or so ping servers? I had few lag on those before the update came. In fact, if I may add, before 2.3.1, I could play on fullscreen mode with close to no lag!
Title: Re: Gang Garrison 2.3.2
Post by: Psychopath on May 18, 2011, 12:46:45 pm
You can plainly see the changelog. A reduction in performance quality is the fault of your machine, your connection, or that of the servers you are attempting to connect to.
Title: Re: Gang Garrison 2.3.2
Post by: Madness9000 on May 18, 2011, 12:56:10 pm
You see those 150 or so ping servers? I had few lag on those before the update came
I play on 150-200 ping servers
don't shout that
Title: Re: Gang Garrison 2.3.2
Post by: MedO on May 18, 2011, 01:58:51 pm
Holy jesus christ man! Is this game getting laggier each time it gets updated? Cause I now find incredible lag on every single server!
Here are all the source changes from 2.3.1 to 2.3.2:
https://github.com/Medo42/Gang-Garrison-2/compare/V2.3.1...V2.3.2
The only changed code which is continuously run is the one in processClientCommands, in the PLAYER_CHANGECLASS and PLAYER_CHANGETEAM command code. Feel free to tell us if you find out which of them causes your lag. (Hint: None of them)
Title: Re: Gang Garrison 2.3.2
Post by: NAGN on May 18, 2011, 10:30:07 pm
it's actually probably caused by the lack of "playable" servers atm (no offense to anyone hosting right now)
Title: Re: Gang Garrison 2.3.2
Post by: Anyone on May 18, 2011, 11:20:30 pm
it's actually probably caused by the lack of "playable" servers atm (no offense to anyone hosting right now)
My server isn't playable?
 :z7:
Title: Re: Gang Garrison 2.3.2
Post by: Senhor Barriga on May 19, 2011, 08:10:30 am
it's actually probably caused by the lack of "playable" servers atm (no offense to anyone hosting right now)

NAGN, in normal server the map ctf_reverse_v21 show the invalid download, exiting "bug" D=. I dont had this map.

well I wil try redownload gg and install it in another directory and see what happens.
Title: Re: Gang Garrison 2.3.2
Post by: Madness9000 on May 19, 2011, 12:10:58 pm
Also,teammates bullets seems to go tough QUOTE wall of bubbles
QUOTE BUFF  :z6:
Title: Re: Gang Garrison 2.3.2
Post by: Psychopath on May 19, 2011, 12:15:45 pm
Also,teammates bullets seems to go tough QUOTE wall of bubbles
QUOTE BUFF  :z6:
Been that way since 2.3. You don't pay attention, do you?
Title: Re: Gang Garrison 2.3.2
Post by: Madness9000 on May 19, 2011, 12:18:46 pm
Also,teammates bullets seems to go tough QUOTE wall of bubbles
QUOTE BUFF  :z6:
Been that way since 2.3. You don't pay attention, do you?
Last time i played Quote both teammate shots AND enemy shots destroyed it
wait,yeah i DO play attention
i think i forgot i don't ACTUALLY play Quote
Title: Re: Gang Garrison 2.3.2
Post by: Phantom Brave on May 19, 2011, 12:42:09 pm
it's actually probably caused by the lack of "playable" servers atm (no offense to anyone hosting right now)

NAGN, in normal server the map ctf_reverse_v21 show the invalid download, exiting "bug" D=. I dont had this map.

well I wil try redownload gg and install it in another directory and see what happens.
That's not a bug, that's a server config issue.
Title: Re: Gang Garrison 2.3.2
Post by: NAGN on May 19, 2011, 04:59:23 pm
nah, ctf_reversed still works, it has to be a reiteration of the crashing bug

either that or imageshack is being stupid (which it is in some countries now without accounts for some reason)
Title: Re: Gang Garrison 2.3.2
Post by: Meower on May 20, 2011, 02:47:11 am
Meower believes in this company.
Title: Re: Gang Garrison 2.3.2
Post by: Senhor Barriga on May 20, 2011, 09:42:17 am
nah, ctf_reversed still works, it has to be a reiteration of the crashing bug

either that or imageshack is being stupid (which it is in some countries now without accounts for some reason)

Well, i can solve this problem pre-download maps from here, like the topic from werewolfhttp://www.ganggarrison.com/forums/index.php?topic=23610.0] [url]http://www.ganggarrison.com/forums/index.php?topic=23610.0 (http://[url)[/url]

But, there dont has some maps, like reverse 2,1 D=.
Title: Re: Gang Garrison 2.3.2
Post by: Madness9000 on May 20, 2011, 11:03:20 am
I noticed the "FIXED MAP DOWNLOADING" is not working
can i kill MeDO now
Title: Re: Gang Garrison 2.3.2
Post by: MedO on May 20, 2011, 12:21:46 pm
I noticed the "FIXED MAP DOWNLOADING" is not working
can i kill MeDO now
Learn to read. And to write, for that matter.

Well, i can solve this problem pre-download maps from here, like the topic from werewolf [url]http://www.ganggarrison.com/forums/index.php?topic=23610.0]http://www.ganggarrison.com/forums/index.php?topic=23610.0] [url]http://www.ganggarrison.com/forums/index.php?topic=23610.0 (http://[url=http://www.ganggarrison.com/forums/index.php?topic=23610.0)[/url]

But, there dont has some maps, like reverse 2,1 D=.
Please help us fix this for you and others by working with me on Launchpad (I assume it was you who wrote the Bug report there). When the map download fails and you see the message "Invalid download data", do not click OK. Instead, open the Maps folder and attach the .png file that was just downloaded to the bug report. The .png file will be deleted once you click OK.
Title: Re: Gang Garrison 2.3.2
Post by: Madness9000 on May 20, 2011, 12:28:00 pm
I haven't wrote a single Bug Report on the launch pad because i HAVEN'T found a bug yet
Thats all.
Title: The developers are huge ass-clowns
Post by: BassMakesPaste on May 20, 2011, 08:09:57 pm
Never having worked AT ALL with custom maps, I wonder, what were/are the problems with the system summed up?
Title: Re: Gang Garrison 2.3.2
Post by: Phantom Brave on May 20, 2011, 09:17:41 pm
The fact that it was done with something that could break in unpredictable ways.
Title: Re: Gang Garrison 2.3.2
Post by: MedO on May 21, 2011, 03:13:57 am
Never having worked AT ALL with custom maps, I wonder, what were/are the problems with the system summed up?
The walkmask is stored as a text string within the map file and has to be converted to a GM sprite before it can be used for collision checking. Before, this was done by creating a surface in video memory, drawing the walkmask to that and then converting the surface to a sprite. The problem with that is that surfaces are unreliable; they can "vanish" at any time because the video memory might be needed for something else. If that happened before it was converted to a sprite, it led to the "falling through the floor" bug. There was also no check whether the surface has been created at all, and trying to access a surface that doesn't exist caused weird errors to happen down the line.

Now, the walkmask is decoded in GG2DLL and written to a temporary .png file which is then loaded as a sprite in GM. It's a lot faster because the decoding is done in C code now.