Jump to content

Insane Punisher


ImportBot

Recommended Posts

  • Replies 323
  • Created
  • Last Reply

Top Posters In This Topic

  • ImportBot

    324

Originally Posted by micovery*:

 

Hey man,

I tried this plugin on my server and it works perfect.

 

I just want suggest that u could make a automatic kicker for team kills, base rapings.....

 

EXCELENT PLUGIN

Thanks man, I'll add this in the next update, I have been busy, and haven't had much spare time.

There are also other requests from AngelFireDK about map-zones tuning, that I will put in. I am getting

some vacation next week, I promise I will find some time to put these in.

 

I was also thinking about adding voteban command, for allowing victims to temporarily ban misbehaving players. Sometimes they just keep coming back after they are kicked for rule violations. Finally, adding immunity by clan tag, or name list ... I find myself being vote-kicked a lot of the time from my own server ... don't want to get myself banned ! :lol:

* Restored post. It could be that the author is no longer active.
Link to comment
  • 3 weeks later...

Originally Posted by micovery*:

 

Can't wait for the update to this plugin! thx to micovery for making the BEST plugin 8-)

Here you go guys, a new version of the plugin, 0.0.0.6 only available in this thread for now. I will put it in PRoCon packages once it's confirmed that no new defects are introduced. New command !voteban available, and new zones for Heavy Metal conquest. I will upload more zones later this week for the rest of the new maps, and adjustments to the old zones in Arica Harbor conquest.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Poon*:

 

Can't wait for the update to this plugin! thx to micovery for making the BEST plugin 8-)

Here you go guys, a new version of the plugin, 0.0.0.6 only available in this thread for now. I will put it in PRoCon packages once it's confirmed that no new defects are introduced. New command !voteban available, and new zones for Heavy Metal conquest. I will upload more zones later this week for the rest of the new maps, and adjustments to the old zones in Arica Harbor conquest.
Does this include the automatic killing of people that attack in the uncaps?
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by micovery*:

 

Just to confirm, 0.0.0.6 contains a default map zone for Heavy Metal Conquest? Does the .cfg need to be updated as well, or just the plug-ins file?

Only 2 new zones, added for Heavy Metal Conquest (RU and US base) ... They are rough, I created them by suiciding at different spots around the bases, and copying the coordinates. The only reason I added them was because I was sick of being based raped there! There are no defense zones set, so if someone shoots into the base toward the AA, it's still considered base rape. I'm still waiting for a PRoCon map update to create accurate zones for all new maps.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by pharbehind*:

 

Thanks, how critical is the .cfg to be updated? Reason I ask, is b/c adding files to my /config folder is restricted at my host. So I'd have to have one of their tech supports to update it for me, if it even needs to be.

 

Awesome plug-ins by the way.

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by micovery*:

 

Thanks, how critical is the .cfg to be updated? Reason I ask, is b/c adding files to my /config folder is restricted at my host. So I'd have to have one of their tech supports to update it for me, if it even needs to be.

 

Awesome plug-ins by the way.

Thanks, I am glad you like it. You can skip cfg, only addition to it was the new zone. The main changes for !voteban are in the *.cs
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by pharbehind*:

 

So I notice the responses are within the .cfg as well (for suicide, slap, insult). I talked to my host and they won't give me permissions to edit this file (ARGH!). So as a wishlist, would it be possible to give admins the ability to customize the responses in the .cs and not have to edit the .cfg file? Similar to how The Magic 8 Ball contains a list of random strings you can customize, I suppose?

 

I think I can come up with some better insults and suicide responses :P

 

edit- i can do this a round about way by opening a ticket with my host and having them approve the new changes I make to this file.

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by AngelFireDK*:

 

If you have acess to upload new plugins you can just change the path where the cfg file are located. Our hoster have allowed us access to plugins so the cfg file are located there insted and works just fine. Just have to change the path in the plugin setting where the cfg is stored.

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by micovery*:

 

