Commit graph

832 commits

Author SHA1 Message Date
Emagi
13e0d2857f Fix #455 - Falling underworld to safe spot support 2022-09-10 16:04:43 -04:00
Emagi
f694246c49 ugh last one I promise.. 2022-09-10 10:01:19 -04:00
Emagi
727ffca7b2 fix bad put 2022-09-10 09:52:49 -04:00
Emagi
972c9b575c wrong put 2022-09-10 09:50:38 -04:00
Emagi
e40f842ac0 removed benign errors about E LUA : : attempt to call a nil value in a quest script when the function does not exist 2022-09-08 07:41:43 -04:00
Emagi
b79531870c make use of atomic not volatile.. 2022-09-06 13:43:38 -04:00
Emagi
c85c3e0d25 Added LUA Function DamageEquippedItems(Spawn, damage_percent_amount) 2022-09-06 13:34:11 -04:00
Emagi
029d29760f Fix additional issues with runback causing server to hangup 2022-09-06 13:33:39 -04:00
Emagi
5c900f99f4 Fix mutex hangup / watchdog when Runback is attempted through IsPauseMovementTimerActive 2022-09-06 08:42:44 -04:00
Emagi
0af4a538c7 fix accidental override of completed description when constructing quest pointer for player 2022-09-05 15:08:04 -04:00
Emagi
e0c066fee3 Quest Completed Description no longer returning nullptr 2022-09-05 13:24:24 -04:00
Robert Allen
4b07fbdadd More TS fixes
Fixed where new scribed books would send updated device info
2022-09-05 10:24:10 -05:00
Robert Allen
3d54fd32f3 Merge branch 'master' of https://git.eq2emu.com/devn00b/EQ2EMu 2022-09-05 07:42:11 -05:00
Robert Allen
42ec692fc6 Update RecipeDB.cpp
forgot to include this is yesterday update
2022-09-05 07:41:50 -05:00
Emagi
371b1ce86a Quest reward was not using completed description 2022-09-05 07:55:52 -04:00
Emagi
65fcf60f6f Fix temporary and final quest rewards giving wrong description 2022-09-05 07:46:50 -04:00
Emagi
35259b1399 Fixed missing strength damage on primary weapon 2022-09-05 06:42:54 -04:00
Emagi
9f51f8bdd0 Fix #468 glow queue fix and version update to 0.9.5 EpsilonCMa 2022-09-04 17:15:59 -04:00
Robert Allen
062b61c22e TS bench and recipe List Fixes
TS bench and recipe List Fixes
Required world list XML update as well Should be included
this will fix 1 items of Issue #467 Tradeskill stations should restrict recipes( these basics take care of standard devices found in starting cities will need some work for house and summoned devices)
PS. i really hope i dont screw this up
2022-09-04 11:30:19 -05:00
Emagi
b510c670c6 Merge branch 'master' of https://git.eq2emu.com/devn00b/EQ2EMu 2022-09-01 20:45:51 -04:00
Emagi
0aad34e884 Fix #463 missed in last update 2022-09-01 20:45:25 -04:00
devn00b
e57aa85050 Fix from EmemJR "...the current code is setting the level 1 spells to tier 0"
Full Quote: "this is becuase for recipes  level 1-9 are tier 1 recipes 10 -19 are tier 2 etc the current code is setting the level 1 spells to tier 0"
2022-09-01 23:13:45 +00:00
Emagi
4442e6bc02 Fix #465 and Fix #463 2022-09-01 10:15:21 -04:00
Emagi
15a1f623be EmemJR identified recipes not loading due to bench requirements, we will code device restrictions later 2022-08-28 08:04:55 -04:00
Emagi
8d7fc94912 Fixed new mail not being available to player until zoning 2022-08-24 14:59:19 -04:00
Emagi
6354037a73 fix items being attached due to bad isnumber check on set mail item 2022-08-24 14:29:17 -04:00
Emagi
2296f54d7c Merge branch 'master' of https://git.eq2emu.com/devn00b/EQ2EMu 2022-08-22 10:59:03 -04:00
Emagi
2090f6d612 - Can now /reload items [item_id] to reload a single item
- Fix #437 /spawn set loot_tier and loot_drop_type now available for spawns
2022-08-22 10:58:50 -04:00
devn00b
86f2f9185b Removed IRC/Patch folders from windows project. 2022-08-21 20:12:51 +00:00
Emagi
7271e470f3 - Range attack now has strength based damage added
- Fixed "Ranged" skill-ups instead of damage type (piercing, slashing so on)
- Fixed skill ups not occurring if you are behind target
2022-08-21 06:49:15 -04:00
devn00b
ec47bba26a Made console message about typing help display to windows users only since it only works on windows. 2022-08-21 04:46:56 +00:00
Emagi
dc8b469de3 - Strength damage now applicable to both low and high damage
* New rules:
 * R_Combat, StrengthNPC = 10
 * R_Combat, StrengthOther = 25
 * these are dividers, player_strength / 25 (or for NPCs a divide by 10), minimum value of 1 allowed
