Jump to content

Battlefield Admin Control Panel - BFACP


Message added by Prophet731,

Version 2.3.0 and 3.0 will only be offered as a SaaS solution. Please redirect all discussions regarding these versions to EZSCALE's discord channel. 

https://discord.com/channels/905179054527905823/1043276850694201375/1043276850694201375

Recommended Posts

Originally Posted by Prophet731*:

 

Alright. Now I've first deleted all bfacp tables in the mySQL db and then imported the setup.sql file.

So now I've tried to login with admin and password and it says:

" Fatal System Error!

 

This cache store does not support tagging."

 

Did I miss something? o.O

No the cache error is caused by using a file system cache vs memory cache. It's an easy fix if you have command line access to your server and can install applications. If you are running ubuntu you can run these commands to install the memcached components.

 

Code:

sudo apt-get install php5-memcached memcached
That should install it on your system. You may need to enable the extension in the php.ini file if it's not already.

 

Then in the .env file add this line to it.

 

Code:

CACHE_DRIVER=memcached
That should fix the problem. Make sure the memcached service is running to if you get a token mismatch error.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by sixpax12*:

 

updated memcache module on the server

 

ran a phpinfo file to ensure memcache was installed

 

added line to .env file: CACHE_DRIVER=memcache

 

resulted in this:

 

Fatal System Error!

 

Cache store [memcache] is not defined.

 

 

Here is the error from the log files. Seems like it is coded to use memcached in your dev2.1 files perhaps on account you are developing on 7.0 ? on my server i am running php 5.6 so can only run memcache, not memcached

 

Code:

[Tue Dec 05 15:19:25.021089 2017] [cgi:error] [pid 3794] [client 166.137.240.89:43300] AH01215: PHP Fatal error:  Class 'Memcached' not found in /home/XXXX/info.XXXX.org/vendor/laravel/framework/src/Illuminate/Cache/MemcachedConnector.php on line 51: /usr/local/cpanel/cgi-sys/ea-php56
[Tue Dec 05 04:11:21.328171 2017] [cgi:error] [pid 23305] [client 67.44.209.128:49117] AH01215: PHP Fatal error:  Class 'Memcached' not found in /home/XXXX/info.XXXX.org/vendor/laravel/framework/src/Illuminate/Cache/MemcachedConnector.php on line 51: /usr/local/cpanel/cgi-sys/ea-php56
[Tue Dec 05 04:11:08.238552 2017] [cgi:error] [pid 23077] [client 67.44.209.128:48969] AH01215: PHP Fatal error:  Class 'Memcached' not found in /home/XXXX/info.XXXX.org/vendor/laravel/framework/src/Illuminate/Cache/MemcachedConnector.php on line 51: /usr/local/cpanel/cgi-sys/ea-php56
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by klait68*:

 

Posting here:

 

We still have the problem that bans via bf4admincp took a while till they work - mostly a ban is working when the round is over. Via Procon the ban will be at once, also player cant rejoin server then. Via dashboard bf4admincp the ban is shown in the database, but player still can join server.

 

Could it be that the database with 900000 entries and 11 servers connected is too big ?

4500 bans at moment.

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

Originally Posted by ColColonCleaner*:

 

Posting here:

 

We still have the problem that bans via bf4admincp took a while till they work - mostly a ban is working when the round is over. Via Procon the ban will be at once, also player cant rejoin server then. Via dashboard bf4admincp the ban is shown in the database, but player still can join server.

 

Could it be that the database with 900000 entries and 11 servers connected is too big ?

4500 bans at moment.

Prophet might be able to answer more, but the size of your database is not the issue. We had 40,000+ active bans with millions of admin records and the most servers i've seen run with AdKats is 16 on the same DB.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by SmackDown*:

 

Prophet might be able to answer more, but the size of your database is not the issue. We had 40,000+ active bans with millions of admin records and the most servers i've seen run with AdKats is 16 on the same DB.

By chance are you running more than one server on a layer server. I had the issue when I was trying to run two servers per each layer server. It would cause delays in command inputs on bans as well. Just wondering...
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by ColColonCleaner*:

 

