Michael Cook (mackal)
d5004dfd55
Use better GetNPCList function for close_npcs
2017-03-28 13:45:41 -04:00
Michael Cook (mackal)
eee8b0bf23
Add some const & GetList entity functions
2017-03-28 13:45:20 -04:00
Akkadius
d777b1048d
[Performance] Don't process ProjectileAttack checks for NPC's that are not engaged in any combat
2017-03-28 03:05:46 -05:00
Akkadius
f931ef7bcb
[Performance] Disabled enraged timer checks for NPC's that do not actually have enrage as a special attack
2017-03-28 02:45:07 -05:00
Akkadius
47691c2102
[Performance] Removed a timer where clients would constantly calculate light amount on equipment every 600ms, instead clients will update light when changing equipment or entering a zone
2017-03-28 02:36:51 -05:00
Akkadius
bf45a5a44f
[Performance] Fixed a large overhead issue where every single NPC in a zone was checking to depop themselves
...
as a swarm pet every 3ms regardless of being a swarm pet or not. Swarm pets now check to depop only when their timer is up
2017-03-28 02:30:06 -05:00
Akkadius
4b6ce1c19e
[Performance] Reworked how client to NPC aggro checks are made
...
- Before when reverse aggro checks were done (client to NPC), checks would happen every 750 millseconds where a client would
check an entire entity list with distance calcs and other checks for aggro, with many clients in a zone and many NPC's this would
add a lot of unecessary overhead. A temporary adjustment on 3/25 was made and upped the check to 6 seconds.
- Now, there is a new methodology to scanning. The client will build a cache list of NPC's within close range as defined in new rule:
RULE_INT(Range, ClientNPCScan, 300) and will also get any NPC that has an aggro range beyond that defined range to use in
the frequent checks for aggro, the result is far less overhead
- Client scanning changes when moving versus not moving, the client will scan aggro every 500 milliseconds while moving, and
3000 millseconds aggro check when not moving, with a 6000ms re-fetch for close NPC's
- A demo of these changes can be found here:
https://youtu.be/aGroiwLSTVU
2017-03-28 01:30:42 -05:00
Uleat
940f3b03e8
Fix for bot shadowknights casting ranger spells
2017-03-26 16:19:53 -04:00
Uleat
05e97f4c64
Oops! (don't attempt a commit when you have to go to the restroom...)
2017-03-26 13:51:03 -04:00
Uleat
8febc906a5
Merge branch 'master' of https://github.com/EQEmu/Server
2017-03-26 13:41:23 -04:00
Uleat
7309c11630
Updated glm library to 0.9.8.4 (from 0.9.6.1)
2017-03-26 13:41:14 -04:00
Akkadius
aa25946dc2
[Performance] Reduced CPU footprint in cases where a client is checking for aggro excessively every 750 millseconds. This has
...
been adjusted to 6 seconds per new rule RULE_INT(Aggro, ClientAggroCheckInterval)
- When zones have many players, with many NPC's, this adds up quickly
2017-03-26 00:03:51 -05:00
Akkadius
719098a97c
[Performance] Reduced CPU footprint in non-combat zones doing constant checks for combat related activities
2017-03-25 23:32:49 -05:00
Uleat
9e41795594
Test fix for heal rotations crashing server surrounding player zoning
2017-03-25 15:44:38 -04:00
Uleat
f77f996c3f
Pass through zone code to fix uninitialized pointer declarations
2017-03-23 04:35:36 -04:00
Akkadius
8bdefa17b5
Fix README.md
2017-03-22 13:39:12 -05:00
Uleat
e8a8647424
Fix for bots db update 9015 not triggering where update 9011 has not applied
2017-03-22 03:45:50 -04:00
Michael Cook (mackal)
1e1de3a48a
Fix error
2017-03-20 19:49:35 -04:00
Michael Cook (mackal)
0ac70c5459
SE_Taunt is a flat chance not a bonus to taunt chance
2017-03-20 19:45:26 -04:00
Michael Cook (mackal)
9510e8fbe1
This should resolve leaks and shutdown lua issues
2017-03-18 16:59:46 -04:00
Uleat
803da509ce
Merge branch 'master' of https://github.com/EQEmu/Server
2017-03-18 16:12:04 -04:00
Uleat
d882c5fbf6
Fix for glitchy mercenary unsuspend button behavior (report any abnormalities)
2017-03-18 16:11:07 -04:00
Michael Cook (mackal)
f64e1644b1
Take 2 at fixing encounters
2017-03-18 14:11:30 -04:00
Michael Cook (mackal)
bafb199d24
Fix encounters leaking?
...
I didn't actually test this ...
2017-03-18 01:30:59 -04:00
Michael Cook (mackal)
11e227756d
Fix memory leak in raids
2017-03-18 01:15:08 -04:00
Michael Cook (mackal)
304d41e230
Fix fix memory leak fix
2017-03-18 01:09:48 -04:00
Michael Cook (mackal)
1ae66ce955
Fix uninit jump in Client::Process
2017-03-18 00:59:13 -04:00
Michael Cook (mackal)
13f49fe569
Fix uninit group value
2017-03-18 00:54:03 -04:00
Michael Cook (mackal)
3173c961fa
Fix typo
2017-03-18 00:51:54 -04:00
Michael Cook (mackal)
16845c204c
Fix leak in Group::SendHPPacketsTo
2017-03-18 00:34:49 -04:00
Uleat
fa1edee790
Added clamp for EQEmuLogSys::LogSettings database values load
2017-03-17 20:37:48 -04:00
Michael Cook (mackal)
94d8db4691
clang-tidy said this was a use-after-free
...
Also, what is this code doing?
2017-03-16 14:10:36 -04:00
Michael Cook (mackal)
153e587cea
Not sure how that happened
2017-03-16 12:56:21 -04:00
Michael Cook (mackal)
fbb13ec416
bug found by clang 4
2017-03-16 12:52:58 -04:00
Michael Cook (mackal)
e7785d5693
Bash dmg should return 0 with no item (slam)
2017-03-15 15:25:42 -04:00
Michael Cook (mackal)
23bc535e23
Tweaks to most likely wrong PVP damage reduction
2017-03-15 15:07:28 -04:00
Michael Cook (mackal)
d04d6750a2
Allow base damage of 0 (ex slam) min damage done to 1
2017-03-15 13:22:45 -04:00
Uleat
2d24237aac
Added los movement logic to combat and follow code (los is rule-based and can by disabled by applying the optional 2017_03_14_mercs_use_pathing_rule.sql)
2017-03-14 23:23:42 -04:00
Uleat
750e65f847
Merge branch 'master' of https://github.com/EQEmu/Server
2017-03-14 23:21:24 -04:00
Uleat
31cc6f63d6
Added evade code to rogue mercs
2017-03-14 16:32:10 -04:00
E Spause
81cadf3bb2
Merge pull request #593 from EQEmu/2002_fixes
...
MaxClientsSimplifiedLogic rule. See commit for description
2017-03-13 14:59:30 -04:00
E Spause
54c28117a8
Merge remote-tracking branch 'refs/remotes/origin/master' into 2002_fixes
2017-03-13 06:27:01 -04:00
E Spause
79f9433dfa
Merc logic fix for heal spells - allows mercs to select fast healing spells as a 'standard' healing spell & new rule for unsuspend
2017-03-13 06:26:48 -04:00
E Spause
67a95b59a7
Merge remote-tracking branch 'refs/remotes/origin/master' into 2002_fixes
2017-03-12 23:20:55 -04:00
E Spause
09b9d398e2
Rule itself for MaxClientsSimplifiedLogic. Defaults to disabled (false)
2017-03-12 23:19:50 -04:00
E Spause
3dd0d43e96
Add a rule, MaxClientsSimplifiedLogic which allows for P99-style IP restrictions if enabled. Opcode handler for OP_WorldLogout in char sel.
...
Only uses ExemptAccountLimitStatus and MaxClientsPerIP. Also adds in an
opcode handler so CLEs are cleaned up at char select when ESC is
pressed.
2017-03-12 23:19:24 -04:00
E Spause
8d1fe63e77
Merge pull request #592 from EQEmu/2002_fixes
...
Remove delay death from Mercs so they function like normal NPCs at 0 health.
2017-03-12 23:17:08 -04:00
E Spause
3fa72218a4
Remove delay death from Mercs so they function like normal NPCs at 0 health.
2017-03-12 23:08:59 -04:00
Uleat
f3f034d948
Fix for a combat ability targeting error
2017-03-12 21:46:16 -04:00
Michael Cook (mackal)
bd364a4049
Merge pull request #591 from EQEmu/2002_fixes
...
Added an optional rule value that forces startzones to be the same as…
2017-03-12 19:21:05 -04:00