Akkadius
0159e1cc72
Fix some crapped out formatting [skip ci]
2017-03-12 16:42:26 -05:00
Akkadius
ab372b0f6b
- Implemented range rules for packets and other functions
...
RULE_INT ( Range, Say, 135 )
RULE_INT ( Range, Emote, 135 )
RULE_INT ( Range, BeginCast, 200)
RULE_INT ( Range, Anims, 135)
RULE_INT ( Range, SpellParticles, 135)
RULE_INT ( Range, DamageMessages, 50)
RULE_INT ( Range, SpellMessages, 75)
RULE_INT ( Range, SongMessages, 75)
RULE_INT ( Range, MobPositionUpdates, 600)
RULE_INT ( Range, CriticalDamage, 80)
- (Readability) Also cleaned up some formatting in messaging and packets so it is easier to understand what is going on with the code
2017-03-12 16:10:53 -05:00
Akkadius
14d09485eb
Implement new rule based ranges for various range based packet operations (performance)
...
- the defaults are set in the code and can be tweaked by sourcing utils/sql/git/optional/rule_values_range_update.sql
- Thanks to mackal for gathering live ranges, thanks to takp for initial numbers
- We would send 200 for combat updates and the client will only display <= range 54 anyways, these should help a lot in spammy combat
RULE_CATEGORY( Range )
RULE_INT ( Range, Say, 135 )
RULE_INT ( Range, Emote, 135 )
RULE_INT ( Range, BeginCast, 200)
RULE_INT ( Range, Anims, 135)
RULE_INT ( Range, DamageMessages, 50)
RULE_INT ( Range, SpellMessages, 75)
RULE_INT ( Range, SongMessages, 75)
RULE_CATEGORY_END()
2017-03-12 14:38:14 -05:00
Uleat
5b24cbde5d
Merge branch 'master' of https://github.com/EQEmu/Server
2017-03-11 13:35:40 -05:00
Uleat
3555791e1f
Multi-line remark statements wreck havoc on visual studio's parser (expensive)
2017-03-11 13:35:30 -05:00
Michael Cook (mackal)
262bcf5c29
Fix merc attack delay
2017-03-10 19:17:04 -05:00
Uleat
226a49cb42
Merge branch 'master' of https://github.com/EQEmu/Server
2017-03-10 18:41:14 -05:00
Uleat
bf3d9b2d02
Couple of critical fixes for bot trade code
2017-03-10 18:41:04 -05:00
Michael Cook (mackal)
df5d58f43d
Temp pets shouldn't spawn when they're targeting a corpse
2017-03-10 13:00:22 -05:00
Uleat
999650d368
Fixed a few glitches related to bot trading and other affected code
2017-03-09 01:55:01 -05:00
Uleat
09bbfbcc31
Complete rework of the bot trading system (see changelog.txt)
2017-03-08 08:12:04 -05:00
Drajor
f26b7a4adc
Hacky fix for quantity wrapping when stacked items are sold that have a quantity greater than 255. A better solution will need to implemented long term
2017-03-08 06:22:17 +10:00
Uleat
becd7b5c24
This probably resolves a long-term bug with bots who are conscientious objectors to fighting... (Had a rash of reports concerning this -- obscure attack timer bug within inherited NPC class ctor)
2017-03-05 05:12:54 -05:00
Uleat
d559e9da10
Fix for bot auto-combat damage (please post any abnormalities)
2017-03-04 14:50:32 -05:00
Uleat
2690d8fed8
Added inspect buff cases for bots (ZombieSoul)
2017-03-03 17:51:02 -05:00
Michael Cook (mackal)
7d13475bac
Fix ClearAggro xtarget issue
2017-03-02 14:31:48 -05:00
Uleat
15af28720a
Bad logic..not used anyways
2017-03-01 19:16:02 -05:00
Uleat
12d7f242b4
Tweaked bot caster combat range code a little (they shouldn't pile up unless there are los issues...)
2017-03-01 16:11:17 -05:00
Uleat
05ca4669a9
Fix for aberrant bot animations when using ^summon (i.e., swimming in air)
2017-02-28 10:39:26 -05:00
Uleat
a7cbe2f60e
Fix for npc corpse looting not updating appearance of looted items
2017-02-28 09:44:24 -05:00
Uleat
52d79f89a9
Bots should now /con correctly after a successful ^update
2017-02-28 08:49:25 -05:00
Uleat
24bae49401
Merge branch 'master' of https://github.com/EQEmu/Server
2017-02-27 21:32:17 -05:00
Uleat
bf239f9691
A 'hack' and a 'fix' (bot movement changes)
2017-02-27 21:32:07 -05:00
Michael Cook (mackal)
666513c4ab
Better comment SendGroupCreatePacket
2017-02-27 15:21:50 -05:00
Uleat
1b2df18cea
Merge branch 'master' of https://github.com/EQEmu/Server
2017-02-26 22:14:34 -05:00
Uleat
b1be667884
Update bot spell casting chances table and implemented 'pre-combat' mode for all bots (only bard is actively coded atm)
2017-02-26 22:13:41 -05:00
Michael Cook (mackal)
91ae6a6613
Secondary aggro meter fix
2017-02-26 19:13:47 -05:00
Uleat
303f056075
Forgot loader...
2017-02-26 07:02:20 -05:00
Uleat
a49e3d6471
Update for saved bot data to use new spells id values
2017-02-26 06:26:59 -05:00
Uleat
0ee3168241
Merge branch 'master' of https://github.com/EQEmu/Server
2017-02-25 18:02:47 -05:00
Michael Cook (mackal)
3fd40e9449
Make ST_AreaNPCOnly skip faction check
...
The motivation for this is there a bunch of auras that use this target type
that all would require setting up faction for these NPCs so they would hate
everything.
Also allows Ward of Destruction to work.
2017-02-25 14:36:17 -05:00
Uleat
c61c275221
Added position update packet in out-of-combat movement code when movement occurs (rule-based; default: false) - appears to help with rubber-banding effect
2017-02-25 09:02:20 -05:00
Uleat
7a6d5d46f4
Added node pathing to the bot movement dilemma...
2017-02-25 03:48:02 -05:00
Michael Cook (mackal)
14a5ff399a
clear xtarget manager on death
2017-02-25 02:37:57 -05:00
Michael Cook (mackal)
31907382c8
Lets not aggro zonign clients
2017-02-25 02:21:48 -05:00
Uleat
5c6492bc0f
Merge branch 'master' of https://github.com/EQEmu/Server
2017-02-24 20:09:53 -05:00
Michael Cook (mackal)
0968ce0d60
Add petnaming type 5 (`s ward)
2017-02-24 15:28:22 -05:00
Uleat
171474f1d2
Fix for bot combat line-of-sight issue (let me know if this causes zone training again)
2017-02-24 10:02:50 -05:00
Uleat
3383f65ff7
Updated bot casting roles to not refresh with every spell cast (oversight in recent casting chances commit)
2017-02-24 04:48:33 -05:00
Michael Cook (mackal)
7621bf47c8
Quick fix to resolve some serious group issues
...
Group leader swapping didn't work and left the client in a bad state
This just disbands the group if the leader leaves
Also prevents a group leader from disbanding other groups ...
Which also lead to bad states
Group leader swapping not working is better than these issues :P
2017-02-24 01:12:46 -05:00
Uleat
72ed770037
Merge branch 'master' of https://github.com/EQEmu/Server
2017-02-23 19:16:54 -05:00
Uleat
4e8a03f7b4
Migrated bot spell casting chance data to the database
2017-02-23 19:16:36 -05:00
Michael Cook (mackal)
602381ebec
copy paste fail
2017-02-23 12:27:44 -05:00
Uleat
ce3fc0f2c3
Merge branch 'master' of https://github.com/EQEmu/Server
2017-02-21 20:40:35 -05:00
Uleat
9adfe5b9ff
Fix for bot wizard repeating familiar casting when pet is dead and buff is active
2017-02-21 20:40:04 -05:00
Michael Cook (mackal)
b423ad0d80
Crash fix
2017-02-21 18:02:58 -05:00
Drajor
7db82a3b14
Fixes issue with calculating the value of items being sold. The loop was starting at 0 instead of 1.
2017-02-22 06:26:49 +10:00
Michael Cook (mackal)
056725b9bd
Make timer for aggro meter not a magic number
...
you can edit AGGRO_METER_UPDATE_MS in common/features.h if you want to
see if a different number would work better
2017-02-21 13:38:00 -05:00
Uleat
b41bb8e179
Merge branch 'master' of https://github.com/EQEmu/Server
2017-02-20 21:41:25 -05:00
Uleat
d9633dfee4
Bard bot song twisting update
2017-02-20 21:41:15 -05:00