Raised This Month: $51 Target: $400
 12% 

I accidentally banned myself!


Post New Thread Reply   
 
Thread Tools Display Modes
D4ark
Senior Member
Join Date: Feb 2007
Old 03-24-2007 , 19:33   Re: I accidentally banned myself!
Reply With Quote #11

That doesent look like a ban... he got a invalid password... if u got acces to the server files, go into users.ini, and change "ca" to "ce" ( i know that it didnt wanted to add ce in the console, but manually it does)

And then u should get acces....
Edit:
and u dont got ftp acces, as i just read now ( sorry).... but someone gotta have access? isnt it possible for them to do this for u?
__________________

Last edited by D4ark; 03-25-2007 at 04:26.
D4ark is offline
bymisi
Member
Join Date: Apr 2010
Location: Budapest / Hungary
Old 06-23-2010 , 17:09   Re: I accidentally banned myself!
Reply With Quote #12

very useful because server restart not needed
thank you jRaven!

have any ideea how to unban all ips with one command?
ex:
removeip 0.0.0.0 to 255.255.255.255

it is possible?

Last edited by bymisi; 06-23-2010 at 17:22.
bymisi is offline
Send a message via Skype™ to bymisi
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 06-23-2010 , 17:53   Re: I accidentally banned myself!
Reply With Quote #13

Quote:
Originally Posted by bymisi View Post
have any ideea how to unban all ips with one command?
ex:
removeip 0.0.0.0 to 255.255.255.255

it is possible?
empty the ip ban file.
__________________
fysiks is offline
Rosenstein
Senior Member
Join Date: Feb 2008
Location: Serbia
Old 06-23-2010 , 19:34   Re: I accidentally banned myself!
Reply With Quote #14

Shutdown HLDS then empty IP ban file
__________________
+1
Rosenstein is offline
ZEDD_Intensity
Senior Member
Join Date: Jun 2016
Old 11-05-2017 , 04:17   Re: I accidentally banned myself!
Reply With Quote #15

Greetings mates,

Might sound insane updating this thread after about 10 years later.

Keeping it on point and professional, I banned myself on my TestServer by Advanced Bans (Exolent).

Console says
"******************************************** ****
Ban Information
Name: (myself)
SteamID: STEAM_0:0:XXXXXXXX
Reason:
Unban Time: Permanent Ban
Admin Name: (myself)
Admin SteamID: STEAM_0:0:XXXXXXXXX (same as banned SteamID)
********************************************* ***
* Password accepted
* Privileges set
Kicked :"You are banned from this server. Check your console""

Bans are written nowhere, Banned.cfg, listip.cfg, users.ini, mod cfgs, Added Rcon Commands in server.cfg and restarted the whole machine. I own the server, have access to FTP/sFTP. Even if someone notices this thread, that'd be pretty satisfactory in 2017 honestly. A reply that helps would be legendary.

edit (logs) :
(According to the Plugin Description for Advanced Bans by Exolent) Here's a quick paste of my log
L 11/05/2017 - 08:47:41: Log file started (file "cstrike/addons/amxmodx/logs/BAN_HISTORY_11052017.log") (game "cstrike") (amx "1.8.2")
L 11/05/2017 - 08:47:41: (me) <STEAM_0:0:XXXXXXX> banned (myself) <STEAM_0:0:XXXXXXX> || Reason: "" || Ban Length: Permanent Ban
[Ban History Log File ends here]

The only thing I see is absurd is, It hasn't written the ban even if we can clearly see, its a permanent ban. Not just for unbanning myself, even in near future, this server will have numerous bans and I can't afford to not have the ability to unban players. Hope that is totally understandable.

Thanks and Regards,
ZEDD

Last edited by ZEDD_Intensity; 11-05-2017 at 04:58. Reason: clarity
ZEDD_Intensity is offline
Relaxing
AlliedModders Donor
Join Date: Jun 2016
Location: White Plains
Old 11-05-2017 , 06:23   Re: I accidentally banned myself!
Reply With Quote #16

Code:
get_datadir(g_ban_file, sizeof(g_ban_file) - 1);
add(g_ban_file, sizeof(g_ban_file) - 1, "/advanced_bans.txt");
Look for advanced_bans text file
__________________

Last edited by Relaxing; 11-05-2017 at 06:23.
Relaxing is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 11-05-2017 , 12:43   Re: I accidentally banned myself!
Reply With Quote #17

You should be able to use the unban command from the server's console.
__________________
fysiks is offline
Relaxing
AlliedModders Donor
Join Date: Jun 2016
Location: White Plains
Old 11-05-2017 , 14:28   Re: I accidentally banned myself!
Reply With Quote #18

Or just create a plugin that execute the unban command
__________________
Relaxing is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 11-05-2017 , 15:11   Re: I accidentally banned myself!
Reply With Quote #19

Quote:
Originally Posted by Relaxing View Post
Or just create a plugin that execute the unban command
That's completely unnecessary. Just do it via the server console using something like HLSW.
__________________
fysiks is offline
Relaxing
AlliedModders Donor
Join Date: Jun 2016
Location: White Plains
Old 11-05-2017 , 16:40   Re: I accidentally banned myself!
Reply With Quote #20

Quote:
Originally Posted by fysiks View Post
That's completely unnecessary. Just do it via the server console using something like HLSW.
Add the unban command on amxx.cfg and that's it.
__________________
Relaxing is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 07:01.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode