1
0

257 Commits

Author SHA1 Message Date
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
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
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
058df3eae6 Fix the uptime of the login/world to report days correctly from convertTimestampDuration call 2025-05-21 10:36:49 -04:00
Emagi
8ad25150a2 And they call it a mine! 2025-05-11 21:03:16 -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
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
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
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
Emagi
eba0cf0505 More enforcement for spawns running away in hail conversation for Fix #5 2025-04-26 08:33:00 -04:00
Emagi
83b48e3770 Fix #12 support for public spawns, lockable_encounter int8 in info struct default 1, when set to 0 public spawn all can attack no locked encounter 2025-04-26 08:15:15 -04:00
Emagi
c861e103d9 Fix #8 info struct has a int16 max_level, when set greater than 0 will restrict the max level a player can reach (does not impact already set level or GM commands, lua changelevel, only XP gain for Adventure/Tradeskill level) 2025-04-26 08:14:35 -04:00
Emagi
73e9e01ae9 Fix #5 NPCs running away when FaceTarget/PlayFlavor is used in combination 2025-04-26 08:13:46 -04:00
Emagi
5d77208ff1 Revert "If a grid is not assigned to a spawn then we will try to force one on the map if they are not a flying creature"
This reverts commit c177dc910d0adcf7cfda5415d6eecae681754553.
2025-04-21 21:42:40 -04:00
Emagi
c177dc910d If a grid is not assigned to a spawn then we will try to force one on the map if they are not a flying creature 2025-04-21 14:18:55 -04:00
Emagi
ce6ad0e2a3 Fix #2 - Spell tier data not sent correctly to client
- KoS and earlier clients now show appropriate tier data after logging in
- AoM additionally shows tier data correctly, after skill info request for spells we send the spell data back so the client does not later ask for the spell data also.
2025-04-12 10:26:02 -04:00
Emagi
1268ecbc94 Fix Issue #3 - Class Updates, Name Updates to LS
Support added for class updates to LoginServer when adventure class is updated (such as commoner to sub class, so on).

Name change for GM command /name support added for LS update.  This is a use at your own risk command and you will have to /camp to fully reflect your name update.
2025-04-11 09:49:18 -04:00
Emagi
20c1d1cc8a remove unused line 2025-04-05 14:47:48 -04:00
Emagi
8b4b550b5c Fixed widgets, signs, objects in zones that have dual maps due to different grid designs in old clients 2025-04-05 14:12:34 -04:00
Emagi
d1d84bd7a4 Fixed /zone command and zone string checks to make a full check not partial check 2025-04-02 11:31:14 -04:00
Emagi
7b6d5d75f6 reusing EQStream buffer for WritePacket 2025-03-26 12:28:44 -04:00
Emagi
61aec683b5 revert SendShowBook to fix /spawn details and other use of the book pages 2025-03-21 11:21:31 -04:00
Emagi
fd147a0fd0 LUA Function Added HasPendingQuest(Spawn: Player, Int32: QuestID) 2025-03-21 08:48:50 -04:00
Emagi
2a89989e0c hide_reward to not show anything on offer quest
alter table quests add column hide_reward tinyint(3) unsigned not null default 0;
2025-03-15 15:44:24 -04:00
Emagi
71217ce0ec Provided a update to quests to have a persisted status
alter table character_quests add column status_to_earn int(10) unsigned not null default 0;
alter table quests add column status_to_earn_min int(10) not null default 0;
alter table quests add column status_to_earn_max int(10) not null default 0;
2025-03-15 15:31:02 -04:00
Emagi
c4c96904d1 Assure the db entry of the byproduct is valid to use 2025-03-13 06:48:12 -04:00
Emagi
2c49d9c76e Support byproduct to update quests for craft updates 2025-03-13 06:35:55 -04:00
Emagi
55dd33e947 included version in config get struct failure 2025-03-10 14:41:05 -04:00
Emagi
e0943377df spawn details fixed after cygwin change 2025-03-10 14:40:46 -04:00
Emagi
54a215d1ba code warning fixes 2025-03-05 08:37:52 -05:00
Emagi
fbe00fc46f additional crash protection from a bad client/connection 2025-03-04 21:58:50 -05:00
Emagi
89acf4da25 netcode crash fix 2025-03-04 21:42:35 -05:00
Emagi
63062737ac PVP rules for bind zone alignment (PVPType = 1) or SetAlignment from lua (PVPType = 2) 2025-03-03 21:36:57 -05:00
Emagi
70c9fd0124 fix groups finding members in a instanced zone 2025-02-26 17:27:14 -05:00
Emagi
ae0b6c4b04 proc_ext function in Spells now includes InitialCaster as a fifth argument, eg function proc_ext(Caster, Target, Type, DamageType, InitialCaster) 2025-02-23 13:12:04 -05:00
Emagi
97a6405506 /weaponstats crashes if the slotted item is allowed in primary/secondary/ranged but does not have the item type to have weapon or ranged info 2025-02-19 18:04:48 -05:00
Emagi
1c35309538 fix behavior on zoning for clients to not impact other players 2025-02-09 19:06:49 -05:00