Version 0.0.0.7 is up, with default zones for Map Pack 7 (Rush & Conquest). Default zone definitions are contained in the cfg file, so if you do not need the new zones, there is no need to upgrade.

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Poon*:

 

Version 0.0.0.7 is up, with default zones for Map Pack 7 (Rush & Conquest). Default zone definitions are contained in the cfg file, so if you do not need the new zones, there is no need to upgrade.

Is that available on the Procon packages as well?
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by micovery*:

 

Version 0.0.0.7 is up, with default zones for Map Pack 7 (Rush & Conquest). Default zone definitions are contained in the cfg file, so if you do not need the new zones, there is no need to upgrade.

Is that available on the Procon packages as well?
Not yet, I'll add it tonight. I have been testing it myself for a while, and it does not seem that new issues have been introduced, so it should be safe.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by micovery*:

 

Love your plugin, mind putting up screens of the new map base locations so I can see exactly where the lines are?

Thanks Magetsw, I am glad you like ! Just updated the first post with the screens of the default base zones for Map Pack 7. There are no high-quality images of the maps in the wild yet ... next best thing I could do was making them high contrast so it'd be easier to see the details.

 

I have also added version 0.0.0.7 to the ProCon packages system.

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by micovery*:

 

Ive noticed today that no one can !punish as it says they have immunity.

This happens to everyone.

 

Any ideas?

My whitelists are empty in the plugin.

Uh oh, that's not good, I'll look into it. I did not test with empty white lists. In the meantime, you can just put a random string in the clan whitelist, and player whitelist.

 

 

This is the function for determining if a player has immunity:

Code:

private bool isImmune(PlayerProfile player)
        {
            List<string> admin_list = getStringListVarValue("admin_list");
            List<string> clan_whitelist = getStringListVarValue("clan_whitelist");
            List<string> player_whitelist = getStringListVarValue("player_whitelist");

            List<string> immune = new List<string>();
            immune.AddRange(player_whitelist);
            immune.AddRange(admin_list);

            if (immune.Contains(player.name))
                return true;
            else if (clan_whitelist.Contains(player.info.ClanTag))
                return true;

            return false;
        }
At first, it looks like it should work. I suspect, the issue is that if the clan_whitelist contains an empty string (or null)... then players without clans will automatically have immunity!
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by micovery*:

 

!punish for baserape doesn't work on new maps :sad:

 

IT doesn't even show who baseraped..

I have been using 0.0.0.7 for two days in Heavy Metal without issues.

 

Can you verify that the cfg file you are using is also 0.0.0.7 (open the file and look in the first line). Also check in the plugin console log, when the plugin is enabled, it should say which zones were loaded from the cfg, and for which maps. Additionally, (if you are in the admins_list) you can type the !zones in-game commands to list the zones loaded for the current map.

 

Turn debug_mode on, and look for debug messages in-game. Every time a kill/death event happens inside a base zone, it sends a debug message to the admins.

 

If none of that helps, please post a screenshot of your settings. Some settings were renamed from 0.0.0.5 -> 0.0.0.6 ... the values for new settings is "False" by default.

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by micovery*:

 

So does 0.0.0.7 automatically punish base rape without the !punish or still need to type !punish?

Poon, I did not forget about that ... I skipped it, because you can already do that with Zaeed's CWB plugin. It does a better job of automating punishments, kicks, and bans.

 

Insane Punisher is meant to give players a choice as opposed to CWB.

 

If you still want to use Insane Punisher in for that purpose, add this line: "punishMyKillerCmd(victim.SoldierName);" at the end of the functions BaseCampingKill, TeamKill, BaseRapingKill.

 

Like this:

 

