DarkflameServer/dGame
David Markowitz 138fffda2c
Fix item collection missions (#617)
* Implement Precompiled Headers

* fix cmake

* Fix modular builds not returning parts

Modular builds would not search inventory A for their corresponding item and by default would only look in the models bag.  This PR forces the item to be looked for in the inventory its coming from (inventoryA) as a second resort before doing the final search in the default inventory of the item.

Tested modular building a car and a rocket and when replacing parts the part that was already placed was returned to the inventory correctly.

* Push equipped items upon entering build mode

Fixes an issue where leaving build mode anywhere would not re-equip your items.  This also implements the feature to set your stats back to full, as was done in the live game.

Tested exiting build mode on a property with full venture gear and all gear was re-equipped and stats were set to the expected values.

* Fix item collection missions

Item collection missions are only supposed to take items should they be in the items inventory or the hidden inventory and no others.  This change removes the global inventory find of items and only removes it from the two inventories that items get taken from in live, ITEMS and HIDDEN

Tested completing mission 470 and 477 as well as 622 and the correct items were taken or not taken, based on the inventory the target item was in.
2022-07-06 08:54:41 -07:00
..
dBehaviors Add Venture Vision Behavior (#609) 2022-07-04 21:48:56 -07:00
dComponents Address items not re-equipping upon exiting build mode (#615) 2022-07-06 01:30:13 -07:00
dEntity Public release of the DLU server code! 2021-12-05 18:54:36 +01:00
dGameMessages Address modular build not returning parts upon switching some out (#614) 2022-07-05 23:18:04 -07:00
dInventory Implement Precompiled Headers (#591) 2022-07-04 15:24:45 -07:00
dMission Fix item collection missions (#617) 2022-07-06 08:54:41 -07:00
dUtilities Optimize scripts for faster compilation (#597) 2022-07-04 23:00:10 -07:00
Character.cpp Specified enum 2022-04-23 20:32:31 -07:00
Character.h Moved retroactive flag check to Character.cpp 2022-01-19 17:34:53 -08:00
Entity.cpp breakout possessor from char comp (#606) 2022-06-29 18:50:24 -05:00
Entity.h remove children 2022-06-16 17:50:33 -07:00
EntityManager.cpp The shooting Gallery now properly ends when a player leaves the instance 2022-06-19 01:40:16 -07:00
EntityManager.h Public release of the DLU server code! 2021-12-05 18:54:36 +01:00
LeaderboardManager.cpp Add Aarch64 support (#231) 2022-07-03 21:33:05 -07:00
LeaderboardManager.h Leaderboard Scoring Updates 2021-12-21 22:15:29 -05:00
Player.cpp Move to new branch 2022-06-19 00:14:33 -07:00
Player.h patched coin exploit 2021-12-11 13:21:00 +00:00
TeamManager.cpp Public release of the DLU server code! 2021-12-05 18:54:36 +01:00
TeamManager.h Public release of the DLU server code! 2021-12-05 18:54:36 +01:00
TradingManager.cpp loot source for item drops 2022-04-23 20:35:34 -07:00
TradingManager.h Public release of the DLU server code! 2021-12-05 18:54:36 +01:00
User.cpp Public release of the DLU server code! 2021-12-05 18:54:36 +01:00
User.h Public release of the DLU server code! 2021-12-05 18:54:36 +01:00
UserManager.cpp Vault corrections 2022-04-13 01:50:06 -07:00
UserManager.h Changed pants query and removed extra comments 2022-03-24 00:30:52 -07:00