Ulysses

Ulysses Stuff => General Chat & Help and Support => Topic started by: xikkub on April 17, 2009, 05:29:31 PM

Title: Change ULX to ban by ip? ???
Post by: xikkub on April 17, 2009, 05:29:31 PM
My users.txt file is messed up.

"flo349"   
{
   "deny"   
   {
   }
   "type"   "steamid"
   "groups"   
   {
      "user"
   }
   "id"   "90.25.185.220"
   "pass"   ""
   "allow"   
   {
   }
}

Why does it say "steamid" when it prints the ip address? So I want to do one of two things:

1.  Fix the user system so it will ACTUALLY ban by steamid, or
2.  Change the server to ban by IP adddress
Title: Re: Change ULX to ban by ip? ???
Post by: JamminR on April 17, 2009, 08:35:25 PM
Your user.txt file has nothing to do with bans. It only controls group access.

ULX has no command to ban by IP address. I can change my IP address within minutes. Most trouble makers know this.
SteamID works best because it is less likely to change.
I've just done a quick search on google, and on the Valve developer wiki, and am not even sure the newest Source engine allows banning by IP (I can't find the command, but, I only looked about 5 minutes)
Title: Re: Change ULX to ban by ip? ???
Post by: xikkub on April 17, 2009, 09:50:17 PM
Thanks for the information. In that case, how can I get my users.txt file to display SteamIDs instead of IPs, so that I can ban those steamids if I know a person is raging and then left the server?
Title: Re: Change ULX to ban by ip? ???
Post by: JamminR on April 17, 2009, 10:42:22 PM
ULX, by default, doesn't use IP addresses for users.txt. It uses SteamIDs.
I have no idea why yours is.
Are you using any non-standard Gmod?
Any offline version?
Title: Re: Change ULX to ban by ip? ???
Post by: xikkub on April 18, 2009, 01:32:49 AM
I'm hosting a dedicated gmod server (hldsupdatetool) with the newest wiremod, advdupe, ulib, and ulx addons including a few ulib/ulx plugins. I really need it to use steamids!

Here's an example of my logs. It shows IP in the logs as well as in the users/bans sections.

[00:00:00]Player<23.52.104.15> spawned model models/props_phx/cannonball.mdl
Title: Re: Change ULX to ban by ip? ???
Post by: Nuclear_Ice on April 18, 2009, 10:30:17 PM
[00:00:00]?

That's impossible time man.

It looks to me like you're missing files or have corrupt ones.
Title: ULX will ban by SteamID but will only log IP Address?
Post by: xikkub on April 19, 2009, 10:57:41 PM
[Post was moved here (thanks)]
My users.txt file stores IPs.
My bans.txt stores IPs. It used to store steamids, but I don't know how I did that before.
My banned_users.cfg stores steamids.

How can I make it so that my logs will only use SteamIDS? It's nice to have IP addresses, but I can't sort out players when I need to associate an IP with a steamid (which is impossible).
Title: Re: Change ULX to ban by ip? ???
Post by: xikkub on April 19, 2009, 10:59:08 PM
lol. Nuclear Ice. I thought my intention was quite obvious, but I changed the IP for anonymity and the time to make it generic. It wasn't a literal log entry, dude.  ::)
Title: Re: ULX will ban by SteamID but will only log IP Address?
Post by: JamminR on April 20, 2009, 05:11:29 PM
Something is wrong.
ULX was not written to use IP.
Only SteamID
I said this in http://forums.ulyssesmod.net/index.php?topic=3999.0;topicseen

I don't know why all your SteamIDs are IP instead.
I believe you have an addon or exploit that changes the Gmod Player:SteamID() command to IP instead.
Please stop posting multiple posts about the same problem.

Can anyone else confirm his issue?

I'm merging this topic with http://forums.ulyssesmod.net/index.php?topic=3999.0;topicseen
Title: Re: Change ULX to ban by ip? ???
Post by: xikkub on April 20, 2009, 05:48:37 PM
Thanks for the information. My friend set up the server for me, so I'm not exactly sure what he did to make it log by IP address. I'll look further into the problem and check back here for any possible solutions.
Title: Re: Change ULX to ban by ip? ???
Post by: xikkub on April 20, 2009, 09:33:47 PM
OMG. My one gmod expert friend looked at my server and he found a malicious addon was installed that gave my other friend access to my server! I was able to remove it, and now everything works fine. Luckily he didn't get a chance to do anything. Maybe it's worth looking into an addon that can scan for malicious lua? Thanks for all of your help btw.
Title: Re: Change ULX to ban by ip? ???
Post by: JamminR on April 21, 2009, 02:45:20 PM
The way you even explained that would make me worry just as much.
"my one gmod expert friend" "found a malicious addon"
"that gave my other friend access to my server"

With friends like the second, can't you trust the first not to have added more himself??