By chance are you running more than one server on a layer server. I had the issue when I was trying to run two servers per each layer server. It would cause delays in command inputs on bans as well. Just wondering...

He didn't mention a problem with AdKats performance, more-so with the BFACP not processing bans quickly. But yes, i would hope he is not running multiple instances of AdKats on the same procon layer.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by sixpax12*:

 

He didn't mention a problem with AdKats performance, more-so with the BFACP not processing bans quickly. But yes, i would hope he is not running multiple instances of AdKats on the same procon layer.

This part still confused me. Our host ( Gameservers ) has indicated our layer server is individual layer per server ... so if we have a 6 instance ( 6 different ports ) running then they are 6 individual ...

 

I keep wondering if it is really 6 individual, or is it 6 servers and instances of Adkats running on one IP ...

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

Originally Posted by sixpax12*:

 

updated memcache module on the server

 

ran a phpinfo file to ensure memcache was installed

 

added line to .env file: CACHE_DRIVER=memcache

 

resulted in this:

 

Fatal System Error!

 

Cache store [memcache] is not defined.

 

 

Here is the error from the log files. Seems like it is coded to use memcached in your dev2.1 files perhaps on account you are developing on 7.0 ? on my server i am running php 5.6 so can only run memcache, not memcached

 

Code:

[Tue Dec 05 15:19:25.021089 2017] [cgi:error] [pid 3794] [client 166.137.240.89:43300] AH01215: PHP Fatal error:  Class 'Memcached' not found in /home/XXXX/info.XXXX.org/vendor/laravel/framework/src/Illuminate/Cache/MemcachedConnector.php on line 51: /usr/local/cpanel/cgi-sys/ea-php56
[Tue Dec 05 04:11:21.328171 2017] [cgi:error] [pid 23305] [client 67.44.209.128:49117] AH01215: PHP Fatal error:  Class 'Memcached' not found in /home/XXXX/info.XXXX.org/vendor/laravel/framework/src/Illuminate/Cache/MemcachedConnector.php on line 51: /usr/local/cpanel/cgi-sys/ea-php56
[Tue Dec 05 04:11:08.238552 2017] [cgi:error] [pid 23077] [client 67.44.209.128:48969] AH01215: PHP Fatal error:  Class 'Memcached' not found in /home/XXXX/info.XXXX.org/vendor/laravel/framework/src/Illuminate/Cache/MemcachedConnector.php on line 51: /usr/local/cpanel/cgi-sys/ea-php56
I surrender on this. I figured out how to get php 7.0 installed to run on the subdomain I created and was installing memcached can make it almost to the end and looks about done and then fails stating the libmemcached file can't be located.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by klait68*:

 

Some servers have same ip but differant ports.

 

It can happen i ban someone - 2 seconds later message is on the server and it works.

Then i ban 2 minutes later another one on same server - no ban message coming nothing happens. Ban will go after round has finished.

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

Originally Posted by Prophet731*:

 

updated memcache module on the server

 

ran a phpinfo file to ensure memcache was installed

 

added line to .env file: CACHE_DRIVER=memcache

 

resulted in this:

 

Fatal System Error!

 

Cache store [memcache] is not defined.

 

 

Here is the error from the log files. Seems like it is coded to use memcached in your dev2.1 files perhaps on account you are developing on 7.0 ? on my server i am running php 5.6 so can only run memcache, not memcached

 

Code:

