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 Mavy*:

 

He got it sorted, the issue was for some reason the IP procon was using was not the same one listed on his gameservers.com panel (why would that be?). So basically he whitelisted the wrong IP until stat logger told him the right one.

The host running his layer probably has multiple Interfaces/IP addresses assigned to it. And its using only one of them for outgoing traffic.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by www-battleplay4u-com*:

 

Hi,

 

for several reason i installed our databases completly new.

 

Now i just noticed that the records and banlist table is empty.

Username, password...ip everythink is fine....just no entrys in the table.

 

Any ideas whats going wrong?

 

Statslogger is writing datas into the db

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

Originally Posted by ColColonCleaner*:

 

Hi,

 

for several reason i installed our databases completly new.

 

Now i just noticed that the records and banlist table is empty.

Username, password...ip everythink is fine....just no entrys in the table.

 

Any ideas whats going wrong?

 

Statslogger is writing datas into the db

Nothing is going wrong on AdKats' end, if you re-installed mysql on your machine then yes all tables will be empty. Are you saying that you deleted the old database with all of your bans in it? Because if so then there is no way to retrieve your bans, they have been lost.

 

There are only 2 ways to get them back, if you have a backup of your banlist.txt files somewhere, or if you can get the old database running again and connect a layer to it.

Link to comment

Originally Posted by www-battleplay4u-com*:

 

Nothing is going wrong on AdKats' end, if you re-installed mysql on your machine then yes all tables will be empty. Are you saying that you deleted the old database with all of your bans in it? Because if so then there is no way to retrieve your bans, they have been lost.

 

There are only 2 ways to get them back, if you have a backup of your banlist.txt files somewhere, or if you can get the old database running again and connect a layer to it.

sry perhaps i didnt explained it well enough

 

i have a no explosive server.....there are a lot of ppl get kicked and timebanned, also punished...but no data will be written in the records, banlist, playername...only access list is not empty

 

everythink is set up correct...i guess, so i dont know what to do

 

adkats.png

 

update:

non of our databases get filled ... statslogger works (with same login datas) but adkats does not

 

adkats2.png

---------------------------------

adkats3.png

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

Originally Posted by ColColonCleaner*:

 

sry perhaps i didnt explained it well enough

 

i have a no explosive server.....there are a lot of ppl get kicked and timebanned, also punished...but no data will be written in the records, banlist, playername...only access list is not empty

 

everythink is set up correct...i guess, so i dont know what to do

 

adkats.png

 

update:

non of our databases get filled ... statslogger works (with same login datas) but adkats does not

 

adkats2.png

---------------------------------

adkats3.png

So if you @punish someone in-game, the record of that punish is not sent to the database but the command still goes through? Sounds like you have AdKats set to use the wrong database. Confirm your "Database Name" is correct.
Link to comment
  • Plugin Developer

Originally Posted by ColColonCleaner*:

 

i can confirm that....

database is correct....otherwise statslogger wouldnt be able to connect

and

adkats wouldnt be able to fetch database infos cause there are only these databases

AdKats would be spitting errors out if it was unable to connect to the database for record posting. Since it isn't that means it is successfully writing the record somewhere. Your username and password might be the same, but your database name might still be the old one for AdKats, the old database still has the server IP in it, so it would work. That is the only thing i can think of being wrong, otherwise i would need to see your screen to fix the problem.
Link to comment
  • Plugin Developer

Originally Posted by ColColonCleaner*:

 

This new user system is a much bigger development than anticipated, 4.0 release will now be this latest version with new user system. It's a lot of work but it should make things much easier to manage, and will be much more flexible. It requires at least another thousand+ lines changed, so it warrants a major release.

 

All tables have basically been redrawn from scratch, and all updated to reflect the new system. It will work with webadmin much better than before with editable user groups.

Link to comment

Originally Posted by Moli87*:

 

Hi COL

 

Thanks for your great work again. :ohmy: Its working like a charm. One admin reported that when he want to kick a player with the command the server crashed immediately. But i will test this in the next days and let you know...i think it was still a normal game crash!

 

I hear something that we now can use a command to set the squad leader of a squad.... Can you implement for the next update such a command to set the squad leader? I would like this, because sometimes the squad leader make nothing and it gives no extra Points for the whole squad! Would be nice... :ohmy:

 

Thanks and Greez

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

Originally Posted by ColColonCleaner*:

 

Hi COL

 

Thanks for your great work again. :ohmy: Its working like a charm. One admin reported that when he want to kick a player with the command the server crashed immediately. But i will test this in the next days and let you know...i think it was still a normal game crash!

 

I hear something that we now can use a command to set the squad leader of a squad.... Can you implement for the next update such a command to set the squad leader? I would like this, because sometimes the squad leader make nothing and it gives no extra Points for the whole squad! Would be nice... :ohmy:

 

Thanks and Greez

The commands do not affect server crash, it was just a coincidence. Also, i do not know of such a command for squad leader, but i will look it up. Do you know where you heard of this? A link perhaps?
Link to comment

Originally Posted by Moli87*:

 

I read it here on the thread from Multibalancer...a user write it to let know the developer about this new command :ohmy: but he dont write the command :sad:....

 

First Post...you can read it in the Quote:

 

myrcon.net/...multibalancer-30-mar-2015-bfhl#entry34773

 

edit: Im sorry i think he write the command:

 

Squad squad.leader Get/Set the leader of a squad

squad.listActive Get all squads that have players in them on a specific team

squad.listPlayers Get player count and names of soldiers in a specific squad

squad.private Get/Set whether a squad is private or not

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

Originally Posted by ColColonCleaner*:

 

I read it here on the thread from Multibalancer...a user write it to let know the developer about this new command :ohmy: but he dont write the command :sad:....

 

First Post...you can read it in the Quote:

 

myrcon.net/...multibalancer-30-mar-2015-bfhl#entry34773

 

edit: Im sorry i think he write the command:

 

Squad squad.leader Get/Set the leader of a squad

squad.listActive Get all squads that have players in them on a specific team

squad.listPlayers Get player count and names of soldiers in a specific squad

squad.private Get/Set whether a squad is private or not

Since that command has a "teamid" parameter it means the game will kill the player when you set their squad leader status, and i'm assuming you don't want it to do that.
Link to comment

Originally Posted by Moli87*:

 

Since that command has a "teamid" parameter it means the game will kill the player when you set their squad leader status, and i'm assuming you don't want it to do that.

No sure i not want to kill the player but for example....my friend is squad leader and he dont act like it. So i want to set me as the squad leader and im already dead. So when i set me to the squad leader it wont kill him i think.

 

but easy i can use the command in the console, because i dont need it so often.

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

Originally Posted by Moli87*:

 

I tried the command now on my server i moved into alpha squad on US army at this time TeamID 1 evreyone in the squad was alive and the squad leader too.

 

squad.leader 1 1 Playername

response ok

 

nobody died and i was the squad leader. Easy i think people not need this soo much so you not need to implement it just for me :ohmy:

I can use the command in the console and thats enough for me. Anyway thank you.

 

Greez

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

Originally Posted by ColColonCleaner*:

 

I tried the command now on my server i moved into alpha squad on US army at this time TeamID 1 evreyone in the squad was alive and the squad leader too.

 

squad.leader 1 1 Playername

response ok

 

nobody died and i was the squad leader. Easy i think people not need this soo much so you not need to implement it just for me :ohmy:

I can use the command in the console and thats enough for me. Anyway thank you.

 

Greez

I'll put it on the back burner then. I'll set it up so the command gives you squad leader of the current squad you are in.
Link to comment

Originally Posted by Moli87*:

 

I'll put it on the back burner then. I'll set it up so the command gives you squad leader of the current squad you are in.

Ok sounds good. So the admins can use it too and nobody die through that command. :ohmy: Thx
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Crude*:

 

Sorry to bother you all but I have been trying to get this working for a couple of hours.

I can't get past

[AdKats] SUCCESS: Server IP is 208.146.44.171:47200!

[AdKats] ERROR: Database connection FAILED with EXCEPTION. Bad credentials, invalid hostname, or invalid port.

From what I can gather it looks to be the port but the ones I have put in don't do the trick and I can't find any port info for the host that I'm using. "gameserver"

 

My procon layers are hosted at gameserver, I set up the free site they provide to host the sql data base for this plugin and My Servers are hosted at NFO.

I didn't think this would cause any issues but it may so I'm including it.

Any ideas on what I should try would be great, thanks.

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

Originally Posted by PHX_Big_Deal*:

 

I will add options for that just like stat logger has.

Hi

XpKiller released a new version "BF4 PRoCon Chat, GUID, Stats and Mapstats Logger[1.0.0.2]". Did he include now the Player ID in Chat log? Will you in future release anyway run chat logging? I ask , because i want restart with new database and your chat logging is not needed.

 

Thx

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

Originally Posted by ColColonCleaner*:

 

Ok so is there a way to have anyone in the server just be able to punish and forgive?

