Author Topic: Server Crash  (Read 2278 times)

0 Members and 1 Guest are viewing this topic.

Offline jjb123

  • Newbie
  • *
  • Posts: 14
  • Karma: 0
Server Crash
« on: October 26, 2008, 10:58:37 AM »
Hi everyone,
I installed Ulx a while back, and I have been having some problems. When ever I kick or ban someone, and they try to join the server again, my game crashes with a memory error. I am unsure of where this error is originating, but I think it is Ulx because it is the app that checks people who join if they are banned. Any suggestions? Thanks. :)

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Server Crash
« Reply #1 on: October 26, 2008, 11:15:45 AM »
because it is the app that checks people who join if they are banned

Uh, wrong there.
ULX does no checking to see if a player is banned when they join.
All ULX does, when you ban someone, is add the banned person's steamid to a normal ban file that every Source game uses.
It would be the same if you didn't use ULX, and used the console command 'banid'

Source checks the file (normally gmod/cfg/banned_users.cfg ) every time a player joins.
The only thing ULX does on server start (not player join) is check to make sure there aren't any temporary bans.
If there are, it loads those until the time for the temporary is up.
Source itself doesn't remember temp bans between server sessions, so we wrote code that will keep them between server sessions.

You may check your banned_users.cfg file to make sure it's not huge, corrupt or something.
Should look like the following.
Code: [Select]
banid 0 STEAM_0:1:730082
banid 0 STEAM_0:1:8093865
banid 0 STEAM_0:0:788654
banid 0 STEAM_0:0:11261697
banid 0 STEAM_0:0:1184783
banid 0 STEAM_0:0:1219775
...


"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline jjb123

  • Newbie
  • *
  • Posts: 14
  • Karma: 0
Re: Server Crash
« Reply #2 on: October 26, 2008, 11:20:35 AM »
Oh, I didn't know that. Thanks, I will see if that works.