Hello guys,
This post will resume all question you can have about eBot. I'll add some questions when I receive them.
Demos aren't uploaded on my server
To have this feature enabled and working, you need to run your game server under Linux. The reason is simple, the CSay plugin have the "upload" library only on Linux. I plan to update the Windows plugin with it soon.
If the demo aren't uploaded, check if the default eBot port can be reached.
You can check too your game server logs and search if you find that command: csay_tv_demo_push
What kind of network setup I can do with eBot?
eBot have a strict configuration for the network setup. If you want to run eBot on your computer with an online server, it won't works. The perfect answer is: eBot must run on the same network than your game server. If eBot is in LAN, your game server must be in lan too. In some configuration it can works with online eBot and local server.
What's the perfect environnement for eBot
For me, Debian 7. It's simple and quick to install.
I won't recommend a Virtual Server because the UDP stack isn't well managed on them.
Can eBot run on Windows
Yes, it can run, but I won't advice it. eBot need a compiled version of PHP for pthreads, and I recommend you to use a Linux server.
What version of PHP is recommended
eBot must run with at least PHP 5.3. It's recommended to use PHP 5.5 or PHP 5.6. PHP 7 can't be used on eBot for now due to the pthreads extension major changes on PHP 7. It will be only compatible with PHP 7 for the next version (for the daemon).
eBot seems to be slow and I'm seeing X in queue
There can be many reason to that issue, the main is coming from the SQL server. Sometimes, the hardware and software aren't well configured. By default, MySQL will write after each operation to the journal, and as eBot is doing a lot of update/insert/delete, the log is constantly used and can really slow down eBot.
There is a simple configuration to add in your MySQL server config.
innodb_flush_log_at_trx_commit
I won't recommend a value because it depend on your hardware. Check the documentation on MySQL website to see what's the best value.
PDO Connection Error: SQLSTATE[HY000] [2002] No such file or directory during install
Sometimes and somehow, the "localhost" isn't resolved properly to 127.0.0.1. Try to put 127.0.0.1 in your config/databases.yml and retry the command.