Home » Renegade Discussions » Mod Release Forum » [Plug-in] SSGM2.02 Commander BETA
() 1 Vote
[Plug-in] SSGM2.02 Commander BETA [message #383047] |
Mon, 27 April 2009 15:38 |
|
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 a first release version and probably has some bugs in it, with feedback I will fix bugs found.
This plug-in is based on the system first created by black-cell. However, it has been developed to be configurable for server owners so that they might
set it up in a unique way for there own server. The plug-in allows the following to happen:
There is allot of infomation following, but you should also check out the commander.ini for details on each setting.
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Vote in a commander for your team. useage:
!PollCommander;!pollcommander;!POLLCOMMANDER;!Pollcommander;!VoteCommander;!Vote commander;!VOTECOMMANDER;!votecommander;!PC;!pc;!Pc;!VC;!vc;!Vc
Then the player name. For example:
!pollcommander reb00b
The name does not have to be the whole name either, there are allot of players with stupid ass weird names like: "o0angelx-x1\!\1||!", to type there name would be a pain in the butt.
In this instance you could type:
!pollcommander angel
And it would still work, as long as "angel" was not a substring of someone else's name.
This will then start a vote going, team mates can then either !vote yes or !vote no. The amount more yes votes then no votes needed is configurable in the commander.ini file.
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
voting for a commander. useage
!poll;!Poll!POLL
Then your answer, yes or no. For example:
!poll yes, or !vote NO would be acceptable, but only when a vote is occuring...
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Check who your team commander is. Useage:
!commander;!Commander;!COMMANDER;!TC;!tc;!Tc;!TeamCommander;!TEAMCOMMANDER;!team commander
If there is a commander for that dudes team, then it will tell them the commander name, if not, it will page temm with instructions on how to start a vote.
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
check the team fund. Usage:
!teamfund;!TeamFund;!TEAMFUND;!TF;!tf;!Tf;!tF
This pages the player what the current teamfund value is. The team fund is controlled by the team commander. It can be used to distribute money to other people
or used to call in supply drops. If you run the base defense plug-in, it could be used for that too... The server owner can also configure a trickle to the team fund to,
at defualt it is set to increase on it's own by ten credits every ten seconds. But this is subject tot he server owners change.
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
donate to the teamfund. Usage:
!TFdonate;!tfdonate;!TFDONATE;!TeamFundDonate;!teamfunddonate;!TEAMFUNDDONATE;!T FD;!tfd
Then the amount to donate, for example:
!teamfunddonate 500
If I have 500 credits, then I would donate 500 credits to the team fund.
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
healing_aura
The team commander gets a healing aura (can be toggled off by the server owner in commander.ini), this aura heals near-by team mates and there vehicles.
The strength of the aura, and the area of it's effect is controlled byt he server owner in commander.ini
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
donating the team fund to a player, useage:
ONLY FOR COMMANDER
!tfdonateplayer;!TFDONATEPLAYER;!TFdonateplayer;!TFDonatePlayer
Then the player name and the amount, for example:
!tfdonate reb00b 500
If there was 500 credits in the team fund, and player reb00b was on the commanders team, then he would be given 500 credits from the team fund. This
command can only be used by the team commander. the name of the player works the same as the votecommander command, i.e you only have to type part of there name
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
ordering a supply drop, usegae:
ONLY FOR COMMANDER
!Supply;!SUPPLY;!supply
The team commander can order a supply drop, a chin00k drops off a box at there position. At default it costs 500 credits, but this is controlled in commander.ini for server owners to change.
The supply box will grant a refill to whatever player picks it up, and will refill the health and armor of any tank that picks it up.
The supply can be called in an infinite amount of times, but the server owner controlls how often you're allowed to call in it in the commander.ini file. Once every x seconds...
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
blocking the harvester, usegae:
ONLY FOR THE COMMANDER
!BLOCKHARV;!BlockHarv;!blockharv;!BlockHarvester;!BLOCKHARVESTER;!blockharvest;! bh;!BH;!Bh
The commander can block the harvester with this command. He might do this when the enemy holds the field for example.
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
un-blocking the harvester, useage:
ONLY FOR COMMANDER
!UNBLOCKHARV;!unblockharv;!UnBlockHarv;!UnblockHarv;!UNBLOCKHARVESTER;!unblockha rvester;!UnBlockHarvester;!UnblockHarvester;!UBK;!ubh
The commander can un-block the harvester at any time with this command. If his team re takes the field for example, he would obviously want it to return to normal duties.
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
finding out the commander abilities, useage
ONLY FOR COMMANDER
!abilities;!ABILITIES;!Abilities
When the commander is voted in, he is paged telling him he has extra abilities and typing !abilities will tell him about it.
If he does type !abilities he will be paged with such info, because there are allot pf people who will forget the syntax or even what they're capable of.
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Advanced c4 message, useage:
ONLY FOR COMMANDER
!c4;!C4
This is the same as the normal !c4 command, however when the commander types this, he is paged additional infomation about the c4.
Specifically what building they are placed clostest to, and how many of them.
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Ordering your team, useage:
ONLY FOR COMMANDER
!order;!Order;!ORDER
Then your message... For example
!order Defend the hand of Nod guys
This would then page every player on your team "The team Commander orders you to: Defend the hand of Nod guys".
This is an important command for motivating your team...
You could for example do !order Buy flamers for flame rush, is excallent for setting up plans and controlling the team for better team work.
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Checking the status of the harvester, useage:
ONLY FOR COMMANDER
!hstatus;!HStatus;!Hstatus;!HSTATUS
This will page you the health percent of the harvester.
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Proximity mine disarming aura, useage:
ONLY FOR COMMANDER
The team commander (if the server owner has it enable) will be granted a aura similar to the healing one, however this one
disarms enemy mines near him. The area of effect is determined by the server owner.
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
As well as these commands, you will also be paged warnings about the health of your buildings and harvester should they fall below 50%.
This might be a good time to use the !order command to get team mates to repair...
If on the next map the commander from the previous map is still on the same team he will carry his command over. If however he is teamed to the other side
he will lose it. This is to encourage the use of the commander as much as possible.
At present, a player can start a poll for himself to be the commander, this isn't really in the spirit of team work, however it may make more use of the
commander as players tend to be inherently selfish, hence the need for such a system. I may in the next version not allow them to start a vote on
themselves, or perhaps let the server owner choose.
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
and 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=commander
You'll also need to add commander.ini supplied to your SERVERs directory. This is where you can configure all the settings for the commander system.
You'll also need to place NOD_Supply.txt and GDI_Supply.txt in your servers DATA folder too. Please note the emphasis of where
to place the .dll and .ini file, that actual server directory, as where the two text files for the cinematics have to go in the DATA 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
[Updated on: Wed, 26 August 2009 13:44] Report message to a moderator
|
|
|
|
|
|
|
Re: [Plug-in] SSGM2.02 Commander BETA [message #383196 is a reply to message #383047] |
Tue, 28 April 2009 09:31 |
|
reborn
Messages: 3231 Registered: September 2004 Location: uk - london
Karma: 0
|
General (3 Stars) |
|
|
The plug-in was tested one three servers, one of them went live with over 30 players and they never had this problem.
There sole purpose was to test it for bugs and deliberately try to break it. It's very strange that you're experiancing this.
Can you provide concise detailed info in this please?
|
|
|
Re: [Plug-in] SSGM2.02 Commander BETA [message #383197 is a reply to message #383047] |
Tue, 28 April 2009 09:43 |
|
Zeiss
Messages: 39 Registered: November 2006
Karma: 0
|
Recruit |
|
|
hi,
I attached crashdump and other infos
it would be nice if you look after that
-------------------------------------------------------------
ICR Log
-------------------------------------------------------------
<DT_Bot>BRenBot 1.52 reporting for duty! Type !help for a list of commands.
<DT_Bot>Host: BRenBot 1.52 starting up. Type !help for a list of commands
<DT_Bot>Host: [BR] Settings for C&C_Islands.mix: Time Limit: 30, Mine Limit: 30, Vehicle Limit: 8. Donations are allowed after 5 minutes.
<DT_Bot>Host: This server is running a team commander plug-in, you can start a vote for a team mate to be your commander by typing "!pollcommander <name>".
<DT_Bot>Player DTZeiss joined the game
<DT_Bot>Host: [BR] [DTZeiss] Zeiss ist da....
<DT_Bot>Host: [BR] DTZeiss weiss= Das beste Spiel der Welt ist Command&Conquer Renegade. (834 HyperPunkte)
<DT_Bot>Host: There is team fund available to your team, type "!teamfund" to see how much, the team commander controls this fund. You can donate to the fund with "!tfdonate <amount>".
<DT_Bot>Host: DTZeiss has a total score of 579873 and is ranked at position 3 out of 587 players.
<DT_Bot>*DTZeiss: !pc zeiss
<DT_Bot>Initializing Westwood Online Mode
<DT_Bot>Logging onto European Server
<DT_Bot>Creating game channel...
<DT_Bot>Channel created OK
<DT_Bot>Loading level C&C_Islands.mix
<DT_Bot>Host: Teams have been remixed.
<DT_Bot>Level loaded OK
-------------------------------------------------------------
-
Attachment: crashdump4.txt
(Size: 87.74KB, Downloaded 196 times)
-
Attachment: crashdump7.txt
(Size: 87.32KB, Downloaded 210 times)
-
Attachment: server.JPG
(Size: 63.17KB, Downloaded 221 times)
|
|
|
Re: [Plug-in] SSGM2.02 Commander BETA [message #383198 is a reply to message #383047] |
Tue, 28 April 2009 09:52 |
|
reborn
Messages: 3231 Registered: September 2004 Location: uk - london
Karma: 0
|
General (3 Stars) |
|
|
I cannot read crash dumps. I am un-able to. However, give me your msn and I will try and debug the problem with you tonight. This will require effort on your part aswell as mine.
Also, what other software is your server running? Any other plug-ins, perhaps renegade resurrection?
|
|
|
|
Re: [Plug-in] SSGM2.02 Commander BETA [message #383206 is a reply to message #383047] |
Tue, 28 April 2009 10:37 |
|
reborn
Messages: 3231 Registered: September 2004 Location: uk - london
Karma: 0
|
General (3 Stars) |
|
|
First, try running the server with nothing but the plug-in. If it still crashes then there is something wrong and the people testing it need to run away and hide before I kill them.
However, if it doesn't crash, add the other stuff back one by one, then you have found the problem.
|
|
|
Re: [Plug-in] SSGM2.02 Commander BETA [message #383210 is a reply to message #383206] |
Tue, 28 April 2009 11:07 |
Genesis2001
Messages: 1397 Registered: August 2006
Karma: 0
|
General (1 Star) |
|
|
reborn wrote on Tue, 28 April 2009 10:37 | First, try running the server with nothing but the plug-in. If it still crashes then there is something wrong and the people testing it need to run away and hide before I kill them.
However, if it doesn't crash, add the other stuff back one by one, then you have found the problem.
|
The stuff he listed is all plugins for BRenBot and thus *shouldn't* affect the server... :/
|
|
|
|
|
|
Re: [Plug-in] SSGM2.02 Commander BETA [message #383383 is a reply to message #383047] |
Wed, 29 April 2009 02:15 |
|
reborn
Messages: 3231 Registered: September 2004 Location: uk - london
Karma: 0
|
General (3 Stars) |
|
|
Well, the dude hasn't got back to me at all, I tried recreating the bug on my own, but for the life of me I cannot get it to happen. I direct connected using his name. I wasn't sure if he was using "*DTzeiss" or "DTzeiss" from the message he posted, so I used both thinking possibly (although really really unlikely) it could be the "*" part of the name that was causing it.
Whatever I tried, I couldn't get it to crash.
Here's a movie showing it, although the movie only lasts a very short time, I tried for ages with various other methods to get it to break.
http://game-maps.net/staff/reborn/noproblem.wmv
Unless the dude gets back to me, I can only assume he was running some other software besides that of which he mentioned that caused it to crash. Everyone else using does not have this problem. Weird.
|
|
|
Re: [Plug-in] SSGM2.02 Commander BETA [message #383414 is a reply to message #383047] |
Wed, 29 April 2009 07:50 |
|
Prulez
Messages: 439 Registered: August 2005 Location: The Netherlands
Karma: 0
|
Commander |
|
|
Hey reborn, looking good, few things though:
- Could you please stop the advertising when there are no players in the server?
- !hstatus didn't work for me
- The server didn't page me when my AGT was at half life.
This might be because I'm running a co-op server, I'm not sure though..
On a totally unrelated note: The veteral plugin isn't detecting bot kills aswell
Anyways: Thanks for this great release, love your work
nikki6ixx wrote on Fri, 08 May 2009 19:47 | Every so often, I get this positive feeling that humanity can somehow, possibly attain pure awesomeness, and enlightenment, and that there is light at the end of the road for us all. However, I only need to go to the latest HUD thread at RenForums to remind me of how dumb I was for thinking such stupid things.
|
|
|
|
Re: [Plug-in] SSGM2.02 Commander BETA [message #383423 is a reply to message #383414] |
Wed, 29 April 2009 08:14 |
|
reborn
Messages: 3231 Registered: September 2004 Location: uk - london
Karma: 0
|
General (3 Stars) |
|
|
Prulez wrote on Wed, 29 April 2009 10:50 | Hey reborn, looking good, few things though:
- Could you please stop the advertising when there are no players in the server?
- !hstatus didn't work for me
- The server didn't page me when my AGT was at half life.
This might be because I'm running a co-op server, I'm not sure though..
On a totally unrelated note: The veteral plugin isn't detecting bot kills aswell
Anyways: Thanks for this great release, love your work
|
You can disable the advertising of the mode (incidently to anyone else reading this, it doesn't advertise MP-Gaming.COM, it just tells players about the commander system and the commands etc etc) by turning it off in the .ini file.
However, you're probably right... Even if it is turned on, it probably shouldn't send those messages without anyone in the server. I will release a new version that does what you want it to do.
I will check hstatus, I may of been too reliant on the people testing in hindsight.
Was it only the AGT this happened to, no other building, just the AGT was broken?
The veteran plug-in wasn't designed to work with bot kills. I'm pretty sure it would be possible though with minimal effort if you need it to.
I was hoping people would pick up these plug-in's and develop on them themselves and re-release them with new cooler add-on's. The veteran plug-in specifically was released with this in mind and only had place holder reward systems.
As no-one has picked it up, I will return to it soon, re-visit it and make a 1.1 version that is better, I will make sure I include your suggestion but allow server owners to toggle that option.
|
|
|
Re: [Plug-in] SSGM2.02 Commander BETA [message #383440 is a reply to message #383423] |
Wed, 29 April 2009 10:08 |
|
Prulez
Messages: 439 Registered: August 2005 Location: The Netherlands
Karma: 0
|
Commander |
|
|
reborn wrote on Wed, 29 April 2009 17:14 | You can disable the advertising of the mode (incidently to anyone else reading this, it doesn't advertise MP-Gaming.COM, it just tells players about the commander system and the commands etc etc) by turning it off in the .ini file.
However, you're probably right... Even if it is turned on, it probably shouldn't send those messages without anyone in the server. I will release a new version that does what you want it to do.
|
Cool, thanks
reborn wrote on Wed, 29 April 2009 17:14 | I will check hstatus, I may of been too reliant on the people testing in hindsight.
|
Aight, I'll try it again to ensure it.
reborn wrote on Wed, 29 April 2009 17:14 | Was it only the AGT this happened to, no other building, just the AGT was broken?
|
I only tried TeamKilling the AGT. It didn't send me a message.
reborn wrote on Wed, 29 April 2009 17:14 | The veteran plug-in wasn't designed to work with bot kills. I'm pretty sure it would be possible though with minimal effort if you need it to.
|
I was kind of aware of that, though as I'm not a coder at all I wouldn't have a clue to begin
reborn wrote on Wed, 29 April 2009 17:14 | I was hoping people would pick up these plug-in's and develop on them themselves and re-release them with new cooler add-on's. The veteran plug-in specifically was released with this in mind and only had place holder reward systems.
As no-one has picked it up, I will return to it soon, re-visit it and make a 1.1 version that is better, I will make sure I include your suggestion but allow server owners to toggle that option.
|
Like I said before, I personally don't have any coding experience. I think it's great what you're doing, releasing all your plugins.
For the record: The map I tested my stuff on was Skirmish00.mix. Maybe that kind of got in the way...
Reborn, Thanks for all your hard work man! I really really appreciate it
nikki6ixx wrote on Fri, 08 May 2009 19:47 | Every so often, I get this positive feeling that humanity can somehow, possibly attain pure awesomeness, and enlightenment, and that there is light at the end of the road for us all. However, I only need to go to the latest HUD thread at RenForums to remind me of how dumb I was for thinking such stupid things.
|
|
|
|
Re: [Plug-in] SSGM2.02 Commander BETA [message #383507 is a reply to message #383047] |
Wed, 29 April 2009 16:52 |
|
reborn
Messages: 3231 Registered: September 2004 Location: uk - london
Karma: 0
|
General (3 Stars) |
|
|
I've updated the download link on the original post to contain this link, here. It should of fixed the page problem you mentioned about buildings falling below half health. !hstatus worked fine for me, perhaps you was not the commander at the time? This update also means the explanation messages are not repeated continuously if there are no players in the server.
|
|
|
|
Re: [Plug-in] SSGM2.02 Commander BETA [message #383596 is a reply to message #383507] |
Thu, 30 April 2009 01:35 |
|
Prulez
Messages: 439 Registered: August 2005 Location: The Netherlands
Karma: 0
|
Commander |
|
|
reborn wrote on Thu, 30 April 2009 01:52 | I've updated the download link on the original post to contain this link, here. It should of fixed the page problem you mentioned about buildings falling below half health. !hstatus worked fine for me, perhaps you was not the commander at the time? This update also means the explanation messages are not repeated continuously if there are no players in the server.
|
Working excellent.
About the hstatus thing.. I just found out there's no harv on the map I tested it on
Excellent once again, Reborn. Thanks!
nikki6ixx wrote on Fri, 08 May 2009 19:47 | Every so often, I get this positive feeling that humanity can somehow, possibly attain pure awesomeness, and enlightenment, and that there is light at the end of the road for us all. However, I only need to go to the latest HUD thread at RenForums to remind me of how dumb I was for thinking such stupid things.
|
|
|
|
|
|
Re: [Plug-in] SSGM2.02 Commander BETA [message #383823 is a reply to message #383818] |
Fri, 01 May 2009 12:48 |
|
reborn
Messages: 3231 Registered: September 2004 Location: uk - london
Karma: 0
|
General (3 Stars) |
|
|
Zeiss wrote on Fri, 01 May 2009 15:29 | Hi,
I have installed commander 1.1
if I type !pc Zeiss, the server crash.
the server doesn't only crash with name DTZeiss, it creashed with all names.
The plug-in is currently active, just look at the DT-Clan AoW server.
|
Pretty stange man, everyone else seems to have no problem. :-/
I did ask you add me on msn fm_reborn@hotmail.com so we can try and solve the problem, but you have yet to contact me (I am at work right now...).
There must be something else on your server casuing a conflict with it :-/
|
|
|
|
Goto Forum:
Current Time: Fri Nov 22 19:40:16 MST 2024
Total time taken to generate the page: 0.01227 seconds
|