Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Release Forum » [Plug-in] SSGM2.02 VoteNextMap BETA  () 1 Vote
[Plug-in] SSGM2.02 VoteNextMap BETA [message #381040] Sat, 18 April 2009 09:55 Go to next message
reborn is currently offline  reborn
Messages: 3231
Registered: September 2004
Location: uk - london
Karma: 0
General (3 Stars)
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 the first release version and probably has some bugs, with feedback I will fix any more bugs found.

This plug-in allows players to start a poll to set the next map in the rotation to there choosing.
The commands available to players to do this are:
!votenextmap <map name>
!VOTENEXTMAP <map name>
!VoteNextMap <map name>
!vnm <map name>
!VNM <map name>
PollNextMap <map name>
!PNM <map name>
!POLLNEXTMAP <map name>
!pollnextmap <map name>
The command allows players to use part map names, this means they do not have to type out the full map name in order for it to work.
For example, this would work if you had cnc_mesa.mix in the rotation, "!vnm mes".
Players in the server then get to either !vote yes or !vote no.
There is a configurable .ini file included in the download called votenextmap.ini that allows the server owner to choose how long the vote goes on for.
It's defualt is 180 seconds (3 minutes). It also allows the server owner to configure how many votes the poll needs to win by beofre the next map is changed.
I believe this plug-in is compatible with the random rotation plug-in I released, but I havn't checked. Feed-back is welcome.


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.

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=votenextmap
You will also need to add the votenextmap.ini file to your server folder.

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/vnm1.jpg



[Updated on: Tue, 21 April 2009 09:54]

Report message to a moderator

Re: [Plug-in] SSGM2.02 VoteNextMap BETA [message #381203 is a reply to message #381040] Sat, 18 April 2009 20:31 Go to previous messageGo to next message
Genesis2001
Messages: 1397
Registered: August 2006
Karma: 0
General (1 Star)
Nice! Smile


side note: Can you indent? :/ lol
Re: [Plug-in] SSGM2.02 VoteNextMap BETA [message #381361 is a reply to message #381040] Sun, 19 April 2009 14:37 Go to previous messageGo to next message
reborn is currently offline  reborn
Messages: 3231
Registered: September 2004
Location: uk - london
Karma: 0
General (3 Stars)
Updated to include a tiny bug fix.


Re: [Plug-in] SSGM2.02 VoteNextMap BETA [message #381383 is a reply to message #381040] Sun, 19 April 2009 17:19 Go to previous messageGo to next message
Genesis2001
Messages: 1397
Registered: August 2006
Karma: 0
General (1 Star)
what was the bug? I've already begun modifying it and indenting the code. Mad lol
Re: [Plug-in] SSGM2.02 VoteNextMap BETA [message #381401 is a reply to message #381040] Sun, 19 April 2009 21:27 Go to previous messageGo to next message
reborn is currently offline  reborn
Messages: 3231
Registered: September 2004
Location: uk - london
Karma: 0
General (3 Stars)
A boolean check on the !vote chat hook to make sure a vote was actually in progress, otherwise players could !vote yes or !vote no without a vote actually happening at that time.


Re: [Plug-in] SSGM2.02 VoteNextMap BETA [message #381674 is a reply to message #381040] Tue, 21 April 2009 09:19 Go to previous messageGo to next message
ExEric3 is currently offline  ExEric3
Messages: 746
Registered: February 2005
Location: Slovakia
Karma: 0
Colonel
I think you put wrong link for download
http://game-maps.net/staff/reborn/BetaSellVehPluginWin32_1.1.zip

[Updated on: Tue, 21 April 2009 09:20]

Report message to a moderator

Re: [Plug-in] SSGM2.02 VoteNextMap BETA [message #381677 is a reply to message #381040] Tue, 21 April 2009 09:55 Go to previous message
reborn is currently offline  reborn
Messages: 3231
Registered: September 2004
Location: uk - london
Karma: 0
General (3 Stars)
You're right, post has been fixed to this link, http://game-maps.net/staff/reborn/BetaVoteNextMapPluginWin32_1.1.zip.


[Updated on: Tue, 21 April 2009 09:55]

Report message to a moderator

Previous Topic: [Model]Red Crate
Next Topic: Toxin Hud
Goto Forum:
  


Current Time: Sun Dec 01 05:39:38 MST 2024

Total time taken to generate the page: 0.00723 seconds