Michael Cook (mackal)
4666c0c050
Don't go below 1 for caster level
...
This is also wrong as fuck.
2017-03-30 23:29:07 -04:00
Michael Cook (mackal)
b5fe975aac
Fix Lua GetPet/GetOwner
2017-03-30 21:46:28 -04:00
Akkadius
a801f296b5
Merge branch 'master' of https://github.com/EQEmu/Server
2017-03-30 05:23:19 -05:00
Akkadius
9d0308c9bf
[Performance] Fixed an overhead issue where many hot paths would trigger quest subroutines and beneath that the code would try to see if a quest existed perpetually (checking if file exists) even though it should have determined the quest didn't exist the first time.
...
- This caused a lot of overhead in an instance where an entire zone of NPC's is pathing, triggering EVENT_WAYPOINT_ARRIVE and EVENT_WAYPOINT_DEPART when there is no global_npc.pl/lua, or all NPC's pathing don't have a quest assigned, similar behavior would occur. This goes for any other type of quests: spells, items, encounters etc.
2017-03-30 05:22:47 -05:00
Michael Cook (mackal)
38e5cdb142
Reflect actually changes the caster
...
Or it at least changes the target of the recourse
2017-03-30 01:23:06 -04:00
Uleat
f5f2cbc674
Fix for bot loss of aggro to client regardless of hate
2017-03-29 17:45:56 -04:00
Uleat
f1bfd129af
Merge branch 'master' of https://github.com/EQEmu/Server
2017-03-29 15:10:05 -04:00
Uleat
34b50e0458
Excluded SE_AddFaction from bard instrument mod [ fixes #589 ]
2017-03-29 15:09:40 -04:00
Akkadius
af9a34e4e7
[Performance] Slow dynamic zones down when no clients are in them
2017-03-28 21:10:57 -05:00
Akkadius
a06d5fab89
[Performance] Adjust HP marquee call checks
2017-03-28 15:49:13 -05:00
Michael Cook (mackal)
138ad99eea
Make lua Get*List entity_list functions less silly
2017-03-28 14:31:10 -04:00
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
KimLS
de777fc90f
Merge fix
2017-03-26 17:25:01 -07:00
Uleat
940f3b03e8
Fix for bot shadowknights casting ranger spells
2017-03-26 16:19:53 -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
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
KimLS
cfdbca6f12
Fix for unreliable packets (kind of a hack but it works) being flagged as corrupt
2017-03-20 00:22:50 -07: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
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
KimLS
db210ba70e
Merge fix
2017-03-14 21:18:35 -07: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
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