Code:

       private void BaseCampingKill(string zone, CPlayerInfo camper, CPlayerInfo victim)
        {  
            PlayerProfile killerProfile = getPlayerProfile(camper);
            PlayerProfile victimProfile = getPlayerProfile(victim);

            if (killerProfile != null && victimProfile != null)
                killerProfile.addCamp(victimProfile);
 
            punishMyKillerCmd(victim.SoldierName);
        }



        private void TeamKill(CPlayerInfo killer, CPlayerInfo victim)
        {

            PlayerProfile killerProfile = getPlayerProfile(killer);
            PlayerProfile victimProfile = getPlayerProfile(victim);

            if (killerProfile != null && victimProfile != null)
                killerProfile.addTk(victimProfile);

           
            punishMyKillerCmd(victim.SoldierName);
        }


        private void BaseRapingKill(string zone, CPlayerInfo baseraper, CPlayerInfo victim)
        {

            PlayerProfile killerProfile = getPlayerProfile(baseraper);
            PlayerProfile victimProfile = getPlayerProfile(victim);

            if (killerProfile != null && victimProfile != null)
                killerProfile.addRape(victimProfile);

            punishMyKillerCmd(victim.SoldierName);  
        }
Note that by enabling auto punishments, the !forgive, !votekick, and !voteban commands will become useless, since there will never be enough violations accumulated. Every time you punish someone, you forfeit the right to use the other commands for that incident.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Poon*:

 

Hi micovery and thanks for the update. I was under the impression that it was going to be included in a future release. However I totally understand why you don't want to include it and it makes sense.

 

The only problem I have with CWG is the fact that it do a blanket kill of the attacker even if the attacker was attacking the anti air guns. Maybe Zaeed could update the CWG to take that into account.

 

Thanks for your help.

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by CoreSyntax*:

 

Uh oh, that's not good, I'll look into it. I did not test with empty white lists. In the meantime, you can just put a random string in the clan whitelist, and player whitelist.

Thank you, temp fix works.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by pharbehind*:

 

Micovery - that's cool we can adjust the code and allow punishes to be automated.

 

I started a poll on my forums, and so far everyone would rather have it be automated, instead of having to type. You can read their reasoning here if you were curious. All in all, I think your plugin performs better b/c of the zone, rather than the other one you mentioned, so having that !punish be built in will be nice I'm sure.

 

http://www.precisionclan.com/modules.ph ... pic&t=1892

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by micovery*:

 

Micovery - that's cool we can adjust the code and allow punishes to be automated.

 

I started a poll on my forums, and so far everyone would rather have it be automated, instead of having to type. You can read their reasoning here if you were curious. All in all, I think your plugin performs better b/c of the zone, rather than the other one you mentioned, so having that !punish be built in will be nice I'm sure.

 

http://www.precisionclan.com/modules.ph ... pic&t=1892

Yep, after some PMs with Poon I realized that it does apply to certain scenarios. You can edit the code manually to do auto-punish (with the examples I gave to Poon in a previous post).

 

Yet, that's not a complete solution though ... because the victim still gets a personal message requesting to perform either "!punish, !votekick, !forgive, or !voteban". But, auto-punish already happened, so he can't do anything.

 

Also, the global message sent to every one says:

 

punished for

 

It should instead say:

 

was auto-punished for

 

I have made those code changes, and added three new variables: rape_kill_auto_punish, team_kill_auto_punish, camp_kill_auto_punish. If you enable all three, then all other commands !votekick, !forgive, and !voteban become meaningless, because there will never be enough accumulted violations. I would recommend to not enable team_kill_auto_punish, because many times team kills happen by accident, and users choose to forgive in that case. I am currently testing it to make sure there are no regressions. I'll upload the code later tonight if all goes well.

