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
Michael Cook (mackal)
c08993b60b
Bit of Task Revamp (shared still unimplemented)
...
Lots of change, packets should be better defined.
Task type tasks are now supported
2018-07-09 16:36:18 -04:00
Michael Cook (mackal)
07f3ab955f
Fix issue with Quest types
2018-07-09 14:01:52 -04:00
Michael Cook (mackal)
46bdbfc454
Merge branch 'master' into tasks
2018-07-09 13:17:17 -04:00
Michael Cook (mackal)
c0c34cf07a
Update ClientTaskState::ShowClientTasks
2018-07-08 23:32:30 -04:00
Michael Cook (mackal)
4c6de9b991
Steal buffer from SerializeBuffer now
2018-07-08 23:03:53 -04:00
Michael Cook (mackal)
2d456ba8c9
Add task faction reward
...
This just reuses NPC faction ID stuff since it does everything we want
and isn't actually tied to NPCs :P
2018-07-08 21:40:04 -04:00
Michael Cook (mackal)
3969ac346d
Remove startzone from tasks table since it's not needed
2018-07-08 18:42:26 -04:00
Michael Cook (mackal)
2418c3dd74
Remove old Text* stuff
2018-07-08 18:33:34 -04:00
Michael Cook (mackal)
7218128d03
Update TaskManager::SaveClientState
2018-07-08 18:07:08 -04:00
Michael Cook (mackal)
62b78fb9a8
Update TaskManager::LoadClientState
2018-07-08 18:01:14 -04:00
Michael Cook (mackal)
7e0c4eb93f
Reformat save/load since they were lacking tabs
2018-07-08 17:35:37 -04:00
Michael Cook (mackal)
9b229779db
Bunch more functions
2018-07-08 16:55:08 -04:00
Michael Cook (mackal)
b59a41829b
Fix more functions
2018-07-08 16:36:00 -04:00
Michael Cook (mackal)
160b56b4b7
Merge branch 'master' into tasks
2018-07-08 01:47:11 -04:00
Michael Cook (mackal)
0c899b2caa
Update more functions
2018-07-08 00:29:46 -04:00
Michael Cook (mackal)
51baccc10f
Merge branch 'master' into tasks
2018-07-06 00:59:45 -04:00
Michael Cook (mackal)
955b2afb18
Update GetTaskActivityDoneCountFromTaskID and GetTaskStartTime
2018-07-06 00:59:19 -04:00
Michael Cook (mackal)
0600b6834a
Update IsTaskActivityCompleted, GetTaskActivityDoneCount, GetTaskActivityState
2018-07-05 14:58:01 -04:00
Michael Cook (mackal)
cf30056cf6
Update FailTask, TaskOutOfTime, and TaskPeriodicChecks
2018-07-05 00:45:51 -04:00
Michael Cook (mackal)
0367bc3465
Task update events should be task type aware now
2018-07-05 00:13:19 -04:00
Michael Cook (mackal)
2f4fb46007
Optional is a DWORD in older packets
2018-07-04 14:36:18 -04:00
Michael Cook (mackal)
26f1d450fc
OP_TaskActivity for older clients
2018-07-04 13:30:24 -04:00
Michael Cook (mackal)
a7c1fad213
Fix up OP_OpenNewTasksWindow for older clients
2018-07-04 01:57:54 -04:00
Michael Cook (mackal)
6d60f619c0
Merge branch 'master' into tasks
2018-07-03 01:20:51 -04:00
Michael Cook (mackal)
60ac0f7888
Add WriteLengthString(const std::string &str)
2018-07-03 01:15:40 -04:00
Michael Cook (mackal)
d2679f065a
Merge branch 'master' into tasks
2018-07-02 22:02:07 -04:00
Michael Cook (mackal)
0ea82b5d88
Bunch more work on fixing up DB and packets
2018-07-02 22:01:17 -04:00
Michael Cook (mackal)
1b8736188d
Merge branch 'master' into tasks
2018-06-29 00:13:31 -04:00
Michael Cook (mackal)
df43d33def
Merge branch 'master' into tasks
2018-06-28 22:17:16 -04:00
Michael Cook (mackal)
70f55179b6
Switch netcode to steady_clock
2018-06-28 22:16:25 -04:00
Michael Cook (mackal)
80b4248315
Merge branch 'master' into tasks
2018-06-27 21:23:00 -04:00
Michael Cook (mackal)
ee95a2a0c8
Remove uneeded DumpPacket in Handle_OP_ItemLinkClick
2018-06-27 21:22:39 -04:00
Michael Cook (mackal)
3d3eee9772
Merge branch 'master' into tasks
2018-06-24 23:22:02 -04:00
Michael Cook (mackal)
3498f7a56f
Bunch of work
2018-06-24 23:21:35 -04:00
Michael Cook (mackal)
0558b1bc48
Merge pull request #739 from noudess/master
...
Changes to make Harmony work.
2018-06-24 14:38:33 -04:00
Michael Cook (mackal)
39d06a4012
Merge branch 'master' into tasks
2018-06-20 14:19:48 -04:00
Michael Cook (mackal)
bce92c5e02
Add support for innate self targeted spells
...
Currently this just includes checking SpellType_InCombatBuffs
2018-06-20 14:18:39 -04:00
Michael Cook (mackal)
7d18b90788
Fix MAX_ACTIVE_TASK messages
2018-06-17 00:17:59 -04:00
Michael Cook (mackal)
58ad1641e6
Fix string IDs to be embedded in says
2018-06-17 00:05:53 -04:00
Michael Cook (mackal)
18c73526aa
Gotta initialize stuff ...
2018-06-16 23:52:25 -04:00
Michael Cook (mackal)
4c826dfbcc
Change task selector quest function to not directly call the Send
...
function
2018-06-16 23:06:46 -04:00
Michael Cook (mackal)
6708cd3d75
More work on tasks
2018-06-16 22:42:26 -04:00
Michael Cook (mackal)
9bd5f36129
Rename ClientTaskState::ActiveTasks to ClientTaskState::ActiveQuests
...
because that's what it is
2018-06-13 18:06:08 -04:00
Michael Cook (mackal)
247d478990
Rename MAXACTIVETASKS to MAXACTIVEQUESTS
2018-06-13 17:51:35 -04:00
Michael Cook (mackal)
c35e010461
Tweak SQL
2018-06-13 17:23:07 -04:00
Michael Cook (mackal)
0765d273ea
More changes to task system
2018-06-13 17:08:21 -04:00
Michael Cook (mackal)
4662f29f11
Change TaskInformation strings to std::string
2018-06-12 13:56:17 -04:00
Michael Cook (mackal)
9e64132261
Change the ActivityInformation::Text*s to std::string
2018-06-12 00:32:13 -04:00
Michael Cook (mackal)
6b64a8183d
Fix issues with TaskGoalListManager::LoadLists
2018-06-11 23:54:42 -04:00
Michael Cook (mackal)
c3e007597e
Remove TaskGoalList_Struct::Size since it's not needed
2018-06-11 22:49:20 -04:00
Michael Cook (mackal)
6399710c1d
Update TaskGoalListManager::GetListByID to std algos
2018-06-11 22:25:44 -04:00
Michael Cook (mackal)
e3dfb2f19d
Switch TaskGoalList_Struct::GoalItemEntries to std::vector
2018-06-11 21:58:11 -04:00
Michael Cook (mackal)
4fec8a2b75
Switch TaskGoalListManager::TaskGoalLists to std::vector
2018-06-11 21:49:32 -04:00
Michael Cook (mackal)
653824ae9e
More task comments ..
2018-06-07 18:14:09 -04:00
Michael Cook (mackal)
b61f612fbe
More comments
2018-06-05 22:39:48 -04:00
Michael Cook (mackal)
028dbc4bda
Add ActivityCollect (unimplemented) and more comments
2018-06-05 22:16:53 -04:00
Michael Cook (mackal)
49b90eae76
More comments to task system
2018-06-05 13:12:29 -04:00
Michael Cook (mackal)
65acefc6b1
Comment task selection packet some
2018-06-04 23:54:57 -04:00
Michael Cook (mackal)
c487acbf1a
Off by 1 error in size check
2018-05-28 01:30:32 -04:00
Michael Cook (mackal)
72349ddbb6
Fix condition to set default heights
...
Was off by 1, if the height > 0 they don't get default height
2018-05-28 01:23:35 -04:00
Michael Cook (mackal)
a828443b46
Add OP_TaskRequestTimer to patch files
...
This is the lockout timer before you can request a task again
Currently unimplemented
2018-05-15 22:12:18 -04:00
Michael Cook (mackal)
4fe6836cf0
Fix compiling with libc++
2018-04-27 21:41:52 -04:00
Michael Cook (mackal)
fdcd39398c
Merge pull request #730 from regneq/master
...
Added pause, resume, and ispause to lua.
2018-04-27 20:05:58 -04:00
Michael Cook (mackal)
9344896238
/pet attack is range limited
2018-04-08 18:38:34 -04:00
Michael Cook (mackal)
3081f7b24f
Pets/NPCs don't use bane damage
...
Adds rule NPC:UseBaneDamage (defaults to false)
2018-04-08 18:26:25 -04:00
Michael Cook (mackal)
e594b7eac6
Fix NPC chance on fishing (100 = 100% chance now)
2018-03-29 18:28:36 -04:00
Michael Cook (mackal)
137d2d723d
Initialize AISpellVar
2018-03-25 01:16:06 -04:00
Michael Cook (mackal)
aff481bd37
Fix invalid read in con
2018-03-25 01:12:42 -04:00
Michael Cook (mackal)
3e1b86a7c3
Fix lua/perl set_proximity to accept flag for say prox
...
This will fix proximity say to always work
2018-03-24 15:24:54 -04:00
Michael Cook (mackal)
4ee35d7e56
Add default size function
2018-03-20 14:35:52 -04:00
Michael Cook (mackal)
135cfd7617
Revert "Revert changes to melee push until the generic push processing is better"
...
This reverts commit 49089f7537 .
2018-03-19 00:13:57 -04:00
Michael Cook (mackal)
c29bdd4b1d
Add a sanity check to prevent mobs climbing steep walls
...
Ex. in OMM's room in anguish
2018-03-17 14:29:11 -04:00
Michael Cook (mackal)
0643bf9783
Remove z offset mod in push, wasn't needed
2018-03-17 13:43:27 -04:00
Michael Cook (mackal)
d8b704ef7d
Adjust z offset down
2018-03-17 02:05:36 -04:00
Michael Cook (mackal)
e46e2952e6
Use 8 points to check in push code
2018-03-15 16:20:00 -04:00
Michael Cook (mackal)
a339d0d41d
Don't rotate the box, it works better
2018-03-15 15:48:34 -04:00
Michael Cook (mackal)
d62f2d41fc
Bug fixes to push, shouldn't get stuck anymore
2018-03-15 15:39:36 -04:00
Michael Cook (mackal)
339e921f17
Add a #push command, only works on NPCs for now
2018-03-14 16:10:14 -04:00
Michael Cook (mackal)
638d43e3cf
Use pathpoint races for showing nodes
...
The nearest neighbor command will grow them instead of changing race
now.
2018-03-10 15:36:12 -05:00
Michael Cook (mackal)
fdef1090c3
Update #race to accept all valid RoF2 races
2018-03-10 15:11:16 -05:00
Michael Cook (mackal)
a6b31017e3
Remove extra z offset
2018-03-09 19:27:31 -05:00
Michael Cook (mackal)
ca29cb037e
Add some more name filtering
2018-03-09 17:26:22 -05:00
Michael Cook (mackal)
d59931dc4d
Use an algorithm to generate pet names
2018-03-09 17:10:34 -05:00
Michael Cook (mackal)
876335bb54
Pull out forced movement from push to it's own function
...
Had to pull this out so we could process it before mez/stun
2018-03-08 19:42:40 -05:00
Michael Cook (mackal)
5c87b8152d
Remove Map::FindClosestLoS()
...
Map::LineIntersectsZone() already accomplished this use case
2018-03-08 18:03:15 -05:00
Michael Cook (mackal)
ef487112df
Add FixZ() to the spell push stuff
...
This is done after the packet since we want the NPC to get pushed up
still. The client will still interp the fall but server side we'll be on
the ground instantly
2018-03-08 16:11:48 -05:00
Michael Cook (mackal)
49089f7537
Revert changes to melee push until the generic push processing is better
2018-03-08 12:57:40 -05:00
Michael Cook (mackal)
ae966e546b
WIP for NPC spell push, off by default for now
2018-03-07 16:50:24 -05:00