ULX

Author Topic: ULX Banid Problem  (Read 2871 times)

0 Members and 1 Guest are viewing this topic.

Offline GTKarnage

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
ULX Banid Problem
« on: June 01, 2010, 10:26:59 PM »
Alright, our server has been acting up lately with ULX. 

When using "ulx ban" or "!ban", everything works out fine and dandy.  The user gets the ban message and is instantly kicked and banned from the server for the specified amount of time.

However, when using "ulx banid" or "!banid", the message shows up in chat and the console saying that the steamid was banned for the set amount of time and for whatever reason, yet the user is neither kicked nor banned from the server.  I can kick them from the server and they can instantly rejoin.

Example:
ulx banid "STEAM_0:0:XXXXXXX" 1 "Test"
(ADMIN) Soandso banned id STEAM_0:0:XXXXXXX for 1 minute(s) (Test)  - (At this point, I am banning myself and am still in the server after the "ban.")

Anyone else having this problem or know how to fix this?

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: ULX Banid Problem
« Reply #1 on: June 02, 2010, 06:23:04 AM »
Any errors in console? I'll double check that this is still working his afternoon, too.
Experiencing God's grace one day at a time.

Offline GTKarnage

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
Re: ULX Banid Problem
« Reply #2 on: June 02, 2010, 10:08:57 AM »
The only errors I get are when connecting to our server, not using ULX.

These are:
"ERROR! Module 'zlib_b64' not found!"

and

"RunConsoleCommand blocked - sent before player spawned (ZLib_Installed)"

Offline Stickly Man!

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 1270
  • Karma: 164
  • What even IS software anymore?
    • XGUI
Re: ULX Banid Problem
« Reply #3 on: June 02, 2010, 10:54:41 AM »
I just tested this on my ded server, and it seems to be working fine :-\

Code: [Select]
] ulx banid STEAM_0:1:5###### 1 "Foul language"
Player __fastcall left the game (Kicked and banned)
You banned steamid STEAM_0:1:5###### for 1 minute(s) (Foul language)
Player __fastcall has joined the game
Player __fastcall left the game (STEAM UserID STEAM_0:1:5###### is banned)
Join our Team Ulysses community discord! https://discord.gg/gR4Uye6

Offline GTKarnage

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
Re: ULX Banid Problem
« Reply #4 on: June 04, 2010, 10:21:56 PM »
The problem still exists.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: ULX Banid Problem
« Reply #5 on: June 04, 2010, 10:35:41 PM »
GTKarnage, is this ULX release or SVN?
Older release versions and some older SVN revisions had an issue where our bans.txt file that is used to store temporary bans between server sessions could/would get corrupted due to slashes... "////". What is the size of your server data/ULib/bans.txt file? If over 2mb in size, it very well may be due to the corruption issue.
Open it with a text editor that can handle large files and see if there is a section with several (8-20 or more) slashes.
If so, you'll need to delete the file and let ULX recreate it.
Though you will lose some temporary bans, your permanent bans will be fine. (We use bans.txt because Source doesn't hold temporary bans from server session to server session)
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming