Something went wrong while trying to load the full version of this site. Try hard-refreshing this page to fix the error.

Frequently Asked Questions about eBot

deStrO

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.

yahoo_1999

Oniz

yahoo_1999 Yes sure!
On the server when the ebot say "type !ready when your team is ready" i do this but the game doesn't start. Nothing happen.
Sorry for my bad English.

yahoo_1999

Oniz So all eBot messages are colored? They're not just white? I know this is dumb question but people sometimes forget to unzip csay.zip.
If it's installed correctly maybe there's wrong eBot IP in ebot config so the logs are not recovered by it.
Is your server behind a NAT by any chance?

Oniz

Sorry to answer just now.
Yes there are colors on the controls but nothing happens.
I have extracted the files and I think I put the right IP server on the ebot.
I really do not understand why it does not work.
How do I know if there is a NAT?
Thank you for the time you take me to answer

yahoo_1999

Oniz the easiest way to check if IPs are correctly would be starting new match via ebot and checking

logaddress_list

on game server. Just type it via rcon or directly to the console,

Your server is behind a NAT when it's not directly bound to public IP address, in pratice - when server IP != public IP (in case the game server is outside ebot's local network of course, if it's in local environment then it's not NAT's fault). If that's the case you have to set internal IP in eBot-csgo config.

Oniz

yahoo_1999 Thank you, i try to check this after my work and give you info.

Oniz

Without any reason I wanted to start a game to see and now it works! but I have no idea why but it works now.
Thank you for all