Michael Cook (mackal)
c2ab2a232b
Bug fix in SharedTaskManager::LoadSharedTaskState
2019-06-07 01:39:43 -04:00
Michael Cook (mackal)
c5f739cbda
Add shared_tasks loading in world
2019-06-07 01:16:44 -04:00
Michael Cook (mackal)
385732f403
Remove dead idea in SharedTaskManager::HandleTaskZoneCreated
...
We'll just load from DB if the task doesn't exist yet
2019-06-03 23:43:11 -04:00
Michael Cook (mackal)
b972ec581f
Rework accepted_time for shared_tasks
2019-06-02 23:32:53 -04:00
Michael Cook (mackal)
b0dff0c006
Some work on world's task activity states
2019-05-30 02:00:29 -04:00
Michael Cook (mackal)
c093b3e2ab
Stub out some more functions
2019-05-30 01:37:23 -04:00
Michael Cook (mackal)
c5bf71f221
The requestor should at least be able to see the new shared task and get
...
a member list
There are still a few issues that need to be solved this way.
We could try searching for the members in zone (by name ...) or we could
just fire off to world and world will have to send a special full
serialization so the new zone could load the state. Or at this point we
could just assume that we have saved the state to the DB (which hasn't
been coded yet) and any out of zone members will have to depend on
loading it up from the DB.
2019-05-26 00:38:28 -04:00
Michael Cook (mackal)
977c3ca3dc
Tweak some stuff in world
2019-05-25 21:52:21 -04:00
Michael Cook (mackal)
408ce4650f
Implement ClientListEntry::LoadTaskLockouts
2019-05-22 22:38:07 -04:00
Michael Cook (mackal)
bc0f705227
Implement SharedTaskManager::LoadSharedTaskState
2019-05-22 15:30:00 -04:00
Michael Cook (mackal)
5c1ab3b24c
Move ClientTaskInformation to global task header
2019-05-21 22:03:08 -04:00
Michael Cook (mackal)
85a858fcd6
More comments [skip ci]
2019-05-21 17:10:29 -04:00
Michael Cook (mackal)
6ab2e46f42
Implement SharedTaskManager::LoadSharedTasks
2019-05-21 17:00:34 -04:00
Michael Cook (mackal)
96acb1e638
Finish SharedTaskManager::HandleTaskRequest
...
Cleaned up some other functions as well
2019-05-21 00:07:14 -04:00
Michael Cook (mackal)
eb98eef1b9
Flush out task verification steps
2019-05-18 23:58:36 -04:00
Michael Cook (mackal)
e1bb3301a5
World should verify the full task to simplify things
2019-05-18 17:26:09 -04:00
Michael Cook (mackal)
358ce2ca94
Merge branch 'master' into shared_tasks
2019-05-16 22:21:31 -04:00
Michael Cook (mackal)
6856d1540b
Fix spelling
2019-04-30 17:29:30 -04:00
Michael Cook (mackal)
cd1306d52c
Some tweaks to next ID logic and comment up a load function
2019-04-30 17:25:20 -04:00
Michael Cook (mackal)
20aa1cbe77
Merge branch 'master' into shared_tasks
2019-04-30 17:13:57 -04:00
Michael Cook (mackal)
dfd9a3c714
Merge branch 'master' into shared_tasks
2019-04-26 17:57:31 -04:00
Michael Cook (mackal)
54da27424f
Implement Foraging AA
...
Currently this SPA is only checked for AA bonuses since a non-permanent
bonus doesn't make sense. Plus I'm not sure the client is aware of it in
spells/gear
2019-04-14 00:18:23 -04:00
Michael Cook (mackal)
6e1f317c60
Merge pull request #839 from briankinney/rule-based-faction-thresholds
...
Rule based faction thresholds
2019-04-13 16:01:29 -04:00
Michael Cook (mackal)
e009e064f3
Merge pull request #842 from noudess/faction_min_max
...
Fix the auto-correct mechanism on illegal faction
2019-04-13 12:56:58 -04:00
Michael Cook (mackal)
9654beda9f
Merge pull request #841 from noudess/use_model
...
Fix version to match committed manifest
2019-04-13 12:56:48 -04:00
Michael Cook (mackal)
fa2052236c
Update some spell immune message colors Fixes #833
...
Should probably go and do some captures on live, but MQ2Cast's source is
probably correct
2019-03-27 18:20:39 -04:00
Michael Cook (mackal)
c04bf79b0f
Merge branch 'master' into shared_tasks
2019-03-25 19:42:52 -04:00
Michael Cook (mackal)
20de6acfea
Merge pull request #829 from noudess/master
...
Fix Spin() to use old mechanism so the npc actually spins again.
2019-03-14 12:56:44 -04:00
Michael Cook (mackal)
9c42f28b0d
Make Database::CheckStatus() 2038 safe
2019-03-12 14:31:23 -04:00
Michael Cook (mackal)
c8b7b3e74f
Merge pull request #824 from briankinney/correctly-reference-defender-mitigation
...
Reference the defender melee mitigation, not attacker
2019-02-06 23:58:27 -05:00
Michael Cook (mackal)
14a4f58c0b
Remove duplicate waypoint code from a merge
2019-01-16 13:18:33 -05:00
Michael Cook (mackal)
dd0216589f
Merge pull request #806 from KinglyKrab/master
...
Reimplemented pre-nerf Ranger stationary damage bonus.
2019-01-10 19:33:39 -05:00
Michael Cook (mackal)
f39244acca
Comment out some IsBardOnlyStackEffect stuff
2019-01-02 17:09:36 -05:00
Michael Cook (mackal)
bbbee6e6b2
Fix some bard stacking issues (mainly AE DOT)
...
Please report if it breaks anything (shouldn't)
2018-12-17 00:51:18 -05:00
Michael Cook (mackal)
7286e6a37f
Merge branch 'master' into shared_tasks
2018-12-16 14:46:35 -05:00
Michael Cook (mackal)
f4dee67d7c
Merge pull request #797 from noudess/master
...
Fix typo in manifest.
2018-12-12 12:56:40 -05:00
Michael Cook (mackal)
ce5c09441f
Merge pull request #795 from noudess/master
...
Fix the LoadGFG function to no longer have the unused parameter.
2018-12-11 17:20:48 -05:00
Michael Cook (mackal)
a4a69be0f5
Merge pull request #794 from noudess/master
...
Small fix for an NPC on a faction but with no entries in npc_faction_entries
2018-12-06 19:44:17 -05:00
Michael Cook (mackal)
c6bb4cd44a
Update system_tables.txt [skip ci]
2018-11-19 20:40:52 -05:00
Michael Cook (mackal)
0d0c22b5e5
Update corpse decay cap to 24 hours I guess
...
Some people were wanting higher, w/e
2018-11-18 16:06:31 -05:00
Michael Cook (mackal)
aae316c171
Fix formating in ZoneDatabase::GetDecayTimes()
2018-11-18 16:03:38 -05:00
Michael Cook (mackal)
2c0714b5d8
Fix cap bug in ZoneDatabase::GetDecayTimes()
2018-11-18 16:02:59 -05:00
Michael Cook (mackal)
8302f7cc26
Add a level cap to gray con flee
2018-11-14 22:59:07 -05:00
Michael Cook (mackal)
a1b384c254
Don't reset AA timers
2018-11-14 20:39:18 -05:00
Michael Cook (mackal)
d4395a6f0a
Client doesn't check AA casting standstate
...
Fixes an exploit and makes you stand if you're just sitting
2018-11-14 20:37:57 -05:00
Michael Cook (mackal)
cc920e60d9
Reset all follow variables when follow target is gone
2018-11-03 18:14:54 -04:00
Michael Cook (mackal)
467e2d3114
Add follow getters to lua just in case
2018-11-03 18:10:36 -04:00
Michael Cook (mackal)
dbb368865c
Add some Follow stuff to lua
...
You can also disallow following code from allowing the NPC to run if
they're far enough away
2018-11-03 17:44:19 -04:00
Michael Cook (mackal)
a244cec9e8
Merge branch 'master' into shared_tasks
2018-10-22 20:29:02 -04:00
Michael Cook (mackal)
7062e2703b
Merge branch 'master' into shared_tasks
2018-10-11 20:24:26 -04:00
Michael Cook (mackal)
5f53856fd4
Merge branch 'master' into shared_tasks
2018-10-09 14:22:20 -04:00
Michael Cook (mackal)
df899bb2df
Tweak NPC AI Heal logic a bit
...
New rule: Spells:AI_HealHPPct defaults to 50
This is the default maximum HP and NPC will start a heal
The spell AI fields min_hp and max_hp are now used to override the HP
percentages they will heal at
2018-10-09 14:18:24 -04:00
Michael Cook (mackal)
17d63bc3f6
Merge branch 'master' into shared_tasks
2018-10-08 12:58:25 -04:00
Michael Cook (mackal)
d8c6c62809
Merge pull request #779 from noudess/master
...
Allow UseLevelAggro rule to be configurable.
2018-10-05 17:21:41 -04:00
Michael Cook (mackal)
47fda0f747
Merge branch 'master' into shared_tasks
2018-09-26 23:24:27 -04:00
Michael Cook (mackal)
e2c15dbc9e
Merge branch 'master' into shared_tasks
2018-09-12 13:34:16 -04:00
Michael Cook (mackal)
c089296538
Merge branch 'master' into shared_tasks
2018-09-08 00:25:31 -04:00
Michael Cook (mackal)
7836d020ce
Add NPC Max Aggro Distance to zone table
2018-09-08 00:22:16 -04:00
Michael Cook (mackal)
ec40b3dc69
Fix bots
2018-09-08 00:11:31 -04:00
Michael Cook (mackal)
00e44285a7
Fix column cases to make people happy
...
If you already sourced, too fucking bad.
2018-09-08 00:09:14 -04:00
Michael Cook (mackal)
4276bf3208
Too many commas
2018-09-07 23:55:51 -04:00
Michael Cook (mackal)
2d84029b37
Add FastRegen* to zone table
2018-09-07 23:54:40 -04:00
Michael Cook (mackal)
94f09e5287
Merge branch 'master' into shared_tasks
2018-09-07 20:18:22 -04:00
Michael Cook (mackal)
93133c289e
More shared tasks stuff
...
Mostly just OOZ checking
2018-09-05 16:04:49 -04:00
Michael Cook (mackal)
8934235030
Merge branch 'master' into shared_tasks
2018-09-03 12:58:47 -04:00
Michael Cook (mackal)
ea0a54ed60
More work on shared tasks
2018-09-02 23:14:15 -04:00
Michael Cook (mackal)
39544b4723
Shared Task WIP
2018-09-01 17:32:13 -04:00
Michael Cook (mackal)
766dcc464e
Fix crash
2018-08-27 12:56:46 -04:00
Michael Cook (mackal)
eb33279701
Reset various pet command states
...
This will prevent charm exploits
2018-08-26 22:19:56 -04:00
Michael Cook (mackal)
67e29a8aa7
Merge pull request #761 from fryguy503/lowlevel-mez-exploit
...
[Exploit] Prevent low level mez testing without aggro.
2018-08-25 20:27:19 -04:00
Michael Cook (mackal)
e816196edb
Merge pull request #762 from fryguy503/green-flee
...
Allow Separate CON_GRAY Flee rate.
2018-08-25 20:27:04 -04:00
Michael Cook (mackal)
16d719596b
Merge pull request #769 from fryguy503/gate_logic_heal
...
Prevent Gate if near bind location (Rule) and Heal on Gate (Rule)
2018-08-25 20:26:11 -04:00
Michael Cook (mackal)
7cc5b143fc
Make lua raid GetGroup functions signed
...
The server code is unsigned for bad reasons :P
2018-08-16 22:33:07 -04:00
Michael Cook (mackal)
ace81215a1
Correct when tanks can be hit by AE Rampage
...
Tanks will only be hit by AE Rampage if they're the only one on the
NPC's hate list. Others on hate list out ranging AE Rampage will also
prevent the tank from being hit by AE Rampage.
2018-08-16 17:13:34 -04:00
Michael Cook (mackal)
ffb9323a98
Revert "AE rampage shouldn't hit target"
...
This reverts commit 30148c3c56 .
Was thinking of wrong thing ... logs say otherwise :P
2018-08-16 13:18:00 -04:00
Michael Cook (mackal)
30148c3c56
AE rampage shouldn't hit target
2018-08-16 13:01:19 -04:00
Michael Cook (mackal)
585ef81fde
Fix lua raid GetGroup(client) and add lua raid GetGroupNumber(index)
...
This number will return group number and not let us iterate a bunch of
times to verify group numbers
2018-08-15 21:35:19 -04:00
Michael Cook (mackal)
54abeba1ce
Merge pull request #766 from noudess/master
...
Change spell logic to use min_hp from spell list.
2018-08-12 15:55:59 -04:00
Michael Cook (mackal)
e3c01d4143
Add lua entity_list function GetShuffledClientList()
...
There is cases where we need to get a random client, but
GetRandomClient() is not sufficient enough due to complex predicates
required on what tells us is a valid client. This way we can just loop
over a shuffled list and verify a client is valid instead of multiple
GetRandomClient() calls.
2018-08-05 22:55:30 -04:00
Michael Cook (mackal)
93749bc509
Add actual support for multi-zone task activities
2018-08-01 13:50:09 -04:00
Michael Cook (mackal)
483a34242b
Merge pull request #757 from fryguy503/purify-rez
...
Purfy Body Resurrection Effects fix
2018-07-22 16:53:43 -04:00
Michael Cook (mackal)
f15ba46c24
Merge pull request #759 from fryguy503/see-invis-percent
...
SeeInvis %
2018-07-22 15:25:04 -04:00
Michael Cook (mackal)
58883c2ed4
Merge pull request #755 from regneq/master
...
Quest NPCs will no longer turn and face their target if they are snea… …king, sitting, or laying/playdead.
2018-07-22 12:56:59 -04:00
Michael Cook (mackal)
87ea81cc36
Merge pull request #754 from fryguy503/disarm-implement
...
Disarm Support
2018-07-21 23:43:25 -04:00
Michael Cook (mackal)
7d0b281b7f
Merge pull request #753 from fryguy503/graveyard-placement
...
Added random graveyard corpse placement within +/- 20 units on X/Y ax…
2018-07-21 23:04:02 -04:00
Michael Cook (mackal)
983b8f7237
Merge pull request #740 from noudess/master
...
Fix HT and LOH to retry after failure to cast
2018-07-21 17:19:57 -04:00
Michael Cook (mackal)
ede21d9b10
Merge pull request #752 from fryguy503/grammar-split
...
Fixed Game breaking grammar issue with /split
2018-07-21 17:06:40 -04:00
Michael Cook (mackal)
02a3f971dd
Merge pull request #751 from fryguy503/horse-feign-fix
...
[Exploit] Prevent players from summoning horses while feigned.
2018-07-21 17:06:29 -04:00
Michael Cook (mackal)
2013063928
Merge pull request #750 from fryguy503/master2
...
Fixing incorrect operator so Appveyor will pass.
2018-07-21 17:06:03 -04:00
Michael Cook (mackal)
96d146f73c
Merge pull request #746 from fryguy503/mount-dismount-water
...
Rule: DismountWater - Causes mounts to dismount when entering liquid …
2018-07-21 13:26:11 -04:00
Michael Cook (mackal)
e06c128ced
Merge pull request #749 from fryguy503/aa-lowlevel-exploit
...
[Exploit Fix] AA Below Level Fix - When you are below level 52 with A…
2018-07-21 13:25:52 -04:00
Michael Cook (mackal)
dfa7e2bffb
Add completion emote for tasks
2018-07-20 14:06:07 -04:00
Michael Cook (mackal)
0cd4c0ac65
Update system_tables.txt
2018-07-17 14:52:32 -04:00
Michael Cook (mackal)
71e309022a
Fun fact, seconds are not milliseconds!
2018-07-15 00:34:44 -04:00
Michael Cook (mackal)
6aba38f664
Bug fix with rest timer changes
2018-07-15 00:27:51 -04:00
Michael Cook (mackal)
6ac4154acd
Don't call UpdateRestTimer when you're casting on yourself
2018-07-14 19:19:58 -04:00
Michael Cook (mackal)
6ab2871fd1
Beneficial spells will now correctly inherit targets RestTimer
...
Example PC A is fighting mob B. PC C casts a heal on PC A. PC C will
inherit the timer from PC A. This is done because beneficial spells have
a "witness" check from NPCs so there is a chance PC C would not gain
aggro and could just keep on going with no RestTimer which allows them
to fast regen while actively participating.
2018-07-14 18:52:20 -04:00
Michael Cook (mackal)
37ff8c830d
Fix /camp rest timer exploit
2018-07-14 17:41:42 -04:00
Michael Cook (mackal)
1d0b11acde
Fix get_instance_timer_by_id too
2018-07-10 13:02:53 -04:00
Michael Cook (mackal)
ade56231fc
Merge pull request #741 from AthrogatePEQ/master
...
Exposing get_instance_timer to lua
2018-07-10 13:01:55 -04:00