Commit graph

924 commits

Author SHA1 Message Date
image
1e90b2597a Exe Update 2020-09-05 22:31:10 -04:00
image
897df23280 Fixed async query, added new reason string to remove spell function in LUA
- Fixed a async query for npc_appearance on skin_color to use insert param
- spell 'remove' function now has third parameter 'reason', canceled, expired, purged, death and pet_death
2020-09-05 22:31:04 -04:00
image
b22b7201c1 Merge branch 'FixJacquesSpawnScript' of pboyd04/EQ2EMu into master 2020-09-05 10:18:47 +00:00
Patrick Boyd
653e405b2c Fix Brianna and Jacques scripts 2020-09-04 22:43:06 -05:00
image
e13973b2b2 Merge branch 'FixJacquesSpawnScript' of pboyd04/EQ2EMu into master 2020-09-05 03:19:03 +00:00
Patrick Boyd
2a3baec376 Add debug prints to OfferQuest + fix bug in Jacques spawn script 2020-09-04 21:00:33 -05:00
image
5326a3a172 Exe Update 2020-09-04 08:05:19 -04:00
image
b3ff45314c custom spawnset result message for skin_color 2020-09-04 08:05:15 -04:00
image
00cdd85fb6 Exe Update 2020-09-04 07:31:13 -04:00
image
81aa1f23e3 LUA SpawnSet and SpellHeal updates
SpawnSet(NPC, "skin_color", "255 0 0", false, true)

skin_color takes in 3 arguments as a string, R G B
two new parameters after value:
- no_update, when set to true (default false, its an inverse flag of send_update) we will not send update of spawn changes
- temporary_flag, when set to true database is not update (default false again to keep compat with LUA scripts).

SpellHeal(Spawn, "heal", min, max, NPC, 0, 0, "New Spell Name")
2020-09-04 07:31:07 -04:00
image
409a8d78c4 Exe Updates w/ latest merge 2020-09-03 17:09:50 -04:00
image
d13f594c8c Merge branch 'ReduceCompilerWarnings' of pboyd04/EQ2EMu into master
appreciate the fixes, thanks!
2020-09-03 21:07:35 +00:00
Patrick Boyd
3078e12938 Reduce compiler warnings in login server 2020-09-03 14:43:40 -05:00
image
3bf84a29e0 Exe Update 2020-09-03 13:19:55 -04:00
image
5957ec2042 Fix crash on zoneserver shutdown
Fix 
2020-09-03 13:19:50 -04:00
image
5b717c408a Exe Update 2020-08-31 23:17:20 -04:00
image
b908936a6e crash fix with CastProc on dead spell ptr
Fix 
2020-08-31 23:17:15 -04:00
image
d43afc21d2 Merge branch 'master' of http://cutpon.com:3000/devn00b/EQ2EMu 2020-08-31 21:58:42 -04:00
image
e37eac5fdb Exe Updates 2020-08-31 21:58:27 -04:00
image
dd01a9ce4a Fix locking release for updating logq 2020-08-31 21:57:54 -04:00
image
7ae7d637a3 Protection to group members and also heroic opportunities (avoid crashes)
Fix 
2020-08-31 21:57:42 -04:00
devn00b
929de67637 Update to Spells/Quests Lua 2020-08-31 21:47:09 +00:00
image
d3eef5b745 Exe Update 2020-08-30 17:48:51 -04:00
image
a41aa0fa6d SetQuestsRequired is now mutex protected, trying to prevent crash on deconstructor 2020-08-30 17:48:46 -04:00
image
4e7b684db3 Exe Update 2020-08-30 08:30:56 -04:00
image
5bf65b9399 Protection on group member info when updates are made
Prevents corruption in the group member pointers.. clients couldn't see each other in group lists or chat to each other depending on special conditions
2020-08-30 08:29:19 -04:00
image
ee62b2ee39 Exe Update 2020-08-30 07:30:27 -04:00
image
45710414ec Group members should now always be temp removed on zoning/client deconstruct 2020-08-30 07:30:22 -04:00
image
def9e92b21 crash/leak for loot fixed 2020-08-30 07:30:07 -04:00
image
e4912f391e Exe Update 2020-08-28 21:26:45 -04:00
image
de53282c12 changed windows watchdog behavior to not delete zoneserver 2020-08-28 21:26:40 -04:00
image
829b930f82 Fix Pet command with no arguments
Fix 
2020-08-28 21:26:27 -04:00
image
1de2ed29fa Exe Updates 2020-08-28 11:19:08 -04:00
image
0341a2f210 Remove old data structure from struct_data map, prevents memory leak / buffer overflow
Fix  may also be the reason for Fix 
2020-08-28 11:19:02 -04:00
image
2ebc48c157 Spawn indexes in Player class now protected by mutex
Fix 
2020-08-28 11:18:22 -04:00
image
cbb399fad4 Update Entity.cpp
Protection for Fix 
2020-08-28 11:15:56 -04:00
image
a098007f09 Exe Update 2020-08-26 07:37:01 -04:00
image
56a987274d fix to watchdog code to remove zone entry in iterator when we force shutdown 2020-08-26 07:36:56 -04:00
image
ad1a732d64 Exe Update 2020-08-25 15:41:57 -04:00
image
ea88e22405 more spell crash/hang fixes
- Fix lifetime of remove_target_list Spawn* -> int32 entity ID (resolve entity id to spawn on demand, makes sure we don't have a dead ptr)
- Fix for hang behavior with mutex lock when coming in from LUA spell functions
2020-08-25 15:41:40 -04:00
image
0f386882ac Exe Update 2020-08-25 14:20:15 -04:00
image
53d3114980 deadlock fix for spells code 2020-08-25 14:20:10 -04:00
image
3407edd268 Exe Updates 2020-08-25 13:34:54 -04:00
image
dc98a6035e Zone watchdog logic -- attempt to force shutdown a hung/frozen zone
after 30 seconds of zone process hung, attempt normal shutdown.   If at 60s then force SpawnProcess/ZoneProcess threads to cancel (only linux supports 60s feature to cancel thread).  For windows 60s+ is only notification and does not attempt to cancel threads.

second stage for linux may/may not succeed (either shuts the zone down or crashes the world).  Idea being this is worst case scenario to try to recover/make server owner aware of the hung nature of the zone.
2020-08-25 13:34:46 -04:00
image
7a86840df0 Spell stability fixes (various crashes, bad pointer handling)
Fix 
Fix 
2020-08-25 13:32:15 -04:00
image
a312a11644 Exe Update 2020-08-24 07:39:59 -04:00
image
ab226c00f8 Fix examine info crash
Fix 
2020-08-24 07:39:53 -04:00
image
85e1a797ab Exe Updates 2020-08-23 22:55:04 -04:00
image
a13bc1c7fd fixed unexpected resizing of mobs in combat 2020-08-23 22:54:59 -04:00
image
0d17a539ba Update LuaFunctions.cpp 2020-08-23 22:54:43 -04:00