Compare commits

...

5 Commits

Author SHA1 Message Date
SticklyMan
6b26feb0e2 I can only count to four 2024-04-05 17:24:39 -06:00
SticklyMan
fcaa4033ce Restore: Micro-optimization to replace player.GetAll() with player.Iterator in the Invis hook think 2024-03-24 10:43:44 -06:00
SticklyMan
7eb152498e Back to development mode 2024-03-24 10:43:44 -06:00
SticklyMan
72c7b66989 ULib 2.71 release prep 2024-03-24 10:43:44 -06:00
SticklyMan
3a484fb5b1 Switch to lighter host for HTTP connectivity check. 2024-03-24 10:43:38 -06:00
5 changed files with 7 additions and 10 deletions

View File

@ -1,10 +1,10 @@
# ULib Changelog
## Experimental Features in Testing - *(00/00/0000)*
## Upcoming - *(00/00/00)*
* [ADD] Added a hook for PostCommandCalled (Thanks, brandonsturgeon)
* [CHANGE] Moved Users to SQLite. (Thanks, JoshPiper)
## v2.71 - *(00/00/0000)*
## v2.71 - *(03/24/24)*
* [ADD] Added a sanity check to ULib.replicatedWritableCvar to address older addons after the net code rewrite. (Thanks, ZenBre4ker)
* [FIX] Fixed some issues in player.lua with SetClip errors. (Thanks, JoshPiper)
* [FIX] Cleaned up some code in player.lua to be more aligned with our docs. (Thanks, JoshPiper)
@ -15,7 +15,7 @@
* [CHANGE] Removed gsub from the SteamID replacement string in ban reasons.
* [CHANGE] Strings can now be passed to ULib.addBan for the admin parameter. This is useful for 3rd party integrations of ULib's ban. (Thanks, wrefgtzweve)
## v2.70 - *(08/04/2022)*
## v2.70 - *(08/04/22)*
* [ADD] Hook when a new, previously unknown access is registered. UCLChanged is now called as well.
* [CHANGE] Moved bans to SQLite.
* [CHANGE] Listen server hosts can no longer be banned (thanks, lewez).

View File

@ -112,9 +112,8 @@ end
local function doInvis()
local players = player.GetAll()
local remove = true
for _, player in ipairs( players ) do
for _, player in player.Iterator() do
local t = player:GetTable()
if t.invis then
remove = false

View File

@ -467,6 +467,4 @@ if SERVER then
util.AddNetworkString( "tsayc" )
util.AddNetworkString( "ulib_repWriteCvar" )
util.AddNetworkString( "ulib_repChangeCvar" )
end

View File

@ -161,7 +161,7 @@ function ULib.updateCheck( name, url )
end
local function httpCheck( body, len, headers, httpCode )
if httpCode ~= 200 then
if httpCode < 200 or httpCode > 299 then
return
end
@ -181,7 +181,7 @@ local function httpErr()
end
local function downloadForUlibUpdateCheck()
http.Fetch( "http://google.com", httpCheck, httpErr )
http.Fetch( "http://connectivity-check.ubuntu.com/", httpCheck, httpErr )
end
if ULib.AUTOMATIC_UPDATE_CHECKS then

View File

@ -1 +1 @@
1711238607
1712359479