437 Commits

Author SHA1 Message Date
Emagi
a73c6386eb Fix locking of equipment so that we don't add changed spawns causing a hangup 2025-06-12 13:59:21 -04:00
Emagi
1dbfa3cc7b check that the spell id is set and isn't 0xffffffff 2025-06-12 13:59:02 -04:00
Emagi
b56ac0d75b improper unlocking of mlogqs when writing queued logs 2025-06-12 13:58:40 -04:00
Emagi
8b48f9f902 Fix persist through death for things like food/drink spell effects 2025-06-12 09:49:04 -04:00
Emagi
e79cffd658 Address sending bogus spell effect icon data to the client in the Spawn Info packet. 2025-06-09 14:05:08 -04:00
Emagi
77971f36a2 removing since logging isn't available in this class at the moment 2025-06-08 15:19:11 -04:00
Emagi
2077a8e67c Update README.md 2025-06-08 15:00:17 -04:00
Emagi
fc9d92e98e Update WorldWeb.cpp 2025-06-08 14:56:56 -04:00
Emagi
82a5e96000 Work in progress for 0.9.9 so far (making its own branch for now)
- Fixed a repeated rubberband like behavior that Spawn's would run forward toward their target in combat or on their return run to their starting point.
- WS_HearCastSpell for 546-561 version has an extra byte at the end of the packet we were missing (might be in later clients too have to confirm)
- PlayerScripts support added, new function calls, AddTimer support for Players.
- Static Zones / Special Zones will now silently check to startup zones without reporting the log message, log message only on startup or taking on peer leadership.
- Broadcast and Global Announcement are now supported through peering.
- Fix #22 identified a number of loose spawn pointers and changed to int32 spawn id reference.
- Fix #1 support for all known chat codes for various channels, spell casting and damage.
- In conjunction with Fix #1 spell combat messages are fixed, no longer 'YOU cast' when another spawn casts, added last_tell_name to track the chat code %RT server side.
- size_mod added to InfoStruct Float, supports shrinking and growing Non Player's. InfoStruct also has a UINT ignore_size_mod_calc set to 0 by default, when 1 it will let you set the size_mod and items/spells will not override it from stat calculation.
- XP Table is now static (global) in the Player class so we do not constantly call the database each time the player needs to know a level's XP requirement.
- Removal of duplicate spell cast success and effect messages.
- Fix #21 blue xp bar for KoS and DoF displays properly now.
- GetExpRequiredByLevel(level) added to return the EXP required for to reach the level.
- Fix #25 teleporters cleaned up during /reload spawns to avoid crash
- Fix #16 /reload items supported in peering mode.
2025-06-08 14:53:52 -04:00
Emagi
4e43c73f9c Fix #23 - Wards deleted while in use causing crash 2025-06-03 10:03:31 -04:00
Emagi
8cd6008ba6 Fix #20 Pet back off now immediate, attacks despite pet behavior of protection 2025-05-31 10:22:34 -04:00
Emagi
45f1684c7c Update KoS and DoF clients for the pos_size_multiplier field to be set correctly 2025-05-30 21:57:08 -04:00
Emagi
b937444425 Fix leashing, leading, rubberbanding mobs. Work in progress for size mod.
Fix #18 Leashing, leading, rubberbanding issues with spawns resolved
Issue #17 Work in Progress, size mod stat support in the works, setting temporary_scale in info struct seems to modify size, the pos_size values in the position struct are not for KoS and older clients.
AddSpellBonus was translating values from float to sint32 early, now we take bonus values into player add bonus so that float values will be honored, as well as sint32.  This applies to uncontested parry, block, dodge, riposte and the size mod.
2025-05-30 21:55:10 -04:00
Emagi
97d1393627 Fix #19 Position updates ignored when dead, new rule MiniDing, fix
Fix #19 - ignore position updates when dead
New rule R_Player MiniDingPercentage
Fixed ordering of locks in RemoveSpawn
ResetSpawnPackets function created to test resetting the spawn packet to a spawn (testing purposes only not live code)
2025-05-30 21:47:57 -04:00
Emagi
6d52f19108 Additional changes made to remove use of spell pointer in recast timer unlock spell logic, assure we have no crash in this area 2025-05-30 11:03:36 -04:00
Emagi
80f56f68c4 Make sure a spawn that is available gets locked into the encounter if the encounter size is 0. 2025-05-30 10:27:34 -04:00
Emagi
cde778bb1a Fix a crash trying to unlock a spell for a player with a recast timer when the spell data is null 2025-05-30 10:27:10 -04:00
Emagi
c4fe6e7230 lua functions fixed the formatting 2025-05-28 21:48:33 -04:00
Emagi
ec2c99d175 Fix equip/unequip with calculations causing a potential watchdog 2025-05-28 14:33:34 -04:00
Emagi
d5dd79ae1c Fix lua api index and CreateConversation has no parameters 2025-05-27 10:03:02 -04:00
Emagi
3230c71c94 37 more lua functions that were missed 2025-05-27 09:56:36 -04:00
Emagi
ed754ae752 Fix AddConversationOption lua function doc 2025-05-26 08:00:35 -04:00
Emagi
6aade0b2e1 Update lua_api.md 2025-05-25 21:55:11 -04:00
Emagi
5b276f3a69 another 113 lua functions.. 2025-05-25 21:42:32 -04:00
Emagi
e793dc6895 added player count to login's world status provider 2025-05-25 17:22:27 -04:00
Emagi
4f04033e97 Fixed calculating bonuses for items when equipping and unequipping 2025-05-25 14:02:46 -04:00
Emagi
14eca6fb5b Update MiscFunctions.h 2025-05-25 11:25:56 -04:00
Emagi
0501f65fd6 Update MiscFunctions.cpp 2025-05-25 11:06:46 -04:00
Emagi
a070c64fdb Update info_struct.md 2025-05-25 07:46:35 -04:00
Emagi
8708d150bd Update info_struct.md 2025-05-25 07:45:10 -04:00
Emagi
9c5d94ae17 Update info_struct.md 2025-05-25 07:43:34 -04:00
Emagi
9de2a7cba1 Update info_struct.md 2025-05-25 07:42:05 -04:00
Emagi
b528b22a18 Update info_struct.md 2025-05-25 07:39:27 -04:00
Emagi
18880019dc Even more lua functions documented, 170 this time 2025-05-24 14:57:17 -04:00
Emagi
4a3f34efe1 Create ward_value_types.md 2025-05-24 14:45:58 -04:00
Emagi
563fddeabf Added function aliases for GetCurrentHP->GetHP and GetCurrentPower->GetPower. Previously only lua functions GetHP/GetPower existed, now all 4 functions are possible 2025-05-24 13:58:43 -04:00
Emagi
534a80d104 Fixed the HP and Power returns to be SInt32 like their code counterparts 2025-05-24 13:57:57 -04:00
Emagi
4e11c22677 Create item_types.md 2025-05-24 13:53:01 -04:00
Emagi
327029fb61 Create info_struct.md 2025-05-24 13:45:43 -04:00
Emagi
c7e4954812 Create classes.md 2025-05-24 08:32:24 -04:00
Emagi
a9a8759857 Create game_events.md 2025-05-24 08:15:26 -04:00
Emagi
dade55f717 Create channel_types.md 2025-05-24 07:49:53 -04:00
Emagi
f47896f5b8 Added support for the spawn_anim to be converted and accurate for earlier clients like KoS and DoF, when spawning skeletons, zombies so on their animation is now present 2025-05-23 17:11:57 -04:00
Emagi
ab41124e73 A lot of lua functions documented, most have examples, not all. 2025-05-23 11:50:05 -04:00
Emagi
058df3eae6 Fix the uptime of the login/world to report days correctly from convertTimestampDuration call 2025-05-21 10:36:49 -04:00
Emagi
0cb0f53c0e lua functions doc 2025-05-20 08:50:00 -04:00
Emagi
7427396a02 Additional LUA function docs 2025-05-19 13:13:42 -04:00
Emagi
804f9c3103 Additional LUA Functions Markdown documents 2025-05-19 09:46:16 -04:00
Emagi
7602666b86 Additional LUA Doc and slash commands 2025-05-15 09:50:31 -04:00
Emagi
9c7c1f317a More slash commands documented in markdown 2025-05-15 09:41:55 -04:00