Commit graph

1401 commits

Author SHA1 Message Date
Image
26082b8264 fix crash on zone due to ghost_map (was due to the last min addition of the follow fix lol) 2021-09-22 23:26:42 -04:00
Image
f5979a4a75 Exe Updates 2021-09-22 21:10:33 -04:00
Image
514f92b785 Update zoneserver.h 2021-09-22 21:10:26 -04:00
Image
502ebefe71 Spawn Sending/Removal handling to resolve ghost_map crash
Also resolves crashes related to group members
Trying to target a spawn the client doesnt' have (index wise) crash fix
resetting hp on runback only when previously in combat
2021-09-22 21:10:21 -04:00
Image
d05d851f06 type 7 added so it will display as float instead of sint16 2021-09-22 21:08:21 -04:00
Image
394f5aebbe only need the beginning of the IP address to establish local 2021-09-22 21:08:09 -04:00
Image
64ac76a681 prevention of preparing packet more than once (may have been only encrypted/compressed, don't need to run in again) 2021-09-22 21:07:50 -04:00
Image
eb493fc8fb Last Exe Update for today ugh! 2021-09-17 10:12:48 -04:00
Image
79f5284ed8 Oops.. 2021-09-17 10:12:17 -04:00
Image
78df699877 Exe Update 2021-09-17 10:09:38 -04:00
Image
30aa70a26e Exe Update 2021-09-17 10:08:47 -04:00
Image
b3389a0704 Better handling of pause timer to not interfere with out of combat with pets movement and in combat movement with other spawns 2021-09-17 10:08:41 -04:00
Image
92f308b0f2 Exe Update 2021-09-17 09:47:28 -04:00
Image
9ee124382f Restrict runback hp reset to only when mob is in combat, face target in combat 2021-09-17 09:46:15 -04:00
Image
157b7bc86c Exe Update 2021-09-17 09:36:26 -04:00
Image
257a595ce0 Remove Zone Heading Timers to resolve loose Spawn pointers causing crashes
Fix #387 - ASan crash on pet
2021-09-17 09:36:03 -04:00
Image
f651a90fbc Exe Update 2021-09-15 23:15:23 -04:00
Image
e0e2525c4a Bad command handlers called, set high status and set handler id to 0 2021-09-15 23:15:18 -04:00
Image
3bf1b2554a House item placement updated to prevent sending move spawn packet too early, causing client to become the object/crash
Fix #382
2021-09-15 23:15:04 -04:00
Image
2e2367decf Exe Update 2021-09-11 15:53:32 -04:00
Image
9cc3901fe6 crash fix on DeleteSpawns need to assure removal from spawn_list 2021-09-11 15:53:26 -04:00
Image
905a69984c Fixed cell size to 15->150 resolves /grid spgrid returning 0, under world objects, unclickable objects, etc. 2021-09-11 15:53:14 -04:00
Image
d3fb28e579 Objects no longer have their altitude fixed so they can be put anywhere versus forced to ground 2021-09-11 15:52:48 -04:00
Image
7a902f9ae1 Item crash fix on trying to destroy item that does not exist 2021-09-11 15:52:23 -04:00
Image
b44798c903 Exe Update 2021-09-06 14:25:40 -04:00
Image
8bec33ebd9 Better grid retrieval due to Y offset (WIP), fixed crash on maintained spell effects 2021-09-06 14:25:35 -04:00
Image
af0f23f9cd Exe Update 2021-09-03 21:19:13 -04:00
Image
3d553fe80b persist through (though?) zone naming, spell caster nullptr check to complete spell crash fix 2021-09-03 21:19:06 -04:00
Image
7bca429df2 Exe Update 2021-09-03 20:47:31 -04:00
Image
9709c2006e Better handling of removing the caster spawn when they are no longer in zone 2021-09-03 20:47:26 -04:00
Image
cf22a54df7 Fix SpawnScriptTimer handling
Fix #378 - CheckSpawnScriptTimers needs timers to be re-instantiated for call_timers
2021-09-03 20:45:50 -04:00
Image
d038cce055 Exe Updates 2021-09-03 14:39:30 -04:00
Image
e0cb22bd10 Fixed accepting an empty buffer (0 bytes) or less than 2 bytes which would cause a negative sized buffer (min length is 2) 2021-09-03 14:38:44 -04:00
Image
dee07e0cbf Version up to 0.9.3-sco 2021-09-03 14:38:14 -04:00
Image
386e89215a LUA StopTimer(Spawn, "function_name") added, LUA function cleanup
Added LUA StopTimer(Spawn, "function_name") support, leave the function_name as an empty string to delete ALL timers tied to the spawn
LUA Functions cleanup continues, reset function stack after arguments are obtained (on-going patch work)
2021-09-03 14:38:04 -04:00
Image
211d24cbdf Exe Update 2021-08-30 20:51:54 -04:00
Image
42134c800c SpellProcess stability/protection and LUA SetSpeed against a non Entity fix 2021-08-30 20:51:48 -04:00
Image
e9c2ed973b Exe Update 2021-08-28 09:03:51 -04:00
Image
3f3c3f3266 Crash fix on bad quest design
A quest lacking Reload and CurrentStep functions properly working can crash server, this will prevent that
2021-08-28 09:02:10 -04:00
Image
9a4829a27d Added 'deleted' spawn state, in which we do not continue sending a spawn after it is removed from game world (but still existing in the spawn list)
This will prevent a potential crash when the client logging in maps a spawn that is to be deleted.
2021-08-28 09:01:45 -04:00
Image
1149f3aee0 Exe Update 2021-08-22 14:57:46 -04:00
Image
b93cabc72e Lacertae Update #4
Fix #376 - resolved spells with duration until cancel blinking after zoning
Fix #375 - hard coded activity status to solid/transport flags on lifts/boats resolves falling through lifts when moving on them

Additional crash fixes:
- stats clearing when calculating bonuses on entity
- Player equipment mutex lock protection
2021-08-22 14:57:35 -04:00
Image
c867304727 Exe Update 2021-08-17 22:38:06 -04:00
Image
c6744428a8 Crash fixes and LUA GetFactionAmount is now signed integer as it should be
- Fix GetFactionAmount to be Signed Integer
- Crash fix spell removal on zone shutdown when player already left
- PlayerItems mutex fixes
- Movement Location mutex fixes
2021-08-17 22:37:59 -04:00
Image
a4495ced4a operand fix 2021-08-11 22:55:56 -04:00
Image
b4a0e646c9 Exe Update 2021-08-11 22:51:38 -04:00
Image
30e19ed012 Lacertae Update #2 - Stability Fixes against Inventory and GM reload options
Fix #121 - Can use /reload luasystem and /reload spells without causing a crash
Log messages at spell/warning level for NPC casting when it doesn't have enough mana/concentration/etc

Fixed additional ASan issues:
Fix #370
Fix #371
Fix #372
Fix #373
2021-08-11 22:51:31 -04:00
Image
bd4b213b17 Exe Updates 2021-08-04 08:11:39 -04:00
Image
34569f0592 Lacertae Update #1
- healthchanged function for SpawnScripts can now return a modified health.  healthchanged also now receives a third argument, Damage
eg function healthchanged(Spawn, Attacker, Damage)
-1 = immune (hit damage is set to 0)
0 (or no return) = default damage
1 or higher = new damage (before wards/procs take place)

- Fixed locking issues with player quests when calling /reload quests

- AddQuestStep now supports spawn ids as arguments 9+ (after the usableitemid) -- this will also set the quest flag icon that you would similarily see in a QuestStepKill noting a Spawn is involved with the quest

- Fixed ruleset error message to only display if we don't get a ruleset id

- Fixed a ASam crash in spawn_update_packet, didn't like our null_byte use.  Changed it to not bother since we memset the data, it is already a 0x00 byte no reason to memcpy it in.
2021-08-04 08:11:32 -04:00
Image
64ef7e4627 exe update 2021-07-28 13:52:22 -04:00