Brett Smith
ea510fd4c1
Ignore bad data passed by FAdmin
2016-01-06 20:16:59 -05:00
Nayruden
7eda6192c7
Some more work to help prevent players naming themselves after keywords.
2016-01-03 15:53:57 -05:00
Nayruden
3013bf57af
ULib.findVar and setVar
...
[ADD] ULib.setVar, a compliment to ULib.findVar.
[CHANGE] Massively improved the utility of ULib.findVar and restructured the return values.
2016-01-03 15:12:54 -05:00
Nayruden
91f6607207
Added some more documentaiton
2016-01-01 12:03:23 -05:00
Nayruden
eb66088ea5
Major refactoring of plugin.lua
2016-01-01 11:00:54 -05:00
SticklyMan
7d5d404e94
Missed one line for last commit.
2015-12-18 02:35:59 -07:00
SticklyMan
af1f251497
Fixed minor exploit that redirects unspecified playerArgs to a player with a specific name instead of the calling player. (Thanks Repe!)
2015-12-18 01:37:30 -07:00
Nayruden
d1db6c74ad
Ban message is now templated. This is half of the implementation for https://github.com/TeamUlysses/ulx/issues/12
2015-12-15 21:10:43 -05:00
Nayruden
c4c3c99140
Completely revamped the new version system to be consistent and consolidated among ULib and plugins.
2015-12-13 18:35:35 -05:00
Nayruden
d28f574d89
Removed a holdover function dealing with data files in ULib.
2015-12-13 09:42:23 -05:00
Nayruden
11a338ce11
Fixed https://github.com/TeamUlysses/ulx/issues/10
2015-12-12 19:57:02 -05:00
Nayruden
56b2c84643
Finished #2
2015-12-12 19:40:38 -05:00
Nayruden
4189bea6c6
Partially implemented a custom ban message.
...
The message sent on join is done, need to change the message sent on initial kick too. This is for #2
2015-12-12 15:27:06 -05:00
Nayruden
c4a60c7ef7
Fixed an issue with accessStrings not being repopulated correctly if the data files got removed.
2015-12-12 09:54:52 -05:00
Nayruden
6c496ff084
ULib.getUser(s) do not proceed if passed an empty string (Thanks, @timmyws).
...
This addresses #4
2015-12-06 11:58:51 -05:00
Nayruden
65adbf0689
Be more explicit about a group inheriting from "user" for DarkRP.
2015-12-06 09:41:04 -05:00
Nayruden
53abb9d6dd
Fixed a feedback loop in ULib's CAMI implementation
2015-11-25 12:42:52 -06:00
SticklyMan
70dbf863e8
Very minor fixes.
2015-11-22 00:47:15 -07:00
Nayruden
8eadece319
More robust update checks, workaround Garry-issues
2015-11-21 16:14:37 -05:00
Nayruden
24cd1506e8
Add update notification and some ignores for workshop
2015-11-19 21:28:12 -06:00
Nayruden
56e64c770b
ULib now deploys data files as needed and does not contain any within the repository.
...
This is to comply to Workshop rules.
2015-11-19 18:29:33 -06:00
Nayruden
c29c4edba8
Added ULib.getVersion()
...
Changed beta version numbers to be backwards-looking (beta version number is the same as the current release).
2015-11-19 17:21:44 -06:00
Nayruden
34952639c5
Admin
2015-11-18 21:35:51 -06:00
Nayruden
7170aceb0a
Normalizing line endings
2015-11-07 17:08:41 -05:00
Nayruden
5a393ca6fd
Implements #332
2015-11-07 16:56:00 -05:00
Nayruden
27cd8afbf9
Fixes #510 .
2015-11-07 15:50:00 -05:00
Nayruden
8ddeb6d581
Somewhat implemented CAMI.SteamIDHasAccess
2015-11-07 15:43:49 -05:00
SticklyMan
549e60a0b0
Merge pull request #454 from yupi2/saycmd_pull
...
Allow a table of say-commands to be passed for command opposites (Thanks yupi2!)
2015-11-07 12:48:32 -07:00
Nayruden
f74e04a3e7
Fixes #516
2015-11-07 14:32:57 -05:00
Nayruden
63c27e8fdd
Fixes #509 .
2015-11-07 14:06:18 -05:00
Nayruden
f0bee6be45
Fixes #505 . Sorry this took so long, the solution ended up being a lot simpler than I initially expected.
2015-11-07 13:50:30 -05:00
Nayruden
fca9c263e3
Update CAMI shared library
2015-11-07 13:49:25 -05:00
Nayruden
f725751a0a
Merge branch 'master' of https://github.com/Nayruden/Ulysses
2015-10-02 20:30:16 -04:00
Nayruden
05ff22f3b8
Fixes #523
2015-10-02 20:29:29 -04:00
SticklyMan
842d42726a
Fix command opposites sometimes not executing due to case sensitivity.
...
(See http://forums.ulyssesmod.net/index.php/topic,8933.msg45885.html#msg45885 )
2015-09-29 23:16:56 -06:00
Nayruden
38e243a6b4
Fixed an exploit involving filesystem mounting.
2015-09-27 11:29:15 -04:00
Nayruden
2e7d06958d
Update CAMI, and ignored some bad data passed by other addons. This addresses #504 , but won't fix the underlying issue of another addon trying to do something bad.
2015-08-23 10:17:24 -04:00
Nayruden
d24b8e48f3
Fixes #503 .
2015-08-23 07:55:49 -04:00
Nayruden
158ec52197
CAMI support. Implemented #497 .
2015-08-22 16:09:44 -04:00
Nayruden
ba5d949ea3
[FIX] The usual random slew of Garry-breakages (Thanks, @Fuzzik).
2015-08-20 13:14:21 -04:00
zpetty33
a68a187213
Changed table.Count to #
...
Made this change to the recent update for better performance.
2015-07-30 14:32:47 -07:00
zpetty33
718877470d
Fixed a crash exploit in console commands
2015-07-30 13:47:38 -07:00
Nayruden
d28166c060
Merge branch 'master' of https://github.com/Nayruden/Ulysses
2015-05-31 15:57:06 -06:00
Nayruden
cae8805649
Should fix #468 , thanks @MStruntze
2015-05-31 15:56:48 -06:00
SticklyMan
9b82bea316
Fixes to ULib to better support autorefresh.
2015-05-25 14:27:06 -06:00
Nayruden
4be103fc80
Fix for Garry's freakish handling of NextBot players. Fixes #447 . Thanks, @BurgerLUA
2015-05-20 20:00:12 -06:00
MrPresident
71ae36fa6b
UCL Helper Function
...
Adding a helper function to UCL to grab information about a player entry
by steamid/ip/uid.
2015-05-07 12:53:31 -07:00
Nayruden
6690bba964
Fix for Garry API change for ULib.findinDir (Thanks, @ascentechit)
...
Fixes #459
2015-04-21 17:32:49 -06:00
yupi2
22e4b402bb
Allow a table of say-commands to be passed
2015-04-13 02:45:13 -05:00
Nayruden
014f69b07c
Added GetULibTable() to hook module.
2015-04-10 18:07:48 -06:00
Nayruden
0e5cb38d25
Text updates
2015-04-07 16:32:43 -06:00
SticklyMan
93e131efd3
Fix hook not being removed from BackwardsHooks table.
...
Bump XGUI version date.
Closes #445
2015-04-04 02:53:12 -06:00
Nayruden
42e74e367b
Fixed ranks resetting if the player entity is removed. This should close #302 and close #346 .
2015-03-18 18:02:49 -06:00
Nayruden
89643e283d
Version bumps and changeling.
2015-03-18 17:07:29 -06:00
Nayruden
cb109dcf6c
Removed testing file
2015-03-18 06:32:58 -06:00
Nayruden
eb8ce08e93
Naming changes
2015-03-17 20:49:50 -06:00
Nayruden
f73bb88c6c
Fixes #407
2015-03-17 20:43:44 -06:00
Nayruden
bf5b7dca4a
Merge branch 'master' into hook-update
...
Conflicts:
ulib/lua/ulib/shared/hook.lua
2015-03-17 19:36:33 -06:00
SticklyMan
583d4c2652
Fix typo in invis code.
...
Fixes weapons staying hidden after switching and uncloaking.
Closes #417 . Thanks TheRealAyCe!
2015-03-14 09:10:39 -06:00
Nayruden
b0da4e8e4f
Release prep
2015-03-09 19:04:07 -06:00
Nayruden
97b9bb412c
@Divran's suggested change for ~20% performance increase on hook run.
2015-03-09 18:47:05 -06:00
SticklyMan
b7dc0509c6
Merge branch 'master' into hook-update
2015-03-07 12:57:31 -07:00
SticklyMan
5d9eaad2ec
Changed ULib's HOOK_LOCALPLAYERREADY to be called on InitPostEntity instead of OnEntityCreated.
...
Fixes LocalPlayer() sometimes being null when called.
2015-03-07 12:29:10 -07:00
Nayruden
d6a13755fa
Implementing suggested changes + performance enhancements
2015-02-10 19:54:38 -07:00
Nayruden
6878da326f
Conforms more to gmod development version of hook.lua
2015-02-10 19:32:23 -07:00
Nayruden
616b4af919
new way of doing hooks
2015-02-03 19:25:23 -07:00
SticklyMan
bb0c8a8bd6
Security fix for executing server-side commands via ban reasons.
2015-01-04 01:52:05 -07:00
Nayruden
27af3dce92
getUser changes and some case-sensitivity changes. Fixes #338 and fixes #318 .
...
* [ADD] A list of players is presented when a target string for getUser matches more than one player (Thanks, @RhapsodySL).
* [FIX] Some fiddly-bits with group case-sensitivity (Thanks, @BryanFlannery).
2014-10-25 17:48:02 -06:00
Brett Smith
f3cb937fbc
Merge pull request #352 from MStruntze/master
...
Added second parameter in ULib.unban (Thanks, @MStruntze)
2014-10-25 13:59:04 -06:00
SticklyMan
41f462e1b5
Fixed cloak and weapon visibility bug. Fixes #331 .
2014-10-25 13:54:18 -06:00
Nayruden
ad2faae98f
Reverting some changes from 9e410214dd
(Sorry, @SticklyMan). Also made a minor change to hook.lua IAW Garry's changes.
2014-10-25 12:22:19 -06:00
Mikkel Struntze
5509cae152
Added admin parameter in ULib.unban
2014-09-13 02:03:18 +02:00
SticklyMan
60a6029f0c
Added new fix to prevent crash on kicking/banning self, removed the old one.
...
Should be more robust now. Fixes #325 .
Removed debug code that accidentally got committed.
2014-08-02 11:07:20 -06:00
SticklyMan
6b47d49b26
General fixes to accommodate group names with uppercase characters:
...
- Changed "ulx groupallow" to no longer lowercase access tags.
- Changed ULib's ucl.groupAllow to also no longer lowercase access tag.
- Changed ULib to not lowercase groups' allows upon reading groups.txt.
- Changed ULib's targeting system to only lowercase when matching player names.
Spelling fixes in comments in XGUI!
2014-07-23 01:26:37 -06:00
NoBrainCZ
58f9c9564a
don't break if called hook changes v
2014-02-22 15:33:36 +01:00
Nayruden
bf54aa1543
[FIX] Several incorrect file I/O calls (Thanks, Q4-Bi).
2013-09-05 18:50:35 -06:00
Nayruden
65c7afb53f
[FIX] ULib.ucl.registerAccess not allowing an access tag to be registered to no groups.
2013-08-31 21:32:24 -06:00
Nayruden
900febcab8
Prepping for release
2013-08-30 16:29:35 -06:00
Nayruden
001522a047
Quick fix for a capitalization problem (Thanks, razmo99).
2013-08-09 09:30:26 -06:00
Nayruden
9d03c8ad68
[FIX] A bug with being able to update replicated variables after running a listen server and then joining another server.
2013-07-27 16:16:14 -06:00
Nayruden
545d4f191b
Fixes #222
...
[FIX] A problem with self-target restrictions breaking commands under certain conditions (Thanks, iSnipeu).
2013-07-27 13:29:17 -06:00
Nayruden
add98ca82d
Fixes #200
...
[FIX] A problem with targeting in single player (Effected XGUI. Thanks, bender180).
2013-07-27 13:07:20 -06:00
Nayruden
c11aa1327b
Fixes #216
...
[FIX] Invalid time restrictions throwing an error (Thanks, Scratch).
2013-07-27 12:14:55 -06:00
Nayruden
d2b645a430
Trying to account for more possible Garry breakage in misc.lua
2013-07-20 14:38:03 -06:00
iSnipeu
0f9baf01b8
Update misc.lua
2013-07-15 10:11:08 +10:00
iSnipeu
d2bfbbe857
Update misc.lua
...
If the _G metatable is protected then that code will error, so I've put a check to see if it is and stops the code from running.
2013-07-14 22:49:50 +10:00
Nayruden
90eb800b35
Fixes #179
2013-06-01 17:38:28 -04:00
Nayruden
c53613992f
More for #175 (needless case insensitivity)
2013-05-29 16:58:16 -04:00
Nayruden
b6f808b59c
Fix #185
2013-04-14 16:17:12 -04:00
Nayruden
15ae6f3cb5
Fixed #187
2013-03-30 11:15:15 -04:00
Nayruden
d2a51aafe6
Temporary fix for ULib and #185 . This will be rolled back when we get a more permanent solution.
2013-03-26 10:39:07 -04:00
Nayruden
f884e806d2
Removed a patch we had for fixing Garry's file reading flub. Pretty sure this fixes #181 .
...
Also changed how clients received version numbers to be a little more intelligent.
2013-03-24 21:41:00 -04:00
Nayruden
dd9645819a
Fixes #175
2013-03-23 18:59:25 -04:00
Nayruden
ee7af8cbf6
Back in beta mode and fixes #152
2013-03-23 18:15:43 -04:00
SticklyMan
53e5697dfa
Updated XGUI targeting to utilize ULib's ID Targeting system.
...
You should now be able to ban any player through the gui (Fixes #142 ).
2013-01-27 18:24:59 -07:00
Nayruden
0e83dff657
Fixed error message in targeting not showing, added "$" keyword for targeting id's, and changed ulx who to show user ids instead of ent ids.
2013-01-27 19:35:16 -05:00
Nayruden
819fd56e6a
Fixes #130 (again! Thanks, Stickly Man!)
2013-01-27 17:48:42 -05:00
Nayruden
ad17c96691
Following up on cc5e8a127c
, changed callback location to be consistent with how the console command callback works.
2013-01-27 17:04:48 -05:00
SticklyMan
4a9ed78ddb
Fixed ULib.HOOK_COMMAND_CALLED not being called on chat commands. Thanks Adult!
...
See http://forums.ulyssesmod.net/index.php/topic,5983.0.html
2013-01-21 18:46:47 -07:00
Nayruden
140600cd30
Aliased !tp to ulx teleport.
2013-01-12 19:06:58 -05:00
Nayruden
a7d7e15da3
Removing code that no longer works due to garry-breakages (surprise, surprise). Also moved chat delays to their own queue.
2013-01-09 17:03:28 -05:00
Nayruden
4c4324ac88
Fixes #1 , promotion problem after using "ulx user allow".
2013-01-07 21:03:25 -05:00
Nayruden
3e981af016
Fixes #130 , queue overloading issues.
2013-01-07 19:59:42 -05:00
Nayruden
1057dc4991
FIX Error with returning from invisibility when the player has no weapons (Thanks HellFox).
2013-01-03 22:49:16 -05:00
Nayruden
0480088b30
FIX Team vs public chat doing the opposite of what it should for logs and "/me" actions. Wonder how long ago Garry needlessly changed that API without us noticing.
2013-01-03 21:12:43 -05:00
Nayruden
2068c71efc
Fixes #103 , removes some old cruft that's not longer needed.
2013-01-03 20:14:27 -05:00
Nayruden
a364c2adef
Group operator which ignores inheritance.
...
Fixes #124
2013-01-03 20:13:27 -05:00
Nayruden
1ac226963a
Removed datastream (no longer needed)
2013-01-03 20:05:15 -05:00
Nayruden
3c64c7bd54
Fixed #54 , replicated cvars causing users to be unable to join.
...
It ended up not being as complicated as I thought it would be, since I was already handling the replication myself. Also made the cvar changed hook on the client slightly nicer by including the player that changed it.
2012-12-19 16:54:54 -05:00
Nayruden
fe6606c0c8
Matching Garry's hook library changes. Fixes #94 .
2012-12-18 13:36:11 -05:00
Nayruden
69f4ac2d96
Fixes #69 (Thanks @nrlulz!)
2012-11-19 23:12:27 -05:00
Nayruden
53955dfca6
Changes to reflect Garry's additions to hook library.
...
Fixes #67
Wonder if he will ever realize that there's an actually good way to do this instead of hacking and slashing it?
2012-11-12 20:16:04 -05:00
Nayruden
4dc148edc9
Fix and normalization for last pull
...
Thanks @FPtje ! We really do appreciate the help. :)
2012-11-10 23:13:04 -05:00
FPtje
9e8774441e
Removed two redundant kicks in the ULib.addBan function
...
Added time and admin name to kick/ban reason, so clients know for how long they're banned:
Various kick/ban situations and the messages that the clients see:
ulx kick FPtje test
> Kicked by FPtje(STEAM_0:0:8944068) (test)
ulx ban FPtje 0 minge
> Kicked by FPtje(STEAM_0:0:8944068) (Banned permanently: minge)
ulx ban FPtje 1 minge
> Kicked by FPtje(STEAM_0:0:8944068) (Banned for 1 minute(s): minge)
lua_run ULib.kick(Player(12))
> [ULX] Kicked from server
lua_run ULib.kick(Player(12), 'Vote kick successful.')
> Vote kick successful.
2012-11-10 23:09:33 +01:00
Nayruden
464d7ff05e
Reinstating fix for Garry's broken API…
...
So sad.
2012-11-05 19:20:19 -05:00
Nayruden
8724b86df1
Fixes #55
...
Also removed a hack to work around garry's broken API -- looks like it is fixed now.
2012-11-04 09:51:15 -05:00
Nayruden
db12705f53
Fixed #51 by retooling our hook library
...
Made appropriate changes elsewhere in the code. Also removed an ancient reference to ULib.debug in the physics helper code.
2012-11-03 12:18:52 -04:00
Nayruden
8dbafa1f96
Changed ULib data folder references to all be lower case, fixed some convar help strings.
2012-10-27 15:26:04 -04:00
Nayruden
f46c330bab
Fixes for last minute changes at GM13 launch
2012-10-24 20:39:33 -04:00
Nayruden
adf25122cf
Merge branch 'GM13'
...
Conflicts:
.gitignore
2012-10-24 19:12:38 -04:00
Nayruden
210755e0ab
Fix for garry's removal of PCallError
2012-10-12 17:35:12 -04:00
Nayruden
6d22a09757
Kick message + GM13 changes
...
Added a new function to the hook library to match Garry's API.
Better deal with blank reasons when kicking users, fixes #13 (Thanks Cpt. David)
2012-10-07 19:02:50 -04:00
SticklyMan
95918f15cb
Fixed breakage in latest update (LUA_PATH replaced with "LUA" for second file.Find argument)
...
XGUI is visible again!
Removed some unnecessary XGUI debug print statements.
2012-10-06 22:29:56 -06:00
Brett Smith
1c847c0b6d
Tons of fixes for latest garry GM13 breakages
2012-09-23 23:22:41 -04:00
SticklyMan
8d32f56375
Normalize line endings
2012-08-01 20:23:30 -06:00
Brett Smith
e7bdfb3d5e
Merge branch 'master' into GM13
...
Conflicts:
ulib/ULib_readme.txt
ulib/info.txt
ulib/lua/ulib/shared/commands.lua
ulx/lua/ulx/xgui/bans.lua
2012-08-01 19:41:29 -06:00
Brett Smith
3cd5d44104
"ulx ban" as a natural number type again
...
This fixes #4 . Other supporting mechanisms were updated to reflect these changes.
2012-08-01 18:38:09 -06:00
Brett Smith
e75c818a2a
Not sure how this number got reduced. Oops.
2012-06-19 17:48:08 -06:00
Brett Smith
ebbf11ab4d
Committing all work done so far for GM13
...
There's some debug stuff in here still.
2012-04-23 14:20:37 -04:00
Brett Smith
abce159336
Bringing in ULX 3.53, ULib 2.42
2012-04-23 14:05:19 -04:00