Commit Graph

230 Commits

Author SHA1 Message Date
edshot99
39d64a8e98 Revert "add column to track last os.time() user was modified"
This reverts commit a5a9cbd8aa.
2024-04-13 01:22:40 -05:00
edshot99
a5a9cbd8aa add column to track last os.time() user was modified 2024-04-10 17:02:27 -05:00
edshot99
35b20bc007 Migrate UCL user store from flat file to SQLite
https://github.com/TeamUlysses/ulib/pull/74
2024-04-10 16:40:53 -05:00
edshot99
e250765ccc ... 2024-04-10 16:38:59 -05:00
SticklyMan
f447587d5c ULib 2.71 release prep 2024-03-23 21:27:40 -06:00
SticklyMan
5e730bb41e Switch to lighter host for HTTP connectivity check. 2024-03-23 20:51:41 -06:00
SticklyMan
ac25b304fc Update URLs 2024-03-23 18:03:27 -06:00
SticklyMan
402e0492a8 Revert "Micro-optimization to replace player.GetAll() with player.Iterator in the Invis hook think"
This reverts commit 5da463795d.

Turns out my non-beta dedicated server was actually on the beta branch
2024-03-09 21:13:15 -07:00
SticklyMan
5da463795d Micro-optimization to replace player.GetAll() with player.Iterator in the Invis hook think 2024-03-09 20:02:39 -07:00
WardenPotato
3c723a5355
Fix users being able to infinitely request a full data refresh for all connected players 2024-02-22 14:48:56 +01:00
SticklyMan
51197cac24
Merge pull request #95 from CFC-Servers/fix/fix-global
Fix leaked global
2023-11-18 18:15:46 -07:00
SticklyMan
b97be76b2f
Merge pull request #91 from wrefgtzweve/patch-1
Use game.KickID instead of RunConsoleCommand
2023-11-18 16:32:35 -07:00
Brandon Sturgeon
7b09cf40c0
Fix global var 2023-09-20 22:48:35 -07:00
Redox
42d9ee7f51
Remove debug print 2023-04-04 13:49:20 +02:00
Redox
3edcbd6759
Use game.KickID instead of RunConsoleCommand 2023-03-19 20:18:21 +01:00
Redox
2ec73c3e58
Put isstring check earlier in admin check (#88) 2022-09-14 16:45:25 -07:00
Redox
51e0ab5f4d
Allow use of strings in ULib.addBan as admin (#86)
* Allow use of admin names as string in ulib.addban
2022-08-27 09:38:06 -07:00
Zach P
c8bf43b5e0
Fixed memory leak in hook backward compatibility 2022-08-05 14:39:07 -07:00
Zach P
78c55336c9
Fixed a gsub return error and removed gsub from the STEAMID replacement. 2022-08-05 13:16:07 -07:00
ZenBre4ker
8c333691c0
Fix old Addons not using strings (#82) 2022-08-04 21:14:27 -07:00
Zach P
3f2942e94d
Update defines.lua 2022-08-04 20:23:30 -07:00
Deyvan
3a947b975a
WTF (#63) 2022-08-04 20:17:08 -07:00
Joshua Piper
bde520a16a
Fix Weapon SetClipErrors (#76)
* fix: result isn't used in this context.

* fix: the docs say ply, we use ply.

* perf: we don't need to call that twice.

* fix: printname isn't a name, it's class. localise class.

* fix: fix weapon error if not given.

replace printname with class.
only call getweapon if we can't get it through give.

* fix: Make sure SetClip1 and SetClip2 actually exist before we call them.
2022-08-04 20:14:54 -07:00
Dmytro
4e3d543a8c
Fix exploit (#72)
* exploit fix

* Removed useless gsub
2022-08-03 17:18:07 -07:00
Brett Smith
0b162c3a7e
Fix typo in defines 2022-02-11 15:30:39 -05:00
Zach P
de4ea56a84
Update defines.lua
Updated version number
2022-02-10 16:52:29 -08:00
Zach P
ac0b4c7af3
Merge pull request #65 from kekalainen/master
Implement CAMI.SteamIDUsergroupChanged hook
2022-02-10 16:50:29 -08:00
Zach P
f1fd786a3c
Merge pull request #75 from JoshPiper/feat/team_picker
Team Picker Target Keyword
2021-07-15 16:17:46 -07:00
Zach P
3e76606ec3
Update defines.lua 2021-07-15 16:12:24 -07:00
Zach P
b0c3dc1f11
Update player.lua 2021-07-15 16:10:52 -07:00
Joshua Piper
7c93c6e156 style: Fix code style. 2021-06-25 18:33:46 +01:00
Joshua Piper
810e80027c fix: name is Name in TeamData 2021-06-25 18:32:13 +01:00
Joshua Piper
8e60e881fc fix: Fix my inability to spell. 2021-06-25 18:31:19 +01:00
Joshua Piper
84840d3c55 feat: Add @<team> support to getUsers. 2021-06-25 17:58:23 +01:00
Joshua Piper
1d621219bd docs: Rewrote enable_keywords description for getUsers.
Moves each keyword onto its own line, and adds the @<team> keyword.
2021-06-25 17:56:57 +01:00
Zach P
09c4e751a1
Update util.lua
Removed deprecated usermessage library calls and replaced them with the more efficient net library.
2021-06-12 16:04:19 -07:00
Zach P
9b4e0f4d4c
Update cl_util.lua 2021-06-12 16:03:30 -07:00
Zach P
050f1a9909
Update messages.lua 2021-06-12 16:03:05 -07:00
Zach P
c5633fe63b
Update defines.lua 2021-06-12 16:02:45 -07:00
Zach P
e08eec2cbc
Update plugin.lua
Changed the Initialize hook to a PlayerConnect hook for triggering the addon update checks to avoid the HTTP library failures.
2020-10-27 23:28:47 -07:00
Kekalainen
f42997203d Implement CAMI.SteamIDUsergroupChanged hook 2020-07-29 20:03:20 +03:00
Théo
9170c0a307
Fix mistake in comments and docs
Player:IsAdmin is for groups who inherit from "admin" group, not "superadmin"
2018-12-05 23:47:27 +01:00
SticklyMan
c44d23fd82 ULib doc revisions should only be added if the functionality significantly changed, or if the method parameters have been modifeid. 2018-05-12 11:12:09 -06:00
lewez
424bb9d3a0 #40 2018-04-28 18:27:21 +00:00
lewez
7bf9cd6801 #45 2018-04-28 18:27:01 +00:00
SticklyMan
34f146f9b6 Merge branch 'master' into console-flood 2018-02-11 02:40:34 -07:00
SticklyMan
c89fc4223a Directly call routedCommandCallback on hookRoute instead of routing through concommands. 2018-02-11 01:45:47 -07:00
SticklyMan
4926b5b9aa Add ULib.HOOK_ACCESS_REGISTERED to let anyone (XGUI) know when new accesses are registered.
Decided to keep the hook "grouped" when multiple accesses are added at once, thus, this callback will have no parameters.
2018-02-04 17:30:02 -07:00
SticklyMan
eda6abdccd ULib should be calling UCLChanged after registerAccess. 2018-02-04 17:26:09 -07:00
SticklyMan
26b0139044 Verify concommand is registered before attempting to execute it. 2018-02-04 04:32:30 -07:00