1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-05-13 05:57:45 +00:00
Commit graph

1384 commits

Author SHA1 Message Date
NotAdam
83ed77844a fix bnpc kill events not being called in scripts 2019-01-29 19:04:24 +11:00
NotAdam
688b189958 fix bnpc kill events not being called in scripts 2019-01-29 19:04:24 +11:00
mordred
5605a2227a Added onMobKill call for it to actually be forwarded to scripts 2019-01-29 08:02:39 +01:00
mordred
99a02d8c9b Added onMobKill call for it to actually be forwarded to scripts 2019-01-29 08:02:39 +01:00
Mordred
14cbda944e Quest mobs will be highlighted as such. Retreating mobs will have the target properly reset. Spawning range slightly decreased 2019-01-29 00:10:21 +01:00
Mordred
0ea201fd5e Quest mobs will be highlighted as such. Retreating mobs will have the target properly reset. Spawning range slightly decreased 2019-01-29 00:10:21 +01:00
NotAdam
44b556c6a6 log a warning to world log/player in the event an actor wasn't spawned 2019-01-28 21:02:51 +11:00
NotAdam
2478b0b264 log a warning to world log/player in the event an actor wasn't spawned 2019-01-28 21:02:51 +11:00
NotAdam
6079e4c022 Make in range distance configurable 2019-01-28 20:48:33 +11:00
NotAdam
ebec29563f Make in range distance configurable 2019-01-28 20:48:33 +11:00
NotAdam
8999f9bc16 slightly decrease cell size and inrange distance 2019-01-28 20:37:51 +11:00
NotAdam
2f7a304303 slightly decrease cell size and inrange distance 2019-01-28 20:37:51 +11:00
NotAdam
bc1ed29948 Increase cell size and spawn distance, fix player despawn issue 2019-01-28 20:30:22 +11:00
NotAdam
93e8c5359a Increase cell size and spawn distance, fix player despawn issue 2019-01-28 20:30:22 +11:00
NotAdam
7741acefcd manage timer vars and call onTick from Chara update instead of derived classes 2019-01-28 19:16:44 +11:00
NotAdam
1bbc01f04f manage timer vars and call onTick from Chara update instead of derived classes 2019-01-28 19:16:44 +11:00
NotAdam
72ca7b612d fix UB caused by invalid GC id, set GC rank when changing gc if one isnt set - fixes #472 2019-01-28 18:58:02 +11:00
NotAdam
1380db037a fix UB caused by invalid GC id, set GC rank when changing gc if one isnt set - fixes #472 2019-01-28 18:58:02 +11:00
NotAdam
ac709c5945 fix formatting and drop MAX_POLYS back down 2019-01-28 16:35:03 +11:00
NotAdam
49e86e22ac fix formatting and drop MAX_POLYS back down 2019-01-28 16:35:03 +11:00
NotAdam
0b9e1fb1ab Slightly increase bnpc speed and restore update rate to 250ms 2019-01-28 15:47:46 +11:00
NotAdam
e12ff7e7da Slightly increase bnpc speed and restore update rate to 250ms 2019-01-28 15:47:46 +11:00
NotAdam
9af04e0fb7 fixed roaming/following speed inconsistency 2019-01-28 15:44:27 +11:00
NotAdam
0cb0b5bc23 fixed roaming/following speed inconsistency 2019-01-28 15:44:27 +11:00
NotAdam
04b7870b11 add more verbose logging to pathing failures 2019-01-28 15:40:05 +11:00
NotAdam
f0d28bf30f add more verbose logging to pathing failures 2019-01-28 15:40:05 +11:00
NotAdam
762add95d1 minor bnpc cleanup, correctly set lastticktime on bnpc entities 2019-01-28 13:40:03 +11:00
NotAdam
fcd934034d minor bnpc cleanup, correctly set lastticktime on bnpc entities 2019-01-28 13:40:03 +11:00
NotAdam
2011c8ca91 probably fix stepping past the next step destination 2019-01-27 23:47:36 +11:00
NotAdam
82489de201 probably fix stepping past the next step destination 2019-01-27 23:47:36 +11:00
NotAdam
c2356b9057 cap poly length for generated nav paths 2019-01-27 23:26:34 +11:00
NotAdam
549542efe5 cap poly length for generated nav paths 2019-01-27 23:26:34 +11:00
Mordred
edf682cc00 cleaned up movement code a bit, roamings mobs can aggro now 2019-01-27 01:12:31 +01:00
Mordred
956b115e58 cleaned up movement code a bit, roamings mobs can aggro now 2019-01-27 01:12:31 +01:00
NotAdam
0915406bd3 style fix 2019-01-26 14:59:04 +11:00
NotAdam
83eeacb1ce style fix 2019-01-26 14:59:04 +11:00
NotAdam
29be5e1249 only run bnpc update in active cells 2019-01-26 13:40:22 +11:00
NotAdam
e72b031d82 only run bnpc update in active cells 2019-01-26 13:40:22 +11:00
NotAdam
b9520a6c3e heal npcs when retreating, set hp to max when retreat finishes, cleanup 2019-01-26 13:40:02 +11:00
NotAdam
edd050ece9 heal npcs when retreating, set hp to max when retreat finishes, cleanup 2019-01-26 13:40:02 +11:00
NotAdam
b1bbfe3acd set correct bnpc animation when aggro'd/passive 2019-01-26 11:39:44 +11:00
NotAdam
7cef77e2eb set correct bnpc animation when aggro'd/passive 2019-01-26 11:39:44 +11:00
Mordred
f8d4b4f9c0 Do not crash on zones without navi data 2019-01-26 00:12:54 +01:00
Mordred
a7e070556b Do not crash on zones without navi data 2019-01-26 00:12:54 +01:00
Mordred
0c1cef8050 Initial roaming tests, still very rough and ugly 2019-01-26 00:06:24 +01:00
Mordred
7e935df56f Initial roaming tests, still very rough and ugly 2019-01-26 00:06:24 +01:00
NotAdam
19cf05c9c1 only create naviproviders if one doesn't exist for the map 2019-01-25 22:47:50 +11:00
NotAdam
bdf4eb2f04 only create naviproviders if one doesn't exist for the map 2019-01-25 22:47:50 +11:00
NotAdam
0234800fce remove exceptions and handle error cases inside initMesh 2019-01-25 22:43:04 +11:00
NotAdam
912a97b92e remove exceptions and handle error cases inside initMesh 2019-01-25 22:43:04 +11:00