* Restored post. It could be that the author is no longer active.
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.




  • Our picks

    • Game Server Hosting:

      We're happy to announce that EZRCON will branch out into the game server provider scene. This is a big step for us so please having patience if something doesn't go right in this area. Now, what makes us different compared to other providers? Well, we're going with the idea of having a scaleable server hosting and providing more control in how you set up your server. For example, in Minecraft, you have the ability to control how many CPU cores you wish your server to have access to, how much RAM you want to use, how much disk space you want to use. This type of control can't be offered in a single service package so you're able to configure a custom package the way you want it.

      You can see all the available games here. Currently, we have the following games available.

      Valheim (From $1.50 USD)


      Rust (From $3.20 USD)


      Minecraft (Basic) (From $4.00 USD)


      Call of Duty 4X (From $7.00 USD)


      OpenTTD (From $4.00 USD)


      Squad (From $9.00 USD)


      Insurgency: Sandstorm (From $6.40 USD)


      Changes to US-East:

      Starting in January 2022, we will be moving to a different provider that has better support, better infrastructure, and better connectivity. We've noticed that the connection/routes to this location are not ideal and it's been hard getting support to correct this. Our contract for our two servers ends in March/April respectively. If you currently have servers in this location you will be migrated over to the new provider. We'll have more details when the time comes closer to January. The new location for this change will be based out of Atlanta, GA. If you have any questions/concerns please open a ticket and we'll do our best to answer them.
      • 5 replies
    • Hello All,

      I wanted to give an update to how EZRCON is doing. As of today we have 56 active customers using the services offered. I'm glad its doing so well and it hasn't been 1 year yet. To those that have services with EZRCON, I hope the service is doing well and if not please let us know so that we can improve it where possible. We've done quite a few changes behind the scenes to improve the performance hopefully. 

      We'll be launching a new location for hosting procon layers in either Los Angeles, USA or Chicago, IL. Still being decided on where the placement should be but these two locations are not set in stone yet. We would like to get feedback on where we should have a new location for hosting the Procon Layers, which you can do by replying to this topic. A poll will be created where people can vote on which location they would like to see.

      We're also looking for some suggestions on what else you would like to see for hosting provider options. So please let us know your thoughts on this matter.
      • 4 replies
    • Added ability to disable the new API check for player country info


      Updated GeoIP database file


      Removed usage sending stats


      Added EZRCON ad banner



      If you are upgrading then you may need to add these two lines to your existing installation in the file procon.cfg. To enable these options just change False to True.

      procon.private.options.UseGeoIpFileOnly False
      procon.private.options.BlockRssFeedNews False



       
      • 2 replies
    • I wanted I let you know that I am starting to build out the foundation for the hosting services that I talked about here. The pricing model I was originally going for wasn't going to be suitable for how I want to build it. So instead I decided to offer each service as it's own product instead of a package deal. In the future, hopefully, I will be able to do this and offer discounts to those that choose it.

      Here is how the pricing is laid out for each service as well as information about each. This is as of 7/12/2020.

      Single MySQL database (up to 30 GB) is $10 USD per month.



      If you go over the 30 GB usage for the database then each additional gigabyte is charged at $0.10 USD each billing cycle. If you're under 30GB you don't need to worry about this.


      Databases are replicated across 3 zones (regions) for redundancy. One (1) on the east coast of the USA, One (1) in Frankfurt, and One (1) in Singapore. Depending on the demand, this would grow to more regions.


      Databases will also be backed up daily and retained for 7 days.




      Procon Layer will be $2 USD per month.


      Each layer will only allow one (1) game server connection. The reason behind this is for performance.


      Each layer will also come with all available plugins installed by default. This is to help facilitate faster deployments and get you up and running quickly.


      Each layer will automatically restart if Procon crashes. 


      Each layer will also automatically restart daily at midnight to make sure it stays in tip-top shape.


      Custom plugins can be installed by submitting a support ticket.




      Battlefield Admin Control Panel (BFACP) will be $5 USD per month


      As I am still working on building version 3 of the software, I will be installing the last version I did. Once I complete version 3 it will automatically be upgraded for you.





      All these services will be managed by me so you don't have to worry about the technical side of things to get up and going.

      If you would like to see how much it would cost for the services, I made a calculator that you can use. It can be found here https://ezrcon.com/calculator.html

       
      • 11 replies
    • I have pushed out a new minor release which updates the geodata pull (flags in the playerlisting). This should be way more accurate now. As always, please let me know if any problems show up.

       
      • 9 replies
×
×
  • Create New...

Important Information

Please review our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.