Ulysses Stuff > Suggestions

Ban Menu revision request.

(1/7) > >>

mNote:
Hey there, ULX,

I am mNote and I am a user of the ULX/ULib admin tool and I would like to make a request for the ban menu.

I am an administrator of a pretty large community that have, over the years, gathered over 4,000 steam ids onto our banned_users.cfg file. Now, I know that ULX picks out information from this file because I have done several testings of importing this list and exporting it to the point where I know that ULX will fail to work if it has to read and format a very large file.

Personally, I am asking for a revised ban menu. A ban menu that stores only temporary bans, up to a maximum of maybe 6 digits in minutes (999,999) and no more. It shouldn't also grab the banned_user.cfg list because when that list has 4,000 steam ids in it, ULX will take a VERY long time loading and ULX will fail to work altogether.

I like the ban menu the way it is, but because it picks out perma bans from my banned_user.cfg list, I have to resort to banning by IP and starting the ban list anew.



If you guys can do this, I will greatly appreciate it. I'm actually in the process of finding a better ban management than ULX but I like ULX's interface so much that I'd rather start by asking here.

Please and thank you.

PS: You can find the community I belong to at SteamGamers.com.

Stickly Man!:
Is it ULX that breaks altogether? Or just ULX's banmenu?

Have you tried using XGUI yet? I have a feeling that your banlist might be a bit too large to handle also (I've been meaning to find someone with a large banlist to do some testing).

If it turns out to take too long to process, I think I can easily add a feature that will limit the amount of processing, OR limit the bans shown. Let me know how it turns out!

mNote:
Only the ban menu and the system. While it takes time to load all 4,000 steam ids into the menu, it won't kick players that have been previously banned. It also won't ban new users too when an admin utilizes the ban command.

If you were to try to view the ban menu, it will get stuck on the "Loading...." part and it will stay that way for a very very long time. I tried waiting it out and never reached the end.

If you would like a ban list, visit Steam Gamer's Banned page and download the permanent ban list.


By the way, the XGUI won't work with my GMod server because my GMod server runs the "Trouble in Terrorist Town" game mode. This doesn't allow players to use the spawn menu the same way sandbox mode does.

jay209015:

--- Quote ---By the way, the XGUI won't work with my GMod server because my GMod server runs the "Trouble in Terrorist Town" game mode. This doesn't allow players to use the spawn menu the same way sandbox mode does.
--- End quote ---
-how does the spawn menu block affect XGUI?

Stickly Man!:
Yeah, the spawn menu shouldn't affect XGUI at all-- in fact, XGUI is designed to replace ULX's current menu, so if ULX's menu works, then XGUI should too ;)

I checked out the banlist and tried it with XGUI on my server.. And here's what I found out:

With XGUI, we're essentially running into the same problem with ULX's menu. The problem isn't that there is too much data to 'process' (which I may add, the ban information from the banned_user.cfg ONLY includes STEAMID and time.. and since most of the times are 0 for permaban, there's almost absolutely nothing to process). The problem is when the server tries to send all of the ban information to the clients. ULX sends it when you open the ban menu, XGUI sends it when the player joins. However, since there is so much data to send, garrysmod calls an "infinite loop" on it, and cancels the function, so it never finishes (thus, both XGUI and ULX's ban menu don't get the message that all of the ban information has been received, so it sits on a loading screen).

I am currently planning a fix for XGUI-- The server will split the banlist by ULX bans and source bans, and will then send the ULX bans, and the source bans IF there are 50 or less source bans. If there are more than 50 source bans (or in your case, a couple thousand), then it will enable an option on the clientside XGUI to retrieve and view the source bans if/when needed. (I'll have to use a more reliable chunk method of sending the information, to prevent garrysmod from infinite-looping-- and I'll do it in a way that it shouldn't block use of the rest of XGUI).

Does that sound good to you? I'll probably be able to have this fixed up and released sometime tomorrow.

Also, because XGUI is very soon going to replace ULX's default menus, there will most likely be no planned fix for the normal ULX menu, so if you're getting any lua errors or issues opening XGUI, let me know!

Navigation

[0] Message Index

[#] Next page

Go to full version