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
Emagi
1aae7437ef
Update RemoveSpawnSpellBonus.md
2025-05-14 10:09:41 -04:00
Emagi
0d8bb8a7a9
Incomplete doc for all slash commands that are not implemented
2025-05-14 09:51:44 -04:00
Emagi
56b70c34a7
More lua functions MD
2025-05-14 09:46:52 -04:00
Emagi
a4d16c816f
Markdown for Item Stat Types used in items and spells (bonuses)
2025-05-14 09:15:49 -04:00
Emagi
570006d757
Data Types MD: Skill and Skill Types
2025-05-14 08:49:53 -04:00
Emagi
ca901574a6
Some LUA Functions Documented..
2025-05-13 22:57:49 -04:00
Emagi
8ad25150a2
And they call it a mine!
2025-05-11 21:03:16 -04:00
Emagi
319d5d666b
Additional data types documented
2025-05-10 14:31:18 -04:00
Emagi
634c12a592
Doc G slash commands
2025-05-07 13:42:14 -04:00
Emagi
d564909c2f
Doc F slash commands
2025-05-07 11:10:11 -04:00
Emagi
2afc29cebb
Doc E slash_commands
2025-05-07 10:53:07 -04:00
Emagi
398dfe2558
Doc D slash commands
2025-05-07 10:43:08 -04:00
Emagi
8910f56ef0
Docs for C slash commands
2025-05-07 09:49:25 -04:00
Emagi
5ef2458026
Rule support for R_Combat, MaxChaseDistance and info struct float max_chase_distance
...
Rule support for R_Combat, MaxChaseDistance to restrict by server or zone the max chase distance instead of hardcoded 80.0.
Additionally GetInfoStruct float max_chase_distance added.
info struct takes precident when set greater than 0.0 for the max chase distance, otherwise we check the rule being greater than 0.0, otherwise we use the default 80 in the hardcode define
2025-05-06 19:48:01 -04:00
Emagi
75be21e592
changed to skull_type
2025-05-06 19:19:45 -04:00
Emagi
0adc6f0e04
chop added also to the type list since it seems to be hit or miss if the client is sending it
2025-05-06 19:09:36 -04:00
Emagi
c57624079b
another corner case with root using "Gather"
2025-05-06 19:05:09 -04:00
Emagi
65f53f77b7
Additionally check if older clients send "collect" for type as that is not the harvest type either
2025-05-06 19:01:38 -04:00
Emagi
13e10b315d
KoS and earllier client fixes + server exploit fix
...
- Can now use equipped charms (previously did not work had to use from inventory)
- Fixed charges not decrement when equipped for all clients (they had unlimited charges!!)
- Fixed click / interacting with ground spawns, doors, so on. Some objects may need a default setting since the older clients don't send the entity command where new clients do. Made a fallback structure WS_EntityVerbsVerbBackup for when that happens.
2025-05-06 18:38:43 -04:00
Emagi
aad24ca1e4
Some of the LUA functions doc completed
2025-05-06 12:21:14 -04:00
Emagi
cf4c16333e
B slash commands doc
2025-05-06 12:18:43 -04:00
Emagi
c207b638c7
fix lua commands api page
2025-05-06 09:55:20 -04:00
Emagi
f97dd22445
Docs DataTypes
2025-05-06 09:55:06 -04:00
Emagi
1f6fae4c70
Docs code
2025-05-06 09:54:48 -04:00
Emagi
8a466de4ee
slash commands A documentation
2025-05-06 09:53:30 -04:00
Emagi
c5f09e846d
Added quantity checks to trading so you can't trade over your item count
2025-05-06 09:06:58 -04:00
Emagi
11d46887db
Fix charm slots being visible in the client UI for DoF and KoS clients (classic does not support)
2025-05-05 15:14:02 -04:00
Emagi
ec6e98137d
Fix LUA API page links
2025-05-04 14:36:49 -04:00
Emagi
7f6a8c6bec
Start of documentation
2025-05-04 14:34:15 -04:00
Emagi
b779a225e1
remove the ground_diff changes, flying mobs were adhering to the ground unexpectedly
2025-05-04 13:29:35 -04:00
Emagi
0aa8da426b
Visual effect for level 50 is 323
2025-04-30 12:49:53 -04:00
Emagi
d624ff260d
AoM client also impacted by the issue removed version check and we will just not use the send spawn update boolean
2025-04-26 09:22:58 -04:00
Emagi
108371a077
Additional efforts to lock down spawns from moving this is looking to address remaining corner cases for Fix #5
2025-04-26 09:13:47 -04:00
Emagi
e82f2c5eb7
Update Spawn.cpp
2025-04-26 08:41:29 -04:00
Emagi
4009838f9d
Ok one last time just removing the action_state = 0 since it seems to cause the runaway.. npc's will not stop action_state when you hail/interact them because of this.
2025-04-26 08:39:12 -04:00