The Gang Garrison 2 Forum

Gang Garrison Discussion => Announcements => Topic started by: ajf on July 11, 2014, 01:26:11 pm

Title: Gang Garrison 2.7.3: The Haxxy Awards 2014 Update
Post by: ajf on July 11, 2014, 01:26:11 pm
Previous
This
Next
2.7.2 (http://www.ganggarrison.com/forums/index.php?topic=35341.0)
2.7.3
2.7.4 (http://www.ganggarrison.com/forums/index.php?topic=35891.0)

Ladies and Gentlemen, Mentlegen and Babies, we present to you

Gang Garrison 2.7.3! (http://www.ganggarrison.com/download.php?file=1)

But more importantly, we also present to you...

The Haxxy Awards 2014! (http://www.ganggarrison.com/updatepages/haxxy2014/) (Elkondo made a nice page and everything, go check it out)

Changelog for this minor bugfix release:

(full log of changes on git (https://github.com/Medo42/Gang-Garrison-2/compare/V2.7.2...V2.7.3))

Download here (http://www.ganggarrison.com/download.php?file=1)
Title: Re: Gang Garrison 2.7.3: The Haxxy Awards 2014 Update
Post by: Catman on July 11, 2014, 01:27:42 pm
Feels like the last one ended like last week
Title: Re: Gang Garrison 2.7.3: The Haxxy Awards 2014 Update
Post by: ajf on July 11, 2014, 01:32:07 pm
Feels like the last one ended like last week
I know, right? So soon! Yet so long ago.
Title: Re: Gang Garrison 2.7.3: The Haxxy Awards 2014 Update
Post by: 『AMLV』bobtehnoob on July 11, 2014, 01:51:35 pm
iirc, stickies deal 66 or more to buildings?
nice to see that it's called How to Play, not ReadMe, and that it's updated.
Quote
* If you eat a Manvich while at full health, you can't be backstabbed!
are you sure
also what's with the MACOSX folder
Title: Re: Gang Garrison 2.7.3: The Haxxy Awards 2014 Update
Post by: Phantom Brave on July 11, 2014, 01:52:38 pm
stickies deal 50 to buildings
yes you get overhealed if you eat with max health
Title: Re: Gang Garrison 2.7.3: The Haxxy Awards 2014 Update
Post by: 『AMLV』bobtehnoob on July 11, 2014, 01:54:07 pm
is this part of 2.7.3 because it wasn't like that in 2.7.2
Title: Re: Gang Garrison 2.7.3: The Haxxy Awards 2014 Update
Post by: Phantom Brave on July 11, 2014, 01:56:42 pm
it was like that in 2.7.2
Title: Re: Gang Garrison 2.7.3: The Haxxy Awards 2014 Update
Post by: Oktoberfest! on July 11, 2014, 01:57:37 pm
(http://i.imgur.com/jB3Zqtg.gif)

IT LIVES

REJOICE
Title: Re: Gang Garrison 2.7.3: The Haxxy Awards 2014 Update
Post by: ajf on July 11, 2014, 01:59:00 pm
also what's with the MACOSX folder
Me using OS X and using the default Compress button which includes OS X-specific meta files :-\
Title: Re: Gang Garrison 2.7.3: The Haxxy Awards 2014 Update
Post by: Orph on July 13, 2014, 04:17:25 am
Added cancel button on disconnection restart prompt

 :wuv:  :wuv:  :wuv:  :wuv:  :wuv:  :wuv:  :wuv:  :wuv:

 :drool:  Finally  :drool:
Title: Re: Gang Garrison 2.7.3: The Haxxy Awards 2014 Update
Post by: Rumrusher on July 13, 2014, 04:19:43 am
But no checking to see if the server is full before installing the plugins when you join a server thus you don't have to restart the whole game?
Title: Re: Gang Garrison 2.7.3: The Haxxy Awards 2014 Update
Post by: ajf on July 13, 2014, 06:15:23 am
But no checking to see if the server is full before installing the plugins when you join a server thus you don't have to restart the whole game?
That's more difficult to do and MedO objected to the way I tried to do it previously.
Title: Re: Gang Garrison 2.7.3: The Haxxy Awards 2014 Update
Post by: ZaSpai on July 13, 2014, 06:16:00 am
btw what changes with the 'plugins run in own environment'?
Title: Re: Gang Garrison 2.7.3: The Haxxy Awards 2014 Update
Post by: ajf on July 13, 2014, 06:20:37 am
btw what changes with the 'plugins run in own environment'?
Ah, I should update the plugin FAQ about that. Basically, we spawn a new PluginEnvironment instance (it's a persistent, invisible object) and do with(env) { execute_file(...); } so any variables you forget to define will end up on that object instead of on GameServer, Client or the weird non-object game_init runs in.

It also means you can now just type 'packetID' and 'directory' to get the packet ID or directory, respectively, since we put those as variables on the object for you. There's also isLocalPlugin and isServerSentPlugin for checking what mode the plugin's running in.

This also gives you a nice place to stick your variables. For my latest plugin, I did this:

globalvar myplugin;
myplugin = id; // this PluginEnvironment object

blah = 3;
foobar = "stuff";

...

if (myplugin.blah) {
    ...
}
Title: Re: Gang Garrison 2.7.3: The Haxxy Awards 2014 Update
Post by: ZaSpai on July 13, 2014, 06:27:04 am
Ah, I should update the plugin FAQ about that. Basically, we spawn a new PluginEnvironment instance (it's a persistent, invisible object) and do with(env) { execute_file(...); } so any variables you forget to define will end up on that object instead of on GameServer, Client or the weird non-object game_init runs in.

It also means you can now just type 'packetID' and 'directory' to get the packet ID or directory, respectively, since we put those as variables on the object for you. There's also isLocalPlugin and isServerSentPlugin for checking what mode the plugin's running in.

This also gives you a nice place to stick your variables. For my latest plugin, I did this:

globalvar myplugin;
myplugin = id; // this PluginEnvironment object

blah = 3;
foobar = "stuff";

...

if (myplugin.blah) {
    ...
}

Alrighty, I assume we still need to define argument0 and argument1 still for SSPs?
But essentially it just makes sure no dumb things like "Object not defined: Ghost" or something I take it :P
Title: Re: Gang Garrison 2.7.3: The Haxxy Awards 2014 Update
Post by: ajf on July 13, 2014, 06:30:54 am
Alrighty, I assume we still need to define argument0 and argument1 still for SSPs?
But essentially it just makes sure no dumb things like "Object not defined: Ghost" or something I take it :P
GG2 still passes the directory and packet ID as arguments for compatibility, but it's much nicer to just use the new directory and packetID variables. So you can forget about argument0 and argument1 now, you don't have to deal with them any more.

And yes, that's partly it.
Title: Re: Gang Garrison 2.7.3: The Haxxy Awards 2014 Update
Post by: Catman on July 13, 2014, 01:11:04 pm
I had to download directly from here because the updater still doesn't update

Edit: Also, why am I not seeing any firing animations?
Title: Re: Gang Garrison 2.7.3: The Haxxy Awards 2014 Update
Post by: Venomous on July 13, 2014, 03:36:33 pm
___________________________________________
ERROR in
action number 1
of Trigger Event: <Deleted>
for object PluginEnvironment:

Trying to execute non-existing file.


when trying to run any plugins

probably explained in the technobabble in the behind posts but im too lazy to read them

EDIT: Fixed, some of the plugins were just out of date
Title: Re: Gang Garrison 2.7.3: The Haxxy Awards 2014 Update
Post by: Catman on July 13, 2014, 03:47:42 pm
I get this

ERROR in
action number 1
of Trigger Event: <Deleted>
for object PluginEnvironment:

Error in code at line 4:
   object_event_add(ScorePanel,ev_draw,0,"
                   ^
at position 18: Unknown variable ScorePanel


And I assume it's Lorgan's Statsboard plugin
Title: Re: Gang Garrison 2.7.3: The Haxxy Awards 2014 Update
Post by: Phantom Brave on July 13, 2014, 04:08:14 pm
Ooooollld.
Title: Re: Gang Garrison 2.7.3: The Haxxy Awards 2014 Update
Post by: ajf on July 13, 2014, 04:51:44 pm
Ooooollld.
God, how long ago did we rename ScorePanel to CTFHUD? It must have been pre-2.7.3, surely?
Title: Re: Gang Garrison 2.7.3: The Haxxy Awards 2014 Update
Post by: Derpduck on July 13, 2014, 05:12:06 pm
Ooooollld.
God, how long ago did we rename ScorePanel to CTFHUD? It must have been pre-2.7.3, surely?
(http://puu.sh/aa1mw/8465601290.png)
Title: Re: Gang Garrison 2.7.3: The Haxxy Awards 2014 Update
Post by: ajf on July 13, 2014, 05:48:06 pm
Ooooollld.
God, how long ago did we rename ScorePanel to CTFHUD? It must have been pre-2.7.3, surely?
(http://puu.sh/aa1mw/8465601290.png)
Yeah. I think that was in 2.7.2.
Title: Re: Gang Garrison 2.7.3: The Haxxy Awards 2014 Update
Post by: Catman on July 14, 2014, 07:50:06 am
"ScorePanel" is not anywhere in StatsBoard.gml

And about those firing animations not playing?
Title: Re: Gang Garrison 2.7.3: The Haxxy Awards 2014 Update
Post by: ajf on July 14, 2014, 08:20:40 am
"ScorePanel" is not anywhere in StatsBoard.gml
grep your other plugins then?
Title: Re: Gang Garrison 2.7.3: The Haxxy Awards 2014 Update
Post by: Catman on July 14, 2014, 08:26:32 am
I looked through them all briefly and didn't notice it until I realised it was a CTF thing

It was ShowCarrier.gml causing it.

I still get this from Midas Touch,
COMPILATION ERROR in file to be executed
Error in code at line 30:
         global.OmnomnomnomGoldS = sprite_add("Plugins/Sprites/MidasTouch/OmnomnomnomGoldS_strip64.png",64,0,0,19,40);
           ^
at position 10: Variable name expected.

and also that DirectPlay prompt is really annoying...
Title: Re: Gang Garrison 2.7.3: The Haxxy Awards 2014 Update
Post by: ajf on July 14, 2014, 08:34:36 am
I still get this from Midas Touch,
COMPILATION ERROR in file to be executed
Error in code at line 30:
         global.OmnomnomnomGoldS = sprite_add("Plugins/Sprites/MidasTouch/OmnomnomnomGoldS_strip64.png",64,0,0,19,40);
           ^
at position 10: Variable name expected.
That might be because GG2 has a sprite called OmnomnomnomGoldS and it's causing a conflict.

and also that DirectPlay prompt is really annoying...
DirectPlay prompt?
Title: Re: Gang Garrison 2.7.3: The Haxxy Awards 2014 Update
Post by: Catman on July 14, 2014, 08:39:32 am
I still get this from Midas Touch,
COMPILATION ERROR in file to be executed
Error in code at line 30:
         global.OmnomnomnomGoldS = sprite_add("Plugins/Sprites/MidasTouch/OmnomnomnomGoldS_strip64.png",64,0,0,19,40);
           ^
at position 10: Variable name expected.
That might be because GG2 has a sprite called OmnomnomnomGoldS and it's causing a conflict.

and also that DirectPlay prompt is really annoying...
DirectPlay prompt?
Oh you guys added the Gold Manwich now? What about the other ones the plugin does!

(http://i.snag.gy/Idjyj.jpg)
Clicking install does nothing iirc, closing it does nothing and opens GG2 like it should
Title: Re: Gang Garrison 2.7.3: The Haxxy Awards 2014 Update
Post by: ajf on July 14, 2014, 08:53:20 am
You should install it and it won't bother you later, and there's nothing we can do about that since GM requires it.
Title: Re: Gang Garrison 2.7.3: The Haxxy Awards 2014 Update
Post by: Catman on July 14, 2014, 09:08:28 am
Now I get this in game

ERROR in
action number 2
of Draw Event
for object CTFHUD:

Error in code at line 25:
       if blueCarrier != -1 draw_sprite_ext(Icon,blueCarrier,bluex-60,bluey-30,3,3,0,c_white,1);
                                                            ^
at position 59: Unknown variable bluex
Title: Re: Gang Garrison 2.7.3: The Haxxy Awards 2014 Update
Post by: ajf on July 14, 2014, 02:34:27 pm
Now I get this in game

ERROR in
action number 2
of Draw Event
for object CTFHUD:

Error in code at line 25:
       if blueCarrier != -1 draw_sprite_ext(Icon,blueCarrier,bluex-60,bluey-30,3,3,0,c_white,1);
                                                            ^
at position 59: Unknown variable bluex
What plugins do you have?
Title: Re: Gang Garrison 2.7.3: The Haxxy Awards 2014 Update
Post by: Catman on July 14, 2014, 03:28:26 pm
A lot... heh.

(http://i.snag.gy/spOZr.jpg)
Title: Re: Gang Garrison 2.7.3: The Haxxy Awards 2014 Update
Post by: Atlus on July 14, 2014, 10:34:46 pm
A lot... heh.

If SniperHUD is the one from l3.ajf.me, that's the one that's blocking weapon animations.
Title: Re: Gang Garrison 2.7.3: The Haxxy Awards 2014 Update
Post by: Catman on July 15, 2014, 05:19:02 am
A lot... heh.

If SniperHUD is the one from l3.ajf.me, that's the one that's blocking weapon animations.
Aha, ok. That's fixed now.

I must also say here that I love Camerashake.gml It's the kind of thing that you'd expect to be already in the game.