Author Topic: cant transfer ban list!  (Read 2410 times)

0 Members and 1 Guest are viewing this topic.

Offline chee

  • Newbie
  • *
  • Posts: 8
  • Karma: 0
cant transfer ban list!
« on: October 07, 2018, 05:27:49 AM »
idk what the <censor> is going on, but this is retarded!

all im trying todo is transfer my ban.txt list to my new server, and every time i upload it it rewrites the file as bans_backup and makes a whole new stupid file, unbanning every person i had banned!

wtf is ulx doing? this is insane. it literally says "unban" for every steam ID i had to be banned in the file now.



im geting this error

Bans file was not formatted correctly. Attempting to fix and backing up original
Error while reading bans file was: Mismatched recursive tables
Original file was backed up to data/ulib/bans_backup.txt
« Last Edit: October 07, 2018, 05:38:08 AM by chee »

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: cant transfer ban list!
« Reply #1 on: October 07, 2018, 12:06:51 PM »
Are both servers shut down when copying?
- Running servers when copying files will corrupt open files.

Are you copying the correct bans.txt file, and, to the proper location?
- There are TWO, ULib(ULX) and Source server - both should be copied if you wish to maintain exact list.
- Source Server permanent bans are stored in (server gmod)\cfg\banned_user.cfg and banned_ip.cfg, and should be copied to same place on new server.
- ULX bans are stored in (server gmod)\data\ULib\bans.txt and should be copied to same place on new server.

Are you running same version of ULib and ULX on both servers?
- There may be differences in storage methods from one version to previous (bug-fixes/etc)

Does one server have any mods that overwrite ULib's original ban functions?
- Some SQL systems do this.

Is your 'new' server exploited?
- Some addons corrupt ban file/unban when possible.

.. just a few things to check in order of priority.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline chee

  • Newbie
  • *
  • Posts: 8
  • Karma: 0
Re: cant transfer ban list!
« Reply #2 on: October 09, 2018, 07:49:15 AM »
Yes im doing it while the server is down, and im runnin the same versions. also nothing overwries it, its been working fine for the past years, until i wanted to transfer it over. this is insane, all i want todo is transfer my bans, i can't let all of them get unbanned man. seriously.

Offline chee

  • Newbie
  • *
  • Posts: 8
  • Karma: 0
Re: cant transfer ban list!
« Reply #3 on: October 09, 2018, 08:03:21 AM »
i keep getting this!

Bans file was not formatted correctly. Attempting to fix and backing up original
Error while reading bans file was: Bad input on line 1
Original file was backed up to data/ulib/bans_backup.txt

this is crazy man, i have tryed everything! please help

Offline chee

  • Newbie
  • *
  • Posts: 8
  • Karma: 0
Re: cant transfer ban list!
« Reply #4 on: October 09, 2018, 09:45:03 AM »
i just tryed to transfer like 2 bans, and it still didnt work. the system is broken.

Offline chee

  • Newbie
  • *
  • Posts: 8
  • Karma: 0
Re: cant transfer ban list!
« Reply #5 on: October 09, 2018, 10:01:28 AM »
ALL FIXED

forgot to transfer my banned_user.cfg.


thanks for the help though!

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: cant transfer ban list!
« Reply #6 on: October 09, 2018, 07:54:00 PM »
Welcome - that's why I mentioned it in my questions/steps to troubleshoot.

Are you copying the correct bans.txt file, and, to the proper location?
- There are TWO, ULib(ULX) and Source server - both should be copied if you wish to maintain exact list.
- Source Server permanent bans are stored in (server gmod)\cfg\banned_user.cfg and banned_ip.cfg, and should be copied to same place on new server.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming