Commit Graph
7 Commits
Author SHA1 Message Date
MagicBotandClaude Opus 5.5 48ce01f8d0 Parse zone resource and state events, add event save and JSON
ArcZoneEvent_BuildFrom (sb.exe 0xC8ED20) builds ArcZoneEvent,
ArcZoneResourceEvent (0xC904F0) or ArcZoneStateEvent (0xC952E0); Python
read the base fields only for all three and had no save or JSON code.
Field names come from each class's ParseKeyword; trigger types and
state actions use the client name tables (0x176AF20, 0x176A40C).
Base event unknowns are the event-name hash, parent-name hash and
has-parent flag; the trigger action's third bool is has_items.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 11:00:51 -04:00
MagicBotandClaude Opus 5.5 90656a4ab5 Parse mobile inventory contents as client InstanceInfo
The inventory read when mobile_has_content is set overwrote one
attribute per field, never loaded its power action list and had no
save or JSON methods. InstanceInfo follows InstanceInfo_ctorFromStream
(sb.exe 0x674810); field names come from InstanceInfo::ParseKeyword
(0x66FA60). Power action entries (0x54F680) keep the item power action
id/arguments layout; their remaining fields are unknownN.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 10:57:11 -04:00
MagicBotandClaude Opus 5.5 cf976a9363 Load, save and export hireling, pet and minion mobiles
ArcHirelingInfo_ctorFromStream (sb.exe 0xC65A90) reads product, stock,
minion and service element lists that were created but never loaded,
and Hireling/Pet/Minion had no save or JSON methods. Sub-records follow
the client loaders (Product 0xC60E50, MinionElement 0xC63410,
ServiceElement 0xC64350); int32 values are read signed, product
prefix/suffix ids are hashed. Unnamed fields are numbered unknownN.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 10:55:28 -04:00
MagicBotandClaude Opus 5.5 e879110c58 Add JSON save and load for shopkeeper and merchant mobiles
ShopKeeperInfo and MerchantInfo only had binary methods, so a zone
holding either type could not be unpacked.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 10:51:30 -04:00
MagicBotandClaude Opus 5.5 d4008b1a9f Read prop light color as floats and registry as signed
ArcPropInfo_ctorFromStream (sb.exe 0x680360) loads LIGHT_COLOR as four
floats (0x6BB2A0) and REGISTRY with ResStream_ReadInt32, reading the
registry name only when it is greater than zero.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 10:48:20 -04:00
MagicBot 89faf12277 mbEditorPro 2.1 2024-03-30 10:44:19 -04:00
MagicBot 942b33a252 mbEditorPro2.0 release 2022-12-25 08:47:00 -05:00