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... |
xREDIRECT v2.0 RC2
i just released xREDIRECT v2.0 RC2.
the changes are as follows: - fixed a bug where statistics for auto-redirects were not written to the SQL database - changed statistics to write target AND source server (before: only target server) to SQL database or statistics file - increased error tolerance when mod or protocol for any server weren't detected correctly - fixed error message that occured when using SQL with more servers in the database table than MAX_SERVERFORWARDS indicated warning: if you have used v2.0 RC1 with SQL before, you have to run this SQL command on your database, before using any newer versions: Code:
ALTER TABLE `xredirect_statistics` ADD `target_server_id` INT( 11 ) NULL ; |
Re: xREDIRECT v2.0 RC2
Maybe its because im using cs beta release? And yes i use dproto, but it doesnt mean my servers are illegal. Purpose of using dproto is to defend from cs exploits.
|
Re: xREDIRECT v2.0 RC2
this doesn't have to do anything with beta, if beta would change the protocol, which it doesn't (afaik), we would see protocol 49 or something higher here.
also i didn't say that no-steam is illegal, did i? whether no-steam is legal or not depends on the country you live in and/or run your servers in, in some countries even steam is illegal, here is a good explanation. the reason for me not to support it, however, doesn't have anything to do with whether it's legal or not. it is rather along the lines of what bail said here, mostly: a)"No-Steam" uses outdated engine binaries. If Valve doesn't support them, how can I support them? b)"No-Steam" uses outdated CS binaries. This means that internal data can be different, and that means I'd have to support every iteration of CS into the past. The amount of CS internals CSDM relies on is heavy, and this would be a huge amount of work and your case is a good example. i have programmed a check so that xREDIRECT detects differences in protocol or mod. so it is "smarter", because it can detect by itself when redirecting to a server wouldn't work, as the target server is running an incompatible version. now your non-steam stuff breaks this feature, because apparently it randomly reports to be protocol 47 or 48. to change that i would now have to include extra code only for this specific 47/48 check and allow redirection between 47 and 48. i am not as aggressive about this topic as many others here, it's just that i won't ever do extra work only to support that stuff. that said, you are a nice guy with quite some technical knowledge, helping me to find errors that also steam users can benefit from. so i will be as kind as telling you something that no-steam users would find out at some point anyway. it can still help you with your problem and doesn't cost me extra effort, because it is already in the code for other reasons: during 1.1 RC i noticed that the mod detection sometimes didn't work correctly, even with steam servers. to make sure even those people with this problem can run xREDIRECT, i now implemented the possibility to disable mod detection. find the line "#define MOD_DETECTION true" and change it to "#define MOD_DETECTION false" and recompile the plug-in. |
Re: xREDIRECT v2.0 RC2
Now it works perfectly :)
Thanks. |
Re: xREDIRECT v2.0 RC2
Adding a back button on Page #2,#3... etc, and cancel button only on page #1 would be great!
|
Re: xREDIRECT v2.0 RC2
Quote:
Code:
the comment says it all :wink: |
Re: xREDIRECT v2.0 RC2
Well it does, but there's no one to read it :D Thanks.
|
Re: xREDIRECT v2.0 RC2
Code:
|
Re: xREDIRECT v2.0 RC2
it's a good idea but i can't make any promises, real life is keeping me too busy for any bigger plans right now :|
|
Re: xREDIRECT v2.0 RC2
Thx :D
|
Re: xREDIRECT v2.0 RC2
1 Attachment(s)
Hello,
is there any chance that someone could modify the plugin so that the users that have immunity won't see the advertising messages about the servers available for redirect (messages that appear when the user is dead). I think that the admins/moderators already know all about the servers from their community and the messages are a bit annoying especially when an admin is trying to track a possible cheater. |
Re: xREDIRECT v2.0 RC2
1 Attachment(s)
Quote:
|
Re: xREDIRECT v2.0 RC2
hey nice plugin :D
but i do have a question :O, can i set this up so i can have a cs1.6 and cscz servers in the /server list so it would look like this i type /server 1. cscz dust2 server 2. cscz public server 3. cs1.6 public server thanks |
Re: xREDIRECT v2.0 RC2
Simply set that name like you want, but you cannot redirect yourself to a different game.
|
Re: xREDIRECT v2.0 RC2
Quote:
im sorry but so that i no (just to be clear ;)) are you sayin it will work but i have to connet myself to that game ? |
Re: xREDIRECT v2.0 RC2
You cannot redirect you to a different game, it's impossible. Simply because you cannot connect with CS 1.6 to a CS:CZ server and vise versa. All you can do with xredirect in that case is annoncing that you have servers on other games
|
Re: xREDIRECT v2.0 RC2
oh ok thanks :.(
|
Re: xREDIRECT v2.0 RC2
Dude i cannot see any message like player has been redirected to that server or player bas come from that server to this server via xredirect like that.. but i need that.. wat to do?
|
Re: xREDIRECT v2.0 RC2
you have to download redirect-language.zip and put xredirect.txt into your /data/lang folder.
|
Re: xREDIRECT v2.0 RC2
1 Attachment(s)
Am using it for my Czero server and this is file i have added. But still am not getting any redirectiong msgs :(
|
Re: xREDIRECT v2.0 RC2
hi.....all
Is there any way to disable manual redirect in my primary server. i.e. I want players to be redirected automatically to my other servers only when my primary server is full. The manual shift has to disabled only in my main server. In my other servers manual redirect has to be on, so that ppl can join whenever my main server is free. |
Re: xREDIRECT v2.0 RC2
Plus one more prob, I dono wat went wrong. my server is allowing only 31 players if 32nd player joins he s being redirected to the next server and next server also allowing 31 players and then it shows server full, Is thr any CVAR to change that?
|
Re: xREDIRECT v2.0 RC2
no. This is the only way ohw redirecting can work. Read the first post of the original xredirect thread
|
Re: xREDIRECT v2.0 RC2
Yeah but i have seen in a server in which players get redirected only if the server is full that is 32/32. Need to change anything in sma?
|
Re: xREDIRECT v2.0 RC2
This is impossible. Without a slot someone can join he cannot be redirected. He would simply get the message server is full and sees his console.
Read the FAQ for that. |
Re: xREDIRECT v2.0 RC2
Can anyone help me? I added 8 servers. It should be 2 servers in 9. More yeah? But showing only 6 servers and I cant press 9. How need to do, that will be second page of servers list?
|
Re: xREDIRECT v2.0 RC2
yes, the FAQ can help you :wink:
|
Re: xREDIRECT v2.0 RC2
Yes, thank you very much. It's helped me :)
|
Re: xREDIRECT v2.0 RC2
Hi i am sry if the Q is lame but how can i make my servers (all of them) to be loaded from SQL ? (the serverlist...)
|
Re: xREDIRECT v2.0 RC2
1) this is no support thread, start a new thread if you have problems using xredirect and you couldn't find a sollution in another thread, but
2) non-steam is not supported here, so forget about creating a new thread, you won't get help here |
All times are GMT -4. The time now is 01:51. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.