- ChangeLevel now properly called inside AddXP when player level changes (this is required!) else skill ups do not occur.
- Added weaponry to skillups (piercing, slashing, so on) since it wasn't skilling up
- Fixed crash upon not being able to load a recipe (if someone were to remove recipes from the DB that a character needed)
2022-08-20 07:52:10 -04:00
theFoof
27cc0415c0 Merge branch 'master' of https://git.eq2emu.com/devn00b/EQ2EMu 2022-08-18 23:43:47 -04:00
theFoof
45711bf9a6 Client::CreateMail was memsetting over std::strings
Loaded new recipe tables into current tradeskilling code
 -The RecipeID foreign key in the character_recipes tables needs to be updated to new `recipe` table
 -There is extra data in the recipe tables not being utilized due to current code constraints/missing items etc
 -Fixed an issue with the Recipe(Recipe*) constructor and level requirements not being loaded into recipe_books for scribe checks
 -Made character recipe/book updates async
2022-08-18 23:42:46 -04:00
Devn00b
1922ca362c Removed unused patch server code. 2022-08-18 20:26:39 -07:00
Emagi
d01cf3e2cf Fix #269 - Support for Player Inspection /inspection command of Equipment and Appearance Items 2022-08-17 13:00:08 -04:00
Emagi
57cd568e69 Fix #441 - house lore support, mapping item ids to spawn and spawn id to to item id.
Also fixed a crash when placing a item and there is no item script assigned to the item
2022-08-14 14:27:07 -04:00
Emagi
60928d2e0c Fix #448 - Scroll/Recipe scribing fixes
* Spells now have level and class checks
  * Recipes now have class checks (already had level checks)
  * Recipes now fallback to the item recipebook info to populate players recipes from a recipe book if the recipe book is not properly configured by book name
Fix #396 - Implemented subspawn tables so we can update specific types of spawns, in this case collectors when we remove the red book
Fix #205 - ground spawns now can have random heading assigned or forced heading
alter table spawn_ground add column randomize_heading tinyint(3) unsigned default 1;
randomize_heading = 0 uses base heading in the spawn location
randomize_heading = 1 means all spawns will have a random heading 0-360 degrees
Fix #118 - Knowledge sorting / spell book updates now correctly work.
  * Down/Across patterns now supported (zig-zag was default)
