Michael Cook (mackal)
68df09a570
Implement PVP regions
2016-08-04 23:56:08 -04:00
Michael Cook (mackal)
d53d569020
Port EQMacEmu's improved NPC stat scaling formula
...
Old formula can be used by setting NPC::NewLevelSacling to false
2016-08-04 22:12:33 -04:00
Michael Cook (mackal)
1d12f92934
Level 50+ NPCs will now respond to yells for help regardless of con color
2016-08-04 20:36:15 -04:00
Michael Cook (mackal)
e89fa01d89
Port Aggro:UseLevelAggro from EQMacEmu
...
This will make level 18+ mobs braver
2016-08-04 20:33:29 -04:00
Michael Cook (mackal)
8dc8e53218
Added some more comments to PassCastRestrictions
2016-08-04 13:50:20 -04:00
Michael Cook (mackal)
33407ee0da
Forgot divination
2016-08-03 23:14:02 -04:00
Michael Cook (mackal)
c81a5e0783
Limit casting skill ups to casting skills
2016-08-03 23:06:00 -04:00
Michael Cook (mackal)
66fec40169
Move Enrage check to after the immune ripo check
2016-08-03 22:38:33 -04:00
Michael Cook (mackal)
60f2d14caa
Rework bash/kick stun based on client
...
This is what the client is doing. It doesn't reuse all the old rules, so those
can't be tweaked unless someone wants to add them back in
2016-08-03 17:37:09 -04:00
Michael Cook (mackal)
538d6a2a33
Hack to fix RNG Nature Veil line
2016-08-03 01:44:33 -04:00
Michael Cook (mackal)
f26dce39c3
Rate limit saving to at most once a second
...
There are A LOT of unneeded saves ...
This will prevent a lot of excessive database hits at least
with very little room to exploit
2016-08-03 01:13:51 -04:00
Michael Cook (mackal)
acb5bb3e3e
If this flag is set, we JUST saved
...
Also saved due to an OP_Save very recently ...
2016-08-03 00:33:22 -04:00
Michael Cook (mackal)
16125c38af
Lets not save here if we're zoning
2016-08-03 00:13:47 -04:00
Michael Cook (mackal)
69db67efe5
Remove extra save
2016-08-02 23:32:37 -04:00
Michael Cook (mackal)
37ecc69088
Update UF packet stuff to have 30 BUFF_COUNT
2016-08-02 21:10:32 -04:00
Michael Cook (mackal)
d68a3b191e
Give pets 30 buff because that's what they got
2016-08-02 21:08:05 -04:00
Michael Cook (mackal)
64cf613189
Update GetCurrentBuffSlots() for TSS free slots
...
The client also checks if you have any bonus from spells and items
so why not check that as well
2016-08-02 19:00:33 -04:00
Michael Cook (mackal)
2bae779a9b
NPCs don't have separate buff windows
2016-08-02 16:48:58 -04:00
Michael Cook (mackal)
e862994716
RoF/RoF2 spell gem refresh in PP
...
This fixes issues with long recast spells
2016-07-31 18:09:04 -04:00
Michael Cook (mackal)
f612f8be42
Fix typo
2016-07-31 17:35:33 -04:00
Michael Cook (mackal)
ef2c17748e
Implement extra spell gems!
...
New limits:
Tit: 9
SoF: 9
SoD: 10
UF: 12
RoF: 12
RoF2: 12
The SoF client doesn't actually support 10 like SoF should
RoF/RoF2 actually have 4 extra broken spell gems in the UI. They don't work and
will likely crash your client
Quest stuff assumes you are passing in valid slots.
(note the old default of 10 should be 22)
There are still somethings to do like clean up the memmed spells if one switches
to an older client that doesn't support as many as their previous client.
2016-07-31 17:16:23 -04:00
Michael Cook (mackal)
4c4b0aba0c
Switch trading to call CommonBreakInvisible()
2016-07-30 12:51:17 -04:00
Michael Cook (mackal)
3a4b341ad6
Allow quest controlled TS to have no returns
2016-07-29 15:29:28 -04:00
Michael Cook (mackal)
2a2ce6da5d
Fix item clicks being TGBable
2016-07-29 15:14:26 -04:00
Michael Cook (mackal)
239c478f31
Add some comments to target types [skip ci]
2016-07-29 02:55:43 -04:00
Michael Cook (mackal)
f6c62af82e
Update comment [skip ci]
2016-07-29 02:26:26 -04:00
Michael Cook (mackal)
345f3d6301
Fix Tit OP_Buff decode
2016-07-27 19:58:24 -04:00
Michael Cook (mackal)
de5170c5cb
Fix mana burn
2016-07-26 17:10:06 -04:00
Michael Cook (mackal)
7674b3a077
Fix some same spell stacking issues
2016-07-26 16:25:19 -04:00
Michael Cook (mackal)
11e017ccb9
Fix bard mod in PP for UF
2016-07-25 16:37:27 -04:00
Michael Cook (mackal)
bda4fcfb26
Fix up SpellBuff struct
...
Please report any bugs you find. There shouldn't be unless I messed up the struct
for a client I didn't throughly test for
2016-07-25 16:22:48 -04:00
Michael Cook (mackal)
a7fd9312d0
Fix syntax error
2016-07-24 22:58:48 -04:00
Michael Cook (mackal)
3963897fe4
There is a different rez spell depending on race
2016-07-24 22:53:57 -04:00
Michael Cook (mackal)
f42b0351fd
Improve list of skipped effects in stacking code
...
This is the list according to the client (RoF2)
Please report any stacking anomalies
2016-07-24 22:24:53 -04:00
Michael Cook (mackal)
343b781e74
Implement cast_not_standing and fix Cazic Touch
...
No idea why this spell field does this, but that's what the client
is doing with it ...
2016-07-23 18:40:17 -04:00
Michael Cook (mackal)
f428a8a56a
Add a CastWhileInvis check and fix some issues
2016-07-23 18:07:56 -04:00
Michael Cook (mackal)
cd9a7f1d5d
Cap tic diff to 0 for duration based calcs
...
This will match Splurt with the double 191
2016-07-23 17:52:30 -04:00
Michael Cook (mackal)
83548ee405
Fix buff tics
...
This will not fade buffs at 6s :P
2016-07-23 17:41:16 -04:00
Michael Cook (mackal)
5f588934a9
Make decaying spell bonuses not depend on CaclBonuses being called some other way
...
This just sets a flag that will tell us we need to recalc bonuses every tick
Before these kind of depended on it being caused some other way
2016-07-23 13:55:36 -04:00
Michael Cook (mackal)
1f5dcb6965
Make SE_SpellResistReduction not complain
2016-07-21 20:27:08 -04:00
Michael Cook (mackal)
5f111f159b
Update comment [skip ci]
2016-07-21 14:05:29 -04:00
Michael Cook (mackal)
527ee56fb2
Fix Distance Mod scaling
...
The client clamps the distance between the min/max
2016-07-20 17:49:33 -04:00
Michael Cook (mackal)
8396f19e85
Add buff level restrictions for pets
2016-07-20 16:27:22 -04:00
Michael Cook (mackal)
ccb5427b45
Make VS debug mode happy
...
This actually hurts microbenchmarking
I couldn't get the ModelEntry::polys vector to play nice with benchmarking
so it will just be using push_back so I don't have write a new ctor
(writing a new ctor and using emplace_back vs push_back were equal)
2016-07-18 21:57:25 -04:00
Michael Cook (mackal)
8983f3c5dc
Merge pull request #537 from noudess/master
...
Fix for BuffDurationPacket on movement speed buffs.
2016-07-18 16:05:28 -04:00
Michael Cook (mackal)
aeff31ba7a
Fix error with /setstartcity
2016-07-18 13:57:14 -04:00
Michael Cook (mackal)
f431e820ef
Optimize Map::LoadV2 a bit
...
Microbenchmarking showed ~33% increase in loading moors
Real world testing showed ~48%
2016-07-17 23:35:18 -04:00
Michael Cook (mackal)
c41521c310
Fix saving binds on charcreate
2016-07-17 22:50:00 -04:00
Michael Cook (mackal)
7cd613e5f2
Comment spell struct with official names for each field
2016-07-17 02:13:13 -04:00
Michael Cook (mackal)
921136c987
Exclude in other Perma Illusion spot
2016-07-16 19:40:20 -04:00
Michael Cook (mackal)
d4df2e7351
Exclude Minor Illusion and Illusion: Tree from perma
2016-07-16 19:33:36 -04:00
Michael Cook (mackal)
9cf553232d
Tweak spell dot stacking exempt based on client
2016-07-16 18:18:41 -04:00
Michael Cook (mackal)
bbf4d19de3
Revert "Changed tuple use to struct in maps.cpp (LoadV2) (should help in client drops where slow zone boot-ups are a factor)"
...
This reverts commit 02cedce54e .
This is breaks moors!
2016-07-15 15:20:36 -04:00
Michael Cook (mackal)
a9ff407657
Optimize Mapp:RotateVertex()
...
This function can get rather expensive and waste a surprisingly
large amount of time. Using moors as a test zone simply switching
from the C math API cos/sin to std::cos/std::sin seemed to help
11.11% Map::RotateVertex(glm::tvec3<float, (glm::precision)0>&, float, float, float)
4.16% Map::RotateVertex(glm::tvec3<float, (glm::precision)0>&, float, float, float)
2016-07-10 23:18:26 -04:00
Michael Cook (mackal)
4b57f69cba
Fix illusions on zone
2016-07-07 16:17:13 -04:00
Michael Cook (mackal)
860ee81a38
Break invis for AA casts
2016-06-30 21:59:50 -04:00
Michael Cook (mackal)
bcec9501b7
Fix issue with invis not dropping for new item clicks
...
Clients using OP_ItemVerifyRequest couldn't break the invis
themselves, so we gotta for them
2016-06-30 21:49:20 -04:00
Michael Cook (mackal)
37b46d1289
Make more usage of CancelSneakHide
2016-06-30 21:49:00 -04:00
Michael Cook (mackal)
54de212214
Implement OP_CancelSneakHide
...
Didn't test every client, but they should all work
2016-06-30 17:50:31 -04:00
Michael Cook (mackal)
a64343689c
Refactor loot response a bit
...
Invis is dropped after ALL error checking now
Identified all the response types
2016-06-30 14:00:18 -04:00
Michael Cook (mackal)
3e0af2928b
Remove duped code from CommonBreakInvisibleFromCombat
2016-06-30 01:30:51 -04:00
Michael Cook (mackal)
59ec184208
Merge pull request #533 from noudess/master
...
Res effects now block certain buffs like on live. Blocked spells generate message like on live.
2016-06-28 13:34:39 -04:00
Michael Cook (mackal)
30b516e7bd
Merge pull request #530 from EQEmu/luarocks
...
Add luarocks support
2016-06-17 21:09:40 -04:00
Michael Cook (mackal)
57ebfd2675
Merge pull request #532 from noudess/master
...
Changed personal faction earned min/max values to -2000/2000.
2016-06-13 14:30:39 -04:00
Michael Cook (mackal)
af99db7287
Merge pull request #531 from noudess/master
...
Fix for detrimental/beneficial spell overwrite and/or block.
2016-06-13 13:27:41 -04:00
Michael Cook (mackal)
2b2ebc75b0
Add luarocks support
...
This allows one to use the lua_modules folder as their luarocks tree
ex (from the server folder with lua_modules using default location)
luarocks --tree=lua_modules install luasql-mysql MYSQL_INCDIR=/usr/include
This will install the luasql mysql module so you can now do queries from lua
2016-06-11 15:59:46 -04:00
Michael Cook (mackal)
83bb10b32b
Add support for sub folder style lua modules
...
Ex. lua_modules/?/init.lua will work (which some lua modules do use)
2016-06-11 13:23:52 -04:00
Michael Cook (mackal)
471d7ec42d
Merge pull request #528 from EQEmu/altcurr
...
Fixes #527
2016-06-10 23:31:43 -04:00
Michael Cook (mackal)
56cb719d1a
Merge pull request #522 from 9thsector/FreeBSDFixes
...
FreeBSD Compile Fixes
2016-05-25 18:53:56 -04:00
Michael Cook (mackal)
e2a5ffe59e
Merge pull request #525 from 9thsector/configfile-patch-location-fix
...
reording includes fixes patch file location problem
2016-05-25 18:53:46 -04:00
Michael Cook (mackal)
615158e701
Make EQStreamIdentifier::Record ctor take advantage of move semantics [clang-tidy]
2016-05-25 16:29:39 -04:00
Michael Cook (mackal)
60da544d3a
clang-tidy modernize-use-auto
2016-05-25 16:10:28 -04:00
Michael Cook (mackal)
cdbeb24a05
Change emptiness checks to empty() from size() [clang-tidy]
...
This has two benefits, it's clear what we are checking and
size() isn't always constant time, where empty is (performance!)
2016-05-25 14:57:47 -04:00
Michael Cook (mackal)
c43d436b1f
Fix more windows.h/winsock.h/winsock2.h issues
...
We want to use winsock2.h rather than winsock.h. This was mostly enforced
from the global_defines.h file, but I wanted to make it consistent.
Most of these includes can be removed since they're included via
global_defines.h, but someone on windows should clean that up
2016-05-25 13:46:47 -04:00
Michael Cook (mackal)
c059ff01ba
Nuke unused COLLECTOR defines
2016-05-25 02:38:06 -04:00
Michael Cook (mackal)
12905a3771
Fix Item_Struct::IsEquipable issue
2016-05-22 18:02:46 -04:00
Michael Cook (mackal)
0c311ad3fe
Fix Client::ChangeMailBox
2016-05-17 18:22:44 -04:00
Michael Cook (mackal)
a8a4712fce
Remove unused header
2016-05-17 17:47:26 -04:00
Michael Cook (mackal)
981d3e6b60
Refactor Clientlist::Voiced to std::vector
2016-05-17 17:42:34 -04:00
Michael Cook (mackal)
f185257415
Refactor ChatChannel::Invitees to std::vector
2016-05-17 17:38:08 -04:00
Michael Cook (mackal)
1a7a5aa8c8
More UCS refactoring
2016-05-17 16:52:04 -04:00
Michael Cook (mackal)
29da15f38c
Rename CL to g_Clientlist
2016-05-17 15:11:23 -04:00
Michael Cook (mackal)
38af484368
Fix mismatch new/delete
2016-05-16 23:47:01 -04:00
Michael Cook (mackal)
046dfe3e12
Add missing continue to Clientlist::Process
2016-05-16 23:25:27 -04:00
Michael Cook (mackal)
52bee3e8a0
Rework Clientlist::Process to not skip clients ...
2016-05-16 23:22:42 -04:00
Michael Cook (mackal)
d2888e6cca
Fix mismatched new/delete
2016-05-16 23:22:23 -04:00
Michael Cook (mackal)
edc42bf5b6
Add small chrono timer object
...
This is just so if someone wants a quick way to measure how long
something takes for benchmarking purposes they don't have to
reinvent anything. See examples in comments
2016-05-13 21:33:03 -04:00
Michael Cook (mackal)
de48d79b27
Need to account for null byte
2016-05-09 21:46:05 -04:00
Michael Cook (mackal)
c159b89e79
Rewrite VarCache_Struct
...
Basically just remove manual memory management
2016-05-09 14:25:54 -04:00
Michael Cook (mackal)
907bc68e1c
Mismatched delete statement
2016-05-06 23:14:48 -04:00
Michael Cook (mackal)
47c9182ba3
Fix potential memory leaks (clang-tidy)
2016-05-06 22:58:45 -04:00
Michael Cook (mackal)
74b3fe9d61
Potential memory leak fix
2016-05-06 22:42:19 -04:00
Michael Cook (mackal)
20a36151b3
Make Client::TradeskillSearchResults take a reference
2016-05-06 22:04:21 -04:00
Michael Cook (mackal)
f85add14db
Fix some undefined behavior issues?
...
MakeAnyLenString results in UB (I think?) and is aggressively optimized out with clang
GrantAlternateAdvancementAbility were missing return statements and clang had fun times with those functions too
2016-05-06 21:31:46 -04:00
Michael Cook (mackal)
3bf13c5349
Run the timeout_manager in loginserver (thanks image)
2016-05-06 13:34:13 -04:00
Michael Cook (mackal)
a49aef24c5
Fix luabind::adl::object forward declare for clang
...
clang didn't like this, and GCC likes both :P
2016-05-04 03:01:53 -04:00
Michael Cook (mackal)
2fde9edb41
Fix null bind issues
2016-04-26 16:06:24 -04:00
Michael Cook (mackal)
700e801821
Fix mismatched delete in QueryServ
2016-04-12 13:44:33 -04:00
Michael Cook (mackal)
761c2be722
Style changes (auto, post-inc to pre-inc)
2016-04-08 14:14:09 -04:00
Michael Cook (mackal)
1551e5d908
Add mutex to EQStream::Decay to prevent threading issues
2016-04-08 14:11:02 -04:00