Author Topic: Extreme Sudden Death +  (Read 25751 times)

Pol

  • Guest
Extreme Sudden Death +
« 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.

TinMan

  • Posts: 1019
  • Turrets: +49/-70
    • http://neonpulse.net
Extreme Sudden Death +
« Reply #1 on: February 17, 2007, 08:21:50 am »
Dude...um...isn't your server like...EVIL!?!?!?
Code: [Select]
Linux: ~/.tremulous/base/
Mac: ~/Library/Application\ Support/Tremulous/base/
Windows: C:\Documents and Settings\username\Local Settings\Application Data\Tremulous\base\
NeonPulse
http://neonpulse.net/media/games/tremulous/base/autoexec.cfg

Pol

  • Guest
Extreme Sudden Death +
« Reply #2 on: February 17, 2007, 09:55:03 am »
Dude...um...aren't you a like...NOOB!?!?!?

Paradox

  • Posts: 2612
  • Turrets: +253/-250
    • Paradox Designs
Extreme Sudden Death +
« Reply #3 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.

∧OMG ENTROPY∧

Caveman

  • Posts: 2278
  • Turrets: +93/-192
    • The Wraths
Extreme Sudden Death +
« Reply #4 on: February 17, 2007, 07:24:27 pm »
Polly, get lost will ya?
Aliens' | Humans' | Wrath Public-CW

All other *wrath-server are copycats and not affiliated with us.

News/Status/Forum/Patches: http://wraths.dyndns.org

Ace1

  • Posts: 108
  • Turrets: +0/-0
Extreme Sudden Death +
« Reply #5 on: February 17, 2007, 08:22:55 pm »
pol is that why you setlevel me so you could steal my guid??
img]http://img515.imageshack.us/img515/6499/ace1ho5.jpg[/img]

benmachine

  • Posts: 915
  • Turrets: +99/-76
    • ben's machinery
Extreme Sudden Death +
« Reply #6 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 (; )
benmachine

Rawr

  • Posts: 918
  • Turrets: +1/-1
Extreme Sudden Death +
« Reply #7 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!
img]http://dvclan.org/statsig/statsig.php/3826/4.jpg[/img]

Pol

  • Guest
Extreme Sudden Death +
« Reply #8 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

benmachine

  • Posts: 915
  • Turrets: +99/-76
    • ben's machinery
Extreme Sudden Death +
« Reply #9 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.
benmachine

tuple

  • Posts: 833
  • Turrets: +97/-80
Extreme Sudden Death +
« Reply #10 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?

vcxzet

  • Guest
Extreme Sudden Death +
« Reply #11 on: February 19, 2007, 05:28:55 am »
3 min games FTW

TinMan

  • Posts: 1019
  • Turrets: +49/-70
    • http://neonpulse.net
Extreme Sudden Death +
« Reply #12 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.
Code: [Select]
Linux: ~/.tremulous/base/
Mac: ~/Library/Application\ Support/Tremulous/base/
Windows: C:\Documents and Settings\username\Local Settings\Application Data\Tremulous\base\
NeonPulse
http://neonpulse.net/media/games/tremulous/base/autoexec.cfg

Rawr

  • Posts: 918
  • Turrets: +1/-1
Extreme Sudden Death +
« Reply #13 on: February 19, 2007, 06:54:51 am »
I honestly wouldnt doubt if that patch steals GUIDs when you put it into a qvm.
img]http://dvclan.org/statsig/statsig.php/3826/4.jpg[/img]

Caveman

  • Posts: 2278
  • Turrets: +93/-192
    • The Wraths
Extreme Sudden Death +
« Reply #14 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.
Aliens' | Humans' | Wrath Public-CW

All other *wrath-server are copycats and not affiliated with us.

News/Status/Forum/Patches: http://wraths.dyndns.org

Trauma

  • Posts: 11
  • Turrets: +0/-0
Extreme Sudden Death +
« Reply #15 on: February 19, 2007, 08:40:49 pm »
Sorry, I'd like to keep my guid.

benmachine

  • Posts: 915
  • Turrets: +99/-76
    • ben's machinery
Extreme Sudden Death +
« Reply #16 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, 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.
benmachine

_Equilibrium_

  • Posts: 1845
  • Turrets: +96/-89
Extreme Sudden Death +
« Reply #17 on: February 20, 2007, 03:10:56 am »
you guys don't know how liberating not having a guid is. i have no worries.

Caveman

  • Posts: 2278
  • Turrets: +93/-192
    • The Wraths
Extreme Sudden Death +
« Reply #18 on: February 20, 2007, 04:52:47 am »
Sweet, _ONE_ line of text, yet 148k of crappy pictures. Nicely done Equi.
Aliens' | Humans' | Wrath Public-CW

All other *wrath-server are copycats and not affiliated with us.

News/Status/Forum/Patches: http://wraths.dyndns.org

benmachine

  • Posts: 915
  • Turrets: +99/-76
    • ben's machinery
Extreme Sudden Death +
« Reply #19 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.
benmachine

_Equilibrium_

  • Posts: 1845
  • Turrets: +96/-89
Extreme Sudden Death +
« Reply #20 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.

Caveman

  • Posts: 2278
  • Turrets: +93/-192
    • The Wraths
Extreme Sudden Death +
« Reply #21 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...
Aliens' | Humans' | Wrath Public-CW

All other *wrath-server are copycats and not affiliated with us.

News/Status/Forum/Patches: http://wraths.dyndns.org

_Equilibrium_

  • Posts: 1845
  • Turrets: +96/-89
Extreme Sudden Death +
« Reply #22 on: February 20, 2007, 11:16:36 pm »
it is very sad for those who DON'T get your sarcasm.

Pol

  • Guest
Extreme Sudden Death +
« Reply #23 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?

Caveman

  • Posts: 2278
  • Turrets: +93/-192
    • The Wraths
Extreme Sudden Death +
« Reply #24 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?
Aliens' | Humans' | Wrath Public-CW

All other *wrath-server are copycats and not affiliated with us.

News/Status/Forum/Patches: http://wraths.dyndns.org

_Equilibrium_

  • Posts: 1845
  • Turrets: +96/-89
Extreme Sudden Death +
« Reply #25 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).

benmachine

  • Posts: 915
  • Turrets: +99/-76
    • ben's machinery
Extreme Sudden Death +
« Reply #26 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.
benmachine

Caveman

  • Posts: 2278
  • Turrets: +93/-192
    • The Wraths
Extreme Sudden Death +
« Reply #27 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.
Aliens' | Humans' | Wrath Public-CW

All other *wrath-server are copycats and not affiliated with us.

News/Status/Forum/Patches: http://wraths.dyndns.org

Superpie

  • Spam Killer
  • *
  • Posts: 339
  • Turrets: +105/-48
    • superpie.org
Extreme Sudden Death +
« Reply #28 on: February 22, 2007, 03:13:21 pm »
How the hell do you install it?!
Where is the good in goodbye? -Meredith Willson

vcxzet

  • Guest
Extreme Sudden Death +
« Reply #29 on: February 22, 2007, 04:03:04 pm »
Quote from: "Superpie"

I'D HIT IT