1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-04-29 07:37:45 +00:00
Commit graph

2722 commits

Author SHA1 Message Date
NotAdam
83ed77844a 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
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
8db8a1d0e5
Merge pull request #512 from NotAdam/develop
Fix player despawning in the event an actor isn't found in the spawned list
2019-01-28 11:18:31 +01:00
NotAdam
7796abfd11 remove InRangeDistance config option 2019-01-28 21:13:02 +11: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
6079e4c022 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
bc1ed29948 Increase cell size and spawn distance, fix player despawn issue 2019-01-28 20:30:22 +11:00
Mordred
58d58d3fc0
Merge pull request #511 from NotAdam/develop
fixed bnpc movement speed tick rate inconsistency
2019-01-28 09:29:31 +01: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
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
ac709c5945 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
9af04e0fb7 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
762add95d1 minor bnpc cleanup, correctly set lastticktime on bnpc entities 2019-01-28 13:40:03 +11:00
Mordred
7bef38d475
Merge pull request #510 from NotAdam/develop
bnpc pathing
2019-01-27 13:54:48 +01:00
NotAdam
2011c8ca91 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
Mordred
edf682cc00 cleaned up movement code a bit, roamings mobs can aggro now 2019-01-27 01:12:31 +01:00
Mordred
90fd690edb
Merge pull request #508 from takhlaq/develop
pcb_reader things
2019-01-26 17:17:38 +01:00
Tahir Akhlaq
84629b9059 pcb_reader:
- block main export thread while tasks are pending
2019-01-26 16:07:07 +00:00
Tahir Akhlaq
f0ec3bd7e9 pcb_reader:
- try free up some memory (recast still leaking a lot though)
2019-01-26 15:39:20 +00:00
Mordred
df902aafdd
Merge pull request #507 from NotAdam/develop
bnpc fixes, headless navmesh exporting
2019-01-26 16:30:13 +01:00
NotAdam
af0b0f4934 fix fs::path::preferred_separator not working with string concat on msvc 2019-01-26 23:17:51 +11:00
Adam
2cfed5f9fb
Merge pull request #3 from takhlaq/develop
pcb_reader:
2019-01-26 23:12:49 +11:00
NotAdam
bd0eda79a8 fix expansion data loading on linux 2019-01-26 22:33:00 +11:00
Tahir Akhlaq
c2dab83c8b pcb_reader:
- export obj if it doesnt exist already
2019-01-26 11:30:25 +00:00
NotAdam
4c15aae042 turn on optimisation for release builds on linux 2019-01-26 22:08:26 +11:00
NotAdam
d027ea688c fix build and obj exporting 2019-01-26 21:34:16 +11:00
NotAdam
bdbf8a840b revert to default path 2019-01-26 21:26:45 +11:00
Adam
6f49e37d6c
Merge pull request #2 from takhlaq/develop
pcb reader shit
2019-01-26 21:25:54 +11:00
Adam
db105cbb98
Merge branch 'develop' into develop 2019-01-26 21:25:40 +11:00
Tahir Akhlaq
341dd45776 pcb_reader
- export by level name
2019-01-26 10:10:40 +00:00
NotAdam
68f9e7eae0 cleanup navmesh and navquery 2019-01-26 20:14:14 +11:00
NotAdam
6ae66c1edb style is good now probably 2019-01-26 19:45:42 +11:00
NotAdam
29edf87924 fix more style 2019-01-26 19:43:42 +11:00
NotAdam
e5f612bc43 fix style 2019-01-26 19:41:57 +11:00
NotAdam
df3ea49f1a move comment to correct location 2019-01-26 18:47:59 +11:00
NotAdam
b5fd8d8c3f add headless navmesh exporting 2019-01-26 18:45:37 +11:00
NotAdam
f1fe40ffe5 fix race condition where navmesh export would start before object is exported 2019-01-26 16:37:18 +11:00
NotAdam
d4b70cf1b6 fix pcb_reader not exporting terrain in composite zone objects 2019-01-26 15:23:37 +11:00
NotAdam
0915406bd3 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
b9520a6c3e 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
Mordred
f8d4b4f9c0 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
198e808366
Merge pull request #506 from perize/develop
More Mahjong opcodes
2019-01-25 14:52:37 +01:00