Announcement

Collapse
1 of 2 < >

WIP Forum Upgrade

Please pardon our mess as we continue to iterate on the forum style, css and images. If you have any suggestions be sure to let us know in the off topic part of the forum!
2 of 2 < >

Forum Rules

CHANGES
  • Items changed, or highlighted for future attention, on 20 July 2013 are highlighted in yellow.
Global Rules
  • Forum moderators may or may not be Tripwire Interactive staff members, but either way, please respect them, as they are the authority of the forums. Speaking to them with intentional spite will not be tolerated and may result in the loss of your forum privileges.
  • Any decisions made by any member of staff or moderator are final and not subject to discussion. Doing so may result in a ban from the site. The owners of Tripwire Interactive Forums reserve the right to remove, edit, move or close any thread for any reason, as well as to remove access to the forums for any individuals with or without warning for breaches of the rules.
  • If you have a complaint regarding another user, PM the appropriate moderators, or if you have an administrative issue, [RO]schneidzekk.
General Behaviour
  • Use the search function before posting. Chances are your question has already been answered.
  • Use a title that describes the content of your post. Don't use all caps or special characters to draw attention either in the title or the body of the post.
  • Up to 10 emoticons are allowed in a post
  • Political discussions are prohibited.
  • Flaming - We do not tolerate abusive, malicious, personal attacks. You will be banned if you persist in this behavior.
  • Trolls - Anyone deliberately antagonizing other forum users by posting 'flame bait' type messages is not welcome. You will be banned (possibly without warning depending on the severity of the issue) if you persist in this behavior.
  • Personal insults (directed at anyone) will result in a ban. If the behavior is not corrected, it will be made more permanent.
  • Constructive criticism is welcome. However keep in mind we (and other forums goers) may not agree with you. If you can't keep the conversation civil, you will be removed from the forums.
  • The use of hyperbole, one liners, and images as part of a forum debate is likely to get you infracted. You have many ways to participate and be a constructive part of this community, even when you disagree.
  • To make the highlighted bits above 100% clear to everyone, the following WILL NOT BE TOLERATED:
    1. Personal attacks, insults, antagonism of any forum-goers, moderators or Tripwire Interactive staff.
    2. Breaches of confidentiality and privacy of any sort.
    3. Any form of racism, bigotry or attacks on race, creed or color.
    4. Linking to posts on other forums related to ANY of the above, whether you are the originator or not, without exception.
  • There has been too much in the way of abhorrent personal behaviors in the past. These will cease. It doesn't matter who started it or who reacted to it - it will all result in moderator action. If you have to indulge your hatreds, for whatever reason, go do it elsewhere - and do not try and drag our forum-goers over to enjoy your hatreds.
  • We understand that people have strong feelings about our games, what we do for a living and how we respond (or don't) to comments on the forums. We all aren't going to agree about everything. So, BE CIVIL in your disagreements!
DO NOTs
  • DO NOT Transmit any message, information, data, text, software or graphic files, or other materials ("Content") that is unlawful (including illegal drug usage), harmful, threatening, abusive, harassing, defamatory, vulgar, obscene, libelous, hateful or racially, ethnically, sexually or otherwise objectionable. This includes publicizing private information, such as individual's real names, IP addresses and anything else that might be used to identify them to the freakier members of the internet. This also means you may NOT publically share private communications (PM, email or anything else) without the original poster's permission.
  • DO NOT Post or transmit any Content that contains a virus, Trojan horse or other mischievous Content.
  • DO NOT Post or transmit any unsolicited advertising, promotional materials, "junk mail", "spam", "chain letters", "pyramid schemes" or any other form of solicitation.
  • DO NOT link to posts on any other forums, or any other form of media, that breaches our rules. It will be treated just the same as if you had posted it here.
  • DO NOT Double Post, cross Post or restart closed threads.
  • DO NOT Intentionally or unintentionally violate any applicable local, state, national or international law, rule or regulation.
  • DO NOT Upload or transmit any Content that infringes any patent, trademark, trade secret, copyright or other proprietary rights ("Rights") of any party.
  • DO NOT post cheats or exploits; THIS INCLUDES ALL/ANY REFERENCES TO HACKING, PIRATED SOFTWARE etc.
  • DO NOT complain about being banned from a server and DO NOT complain about other players on servers - that is between you and the admin, no need to get the community involved.
Username, Avatar and Signature Rules
  • Multiple registrations result in a ban.
  • No offensive user names
  • Avatars:
    Avatars are disabled.
  • All signatures should not exceed the following size limits, you can have both text and images
  • - For text signatures: 4 lines normal size, 8 lines small size and up to 100 chars per line. Font sizes above 2 are not allowed. (Blank lines count as lines.)
  • - For images in signatures: 1 image up to 400 pixels wide, 150 pixels tall and 100kb in size plus 2 lines normal size text and up to 100 chars per line
Netiquette: Written text has no inflection, and, as such, you should be careful how you write your messages as interpretation will vary from person to person. Please take advantage of the built-in emoticons to add such expression to your words. Please remember the golden rule: to treat other forum users the way you would like to be treated. Please use common courtesy, and enjoy using Red Orchestra's forums
Offensive material
The following is a list of some things that MAY be considered "offensive" by the moderators and the team. This is NOT an exclusive list and it does depend very much on context.

Crossing the line into "offensive" territory is likely to get you asked to change your name, sig or avatar or to withdraw/delete posts. This will be done politely by the moderators. If you refuse to comply further action WILL be taken once started, ultimately leading to banning from the forums.

A key point: please attempt to use your brains. What is mild humour to you may well be deeply offensive to others. While we have no intention of acting as politically-correct "thought police", we are on the lookout for those things that can cause offense and, in some cases, are actually still illegal in some jurisdictions.
  1. Names recalling notorious war criminals or personalities.
  2. Names recalling atrocities and war crimes in general, or units with particularly odious histories.
  3. Use of obscenities and expletives.
  4. Blatant racism, mysogynism or many other "ism"s.
  5. Use of symbolism and regalia recalling Nazism or Fascism; this does not include pics of soldiers who happen to have such symbols on their uniform, unless we feel this has been done to provoke. Please note that many Nazi symbols (including the Swastika) are still illegal in Germany and other countries and considered deeply offensive by many Europeans.
  6. Use of symbolism and regalia recalling Stalinism.
  7. On both the previous two, the moderators' views on the intention and impact of use of such symbols will be final - not yours. Please be understanding if you are advised to change something.
  8. In general, if a sig/avatar represents your allegiances in-game and is clearly "in part", it is likely to be fine; if the moderators feel you are trying to demonstrate unpalatable political allegiances, or to use it in an attempt to ridicule or provoke others you WILL be asked to change it. RO is NOT the place to make any extremist political statements of any kind.
Examples:
So people get the idea, some examples that would be considered offensive, numbered as above:
  1. "Hitler", "Beria"
  2. "NKVD Blocking Detachment", "Einsatzgruppen"
  3. This one should be pretty obvious...
  4. So should this - and it includes calling all Germans "Nazis" and all Soviets/Russians "Commies". It got boring 50 years ago, so stop it.
  5. Use of swastikas, fasces, SS-runes and so on for the Axis.
  6. There is actually very little overt symbolism from the Stalinist era; the hammer-and-sickle isn't offensive per se.
A simple rule-of-thumb: many Europeans find Nazi symbolism of any sort offensive; many Americans still find Soviet symbolism offensive. Engage your brain before using.




Final Note: this is NOT open to debate, so please do NOT start whining and moaning if a moderator asks you to change something. They will advise at first, giving reasons, then, if you take no notice, they will step up the pressure through to banning.
See more
See less

BotDetonator Mutator

Collapse
This topic is closed.
X
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • BotDetonator Mutator

    I started a project for a bot detonator mutator. The name sounds odd, but the mutator will actually kick all bots as soon as a defined condition is reached.

    I hope this mutator will reduce the complains about servers that are running bots. The mutator gives the ability to players to vote to kick all bots. Even so can admins set values which will arrange that bots do leave if for example 4 players are present. The admin can for example put 20 initial bots on his server to attract players. Then all bots will be removed if for example 4 real players have joined.
    It will also prevent that people use the bots for easy XP gaining.

    If the bots are all kicked out, then they will not leave any weapons behind on the battle-field. This will prevent that players vote away the bots to get there weapons.

    New console commands:
    • Mutate KickBots
      This will start a vote session to kick all the bots. The command can be entered by any player.
    • Mutate AdminKickBots
      All bots will directly be removed. Only admins can use this command.
    • Mutate AdminSpawnBots [<number>]
      If used without parameter number, then all bots will directly be put back on the map. This will only work if MinPlayers is set to any value higher than zero and if the bots were removed because of a successful kick vote or admin kick command.
      This command can only be used by admins.
      If parameter number is greater than zero, then the number of bots will be added (split over both teams). The number of bots can not exceed MaxPlayers.
    The above three commands can be entered on the in-game console. It is also possible to bind them to and key in your ROInput.ini file. This is the ROInput.ini on the players computer and not the one on the server.



    Download:

    The mutator can be found here: http://forums.tripwireinteractive.co...2&postcount=21


    Installation:
    1. Download the mutator from above location
    2. Extract all files from the archive
    3. Place the config\defaultbotdetonator.ini and config\ROBotDetonator.ini files in the rogame\config folder on your server
    4. Place the cookedpcserver\BotDetonator.u file in the rogame\cookedpcserver folder on your server
    5. Restart your server(you need to do this or else the server will not find the mutator)

    Activation:
    1. Open your servers web-admin tool
    2. Go to the Change Map page
    3. Select your game type and map
    4. At the Additional URL variables field you add ?mutator=BotDetonator.BotDetonator
    5. Now load the map
    If you have more than one mutator running on your server, then you can load them with
    Code:
    ?mutator=BotDetonator.BotDetonator,Mutator1.Mutator1,Mutator2.Mutator2
    Configuration:

    The configuration can be set in ROBotDetonator.ini (see installation instructions). These are the properties:
    • bKickBotsOnPlayerCount
      If true, then players will be kicked if the number of human players is equal to or above KickBotsPlayerCount. If bAllowBotsToReturn is true, then the bots will return if the number of human players becomes less than KickBotsPlayerCount.
      Default: true
    • KickBotsPlayerCount
      If bKickBotsOnPlayerCount is true, then all bots will be kicked if the number of human players is equal to or above this value. If bAllowBotsToReturn is true, then the bots will return if the number of human players becomes less than KickBotsPlayerCount.
      Default: 4
    • bAllowBotsToReturn
      If true and bKickBotsOnPlayerCount is also true, then the bots will return if the number of human players becomes less than KickBotsPlayerCount.
      Default: true
    • bKickAllBotsVoteEnabled
      If true, then players can vote to kick the bots.
      See also KickBotsVotePercentage and VoteTimeSpan.
      Default: true
    • KickBotsVotePercentage
      If bKickAllBotsVoteEnabled is true, then all bots will be kicked if the number of votes is equal to or above this percentage.
      All votes have to be made within VoteTimeSpan or else the voting is cancelled. A second vote by the same person will cancel his previous vote.
      Default: 50.0 (%)
    • VoteTimeSpan
      The time span in which all players should vote. The time span starts directly after a player initiates a vote (first kick bots vote). All votes will be cancelled if this time expires.
      See also bKickAllBotsVoteEnabled and KickBotsVotePercentage.
      Default: 120.0 (seconds)
    • bDetonateInsteadOfKick
      If set to true, then the bots will detonate (the protected area animation) instead of just die when kicked out.
      Default: false
    • bNotificationMessageEnabled
      If true, then a notification message will be send to a recently spawned player. The message will give him a brief instruction on how to submit a kick all bots vote. The messages will not appear if the voting is disabled or if there are no bots.
      See also MutatorNotificationMessageDelay
      Default: true
    • MutatorNotificationMessageDelay
      Delay time between player spawn time and displaying the notification message.
      See also bNotificationMessageEnabled
      Default: 10 seconds (minimal: 0; maximal 20)
    • bEnableLogging
      Config variable for enabling/disabling debug info logging (for debugging purpose).
      Default: false
    The mutator is not yet white-listed. For now the server will become unranked if you use this mutator.


    Sources (for those that want to see the inside of the mutator):

    The mutator sources can be found in on an SVN server. The SVN repository can be accessed from here: https://82.169.110.143:8443/svn/BotDetonator/trunk

    Read-only account:
    Username: guest
    No password required!
    Last edited by Ducky; 08-24-2012, 07:38 PM. Reason: Updated SVN link
    TWB*BlueDuck

  • #2
    I'm having a problem to get the voting to work. I have overwritten the Mutate function in my mutator. Normally that one should be called if a console command isn't handled by some other mod or game engine, but it looks as if the Mutate function is never called at all. Just a simple mutator with only this will not even list the log in the server logs. Is there anybody out there that can help me with this?
    Code:
    class MyMutator extends Mutator;
    
    function PostBeginPlay()
    {
        `Log("MyMutator is active!!!",, 'MyMutator');
        super.PostBeginPlay();
    }
    
    function Mutate(string MutateString, PlayerController Sender)
    {
        `Log("Mutate",, 'MyMutator');
        super.Mutate(MutateString, Sender);
    }
    
    function ModifyPlayer(Pawn Other)
    {
        `Log("ModifyPlayer",, 'MyMutator');
        super.ModifyPlayer(Other);
    }
    
    function NotifyLogin(Controller NewPlayer)
    {
        `Log("NotifyLogin",, 'MyMutator');
        super.NotifyLogin(NewPlayer);
    }
    
    function NotifyLogout(Controller Exiting)
    {
        `Log("NotifyLogout",, 'MyMutator');
        super.NotifyLogout(Exiting);
    }
    
    defaultproperties
    {
        GroupNames=("Mutators")
    }
    With the above (not much of a) mutator I do see all the yellow lines in the server logs, but never the red lines. Not even after a full round and after typing lots of none TWI commands in the console.
    Anybody?
    TWB*BlueDuck

    Comment


    • #3
      Originally posted by Ducky View Post
      I'm having a problem to get the voting to work. I have overwritten the Mutate function in my mutator. Normally that one should be called if a console command isn't handled by some other mod or game engine, but it looks as if the Mutate function is never called at all. Just a simple mutator with only this will not even list the log in the server logs. Is there anybody out there that can help me with this?
      Are you invoking the function using console command 'Mutate <MutateString>'?

      Comment


      • #4
        Originally posted by [TW]StragoMagus View Post
        Are you invoking the function using console command 'Mutate <MutateString>'?
        Nope. I'm just typing '<MutateString>' only. So I should add the 'Mutate' in front of it? And then in keybinding 'Mutate KickBotsVote'?
        TWB*BlueDuck

        Comment


        • #5
          Originally posted by Ducky View Post
          Nope. I'm just typing '<MutateString>' only. So I should add the 'Mutate' in front of it? And then in keybinding 'Mutate KickBotsVote'?
          I believe that is correct. 'Mutate' is the console command and the string is a parameter. Add a string for each command you need.

          Comment


          • #6
            Originally posted by [TW]StragoMagus View Post
            I believe that is correct. 'Mutate' is the console command and the string is a parameter. Add a string for each command you need.
            Ok. Tried it and it does indeed work now. I was the only player on the server so the bots got directly kicked out after I send the command. Thanks for the help
            TWB*BlueDuck

            Comment


            • #7
              Implemented most of the functionality and tested:
              • KickBots vote command --> working
              • AdminKickBots command --> working
              • AdminSpawnBots command --> working
              • Auto kick bots on current player count --> working
              • Auto spawn bots on low player count --> working
              • Bots harvest protection --> not working
                Looks like we are missing a mutator hook. Submitted a bug report for that one (see http://forums.tripwireinteractive.co...ad.php?t=75880)
              Binary can be obtained here:
              http://82.169.122.43:8443/svn/Binari...BotDetonator.u

              Username: guest
              No password required!
              Last edited by Ducky; 02-22-2012, 03:55 PM.
              TWB*BlueDuck

              Comment


              • #8
                Decided to leave out the bot harvest protection (can still be found in archive if required to put it back).

                Finished the mutator and will submit it to TWI for white-listing.

                Please check my OP for more details about this mutator.
                Last edited by Ducky; 02-22-2012, 08:06 PM.
                TWB*BlueDuck

                Comment


                • #9
                  I have been trying to kick bots through the 'management console' through the webadmin.

                  Have entered

                  Mutate AdminKickBots

                  But get no noticeable response?

                  I don't use the in-game console for admin stuff. I dont even know how to log in through the in game version. It is just so quick and easy to have a web browser open with the web admin and jump out of game.

                  Comment


                  • #10
                    Originally posted by Cat_in_da_Hat View Post
                    I have been trying to kick bots through the 'management console' through the webadmin.

                    Have entered

                    Mutate AdminKickBots

                    But get no noticeable response?

                    I don't use the in-game console for admin stuff. I dont even know how to log in through the in game version. It is just so quick and easy to have a web browser open with the web admin and jump out of game.
                    It doesn't work trough the management console. It only works on the in-game console. You need to login as an admin (in-game) and then open the console and enter the command.
                    TWB*BlueDuck

                    Comment


                    • #11
                      Hi ducky,

                      What about the tank bots. Once the 'no bots' threshold has been met does this mean tank bots do not happen?

                      Just got a situation where tanks explode shortly after spawn and i have only seen it happen recently and only after the bot detonator has kicked all the bots.

                      Makes the tank commander most upset when not only his crew burns into flames but his tank also suicides.

                      Edit - this might be cause by something completely different.

                      Comment


                      • #12
                        Originally posted by Cat_in_da_Hat View Post
                        Hi ducky,

                        What about the tank bots. Once the 'no bots' threshold has been met does this mean tank bots do not happen?

                        Just got a situation where tanks explode shortly after spawn and i have only seen it happen recently and only after the bot detonator has kicked all the bots.

                        Makes the tank commander most upset when not only his crew burns into flames but his tank also suicides.

                        Edit - this might be cause by something completely different.
                        Hi Cat,

                        Only infantry bots will be kicked. Any bots attached to a vehicle will stay in-game. The mutator does also put a message in the chat window when the bots are kicked out. Please keep an eye on that. You can also enable the mutators server logs by enabling it in the mutators ini file. It will then write an entry in the log files if bots are kicked, and also the reason why.

                        Edit:
                        If a tank commander is in the tank and the bots would be kicked, then the tank should not even explode at all unless the tank commander would die too at that same moment.

                        Edit 2:
                        Did test it and indeed the tank blows up. I will look a bit deeper into the reason.
                        Last edited by Ducky; 04-01-2012, 11:17 AM.
                        TWB*BlueDuck

                        Comment


                        • #13
                          Is this mut white-listed?

                          Comment


                          • #14
                            Originally posted by Mike_Nomad View Post
                            Is this mut white-listed?
                            Yes it is
                            TWB*BlueDuck

                            Comment


                            • #15
                              Originally posted by Ducky View Post
                              Yes it is
                              Outstanding.... cheers!

                              Comment

                              Working...
                              X