xREDIRECT v2.0 RC2
i have just released the first release candidate of v2.0. after v1.0 this is one of the biggest releases, introducing 983 new lines of code increasing the source file size from 112,673 to 156,780 bytes.
the main changes being
Release Candidate means that this is in beta state, so don't use it if you need a perfectly stable environment. currently documentation on the new features is a bit sparse, i will try to change that within the next days and weeks. but i am always here to answer your questions :wink: Activating SQL and/or statistics: to enable SQL, statistics or both you have to find these lines in the source code: Code:
SQL ON and STATISTICS OFF: the server list will be loaded from the database. no statistics are being written anywhere. SQL ON and STATISTICS ON: the server list will be loaded from the database. statistics are written to an SQL table. SQL OFF and STATISTICS ON: the server list will be loaded from the serverlist.ini file. statistics are written to both a vault and the file xredirect-actions.csv in AMXX logs folder. the vault will hold summary data (like the number of manual redirects, automatic redirects etc.). the data in the vault can be queried by using the new redirect_stats command. the CSV file will hold all actions done by xREDIRECT with detailed data (timestamp, name of player redirected, user ID, IP address...). SQL OFF and STATISTICS OFF: the server list will be loaded from the serverlist.ini file. no statistics are being written anywhere. SQL prerequisites You need to configure AMXX (in /config/sql.cfg) with your SQL credentials and run the script in xredirect.sql.txt on the DB you want to use with AMXX. it will create the tables that will be used by xREDIRECT. currently there is no template or web script to help you managing these tables, so it is recommended to use a generic tool like PHPMyAdmin to fill the tables. i would be very glad if you want to write a frontend to manage these tables (and also show statistics from the statistics table) for the community. please post it here so we can offer it along with xREDIRECT! |
Re: xREDIRECT v2.0 RC1
<3....
|
Re: xREDIRECT v2.0 RC1
Nice one james.
|
Re: xREDIRECT v2.0 RC1
If I have SQL not defined, how can I make categories? In serverlist.ini?
You haven't mention about it. eg. ..? Code:
[my example server] I guess it will be better if the plugin will have some other SQL cvar's, rather than standard in sql.cfg, because many plugins use these cvars (sometimes not everything can be in one database). |
Re: xREDIRECT v2.0 RC1
Quote:
Code:
[my example server] Quote:
|
Re: xREDIRECT v2.0 RC1
Hi, i have some problems testing beta version.
PHP Code:
To sql added 3 servers. |
Re: xREDIRECT v2.0 RC1
i see, that's actually a design problem by me. i will try to come up with a fix very soon (working on it right now). it will probably involve updating the xredirect_statistics table by adding a new column to it.
thanks for your report. |
Re: xREDIRECT v2.0 RC1
here's my first attempt to fix that problem. as i said you need to add a column to your xredirect_statistics table, you can do that by executing the following line on your database:
Code:
ALTER TABLE `xredirect_statistics` ADD `target_server_id` INT( 11 ) NULL ; |
Re: xREDIRECT v2.0 RC1
This version writes statistics to database, but only few playeras are redirected and i have only few records in DB.
I set redirect_auto to 6, but still have only few redirects, i tried to connect to server myself with and without admin privileges, first time after map change it redirects, when i chage nick and try again, and it doesnt redirect. When compiling plugin i also get folowing warning: PHP Code:
PHP Code:
|
Re: xREDIRECT v2.0 RC1
Quote:
Quote:
Quote:
it doesn't matter that, as an exception, it does work with no-steam stuff (dproto), because we don't support no-steam, and given what i see here tells me your servers are no-steam. that you don't want to reveal your IP addresses supports this suspicion. run them all with the latest official updates without illegal mods and everything will be fine... |
All times are GMT -4. The time now is 02:20. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.