[REQUEST] !giveup command [message #482957] |
Mon, 05 August 2013 17:08 ![Go to next message Go to next message](/theme/Renegade_Forums/images/down.png) |
![](http://renegadeforums.com/images/custom_avatars/24914.png) |
Hypnos
Messages: 683 Registered: August 2009 Location: Scotland
Karma: 0
|
Colonel |
|
|
A few years back Spoony requested that a script along this idea:
Spoony wrote on Sat, 09 May 2009 13:20 | the idea for this basically came from a discussion about marathon games and the question of whether games should ever be !gameovered in marathon servers.
i basically suggested a compromise between the two viewpoints, where instead of allowing the entire server to vote to !gameover, let one team vote to !surrender - therefore if majority of a team thinks the game is a lost cause, they can simply officially admit defeat.
ideally the server owner could choose the threshold (e.g. more than 50% voting yes, more than 75%, etc) - if the vote passes maybe all their buildings die?
this would also have use in clan games - usually a buffer map is played which needs skipping, so someone generally needs mod rights - this would make that quicker and easier.
anyone reckon they could knock that up?
|
reborn wrote on Sat, 09 May 2009 16:59 | This was requested by Spoony for marathon and clan war servers where skipping the map is needed. Much more info explained in the readme.
Quote: |
This is a plug-in designed to work with SSGM2.02 for cnc_renegade.
It was written by reborn from MP-Gaming.COM (fm_reborn@hotmail.com).
This is a first release version and might have some bugs in it, please report these bugs and I will attempt to fix them.
This plug-in is designed so that a team can voluntarily give-up the map. A player initiates the surrender by typing "!Giveup".
Then teammates can either vote on this by typing !surrender yes or !surrender no. You can configure how long the vote lasts for in the surrender.ini file, and
also by how many votes it has to win by before the team surrenders.
!Giveup, !GIVEUP and !giveup are all valid commands to initiate the surrender vote. As are !Surrender, !SURRENDER and !surrender when voting.
These chat hooks where used because other systems and regulators use !vote.
There is some infomation in the surrender.ini file that will help you understand the configuration.
I don't run a renegade server, I have no real use for this plug-in and have made it for the sole reason to help other server owners.
If you use this plug-in and modify it, if you see a problem, either tell me, or preferably submit code. Don't be selfish, release the source code.
I believe it is only with this attitude that Renegade will continue to keep it's diminishing player base.
I really mean it, this thing took me quite a while to write, and if you're reading this, then I did it for you. So if you modify the source code
or add your own code, then release it.
To use this plug-in, refer to SSGM.ini in your SSGM2.02 server folder.
You'll need to add the .dll to the server folder, and make an entry in the [Plugins] section, mine looks like this:
[Plugins]
01=surrender
You'll also need to add surrender.ini supplied to your SERVERs directory. This is where you can configure all the settings for the veteran system.
I urge you visit my forums and my site @ MP-Gaming.COM. I would also like to direct you to Black-Cell.NET. There is a history of this game there that
most people are oblivious to, and without Black-Cell, none of the feature rich servers we have today would be here. They also have a renegade server
back up and running. Be sure to find it in the WOL server listings and join. It's hella fun.
|
Download
![http://game-maps.net/staff/reborn/s1.jpg](http://game-maps.net/staff/reborn/s1.jpg)
|
reborn wrote on Fri, 02 October 2009 13:39 | Spoony requested a small update, version 1.1 is on here:
http://spencerelliott.co.uk/downloads.html
Adds a couple more configurable options for server owners, like percentage needed to win instead of a static value, and also introduces a new rule, which is percentage of players that must participate in the vote for it to be considered...
|
However, this was made pre-4.0 and I don't believe it has been recreated since, is it possible for anyone to do so because it will still benefit the Clanwar league today, maybe other servers too.
![http://i33.tinypic.com/2ls7bzb.png](http://i33.tinypic.com/2ls7bzb.png)
Caveman wrote on Fri, 21 January 2011 08:26 | Well this topic is still going on. I have to say I haven't watched much Anime recently (maybe a year or so) the last thing I saw was GITS (for the third time)
Im not too sure whether I just dont enjoy Anime anymore or whether its just I dont have time really to shit and watch it.
|
|
|
|
|
|
|
|
Re: [REQUEST] !giveup command [message #487041 is a reply to message #482957] |
Sun, 06 April 2014 08:17 ![Go to previous message Go to previous message](/theme/Renegade_Forums/images/up.png) ![Go to next message Go to next message](/theme/Renegade_Forums/images/down.png) |
Stallion
Messages: 222 Registered: April 2006
Karma: 0
|
Recruit |
|
|
Does anyone have the source code to this lying around?
I would love to modify this and use it on my server (I'd share my fixes and updates such as making sure the surrendered team loses the match)
Level edit is my play ground
|
|
|
|