Do you mean for teamkilling in hardcore mode? The punish and forgive system in this plugin is meant for admins only. I would suggest using another plugin like insane limits or proconrulz for that, at least until i get a system for teamkilling up and running in AdKats.
Link to comment
  • Plugin Developer

Originally Posted by ColColonCleaner*:

 

Hi

XpKiller released a new version "BF4 PRoCon Chat, GUID, Stats and Mapstats Logger[1.0.0.2]". Did he include now the Player ID in Chat log? Will you in future release anyway run chat logging? I ask , because i want restart with new database and your chat logging is not needed.

 

Thx

He has not included player ID in his latest version. The latest version of AdKats i am working on does not do chat logging, i found a way to make the database do it automatically so you can use stat logger for the chat logging and I still get my player IDs. That function in AdKats was a crutch until I found a better method.
Link to comment
  • Plugin Developer

Originally Posted by ColColonCleaner*:

 

Sorry to bother you all but I have been trying to get this working for a couple of hours.

I can't get past

[AdKats] SUCCESS: Server IP is 208.146.44.171:47200!

[AdKats] ERROR: Database connection FAILED with EXCEPTION. Bad credentials, invalid hostname, or invalid port.

From what I can gather it looks to be the port but the ones I have put in don't do the trick and I can't find any port info for the host that I'm using. "gameserver"

 

My procon layers are hosted at gameserver, I set up the free site they provide to host the sql data base for this plugin and My Servers are hosted at NFO.

I didn't think this would cause any issues but it may so I'm including it.

Any ideas on what I should try would be great, thanks.

Did you install and run stat logger first per the installation instructions? That plugin intentionally gives much more detailed messages on database errors, while AdKats "prettifies" the message. Check with stat logger and get back to me.
Link to comment

Originally Posted by www-battleplay4u-com*:

 

still have the problem with not writing datas into db...even if i install a total new db....if i punish somebody i get a minus points message which wont be written into db

 

[16:58:52] (PlayerSay OOOps_I_did_it) You KILLED "playername" for being disrespectful [-1pts]

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

Originally Posted by AgentHawk*:

 

I dont know if that a Bug our a user fail :ohmy:

 

But 2 of our 8 Servers are reloading 2-3 per day the Banlist in the Database. So old bans looks like a new Ban.

Like this:

361 3 PermaBan PermaBan NoNameTarget BanEnforcer racism! Tue, 26 Nov 2013 12:05:45 -0600 N

360 3 PermaBan PermaBan NoNameTarget BanEnforcer Hacker Tue, 26 Nov 2013 12:05:42 -0600 N

359 3 PermaBan PermaBan NoNameTarget BanEnforcer Hacker 97-1 in 4min!!! Tue, 26 Nov 2013 12:05:40 -0600 N

358 3 PermaBan PermaBan NoNameTarget BanEnforcer Hacker! Recorded Tue, 26 Nov 2013 12:05:37 -0600 N

357 3 PermaBan PermaBan NoNameTarget BanEnforcer Wall Hack! Recorded!

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

Originally Posted by ColColonCleaner*:

 

I dont know if that a Bug our a user fail :ohmy:

 

But 2 of our 8 Servers are reloading 2-3 per day the Banlist in the Database. So old bans looks like a new Ban.

Like this:

Those are "BanEnforcer" bans, which means they are loaded in from your server banlist.txt file, and the times are just after midnight which leads me to believe this happens right after your daily layer restart.

 

When a ban from procon is issued, that banlist.txt file gets an entry added, when AdKats ban enforcer sees that it grabs every entry in the file then erases them from the file, leaving it blank. Every time your layer does its nightly restart something on your provider's end is replacing the banlist.txt file with either an older version or a non-updated one, causing AdKats to see X "new" bans and act on them. I would suggest going into your server FTP (not layer FTP), open the banlist.txt file, delete everything inside, then save it.

 

If the problem continues, talk with your layer provider.

Link to comment
  • Plugin Developer

Originally Posted by ColColonCleaner*:

 

TESTING NEEDED!

 

The below sql setup script is a section from the beta version for AdKats 4.0, and there is only one reason i am posting it early. I want to make sure those users with hosted databases are able to create procedures using their provided permissions. Those of you running local databases, or those with a dedicated server/VPS will not have an issue since you have superuser access. However, for those running hosted databases i need to know if you have permission issues.

 

This script can be run safely on any database currently running AdKats 3.7+, please run if you are using a hosted database, and let me know if it succeeds without issue: https://raw.github.com/ColColonClean...siontester.sql

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.

×
×
  • 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.