The client reads the rotation of a PlatformResync as w, x, y, z, and live
sent it that way (a NJ counterweight's resync began with its w). It was
written x, y, z, w, which only showed with a rotation other than none.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
SetTooltipFlag, SetLastCustomBuild, ModifyPlayerZoneStatistic and
UpdatePlayerStatistic are only handled for the character of the player
that sent them. ReportBug, ReportOffensiveModel and
ReportOffensiveProperty report for the sender's own character, whatever
object they name. RequestActivityExit is only handled for the player
that sent it, and ZonePropertyModelRotated checks for the sender's
player before using it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
LWOPreconditionComponent::CheckPrecondition fails a type it does
not know and logs it; the server passed it. No row of the table has one, so
nothing changes for the shipped data.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The verify behaviors' parameter is check_blocking (on 145 of them), and the
client checks blocking unless it is 0. The server read "check blocking", which
no behavior has. It now reads check_blocking with the client's default. The
blocking check itself is still to be written.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The CDClient script components of the summoned pets and allies (Bulper, Thwok,
the Make-Shift Buddies and others) name scripts\EquipmentScripts\StunImmunity.lua.
The script table had stunImmunity.lua, so those objects never got the script and
were not made immune to stuns, knockbacks, interrupts and pulls. The table now has
the game's path.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The Gnarled Forest masts give the cinematic lead-in as LeadIn, an integer
(LeadIn=1:1). The mast script read LeanIn as a float, so the swing cinematic
always played with no lead-in. It now reads LeadIn and takes the integer.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The client sends UnUseBBBModel, BBBLoadItemRequest, BBBSaveRequest,
ActivateBrickMode and SetBBBAutosave for its own character, and they
were handled for whichever object they named. They now always work on
the player that sent them; FetchModelMetadataRequest looks among that
player's models. BuildModeSet is only handled for the player that sent
it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A live update, a world reload and an instance migration start a new
instance that takes over from a running one, which stops once it is
empty. With max_instances reached they were refused, which left the old
instance with no replacement. These starts are no longer held to
max_instances; they still have to be zones of the ZoneTable.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
GetEditorLevel (627) is one the client only sends to its own objects: its
character component answers it, and the message is never written to or
read from the network. The world no longer reads it from a client or
sends an answer. The editor level still reaches the client with the
character and in its save.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Once both players had given their final accept, live sent each an empty
ServerTradeUpdate with bAboutToPerform set, and the client shows the trade
as complete (LWOTradeComponent::SendMessage, "SetTradeComplete").
The server only sent the accepts that close the window. It now sends the
update first, before the items move.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The client puts ServerTradeInitialReply in chat: "Trade invitation sent.",
"User not in zone.", "Player out of range." or "Player already trading."
(LWOTradeComponent::SendMessage). Live sent INVITESENT, with the
invitee's name, to every trade request, also the one that accepts an
invitation. The server sent none, so a request to a player not in the world
went unanswered.
A request to a player who is in a trade with someone else is now refused with
ALREADYTRADING. Before, a second trade was made with that player in it, and
which of the two their messages went to depended on map order.
Out of range is not sent: there is no evidence of the distance.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The client's trade window takes an item only when its details say it is
moderated. A pet is moderated when it has no name yet or an approved
one; a name waiting for moderation, a rejected one or one that has to be
renamed keeps the pet out of the window. An offer with such a pet is now
refused like the other offers the window can not make.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Rebuilding a brick by brick autosave when a character loads no longer
stops the world when the save can't be read, splits into more models
than any build does, or fails to store: the save is logged and marked
held (bbb_autosave.held_at), the open models and bricks go back, and the
row stays as it is. A held autosave is not rebuilt again; the client's
next autosave replaces it. A brick by brick save that fails to store
answers with ModelGenerationFailed instead of stopping the world.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A multi-zone entrance (the LUP launch pads) equips the player's rocket when
used and opens the zone menu. Closing the menu without a launch, or dying with
it open, fires the same "CancelLaunch" event at the entrance, locally and to
the server (LWOMultiZoneEntranceComponent::MultiZoneEntranceSelected
Run). Only the property entrance handled it, so the
rocket stayed equipped there. Both now take it off.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The vendor window checks an item's reqPrecondition in the vendor buy context
(an unnamed function in LWOVendorComponent, through
LWOItemComponent::StaticCheckUseRequirements) and greys out what
the player does not meet, without a tooltip. The server sold the item
whatever its requirements; a buy that fails them now gets the vendor's
normal PURCHASE_FAIL, for both the vendor and the achievement vendor.
Rows without the vendor buy bit (the thinking hat one, validContexts 252)
still do not stop a purchase; the level ones (249) do.
PreconditionExpression::Check takes the client's bShowTooltip flag, so this
check sends no NotifyClientFailedPrecondition.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Team and guild chat use the same filter as zone chat, and whispers the
same one as the world's string check (the relaxed list between best
friends). A message the filter stops is logged as blocked and goes to
nobody. A muted player gets the mute notice zone chat sends.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The client's HasItem and DoesNotHaveItem checks count the item with
ignoreBuyBack set (LWOPreconditionComponent), so what was sold to a
vendor and sits in the buy back list is not held. The count here took every
inventory, buy back included; the item cost of a quickbuild is picked with the
same count.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
LWOPreconditionComponent::CheckPrecondition passes type 19 when
GetPlayerInteraction answers no object. It always failed here, so nothing
that asks for it (precondition 136) could ever be used.
The client keeps its current interaction itself and does not tell the server
when most of them end; taming a pet is the one the server follows from start
to end, so that is what fails the check.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
LWOPreconditionComponent::CheckPrecondition answers type 16 with
"the racing licence level is at least the value" and type 17 with the opposite.
The level comes from the mission component: 1 once mission 637 has been
completed, 0 before (LWORacingMissions::SendMessage). Both types
always failed here, so the item that asks for a licence (precondition 67)
could not be used by anybody.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
LWOPreconditionComponent::CheckPrecondition is given the context
of the check and passes a precondition whose validContexts does not have that
context's bit: 0 buying from a vendor, 1 a vendor listing its items, 2
equipping an item that is bound to the player, and none (-1) for everything
else, which leaves out the rows that only name those three (a value under 5).
A row with no context at all fails. Every row was checked everywhere here.
Two things change:
- Preconditions 338 and 339 (mission 1926 / 1918 completed, validContexts 3)
are for vendors only and no longer stop an item from being used or equipped.
- A bound item was equipped without any of its requirements. It is now checked
in the bound item context, as the client checks it before asking: only the
level requirements (validContexts 249) are left out.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Using a property launch pad equips the player's rocket and opens the property
browser. When the browser is closed without a launch, or the player dies with
it open, the client fires "CancelLaunch" at the launch pad, locally and to the
server (LWOPropertyEntranceComponent::onPropertyEntranceSelected,
). Nothing handled the event, so the rocket stayed equipped until the
next world load.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Three client messages had no handler:
- BuildExitConfirmation (1072): the client says it left a build mode, after
the last message of that mode (LWOPropertyManagementComponent::DoSetBuildMode
). It is addressed to the thinking hat the player wears
or to no object, neither of which is an entity here, so the player who sent
it takes it. Live answered nothing in the 10 captured ones, and the messages
before it already ended the mode, so it is checked and logged.
- PropertyModerationAction (915): the owner started editing a property whose
moderation status is not 0 and asks for 0 (LWOPropertyManagementComponent
). Live answered nothing in the 3 captured ones. The approval of an
edited property is already taken back when the edit ends, so it is checked
(own character, may build here, status 0) and logged; nothing new is stored.
- RequestLeaveProperty (1489): a visitor left through the "the owner is
starting to build" dialog
(LWOPropertyManagementComponent::onBuildModeVisitorConfirm). The
player is sent to the world the property's launch pad returns to, as the
visitors who are sent away when building starts.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
The client tests a box against the property's boundary path and build height:
the box around the path's points, raised to maxBuildHeight above its lowest
point and with no floor, then the box's centre and bottom corners against the
path as a polygon. The server placed a model wherever UpdateModelFromClient
said.
PropertyBounds is that test, and UpdateModelPosition runs the model's position
through it with the path and height DownloadPropertyData sends. The server has
no box for a model, so only the position is tested. A refused placement leaves
the item in the inventory and is answered with PlaceModelResponse 12, for which
the client shows its placement bounds message.
Models already on a property are not tested, moved or removed, wherever they
stand; a property without a boundary path refuses nothing.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
PlayerFlags.OnlySetByServer marks 22 flags. The client's flag component refuses
to set them itself (LWOFlagComponent::SendMessage logs "Attempted to
set a flag from the client side that can only be set from the server"), and
none of the 205 client SetFlag messages in the live captures named one; the
server set them. SetFlag::Handle set whatever flag the message named.
The message is now dropped for those flags, with a debug log line. Flags
already saved on a character are not touched.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
LWOGhostComponent::LoadFromSaveData reads <ghst i> under <obj> and
the client hides its own character again once the scene has loaded when it is
set. Nothing wrote or read the element, so a GM was visible again after every
world change.
GhostComponent now writes <ghst i="1"/> while invisible and reads it back. A
save without the element loads as visible and is not given one; an element
that is set goes back to 0 when the GM is visible again.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
LWOPropertyEntranceComponent::onRequestPropertyInfo sets the two
flags of PropertyEntranceSync when the search text is part of the map's default
property name / description, which the client shows for a property that has
none of its own. Both were read and ignored, so a property without a name or
description was never found by the text the player sees on it.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Live replies to a friends query listed the friends' properties whatever their
access type (64 entries with accessType 0) and the properties of the account's
other characters (28 entries, isAlt set); the client draws the lock on the ones
that are closed. The query only returned friends' properties that were open to
friends.
The list was also what kept a closed property from being entered, so
PropertyEntranceComponent::OnEnterProperty now checks the selected entry itself:
public for everybody, friends-only for friends, as before. Entries after the
first are never marked as owned, as live.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
With bind_ip empty, chat, dashboard and UGC bind 127.0.0.1 only when master
is a loopback host; otherwise nothing changes. A set bind_ip always wins.
Auth, master and the worlds are unchanged.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The child closes every descriptor above 2 before exec, so master's UDP
ports are released when master stops. Process::Run closes them too.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
LWOPreconditionComponent::msgCheckAllPreconditions splits the list at ",;:" into groups and each
group at "|" into alternatives, and reports the alternatives of a group only when the whole group failed.
Here everything after a "|" was one alternative, so "248;290|340;338" did not ask for 338 when 290 passed, and
a failed alternative was reported to the client although the other one passed: with "62|26" (1715 items) a
player wearing item 7994 was told precondition 26 failed.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
LWOPreconditionComponent::CheckPrecondition answers types 1, 3, 15, 17 and 23 with the opposite of
the list check of types 0, 2, 14, 16 and 9, which passes on the first value that meets it. Faction and flag lists
passed here as soon as one value was not held: precondition 66 (not faction 1 or 33) passed for every player.
The level check (type 22, an unnamed client function) passes on the first level reached, like the other list checks.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
LWOPreconditionComponent::CheckPrecondition answers type 3 with the opposite of type 2's check
(an unnamed client function: the count of the LOT is at least targetCount). Here it asked for the item to be equipped, so
precondition 3 (none of LOT 2633) could only be met while wearing the item it forbids.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
LWOMovementAIComponent::ProcessDelayAction stores the delay and stops
LWOMovementAIComponent::msgArrived at that command, remembering which one it was. The object stands
at the waypoint for the delay, then the waypoint's other commands run and it walks on. A fight ends the wait.
36 waypoints use it (Nimbus Station pet ranch, Starbase 3001, the LEGO Club); the command did nothing before.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
PathFollowWaypointsHelper goes on to waypoint 1, or to the one before the last, when it runs off an
end of a bounce path. Here the turned path started with the waypoint the object stood on, so that waypoint was
reached again at once and its commands ran twice.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
LWOMovementAIComponent::LoadConfigData reads attached_path_start next to attached_path, and
LWOMovementAIComponent::ProgessChangeWPAciton splits "path,waypoint" at any of ",;:".
PathFollowWaypointsHelper::SetCurrentPath then heads for that waypoint of the path.
Both started at waypoint 0 here, and after a changeWP the new path's first waypoint was skipped. Avant Gardens
Survival's 26 changeWP commands all name a waypoint ("RaceTrack_01,6").
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
LWOPropertyEntranceComponent::msgPropertySelectQuery hands wasFriends to the browser UI.
Live sent 1 on all 27 replies to a sort 5 query and 0 on all 8 replies to sort 1 and sort 3; it was always 1 here.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
The shipped trigger files name the command DectivateSpawnerNetwork. The server
now reads that name as the deactivate spawner network command, so those triggers
run, and the edited file checks take it. The correctly spelt name stays as an alias.
The shipped files test no longer lets unknown trigger ids through for the
retail clients.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
A world server answers the client's level editor: it remembers per connection
whether the editor is on (and never sends such a client a zone load), takes and
gives up the zone's lock, says whether files may be sent, takes them, sends the
zone's files, and reloads the zone. Who may is the same as for the dashboard's zone
file API: the account's editor level against zone_publish_gm_level, the zone's
editors or an admin, and the lock's holder to send files. Files are unpacked,
checked, written and packed on a worker thread, and every request is in the audit
log.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
ZoneFilePack reads and writes the editor's packed files: named entries whose data is
sd0, one entry for a single file or the zone, terrain, scenes and triggers of a whole
map. Every length is checked, data that is not sd0 or has a chunk over 256 KiB is
refused, and only a name's base name is used. ZoneFilePush makes a set of what was
sent (one file replaces that file in the zone's set), checks it and applies it like
any other set.
The override store links a set's files instead of moving them, so a file the zone
already has can be carried into its next set, and one change at a time is made in an
override folder whichever server makes it. The asset manager can read the client's
own file past an override.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>