chore(release): cut edge over to main — protocols 3–12 and the first release (rust phase 18, D145) #14

Merged
whitlocktech merged 29 commits from edge into main 2026-09-26 00:44:47 -05:00
Showing only changes of commit de5f0928bd - Show all commits

View File

@@ -9027,6 +9027,18 @@ namespace Oxide.Plugins
CurrentPicture();
}
/// <summary>
/// A player's Steam id as text, from <c>userID</c> itself. <c>UserIDString</c> is a
/// cached string the game fills for a player it has seen connect, and the phase 14 walk
/// read it back empty from a sleeper made on the server: an id the map could not name
/// is an own dot and a clan mate the site can never find.
/// </summary>
private static string SteamIdOf(BasePlayer p)
{
ulong id = p.userID;
return id.ToString(System.Globalization.CultureInfo.InvariantCulture);
}
private static bool Gone(BaseEntity e)
{
return e == null || e.IsDestroyed || e.transform == null;
@@ -9133,7 +9145,7 @@ namespace Oxide.Plugins
continue;
Dictionary<string, object> row = At(p.transform.position);
row["steamId"] = p.UserIDString;
row["steamId"] = SteamIdOf(p);
row["name"] = p.displayName;
row["sleeping"] = p.IsSleeping();
row["online"] = true;
@@ -9156,7 +9168,7 @@ namespace Oxide.Plugins
}
Dictionary<string, object> row = At(p.transform.position);
row["steamId"] = p.UserIDString;
row["steamId"] = SteamIdOf(p);
row["name"] = p.displayName;
row["sleeping"] = true;
row["online"] = false;