b0460ed2d0bd9ed45a0f5afdbff07757bed1d784
Client ArcCharacter_RecalcMaxAttributes (0x470440) and RecalcAttributes (0x470610) treat the stats in the mob message as spent points and add rune_attr_adj from all of the character's runes, clamped to [1, max(1, sum of rune_max_attr_adj)]. The server summed only the race rune and sent the result, so the client counted it twice. Mob.getClientRuneIDs lists the runes serializeForClientMsgOtherPlayer sends (race, plus Pet 2522 for pets, Warrior 2518 + Guard 252621 for contract and guard mobs); getRuneAttribute applies the client rule. calculateModifiedStats and the mob branch of CharacterSkill use it, and the message now sends 0 (no spent points), as NPCs already do. MobBaseStats (race rune only) has no users left and is removed. Value changes (server side): - Contract mobs and player guards: +100 to all five attributes (Guard rune 252621; its max adj is also +100, so no new clamp). - Pets: + Pet rune 2522 (Str 76, Dex 76, Con 120, Int 40, Spi 40; max Str 500, Dex 500, Con 2000, Int 40, Spi 40). - The new max clamp changes no loaded mobbase on its own (checked all 2375 against their race runes). These feed mob skill values (CharacterSkill) and statXxxCurrent. Guard ATR/defense/damage/health still come from the NPCManager guard formulas. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Magicbane Open-Source MMO Project
The Community written Shadowbane emulator
Magicbane
Public Repository
magicbot@magicbane.com
Magicbane is an emulator for the long dead but much beloved Ubisoft MMO, Shadowbane. The project was founded in 2013 with the concept of free availability of gameplay; players unencumbered by any factor other than a desire to again play a game they once loved. A game where the developers do not play is guaranteed to be the fairest game.
The Magicbane Team has wanted to open source Shadowbane for half a decade. We are excited to now finally have the opportunity, along with some new technology, to truly democratize Shadowbane.
- Written in some 80k lines of Java 8 and bash.
- Project with real infrastructure; Production and development servers supporting multiple containerized apps.
- MagicBox container technology enables instant deployment and trouble free development on modest hardware.
- MagicBox plugin capability allows for new and interesting player experiences.
Contributing
- Project is released under an MIT license. Please see the LICENSE file.
- Inbound == Outbound.
- IntelliJ is the supported IDE.
- Write code today see it running on the Magicbane production server tomorrow.
Support
Documentation is available through the Magicbane Wiki and Discord server.
Description
Public Repository for the Magicbane Shadowbane Emulator
13 MiB
0 Stars
1 Watchers
0 Forks
Languages
Java
100%