[Tue Dec 05 15:19:25.021089 2017] [cgi:error] [pid 3794] [client 166.137.240.89:43300] AH01215: PHP Fatal error:  Class 'Memcached' not found in /home/XXXX/info.XXXX.org/vendor/laravel/framework/src/Illuminate/Cache/MemcachedConnector.php on line 51: /usr/local/cpanel/cgi-sys/ea-php56
[Tue Dec 05 04:11:21.328171 2017] [cgi:error] [pid 23305] [client 67.44.209.128:49117] AH01215: PHP Fatal error:  Class 'Memcached' not found in /home/XXXX/info.XXXX.org/vendor/laravel/framework/src/Illuminate/Cache/MemcachedConnector.php on line 51: /usr/local/cpanel/cgi-sys/ea-php56
[Tue Dec 05 04:11:08.238552 2017] [cgi:error] [pid 23077] [client 67.44.209.128:48969] AH01215: PHP Fatal error:  Class 'Memcached' not found in /home/XXXX/info.XXXX.org/vendor/laravel/framework/src/Illuminate/Cache/MemcachedConnector.php on line 51: /usr/local/cpanel/cgi-sys/ea-php56
Because memcache is a different type of caching class. It's suppose to be memcached though as the driver for it is what it supports. I have today off work so I can see what the problem is over teamviewer if you like. Send me a PM with the teamviewer info. I'll be up for a few more hours at least till 10AM PST.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Prophet731*:

 

Posting here:

 

We still have the problem that bans via bf4admincp took a while till they work - mostly a ban is working when the round is over. Via Procon the ban will be at once, also player cant rejoin server then. Via dashboard bf4admincp the ban is shown in the database, but player still can join server.

 

Could it be that the database with 900000 entries and 11 servers connected is too big ?

4500 bans at moment.

If you ban a player through their profile and not through the live scoreboard then it won't kick them. When I create the bans through the player's profile it's marked as "read" in the database so it doesn't have to have adkats read that just to change it. The size of your database means nothing except for performance here and there.

 

When you ban through the live scoreboard it does two things. First it creates the ban record then it kicks them from the server with the ban reason. If you banned through the profile instead then next time they join or when adkats parses the banlist on player join I think then it will issue the correct action.

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

Originally Posted by klait68*:

 

Some weeks ago you can ban a player through the player profile and it works. People got banned asap and couldnt rejoin. Now sometimes it works and sometimes not. Switching to live scoreboard is not very helpful especially when the player logged or switched to another server of us. I found another admin using adkats now having also this problems.

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

Originally Posted by ColColonCleaner*:

 

Some weeks ago you can ban a player through the player profile and it works. People got banned asap and couldnt rejoin. Now sometimes it works and sometimes not. Switching to live scoreboard is not very helpful especially when the player logged or switched to another server of us. I found another admin using adkats now having also this problems.

It has never worked that way unfortunately. Adding new bans from the player profile will not be enforced until the player re-joins the server or the round ends as I believe AdKats also checks for bans on new round. Banning from the live scoreboard is what will eject the player from your servers immediately. Prophet would need to add some changes to make it work from the profile page, but right now please ban players from the live scoreboard to eject them immediately.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Prophet731*:

 

Some weeks ago you can ban a player through the player profile and it works. People got banned asap and couldnt rejoin. Now sometimes it works and sometimes not. Switching to live scoreboard is not very helpful especially when the player logged or switched to another server of us. I found another admin using adkats now having also this problems.

If they left the server before you can ban them from the live board then just issue the ban on their profile. When they attempt to join to your other server adkats will see the ban for that player and kick them. Remember it's two ways you can ban from the web. One is instant (live board), the other is usually for when they are offline and you need to ban them.

 

It has never worked that way unfortunately. Adding new bans from the player profile will not be enforced until the player re-joins the server or the round ends as I believe AdKats also checks for bans on new round. Banning from the live scoreboard is what will eject the player from your servers immediately. Prophet would need to add some changes to make it work from the profile page, but right now please ban players from the live scoreboard to eject them immediately.

I could just make it have the record read by AdKats but that seems like an extra step to me that the program has to do.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by ColColonCleaner*:

 

I could just make it have the record read by AdKats but that seems like an extra step to me that the program has to do.

The thing is, AdKats is already built to handle it. It's designed to take records from the database and act on them, and it can ban offline players. The only time it wouldn't work is if the plugin was offline, but that would mean there wouldn't be any ban enforcement anyway so neither way would work at that point.

 

Obviously there isn't a reason to make the plugin act on it if the player is already offline, but if they are then it's perfect, just send it to that server and don't manually create the adkats_bans entry. Does the BFACP keep a constant connection to every server or is that only when someone is viewing the live scoreboard? I know you ping the servers for uptime stats but I don't know if that's a full RCON connection or just a ping.

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

