Tremulous Forum

Mods => Mod Releases => Gameplay Changing => Topic started by: Pol on February 17, 2007, 07:34:58 am

Title: Extreme Sudden Death +
Post by: Pol on February 17, 2007, 07:34:58 am
Well, the Dretch*Storm server has a nice "RAMPAGE" mode which kills all spawns, sets both teams to stage 3 and gives 9 evos / 2000 credits to all players...

Unfortunately, the server operator there (GhostShell+) is a source-code hoarder and so I've had to script this functionality myself as a mode called "Extreme Sudden Death".

It can be tested on S11.Info:8000 calling a vote for "extreme_sudden_death", or waiting for g_extremeSuddenDeathTime to expire (at 46 [minutes]).

Also, S11.Info:8000 runs a revision 894 checkout of the mainstream svn codebase with several patches applied, including the ability to call votes for designate, extreme_sudden_death, and sudden_death.

Anyone who's interested in a copy of the codebase I build to run S11.Info:8000, just ask me and I'll send out a tarball.

Prosper.
Title: Extreme Sudden Death +
Post by: TinMan on February 17, 2007, 08:21:50 am
Dude...um...isn't your server like...EVIL!?!?!?
Title: Extreme Sudden Death +
Post by: Pol on February 17, 2007, 09:55:03 am
Dude...um...aren't you a like...NOOB!?!?!?
Title: Extreme Sudden Death +
Post by: Paradox on February 17, 2007, 07:13:23 pm
I dont recommend connecting to s11, it is a guid harvesting server.

And as for flaming pol, everyone is allowed to express their opinions, but there is a rule against flaming other posters.
Title: Extreme Sudden Death +
Post by: Caveman on February 17, 2007, 07:24:27 pm
Polly, get lost will ya?
Title: Extreme Sudden Death +
Post by: Ace1 on February 17, 2007, 08:22:55 pm
pol is that why you setlevel me so you could steal my guid??
Title: Extreme Sudden Death +
Post by: benmachine on February 17, 2007, 08:36:06 pm
Getting back on topic...

