Jump to content

Advanced In-Game Admin and Ban Enforcer - AdKats


Message added by Prophet731,

If you've been banned from a server then you will need to appeal the ban with the owners/community of that server. We do not control any bans done on servers that utilize AdKats as all bans are local to that server.

Recommended Posts

Originally Posted by reutnitzer*:

 

Wait are you saying I can NOT use the same Sender Address and User Address? They have to be two different ones? I honestly do not believe that should matter I will test it but should be fine using the same sender email as the login one.

I only say if you havent a normal email adress ore a difference between you smtp and you Sender adress than you musst fill it out correctly for example this picture.

 

2013-12-22_123029.jpg

 

At the beginn i have use [email protected] for both points the Sender and the SMTP and in this constelation it havent work but you see in the picture how i have set it and it works fine.

 

Come on our Teamspeake if you will and i try to help you out okay .

 

ts3.battleplay4u.com

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

Originally Posted by lordicon*:

 

So this error still stands for the Email feature. I have tried many different ways as suggested and nothing is working, Tempted on loading up the .cs to see whats up myself but I could end up breaking it more.. Any ideas?

Code:

[AdKats]ERROR: Error while sending email: System.Net.Mail.SmtpException: The Operation has timed out. at System.Net.Mail.SmtpClient.Send(MailMessage message) at PRoConEvents.Adkats.EmailHandler.EmailWrite(String subject, String body)
Could it be the host I have Procon running on?

 

EDIT: Just did a restart on my server and got this error.

Code:

[AdKats]ERROR:Line 0: [<SendReport>b_70][Error in email sending thread.]: System.NullReferenceException: Object reference not set to an instance of an object. at PRoConEvents.Adkats.EmailHandler.<>c_DisplayClass73.<SendReport>b_70()
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by lordicon*:

 

I'm getting this error with the mail thingy:

 

[15:50:46 62] [AdKats] ERROR: Unable to send email. No users with emails have access to player interaction commands.

You have to setup the Admins you want to receive the emails their soldier name and also add their Email to the list. Like this image here...

test.png

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

Originally Posted by L1ndsayLohan*:

 

You have to setup the Admins you want to receive the emails their soldier name and also add their Email to the list. Like this image here...

test.png

Now i got this error:

 

[16:34:18 41] [AdKats] ERROR: Error while sending email: System.Net.Mail.SmtpException: The operation has timed out.

at System.Net.Mail.SmtpClient.Send(MailMessage message)

at PRoConEvents.AdKats.EmailHandler.EmailWrite(String subject, String body)

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

Originally Posted by lordicon*:

 

Now i got this error:

 

[16:34:18 41] [AdKats] ERROR: Error while sending email: System.Net.Mail.SmtpException: The operation has timed out.

at System.Net.Mail.SmtpClient.Send(MailMessage message)

at PRoConEvents.AdKats.EmailHandler.EmailWrite(String subject, String body)

Well now you are right where I am if you notice my past posts I am getting that same type of error.. I guess its not me then lol
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by L1ndsayLohan*:

 

Well now you are right where I am if you notice my past posts I am getting that same type of error.. I guess its not me then lol

Oh yea, that's right. Well I appreciate your help :smile: Hope someone will solve this problem.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by LumPenPacK*:

 

Thanks for the last update.

 

Something seems to be broken with the admin accounts now. Some users don't have admin rights anymore although they're in the admin list.

 

[22:21:11] AdKats > Say > CaptAlbern > Your user role Default Guest does not have access to Admin Say.

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

Originally Posted by Disturbed11B*:

 

Thanks for the last update.

 

Something seems to be broken with the admin accounts now. Some users don't have admin rights anymore although they're in the admin list.

 

 

 

admin.JPG

Its not broken, you need to assign them full admin.... Look for the drop down right where it says Default Guest on User Role.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by ixnorp*:

 

yea i know, the idletimeout ban is supposed to ban the player by name.

 

so when i disable ban enforcer, adkats exports all the bans out from database.

 

it shows idletimeout ban as

 

ban by

 

EAGUID in GUID column

 

GUID in type column

 

permanent ban in remaining column

 

idletimeout ban in reason column

 

on procon banlist

 

 

should i set both ban by name and ban by guid in ban enforcer settings to true?

 

To avoid having idletimeout ban as guid permanently?

 

btw HSK,DPS auto ban will register on my banlist if i set ban enforcer off right?

 

 

edited.

 

i just got this error.

 

22:01:07 78] [AdKats] ERROR: Source player not found in server for in-game command, unable to complete command.

 

and adkats wasn't able to process the in-game commands.

 

whenever i type @killme !say soemthing, procon crashes.

do any have the same problem as me

 

22:01:07 78] [AdKats] ERROR: Source player not found in server for in-game command, unable to complete command

 

even if the user,soldier,role is all correct. adkats couldn't execute the in game command

 

 

Sent from my iPhone using Tapatalk

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

Originally Posted by lordicon*:

 

I have had no problems adding new roles or users I only have problems with the email feature.

If you are making a new role do not make it the Admins name make it something like "Limited Admin".

Make sure you add the User which is the Admins you want to have access. I don't think it has to be his in game name but it also does not hurt to make it the in game name.

Make sure you add the Admins in game name to his own Soldier input, Make sure the name is EXACTLY like his in game. Uppercase lowercase numbers try not to have any typos.

 

I do not use the Default Role I created new roles for each tier of Admins I have, Then assigned the commands I wanted each role to have. Works like a charm in my opinion..

 

