Recent Posts

Pages: 1 ... 8 9 [10]
91
General Chat & Help and Support / Re: cant transfer ban list!
« Last post by chee 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.
92
General Chat & Help and Support / Re: cant transfer ban list!
« Last post by chee 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
93
General Chat & Help and Support / Re: cant transfer ban list!
« Last post by chee 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.
94
Developers Corner / Re: Anyway to get ALL players by their rank inheritance?
« Last post by JamminR on October 07, 2018, 06:22:41 PM »
Good job.
One way may not be 'better' than another - you're doing with less complexity what my general idea was doing.
:)
95
Developers Corner / Re: Anyway to get ALL players by their rank inheritance?
« Last post by lRoberth on October 07, 2018, 06:13:16 PM »
just fixed this about 2 minutes ago, i did it this way:

get all online players
check if they're administrators or nah
if they're administrators:
create a table
check the K value from the table that specifies what ranks are administrators
return that K value
insert that K value into the table and also the player entity
draw by SortedPairs() from lower to higher value

done



might not be the better way, but definitely works without any problem
96
Developers Corner / Re: Anyway to get ALL players by their rank inheritance?
« Last post by JamminR on October 07, 2018, 06:09:09 PM »
You might be able to use groupInheritsFrom as a check each group - any returning another group, check it again until it returns false, that would then become the 'top' group. This would rely on you NOT having any tree 'branches' though. Once it checked a branch that wasn't inherited, it would be listed as top group again.

maybe also be able to use getInheritanceTree
I'm unsure from the example if it lists "top" to "bottom" though.
97
Developers Corner / Anyway to get ALL players by their rank inheritance?
« Last post by lRoberth on October 07, 2018, 05:23:12 PM »
I made a 3D2D screen where all users that are part of the staff team, are being shown there, but my problem, is that they're being shown by their user ID, when i want it to show by rank inheritance, and i can't find a way to do it that way.

here's what's happening:


i want it to appear like:
Fitz Simmons (Owner)
Bot01(Mod)
Hellfire377 (Trial-Mod)

any idea how i can do this?
98
General Chat & Help and Support / Re: [FR] Empêcher le ban d'un SteamID
« Last post by JamminR on October 07, 2018, 12:11:27 PM »
Correction for any future readers - "ulx banid" does not check for "targeting" access/inheritance - it does check to make sure someone has proper "group" or "player" access to perform the command.

Correction pour tout futur lecteur - "ulx banid" ne vérifie pas le "ciblage" de l'accès / l'héritage - il vérifie que quelqu'un dispose d'un accès "groupe" ou "lecteur" approprié pour exécuter la commande.
99
General Chat & Help and Support / Re: cant transfer ban list!
« Last post by JamminR 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.
100
Off-Topic / Re: Unofficial ULX documentation
« Last post by JamminR on October 07, 2018, 11:51:18 AM »
BEAUTIFUL!! Keep up great work.

Re: Your developers section
Technically, ulx itself was never actually meant to be used as a development basis, as we in theory hoped ULib would be used as a building block for other projects. (again, technically, anything written for ULX uses ULib, but that's not always clear)

Though, even as I was learning G-Lua, I saw that it was often easier to learn ULib by building functions for ULX from other ULX commands as "templates" to then learn how some ULib features functioned in most respects.

All that being said, don't forget tot include links/mention of ULib in any of the Developers section
(s)
you feel it would fit.
The ULib documentation can be found here - http://ulyssesmod.net/docs/
Pages: 1 ... 8 9 [10]