CD Mediator 3.0 Originally by: Rich AMXX 0.16 AMXX 0.20 TP4
3 Attachment(s)
Alright finally with the help of twistedeuphoria and meatwad got this plugin to work with AMXX 0.16 and AMXX 0.20 TP4. Compiled with no errors. Only tested with AMXX 0.16.
Code:
To get the motd download the zip folder otherwise just get the plugin. *UPDATE* 9/7/2004 Thanks to meatwad: Got it to compile with AMXX 0.20 TP4 Fixed grammer in readme file and cd.txt file Added a few more helpful hints in the cd.txt motd file To Do: Make it not hardcoded so it can be approved ;) |
wow I used this in AMX 0.9.8 and have been waiting for somebody to port this over thanks a lot works great by the way.
|
Thank god someone found this. I was looking all over for the source to this plugin, but never found it. I had no idea where I got it from.
EDIT: Do you mind if I spruce up the cd.txt, and compile this for AMXx v.20? EDIT 2: I am done fixing up a bunch of the stuff in the .zip file. I will include the fresh new .zip, with fixed stuff, and the AMXx v.20 compile. EDIT 3: Removed .ZIP at owners request. |
You screwed up the title. This can be used for all mods, not just CS.
|
nice job m4573r I also used this in amx 0.9.8, the only thing wrong with the plugin is you have the filepaths hardcoded. Other than that it is working for AMXX 0.16
|
Ehh whats new in this one?
I have this running in ages on our servers.. :-) Mine is portet for AMX X 0.16, just recompiled the 2.0 version and changed the paths.. Working great.. BUT nice it has been portet for AMXX .20 :-) Cheers Morpheus |
He made it work so that it can use cd.txt in v.16.
|
Well that part is running in our servers... allready ???? And its working fine.... ?
Well ok.. I will try this one out :-) Cheers Morpheus |
Hi all!
I cant see that this plugin is working correctly !? I saw a player who had to high ratio and ect... he got kicked, and entered the server again! My mediator.ini is located in amxx/configs/cdmed/mediator.ini.. Why can the player reconnect without CD? Cheers Morpheus |
Quote:
|
Quote:
if (get_user_time(a) > 120) Be sure to recompile afterwords. I would keep it at 120 cause I tried below that and it caused a lot of lag spikes. But if you want to change it keep it min of 60 |
Quote:
I had to change the file paths, change a few values, Made client say messages say AMXX instead of AMX. This is basically it took about 10 min to do that and then I had to fix a few compile errors which took me a few hours. |
Ok plz tell me something...
The mediator.ini stores the SteamIDs.. right? :-)... The plugins job is to kick the players if their scores gets to high than deaths and ect. After they have been kicked, they cant join the server right? ONLY if they have CD? A player on our server last night got kicked, so its working fine.. But he could reconnect without CD... ? Here is my cvars: amx_cd_saved 1000 amx_cd_ratio 2 amx_cd_limit 10 Could someone plz explain what happends here then? It starts checks a player at 10 kills right? And what next? Cheers Morpheus |
Quote:
|
No u dont understand m8!
As I know of the plugin "ban" the player if he gets to high KD? Right.. It stored the steamID so he CANT connect, only if he joins with CD... Correct? The thing ur talking about is only a time for the plugin to check players if they have CD or not. The plugin should "ban" and then let them in if they only have CD.. Morpheus |
Quote:
|
Hi, I'm having a hard time getting this to work. From as far as I can tell, it's running correctly - it says it's running if I do a amx_plugins call, and the cvars show the correct values. However, it never kicks anyone. After I got it running with a max ratio of 2 and starting at 15 kills, I sat on the server and with a friend of mine racked up 30 kills with 2 deaths and nothing happened. Also, the amx_cd_add command does not work most of the time, either. Please help.
|
First of all what version of amxx are you using?
Second do you have the cdmed folder in the addons/amxx/configs/ folder. If you dont you can get this folder along wit motd by dl'ing the zip folderon my main post. It is important to have this folder in the write spot otherwise the .ini file that stored steamid's will not be created hence the reason why it won't work |
Quote:
|
To 3xF:
I'm using amxx 0.16... figured I'd wait until all the bugs are worked out before going to 0.20. :wink: Anyway, what you mentioned about the folder sounds like it could be it. I'm at work right now (working hard as you can see), but I'll get that fixed once I get home and let ya know if that worked or not. Thanks! |
OK, well, I've made sure the folder is in the right place, and I can now use the amx_cd_add command, but it still fails to kick anyone. Even when I manually added myself, I still got on the server and played for 10 minutes and nothing happened. Any ideas?
|
hmm... I have used this on my server using 0.16 and it worked like a charm. Try shutting server down then going to addons/amxx/configs/cdmed and deleting mediator.ini and then restarting server.
|
3 Attachment(s)
Hmmm, still no joy. Once I restarted, I was able to add myself manually and the mediator.ini file was correctly created with my Steam ID in it, but it still fails to kick. I'm attaching files that hopefully will help with finding the problem. My server runs: amxx 0.16, Cheating Death, phpUA, Fun, Engine, and shrikebot. Thanks for the help!
|
3 Attachment(s)
Here's the last couple files.
|
Try enabling all modules in modules.ini except mysql
|
OK, all modules except mysql are now enabled, but I then hopped on the server (I've put myself in the required list) and sat on the server for about 5 minutes without anything happening. No one else was on the server at the time (don't know if that makes a difference or not). Any other ideas? :(
|
From what I can see everything is set up right. Do you at least see the motd? If you don't then you still don't have the files right.
|
Nope, I've never seen the MOTD. I was assuming that's because it's never tried to kick me, either. I have the cd.txt file in the directory:
addons/amxx/configs/cdmed/ If that's the right spot my guess is that for whatever reason the plugin is not executing the part of the program to make the kick happen. Otherwise your guess is as good as mine. :roll: |
No ideas anyone?
|
Srry I was a little busy wit school and my b-day but I just tested it out and it is working fine for me so I dunno whats up with yours.
|
Plugin works for me with CS1.6.
Could you perhaps implement something like: Steam-ID has already been kicked 2 times cause of [No C-D]-Ratio, that after the third try the steamid is banned for about 24 hours . . . Would that be possible ? |
GG I will try this out as it has been on my todo list
|
Great plugin! No errors for me!
|
Thanks and mainly thanks to Rich the creator
|
Will this one be maintained for AMXX 1.0 and multilanguage support?
|
Does this plugin check the version of cd client? I mean only the newest cd client should be an valid client...
|
What is the recommended setting for "cdrequired" if i use this plugin?
|
Quote:
|
hmm Plugin seem not to work under Amxx 1.0:
Code:
L 01/06/2005 - 15:25:34: [AMXX] Native error in "write_file" on line 184 (plugin "cdmed.amxx").There is no sma file for 1.0 :cry: |
Quote:
Quickfix - change the file paths to: new filepath[66] = "/addons/amxmodx/configs/cdmed/mediator.ini", holdfilepath[66] = "/addons/amxmodx/configs/cdmed/holdfile.ini" Maintainer should use get_configsdir, though. |
| All times are GMT -4. The time now is 10:10. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.