1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-04-25 22:17:45 +00:00
Commit graph

2593 commits

Author SHA1 Message Date
Mordred
26f923d5f8 Merge pull request #516 from NotAdam/develop
diminishing aggro distance based on level, bnpc avoidance
2019-01-31 22:12:28 +01:00
mordred
1da89ebb60 Merge remote-tracking branch 'origin/develop' 2019-01-31 15:47:28 +01:00
NotAdam
8c8dc18ffa don't send position updates when pushing bnpcs 2019-02-01 00:04:19 +11:00
NotAdam
527a93d97c Revert "fix npcs not facing target after being pushed"
This reverts commit e7ad1da1dc.
2019-02-01 00:03:15 +11:00
NotAdam
e7ad1da1dc fix npcs not facing target after being pushed 2019-01-31 23:55:55 +11:00
NotAdam
e6c59935e6 minor cleanup, some improvements to bnpc avoidance 2019-01-31 23:44:53 +11:00
NotAdam
12e09da3ca slight improvements to bnpc avoidance 2019-01-31 23:19:25 +11:00
NotAdam
8bb5f9737d add naive bnpc pushing behaviour 2019-01-31 22:49:04 +11:00
NotAdam
f3722be358 ignore aggro range calc if level difference >= 10 2019-01-31 21:46:05 +11:00
NotAdam
166074a559 add deminishing aggro range based on level difference 2019-01-31 17:53:20 +11:00
NotAdam
290587592a cleanup tellhandler and allow GMs to send messages to busy players 2019-01-31 13:13:46 +11:00
NotAdam
faf39e8942 style fix, type consistency 2019-01-31 12:46:51 +11:00
Adam
b0f3e51f79 Merge pull request #515 from JeidoUran/gmtells
GM Tells fixed
2019-01-31 10:06:03 +11:00
Mordred
ace1d043ac Some more targetId fixes 2019-01-30 23:48:09 +01:00
Mordred
c5882e0ed9 #48 - Fixed bnpcs not despawning properly, aswell as not updating cell as they go 2019-01-30 22:37:58 +01:00
JeidoUran
9a4c8b3253 Fixed GM Tells 2019-01-30 18:29:11 +01:00
JeidoUran
a939f935f3 Merge remote-tracking branch 'SapphireServer/develop' into develop 2019-01-30 18:02:09 +01:00
NotAdam
839cca0d25 add VFX effect type 2019-01-30 22:45:54 +11:00
NotAdam
edd61389dc add itemaction type 2019-01-30 20:26:03 +11:00
Mordred
972a5ae806 Small bnpc fixed. Target / initial state 2019-01-29 23:54:52 +01:00
Mordred
bbd63a0a85 Merge pull request #514 from NotAdam/develop
fix bnpc kill events not being called in scripts
2019-01-29 10:29:06 +01:00
NotAdam
688b189958 fix bnpc kill events not being called in scripts 2019-01-29 19:04:24 +11:00
mordred
99a02d8c9b Added onMobKill call for it to actually be forwarded to scripts 2019-01-29 08:02:39 +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
Mordred
b3dc663b5c 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
76cca8a7a5 remove InRangeDistance config option 2019-01-28 21:13:02 +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
ebec29563f Make in range distance configurable 2019-01-28 20:48:33 +11:00
NotAdam
2f7a304303 slightly decrease cell size and inrange distance 2019-01-28 20:37:51 +11:00
NotAdam
93e8c5359a Increase cell size and spawn distance, fix player despawn issue 2019-01-28 20:30:22 +11:00
Mordred
ab9de4bed8 Merge pull request #511 from NotAdam/develop
fixed bnpc movement speed tick rate inconsistency
2019-01-28 09:29:31 +01: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
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
49e86e22ac fix formatting and drop MAX_POLYS back down 2019-01-28 16:35:03 +11:00
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
Mordred
6070247dc9 Merge pull request #510 from NotAdam/develop
bnpc pathing
2019-01-27 13:54:48 +01: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
Mordred
a155420786 Merge pull request #508 from takhlaq/develop
pcb_reader things
2019-01-26 17:17:38 +01:00
Tahir Akhlaq
9711cc475d pcb_reader:
- block main export thread while tasks are pending
2019-01-26 16:07:07 +00:00
Tahir Akhlaq
ebeb5db3ba pcb_reader:
- try free up some memory (recast still leaking a lot though)
2019-01-26 15:39:20 +00:00
Mordred
1a17241bae Merge pull request #507 from NotAdam/develop
bnpc fixes, headless navmesh exporting
2019-01-26 16:30:13 +01:00
NotAdam
eb0f0f06dd fix fs::path::preferred_separator not working with string concat on msvc 2019-01-26 23:17:51 +11:00
Adam
648f1c0b0b Merge pull request #3 from takhlaq/develop
pcb_reader:
2019-01-26 23:12:49 +11:00
NotAdam
695b6ee484 fix expansion data loading on linux 2019-01-26 22:33:00 +11:00
Tahir Akhlaq
3827650c9e pcb_reader:
- export obj if it doesnt exist already
2019-01-26 11:30:25 +00:00