From your source folder, do:
Code: [Select]
svn diff > s11.patch
and give that to us instead, it's a lot easier than giving us the whole source.
And yes, I would be interested to see it, and I will come and look (with a new guid, of course (; )
Title: Extreme Sudden Death +
Post by: Rawr on February 17, 2007, 10:37:33 pm
Quote from: "Ace1"
pol is that why you setlevel me so you could steal my guid??

Yes it is.

Down with S11!
Title: Extreme Sudden Death +
Post by: Pol on February 18, 2007, 11:03:45 pm
Alright, here ya go ben...

Keep in mind, it's a patch off the r894 codebase and it's actually really sloppy in terms of whitespace and comments etc because I manually copied the patches into the source files and the spacing got totally munged.

Anyway:

http://www.s11.info/S11.Info8000-20070207.patch
Title: Extreme Sudden Death +
Post by: benmachine on February 19, 2007, 01:02:12 am
Quote from: "Pol"
it's actually really sloppy in terms of whitespace and comments etc because I manually copied the patches into the source files and the spacing got totally munged.


Ouch... you weren't kidding.
Here's a quick find+replace removing all the lines that just add whitespace from the patch. It's still not perfect (too little space now) but it's better:

http://www.bandstand.org.uk/~benm/S11.Info8000-20070207.patch

It compiles fine so I guess I haven't done any damage to the code. I haven't actually tested the compilation, mind, but I can't imagine it breaking anything.
Title: Extreme Sudden Death +
Post by: tuple on February 19, 2007, 05:15:49 am
These no node no building modes should be called "Ultimate Camping" for the halt they bring to a game.  How can someone watch these matches and think its a good idea?
Title: Extreme Sudden Death +
Post by: vcxzet on February 19, 2007, 05:28:55 am
3 min games FTW
Title: Extreme Sudden Death +
Post by: TinMan on February 19, 2007, 06:03:48 am
I just played on this server with a hacked up guid (for fun), basically there was no admin, everyone deconned, map restart votes every other second, etc...it was lame.
Title: Extreme Sudden Death +
Post by: Rawr on February 19, 2007, 06:54:51 am
I honestly wouldnt doubt if that patch steals GUIDs when you put it into a qvm.
Title: Extreme Sudden Death +
Post by: Caveman on February 19, 2007, 02:47:14 pm
At a quick glance this patch is kinda strange...
It puts !designatebuilder into the mix, some code depends on the warmup-patch but warmup gets partialy thrown out.
Loads of vars get ominously changed to constants...

I wouldn't run this on any of our servers.
It might work as advertised, but the code is soo ugly it is not maintainable at all and coded like a dead-end that would imho make any further development of any code impossible hard.
Title: Extreme Sudden Death +
Post by: Trauma on February 19, 2007, 08:40:49 pm
Sorry, I'd like to keep my guid.
Title: Extreme Sudden Death +
Post by: benmachine on February 19, 2007, 10:47:27 pm
Quote from: "Trauma"
Sorry, I'd like to keep my guid.


There is a place to discuss that issue (http://www.tremulous.net/phpBB2/viewtopic.php?t=3613), but it's not here. We're trying to talk about Polly's version of extreme sudden death here, not anything else in connection with the S11 server or the accusations of GUID theft (which, btw, are very important, but there's a time and a place, you know?)

I realise that I, too, am off topic, but if I get any work on this done later tonight I'll edit it into my post and we can all pretend this never happened.
Title: Extreme Sudden Death +
Post by: _Equilibrium_ on February 20, 2007, 03:10:56 am
you guys don't know how liberating not having a guid is. i have no worries.
Title: Extreme Sudden Death +
Post by: Caveman on February 20, 2007, 04:52:47 am
Sweet, _ONE_ line of text, yet 148k of crappy pictures. Nicely done Equi.
Title: Extreme Sudden Death +
Post by: benmachine on February 20, 2007, 04:26:10 pm
OK, I've isolated the stuff for extreme sudden death and placed it in one patch:
http://www.bandstand.org.uk/~benm/trem/extremesd.patch

This does not include a bunch of useful (but unrelated) stuff Pol put in with it, like backporting and teamvote mutes, flood protection etc. I've also included the g_suddenDeath stuff because g_extremeSuddenDeath seemed a bit weird without it. If anyone has any objections, I can take it out and make extreme SD work like ordinary SD.
Title: Extreme Sudden Death +
Post by: _Equilibrium_ on February 20, 2007, 08:13:02 pm
Quote from: "Caveman"
Sweet, _ONE_ line of text, yet 148k of crappy pictures. Nicely done Equi.
thanks. i appreciate the complement.
Title: Extreme Sudden Death +
Post by: Caveman on February 20, 2007, 08:50:00 pm
I complement only my wife, the rest might get compliments.
And some might actually get the sarcasm used in my previous post.

Edit:
Equi, you should dispose of your crap sig and put the warning text there...
Title: Extreme Sudden Death +
Post by: _Equilibrium_ on February 20, 2007, 11:16:36 pm
it is very sad for those who DON'T get your sarcasm.
Title: Extreme Sudden Death +
Post by: Pol on February 21, 2007, 05:20:23 pm
Caveman, .tThis is about the point where I would ask you for a great ZINGer, but you're a dickhole telling me to 'get lost' and all, so how about you go complIment your whyphie?
Title: Extreme Sudden Death +
Post by: Caveman on February 21, 2007, 06:16:58 pm
Wow, that channel-biatch is actually talking to me.
And oh so many errors.

Wasn't it her that called another user here illiterate because of 4 errors?
Title: Extreme Sudden Death +
Post by: _Equilibrium_ on February 21, 2007, 08:32:23 pm
Quote from: "Caveman"
Equi, you should dispose of your crap sig and put the warning text there...
warning text? i don't get it.

oh, i will get rid of my sig if someone else has a problem with it. i've seen plenty bigger sigs around here. if someone else posts saying its annoying, then its gone. for now though, it's staying, as i don't feel like changing it for just one person.


edit: i changed it anyway cause i found something i liked (and it's much smaller).
Title: Extreme Sudden Death +
Post by: benmachine on February 21, 2007, 09:44:15 pm
Quote from: "Caveman"
I wouldn't run this on any of our servers.
It might work as advertised, but the code is soo ugly it is not maintainable at all and coded like a dead-end that would imho make any further development of any code impossible hard.

Would you consider it now that I've tidied it up and isolated it? Keep in mind that Pol's original patch wasn't exclusively for that feature, but just an svn diff of the whole server source, which is why it was so messy.
Title: Extreme Sudden Death +
Post by: Caveman on February 22, 2007, 01:55:59 am
Well done Benmachine, now it could actually be considered. No more vars becoming constants, and most importantly not a dead end anymore.
Title: Extreme Sudden Death +
Post by: Superpie on February 22, 2007, 03:13:21 pm
How the hell do you install it?!
Title: Extreme Sudden Death +
Post by: vcxzet on February 22, 2007, 04:03:04 pm
Quote from: "Superpie"
(http://img172.imageshack.us/img172/4099/palloras0.png)

I'D HIT IT
Title: Extreme Sudden Death +
Post by: benmachine on February 22, 2007, 09:04:30 pm
Quote from: "Superpie"
How the hell do you install it?!

No binaries have been released yet, so tell me what game.qvm you use at the moment (and where I can get the source, if you know) and I'll add it in and give you a new one.
Title: Extreme Sudden Death +
Post by: Superpie on February 23, 2007, 12:12:01 am
I use the risujin-avenger one.
Sorry but I have no idea where the source would be; this is all I can give you
http://tremulous.net/phpBB2/viewtopic.php?t=3014
Title: Extreme Sudden Death +
Post by: benmachine on February 24, 2007, 11:15:10 pm
Quote from: "Superpie"
I use the risujin-avenger one.
Sorry but I have no idea where the source would be; this is all I can give you
http://tremulous.net/phpBB2/viewtopic.php?t=3014


I had a go but the code for sudden death seems completely different in that qvm, so it'll require more than just a patching. I'll probably have to rewrite most of the code to work with the old system. Or better still, replace the whole SD code with the newest SVN stuff and add extreme sd to that.

Either way, it's going to take a little longer than expected especially given that I'm kinda busy as the end of half-term approaches.
Title: Extreme Sudden Death +
Post by: Superpie on February 25, 2007, 02:33:48 am
:eek:
Title: Extreme Sudden Death +
Post by: n00b pl0x on February 25, 2007, 09:31:39 pm
xD
Title: Extreme Sudden Death +
Post by: Yarou on February 26, 2007, 06:06:42 am
Polly wanna cracker?
Your patches are mediocre at best...
I can only imagine the idiocy of a server owner to actually use this...
Title: Extreme Sudden Death +
Post by: Rawr on February 26, 2007, 06:21:24 am
Yarou, your sig is.... Big. And Odd....
Title: Extreme Sudden Death +
Post by: Seffylight on February 26, 2007, 12:50:50 pm
And sexy.