1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-04-28 23:27:45 +00:00
Commit graph

91 commits

Author SHA1 Message Date
NotAdam
e12ff7e7da Slightly increase bnpc speed and restore update rate to 250ms 2019-01-28 15:47:46 +11:00
NotAdam
0cb0b5bc23 fixed roaming/following speed inconsistency 2019-01-28 15:44:27 +11:00
NotAdam
f0d28bf30f add more verbose logging to pathing failures 2019-01-28 15:40:05 +11:00
NotAdam
fcd934034d minor bnpc cleanup, correctly set lastticktime on bnpc entities 2019-01-28 13:40:03 +11:00
NotAdam
82489de201 probably fix stepping past the next step destination 2019-01-27 23:47:36 +11:00
NotAdam
549542efe5 cap poly length for generated nav paths 2019-01-27 23:26:34 +11:00
Mordred
956b115e58 cleaned up movement code a bit, roamings mobs can aggro now 2019-01-27 01:12:31 +01:00
NotAdam
edd050ece9 heal npcs when retreating, set hp to max when retreat finishes, cleanup 2019-01-26 13:40:02 +11:00
NotAdam
7cef77e2eb set correct bnpc animation when aggro'd/passive 2019-01-26 11:39:44 +11:00
Mordred
a7e070556b Do not crash on zones without navi data 2019-01-26 00:12:54 +01:00
Mordred
7e935df56f Initial roaming tests, still very rough and ugly 2019-01-26 00:06:24 +01:00
mordred
b319d5501f Navmeshes should now work again using bgpath 2019-01-25 08:45:00 +01:00
mordred
6eb1ebaa0a Slightly simplified path calculation 2019-01-24 13:15:30 +01:00
mordred
e54d546b56 Fixing code for consistency, const correctness, include tree and style. 2019-01-24 12:10:31 +01:00
goaaats
45399ae709 Fix logging, Linux 2019-01-23 23:50:31 +01:00
goaaats
39c1282d6f Spaces 2019-01-23 21:36:26 +01:00
goaaats
54e60107e9 Style 2019-01-23 21:26:48 +01:00
goaaats
6894996fba Merge branch 'develop' into pathfinding 2019-01-23 23:09:02 +01:00
Mordred
b0649858fa Despawn and respawn dead bnpcs 2019-01-23 22:37:55 +01:00
goaaats
b0cf8c5158 Cleanup 2019-01-23 21:10:53 +01:00
goaaats
0c6755565d Add NaviMgr 2019-01-23 19:23:49 +01:00
goaaats
48d0836c29 Handle steps better 2019-01-23 17:42:09 +01:00
goaaats
06ee4daf69 change movement in BNpc 2019-01-23 17:07:40 +01:00
goaaats
ba1f8bb6f3 it works 2019-01-22 00:41:18 +01:00
goaaats
a1720bd179 More pathfinding 2019-01-21 18:25:22 +01:00
goaaats
78a2dc08d0 More pathing 2019-01-21 15:15:28 +01:00
goaaats
4116e0202c More pathing 2019-01-21 14:02:47 +01:00
goaaats
ee662ba15d path things 2019-01-21 02:42:47 +01:00
Mordred
813ad98c5f Fixed bnpc movement 2019-01-20 23:49:43 +01:00
Mordred
46205e9db4 BNpcs will now also initiate combat when being attacked, Death should reset them properly. 2019-01-20 13:36:34 +01:00
NotAdam
ed63c819bd fix dead mobs following you around and beating you to death 2019-01-20 19:14:35 +11:00
Mordred
092825c42c Fixed mobs not being killable and spawning will use the correct state 2019-01-20 00:20:35 +01:00
Mordred
f18dae441b Hate list is now displayed for players 2019-01-19 22:56:07 +01:00
NotAdam
603604b28d fix bnpcs not despawning, stop passive mobs from aggroing the player 2019-01-19 17:50:33 +11:00
Mordred
83a8fc4456 Cleaned up bnppc code, fixed effect packet 2019-01-19 01:15:17 +01:00
Mordred
79daa7ac56 Make sure to reinit DB -> Various small fixes and refactors 2019-01-17 23:54:47 +01:00
Mordred
06e214956c Mobs spawn with randomized rotation and are actually targetable now 2019-01-13 00:51:31 +01:00
Mordred
da67f6cae8 Very rudementary spawn implementation and db fix 2019-01-08 17:08:48 +01:00
Mordred
c345033aa5 Seems like everything works again... here is hoping 2018-12-29 00:53:52 +01:00
Mordred
101f284003 More fw related cleanup 2018-12-23 13:26:33 +01:00
mordred
ea64b65331 Restructured project slightly 2018-12-13 12:40:42 +01:00
Renamed from src/servers/sapphire_zone/Actor/BNpc.cpp (Browse further)