| closedAMXBANS Delay |
| Started by Tank on 10-28-2008, 08:53 AM |
Threads: 59
Joined: Jan 2007
I started this thread as I didn't want to hijack Dr G's thread about amxbans. I finally have amxbans running again with the update to amxmodx 1.81. I was just wondering if people like D-O know how to fix the delay in amxbans?rnrnI know delay can be set through config but changing that does not fix anything. Also my gameserver and webserver are hosting in the same location by the same company, so that shouldn't cause any delay to myknowledge.
Threads: 75
Joined: Nov 2007
rnrnI know delay can be set through config but changing that does not fix anything.rnrnIn what config do you change that?
Threads: 103
Joined: May 2005
pretty sure it works for me... as i have my delay set to 5 and looking at the plugin code it looks like if it cant get the value from the mysql db it defaults to 10 and mine definitly isnt 10 seconds in my servernnit also looks like you cant use values of 2 seconds or lower and if you do it sets it to 10 secondsnn
nif(floatstr(kick_delay_str)>2.0)n kick_delay=floatstr(kick_delay_str)nelsen kick_delay=10.0on the web front end, goto servers, then for the server you want to change it for click 'edit' under the actions sectionThreads: 59
Joined: Jan 2007
Thanks a lot. I've posted this many times on the amxbans page and also read a lot of posts made by others but never had the answer I wanted.rnrnI will give it a go. It's btw really weird that you can't set it under 2 seconds as the server edit page does allow you to choose between 0, 1, 5 10 etc.
Threads: 103
Joined: May 2005
yeah that is wierd.. nni kinda think it might have a minimum of 2 seconds so that it makes sure it completes all the mysql server stuff before kicking the person
Threads: 75
Joined: Nov 2007
Thx d-o... do ya think it actully needs those 10 sec to get it ready? or is it only a safty thing?
Threads: 103
Joined: May 2005
well the delay also gives the person time to read the motd window that pops up with the ban info as well..nnand like i said, mine is set to 5 and that seems to work fine for me
Threads: 59
Joined: Jan 2007
I've set it to 5 and no complains yet from my members. So I guess it works fine (wish my dod would function so I could see for myself).
Threads: 59
Joined: Jan 2007
if(floatstr(kick_delay_str)>2.0)rn kick_delay=floatstr(kick_delay_str)rnelsern kick_delay=10.0 rnrnrnIn which file can I find this, I changed this before but forgot where.Threads: 75
Joined: Nov 2007
isnt it in cmdBan.inl???
Threads: 103
Joined: May 2005
no, i think it was init_functions.inl
Threads: 59
Joined: Jan 2007
Thank you Diamond, you were right. That were not the files I searched.