Fixed a crash when a spawn spell is interrupted and then the spawn dies to a melee attack could cause memory corruption removing spell timer pointers
Startup opcode warnings are now grouped by versioning to allow easier troubleshooting, DoF uses 546 and AoM 60085, thus most opcodes warnings are not relevant to supported cases
Fixed a regex crash on /findspawn
2022-08-13 10:40:04 -04:00
Devn00b
742f91c50f Removed IRC system. It was no longer used. 2022-08-10 17:46:04 -07:00
Emagi
562e914f26 fix %I64u to %llu 2022-08-10 13:20:40 -04:00
Emagi
f87bcb22be quest read lock vs lock 2022-08-09 20:40:57 -04:00
Emagi
4b12989de2 Maybe, why not? 2022-08-08 17:09:31 -04:00
Emagi
559c5b6ee9 Fix quest reward acceptance when there are no items to be accepted, dialog won't keep queueing 2022-08-07 06:27:12 -04:00
Emagi
1068849ef8 Fix #451 - basic pvp mitigation / mitigation integration
Fix #458 - fixed memory leaks in lua quest step location/zone loc functions and also languages memory cleanup

New Rules:
       RULE_INIT(R_PVP, PVPMitigationModByLevel, "25"); // gives a bonus to mitigation for PVP combat to offset the percentage level * mod (default 25)
       RULE_INIT(R_Combat, EffectiveMitigationCapLevel, "80"); // level multiplier for max effective cap, level * 80 (default)
       RULE_INIT(R_Combat, CalculatedMitigationCapLevel, "100"); // The cap to calculate your mitigation from is [level*100].
       RULE_INIT(R_Combat, MitigationLevelEffectivenessMax, "1.5"); // ratio victim level / attacker level for max effectiveness, when victim is higher level cap can reach 1.5
       RULE_INIT(R_Combat, MitigationLevelEffectivenessMin, ".5"); // ratio victim level / attacker level for min effectiveness
       RULE_INIT(R_Combat, MaxMitigationAllowed, ".75"); // percentage max mitigation allowed, eg. 75% of damage can be mitigated max in PVE
       RULE_INIT(R_Combat, MaxMitigationAllowedPVP, ".75"); // percentage max mitigation allowed, eg. 75% of damage can be mitigated max in PVP

InfoStruct now has two unsigned int16 values that offer mitigation percentage values in integer formats, eg 155 = 15.5% mitigation
mitigation_pve
mitigation_pvp

Updated formulas to use effective_level (mentor/actual level) vs just player level
* Dodge
* Block

Bug fix for crash in non existent quest being called for /modify quest advance
Bug fix for improperly trying to stack items that are not stackable (count of 0 items, stack count of 1)
Bug fix for inventory updates, typically with overflow slots and after deleting items from inventory (packet count needs to be updated with current size in PlayerItemList::serialize)

Collections/Rewards:
- Display is now one reward at a time
- Display of award now only allows the reward cash, status to be provided once
- Database persistence of unaccepted rewards cross-zone with two new tables
- Selectable collections now checks if either field provided in /accept_reward is a potential item id (this is likely due to a client versioning)
2022-08-06 18:22:29 -04:00
devn00b
72e9c0252c Moved SetCityZone to WorldDatabase::LoadZoneInfo. 2022-07-31 03:49:36 +00:00
devn00b
e651e2cf0f Fixes for crash on windows with UTF-16 NPC names (should never happen) and Fix for high CPU usage on windows with constant loading zones 2022-07-30 21:06:28 +00:00
Emagi
0e00165195 - Fix #453 PlayFlavor re-design
PlayFlavorID(NPC, type, id, index, Player, language)
Set Player to 'nil' to send to all clients, specifying a Player will make it send ONLY to that player
New command /reload voiceovers added
- versioning updated to 0.9.4-aquarii
- Fix #454 Support for SendShowBook to have language, items field 'book_language' added
- Some debug log cleanup
2022-07-24 22:19:45 -04:00
Devn00b
17eb8e0d23 Added ability to search broker for Sales Displays 2022-07-20 23:14:22 -07:00
Devn00b
364f9ff210 Added ability to search broker for tinkered items. SQL update needed. 2022-07-20 18:12:03 -07:00
Devn00b
828b080559 Added ability to search 'Tradeskill' items from the broker 2022-07-20 00:26:34 -07:00