Like I said I only have issues with the Email Feature.

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

Originally Posted by ColColonCleaner*:

 

I have had no problems adding new roles or users I only have problems with the email feature.

If you are making a new role do not make it the Admins name make it something like "Limited Admin".

Make sure you add the User which is the Admins you want to have access. I don't think it has to be his in game name but it also does not hurt to make it the in game name.

Make sure you add the Admins in game name to his own Soldier input, Make sure the name is EXACTLY like his in game. Uppercase lowercase numbers try not to have any typos.

 

I do not use the Default Role I created new roles for each tier of Admins I have, Then assigned the commands I wanted each role to have. Works like a charm in my opinion..

 

Like I said I only have issues with the Email Feature.

Oh my god so many things to reply to. I'll start from front to back...

 

Yes, how things are working with the admin system is exactly how they should operate. Create user, create role, assign role commands, assign role to user.

 

For the email system, did you change the sender information? I had the same issue you did, until i found out it was an issue with port numbers. If you are using gmail or similar you cannot use port 465, it's not allowed. Try using port 587 instead.

Link to comment
  • Plugin Developer

Originally Posted by ColColonCleaner*:

 

think it has to do with table adkats_usersoldiers

 

I did a manual add to the adkats_usersoldiers and that fixed the admin user I added to adkats_usersoldiers

Please run this on your database and tell me what it says:

 

SELECT @@sql_mode;

 

On my databases it responds with:

 

STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE? SUBSTITUTION

 

The most important of these is strict transaction mode. If your database is not in strict mode, it won't throw errors, so AdKats thinks things are working properly when they aren't.

Link to comment
  • Plugin Developer

Originally Posted by ColColonCleaner*:

 

Same for me, my admin is full and he can kick etc in game, but it still says he doesn't have sufficient rights as a default user blah blah blah

So you are saying the command still goes through, but it also tells them they don't have access? You have two instances of AdKats running on your server if that is the case.
Link to comment
  • Plugin Developer

Originally Posted by ColColonCleaner*:

 

do any have the same problem as me

 

22:01:07 78] [AdKats] ERROR: Source player not found in server for in-game command, unable to complete command

 

even if the user,soldier,role is all correct. adkats couldn't execute the in game command

 

 

Sent from my iPhone using Tapatalk

Hmmmm....that error means it can't find your soldier information in the server list of players when you are issuing commands. Are you trying to issue a command immediately after you start AdKats, like a few seconds after you start it? It can take 15-20 seconds for all players in the server to be listed, database processed, stats fetched (if you enabled that), and made accessible. Otherwise i'm not sure where that would be coming from. I have not seen that error message since i added that code months ago.
Link to comment

Originally Posted by 101st-chicago*:

 

Please run this on your database and tell me what it says:

 

SELECT @@sql_mode;

 

On my databases it responds with:

 

STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE? SUBSTITUTION

 

The most important of these is strict transaction mode. If your database is not in strict mode, it won't throw errors, so AdKats thinks things are working properly when they aren't.

I don't get any results..

 

:sad:

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

Originally Posted by lordicon*:

 

Oh my god so many things to reply to. I'll start from front to back...

 

Yes, how things are working with the admin system is exactly how they should operate. Create user, create role, assign role commands, assign role to user.

 

For the email system, did you change the sender information? I had the same issue you did, until i found out it was an issue with port numbers. If you are using gmail or similar you cannot use port 465, it's not allowed. Try using port 587 instead.

For the Mail system I am using my own mail host and port 50, I have been using it fine on the Procon Email Notifier its just with yours that it does this. I have the host name correct as well as the login and password. The Login name for my mail server is the same as the sender email. I looked at your default mail settings and mine are pretty much the same way just different information of course. I tried to use your default gmail ssl that you left in the system as a test and it gave the same error as with my own.

 

Just had a brain fart. With my Mail Host Authentication is required for IMAP, POP3, and SMTP. Could that be the issue? Do you have it set up for Authentication?

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

Originally Posted by ColColonCleaner*:

 

For the Mail system I am using my own mail host and port 50, I have been using it fine on the Procon Email Notifier its just with yours that it does this. I have the host name correct as well as the login and password. The Login name for my mail server is the same as the sender email. I looked at your default mail settings and mine are pretty much the same way just different information of course. I tried to use your default gmail ssl that you left in the system as a test and it gave the same error as with my own.

 

Just had a brain fart. With my Mail Host Authentication is required for IMAP, POP3, and SMTP. Could that be the issue? Do you have it set up for Authentication?

Hmm, i use the same system as that plugin. I'll compare and get back to you. In the meantime i would suggest using that plugin and disabling email handling and the report commands in AdKats until i find out why. I'm on vacation with family right now so my time here is very limited.
Link to comment

Originally Posted by ixnorp*:

 

Hmmmm....that error means it can't find your soldier information in the server list of players when you are issuing commands. Are you trying to issue a command immediately after you start AdKats, like a few seconds after you start it? It can take 15-20 seconds for all players in the server to be listed, database processed, stats fetched (if you enabled that), and made accessible. Otherwise i'm not sure where that would be coming from. I have not seen that error message since i added that code months ago.

sorry, my bad. you are right. i typed the in game commands too fast after starting up adkats.

 

btw does the nuke function work if i set my team factions to CN and RU in my server start up text? i tested with a few people in my server, and it didn't work with !nuke us/ru/all all 3.

 

enjoy your holiday 1st and merry xmas

* 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.