Ok guys; sorry for the late replies. Quotes Section:
Yeah, those \r at the end of each steamID is probably causing the problem. We've heard this bug happen before, but we have no idea how to replicate it. Do you remember at all how you or your admins created each of these bans? Were some of those temporary bans? And which addons were you running on any server where this error occured?
Hopefully we'll be able to get some useful information
Im running no addon connected with ULX; I used to have evolve; I didnt remove the parts written by evolve (data/EV_Logs,e.t.c.) So i could Use the old bans; and Search throught the logs for...Checking reports that might have been old.
Im running atm nothing that could interfere with ULX; if thats what your asking!
What version of ULX? What version of ULib? (Version, and are they SVN?)
Did you get both from ulyssesmod.net? Are they SVN? If not, we can't really guarantee the old release version will work with all new stuff.
Our SVN should.
If not using SVN of both, see this from the past few years.
When you perma ban someone, does the steamid get stored in your banned_users.cfg, before a restart.
You mention source bans...the mod?
What version of DarkRP?
Rule it out by starting a test session in Sandbox mode?
Try removing all but ULib, ULX, make sure your server has write access to your gmod/data/ULib and ULX folders.
Make sure your server has write access to your gmod/settings/banned_users.cfg file.
Start up a server with only ULib, ULX, and of course with Sandbox (You've taken DarkRP and SourceMod out of the picture).
Ban a test account. Check the banned file. If the ban is there, start adding back other mods one item at a time.
Both are SVN. I allways use most up to date versions. It would make no sentce to use the Buggy version; and then complain for a bug. I think i allready quoted this but didnt mention this.
Looking through ULX and ULib it looks like the steam ID gets taken direct from a Player object and passed to makeKeyValues, which doesn't have any \r's in the source code, then escaped by Lua's string.format.
Maybe silly, but I would be interested to see the output of these commands (basically to find out if anything's hooking Player.SteamID and what sort of string it's making)
lua_run PrintTable( debug.getinfo( FindMetaTable( "Player" ).SteamID ) )
lua_run for k, v in next, player.GetAll() do print( v:Nick(), string.format( "%q", v:SteamID() ) ) end
(SILENT) You ran rcon command: lua_run PrintTable( debug.getinfo( FindMetaTable( Player ).SteamID ) )
(SILENT) You ran rcon command: lua_run for k, v in next, player.GetAll() do print( v:Nick(), string.format( %q , v:SteamID() ) ) end
(SILENT) You ran rcon command: lua_run for k, v in next, player.GetAll() do print( v:Nick(), string.format(%q,v:SteamID()))) end
I banned all the users every way. With their names and steamid. Same result.
BTW: they are still banned, but not trought ULX, but thru using the default ban commands (no admin system) so they are added in "banid blblalal" but not ULX's menu.
(SILENT) You ran rcon command: lua_run PrintTable( debug.getinfo( FindMetaTable( Player ).SteamID ) )
(SILENT) You ran rcon command: lua_run for k, v in next, player.GetAll() do print( v:Nick(), string.format( %q , v:SteamID() ) ) end
(SILENT) You ran rcon command: lua_run for k, v in next, player.GetAll() do print( v:Nick(), string.format(%q,v:SteamID()))) end
Nothing happend.
Results from the commands:
Thanks for the Replies.