feat: stats graphs, playtime, ip search against ban evasion, 150-char chat

- stats graphs for the admin and moderator panels (lib/stats.js, public/stats-view.html)
- playtime, private unless shown on the card's bio tab; set on the account page
- search accounts by ip address, only against ban evasion; mods see no addresses and each search is logged
- privacy policy for the above (terms version 2026-10-17)
- the per-second save looks only at accounts in play, with a slow sweep of the rest
- items in several dens at once; chat filter hides slurs and threats by default
- sexual usernames refused; moderators may enter full rooms; guide login allowed
- 150-character chat box (client build 55)
- fixes: gifts, trades, dens, pets in dens, den recycling, special animals' colours,
  jammer walls, settings switches; the buddy list sent at login
- the item giver, the rules screen and the art studio rework
This commit is contained in:
Burrowdev committed 2026-10-17 02:00:57 +03:00
1 parent 8400d2f928
commit 04f468af2c
56 files changed
+25667 -3894

No files matched your search

+17 -2
View File
@@ -192,7 +192,7 @@ package gui
if(_loc4_.masteryCounter >= 100)
{
_inventoryMC.bMastery.visible = true;
_inventoryMC.bMastery.icon.gotoAndStop(PetManager.petNameForDefId(_loc4_.defId) + "1");
showMasteryIcon(PetManager.petNameForDefId(_loc4_.defId) + "1");
if((_loc4_.uBits >> 8 & 0x0F) > 0)
{
_inventoryMC.bMastery.mouse.visible = false;
@@ -230,6 +230,21 @@ package gui
}
}
// the mastery badge has a frame per pet that had a mastery item; this
// server lets any pet reach 100, and a missing frame threw (#2109) and
// left the rest of the inventory unset.
private function showMasteryIcon(param1:String) : void
{
try
{
_inventoryMC.bMastery.icon.gotoAndStop(param1);
}
catch(e:Error)
{
_inventoryMC.bMastery.visible = false;
}
}
// A double click on the big pet's name lets the player type another.
private function onPetRenamed(param1:String) : void
{
@@ -490,7 +505,7 @@ package gui
if(_loc5_.masteryCounter >= 100)
{
_inventoryMC.bMastery.visible = true;
_inventoryMC.bMastery.icon.gotoAndStop(PetManager.petNameForDefId(_loc5_.defId) + "1");
showMasteryIcon(PetManager.petNameForDefId(_loc5_.defId) + "1");
if((_loc5_.uBits >> 8 & 0x0F) > 0)
{
_inventoryMC.bMastery.mouse.visible = false;