Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Release Forum » [REQUEST] !giveup command
[REQUEST] !giveup command [message #482957] Mon, 05 August 2013 17:08 Go to next message
Hypnos is currently offline  Hypnos
Messages: 682
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


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

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 #482979 is a reply to message #482957] Tue, 06 August 2013 10:21 Go to previous messageGo to next message
EvilWhiteDragon is currently offline  EvilWhiteDragon
Messages: 3751
Registered: October 2005
Location: The Netherlands
Karma: 0
General (3 Stars)

Is a simple gameover poll not the same as this? I mean, it doesn't exactly let a team surrender, but the result is the same, no?

http://www.blackintel.org/usr/evilwhitedragon/pointfix.gif
BlackIntel admin/founder/PR dude (not a coder)
Please visit http://www.blackintel.org/

V, V for Vendetta

People should not be afraid of their governments.
Governments should be afraid of their people.
Re: [REQUEST] !giveup command [message #482980 is a reply to message #482957] Tue, 06 August 2013 10:22 Go to previous messageGo to next message
Hypnos is currently offline  Hypnos
Messages: 682
Registered: August 2009
Location: Scotland
Karma: 0
Colonel
I guess. Would still be helpful for me nevertheless.

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 #482987 is a reply to message #482957] Tue, 06 August 2013 13:25 Go to previous messageGo to next message
EvilWhiteDragon is currently offline  EvilWhiteDragon
Messages: 3751
Registered: October 2005
Location: The Netherlands
Karma: 0
General (3 Stars)

Nonetheless, I'd say this would be more for a brenbot plugin or something rather than a FDS plugin.

http://www.blackintel.org/usr/evilwhitedragon/pointfix.gif
BlackIntel admin/founder/PR dude (not a coder)
Please visit http://www.blackintel.org/

V, V for Vendetta

People should not be afraid of their governments.
Governments should be afraid of their people.
Re: [REQUEST] !giveup command [message #483015 is a reply to message #482957] Thu, 08 August 2013 12:27 Go to previous messageGo to next message
Xpert is currently offline  Xpert
Messages: 1588
Registered: December 2005
Location: New York City
Karma: 0
General (1 Star)
If it's just for clanwars/funwars, then just use the !poll gameover system.

http://i32.photobucket.com/albums/d42/XpertMaverick/xpertyankee.jpg

Creator of NetGuard, an IRC network regulator.
Developer of the CloudyServ 0.982-X project.
Developer of the CloudyServ Ren-X bot.

Part time streamer - https://twitch.tv/gg_wonder
Re: [REQUEST] !giveup command [message #487041 is a reply to message #482957] Sun, 06 April 2014 08:17 Go to previous messageGo to next message
Stallion is currently offline  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
Re: [REQUEST] !giveup command [message #487043 is a reply to message #482957] Sun, 06 April 2014 14:02 Go to previous message
Ethenal is currently offline  Ethenal
Messages: 2532
Registered: January 2007
Location: US of A
Karma: 0
General (2 Stars)

Judging by the topic it was never made, unless you want the old SSGM version... In which case you'll have to port it to 4.0, if you can find the source.

-TLS-DJ-EYE-K wrote on Mon, 18 March 2013 07:29

Instead of showing us that u aren't more inteligent than a Toast, maybe you should start becomming good in renegade Thumbs Up

Previous Topic: Dragonade 1.5
Next Topic: SSGM Plug-in TeamSpeakRegulator
Goto Forum:
  


Current Time: Thu Mar 28 06:00:50 MST 2024

Total time taken to generate the page: 0.00660 seconds