Originally Posted by Prophet731*:

 

Does the BFACP keep a constant connection to every server or is that only when someone is viewing the live scoreboard?

Only when someone is viewing the board for that server. It doesn't maintain a connection, I would need to use different software for that.

 

Sent from my ONEPLUS A3000 using Tapatalk

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

Originally Posted by ColColonCleaner*:

 

Only when someone is viewing the board for that server. It doesn't maintain a connection, I would need to use different software for that.

 

Sent from my ONEPLUS A3000 using Tapatalk

Ok, so maybe it would need to use the live scoreboard in DB feature to figure out which server they are currently in, if that's reliable within reason. The data wouldn't need to be perfectly updated to the last second, just check which server ID is associated with the player in that list. I force that setting as enabled if they have the setting feed on. I don't remember if i force the setting feed though, i might with the ban enforcer enabled, it's been so long since i've seen that code.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by keb2*:

 

The problem with BF3 is that they updated the game and added an additional entry to the player response with broke that version. The one I posted should be the fixed version. If not try the solution that Checka posted here. You'll make that change in the BF3Conn file.

So how can I fix the live scoreboard now?

 

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

Originally Posted by keb2*:

 

No errors are being reported by the API. Is it running the latest server version for BF3? It also looks like it can't find your battlelog page either which is odd.

The latest version of the server is used 3065862.What actions should I take?
* Restored post. It could be that the author is no longer active.
Link to comment
  • 3 weeks later...

Originally Posted by PowerBell*:

 

Hello guys,

We just got a BF4 server and we are trying to use ADKats Web Admin but we have no idea how to connect with it.

I mean we dont have any website,domains ect.Do we need to have them_We just want to use the Web Admin panel.I know there is a email system that sends random passwords if we need for a new admin and we want to give him the access to the Admin Web page,but we started from zero and we have no idea how to do it.Do we need to load it on the procon_And if yes,how? :biggrin:Maybe some screenshoot is gonna help us

Thx guys.

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

Originally Posted by leibhold*:

 

Hello guys,

We just got a BF4 server and we are trying to use ADKats Web Admin but we have no idea how to connect with it.

I mean we dont have any website,domains ect.Do we need to have them_We just want to use the Web Admin panel.I know there is a email system that sends random passwords if we need for a new admin and we want to give him the access to the Admin Web page,but we started from zero and we have no idea how to do it.Do we need to load it on the procon_And if yes,how? :biggrin:Maybe some screenshoot is gonna help us

Thx guys.

Have you considered reading the file called readme.md included with the installation?

It has information such as

# Requirements

 

* MySQL Database (5.6+)

* AdKats v6+

* XpKillers Chat, GUID, Stats and Mapstats Logger v1.0.0.2+

* PHP 5.5+

* PHP Mcrypt

* PHP PDO

Once completed upload the entire application to your webserver

If you have any questions or need help setting this up please post it [here](http://www.adkgamers.com/forum/265-adk-web-dev-support/).

I suggest you read that first then ask questions.
* Restored post. It could be that the author is no longer active.
Link to comment
  • 4 weeks later...

Originally Posted by Hodor*:

 

Code:

[autoindex:error] [pid 32547] [client ] AH01276: Cannot serve directory /home/admin/web/admin.site.com/public_html/: No matching DirectoryIndex (index.php,index.html,index.php) found, and server-generated directory index forbidden by Options directive
Code:
ErrorException (E_WARNING)
HELP
file_put_contents(/home/admin/web/admin.site.com/public_html/app/storage/meta/services.json): failed to open stream: Permission denied
Code:
* @param  string  $path
	 * @param  string  $contents
	 * @param  bool  $lock
	 * @return int
	 */
	public function put($path, $contents, $lock = false)
	{
		return file_put_contents($path, $contents, $lock _ LOCK_EX : 0);
	}
Whats wrong? :huh:

 

Trying to install ver. 2.0.3

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