-
Notifications
You must be signed in to change notification settings - Fork 241
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Parsing incoming network commands should not instantiate ObjectGuids (#…
…1216) * HandleActionStackableSplitTo3D cleanup * Container: Remove duplicate TryRemoveFromInventoryWithoutClear() * Always fix placement positions in Container SortWorldObjectsIntoInventory * HandleActionStackableSplitToContainer cleanup * Inventory cleanup * Cleanup child object management (items held in hands) * More player inventory progress * Remove ActionChain.AddDelayTicks() (not used, we use time based) * Fix opcode log warning in InboundMessageManager * HandleActionDropItem looking good on the new system * HandleActionDropItem comments * Fix PlayerEnterWorld exception when player has null Location * More inventory progress * minor cleanups * Remove IComparable from WorldObject Only one WorldObject per ObjectGuid can exist at a time. The normal reference comparison is fine. IComparable gives the wrong impression that a WorldObject with the same ObjectGuid can be defined/instantiated by two different objects at the same time. * Inventory Progress * Fix stack size bug in Developer commands that use AddWeeniesToInventory * more inventory progress * More split progress * more stack progress * Use virtual MotionPickup * Inventory improvements * more inventory progress * player/npc give refactored * Convert some obsolete inventory functions over to TryConsumeFromInventoryWithNetworking * All inventory functions converted * Fix item decaying explosions * Fix player trade * More fixes * Fix giving partial stacks * Fix burden limitations when picking up items * Fix selling items * Inventory move to fixes * Cleanup TrySetChild * Don't decay IsStuck objects * Don't allow pickup of IsStuck items * Fix moving equipped items around * Weapons now work * Fix player location null restore * Add back HeritageBonuses to Player_Skills * Fix equipment spell/dispell on equip/dequip * Fix non-selectable wielded items from showing on the player model * Fix wield/unwield sound for equipped items that aren't childeren * TrySetChild should ClearChild if it's not a valid child. * Fix missile ammo as child * Send DeleteObject instead of PickupEvent on Dequip. This fixes disappearing weapon on relog * Couple notes where item recovieres should go * Hopefully this fixes the ammo being displayed incorrectly * Couple inventory fixes Fix death items dropping properly Fix giving equipped items appearing in targets inventory * Allow close container that has no viewer * Couple more log warnings for potential lost items * Add static methods to ObjectGuid * Use ObjectGuid.IsPlayer instead of creating a new ObjectGuid * ACE.Server.Network.GameAction.Actions cosmetic cleanup * Network GameActions no longer create and pass ObjectGuids. Now they pass uints The idea here is that incoming network packet handlers should be doing the bare minimum to parse the packet. The handler of the action should be what determines of an ObjectGuid is needed, or a uint is sufficient. * Network.Handlers switched from ObjectGuid -> uint * Another instance of ObjectGuid used in the network actions removed * More networking ObjectGuids switched to uints * missed a file * Attuned check removed for GiveObjecttoNPC * Don't consume unlimited use gems * Fix HandleDestroyBonded * Fix destroying equipped items when consumed
- Loading branch information
Showing
96 changed files
with
284 additions
and
300 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
using ACE.Entity; | ||
using ACE.Entity; | ||
|
||
namespace ACE.Server.Entity | ||
{ | ||
public class ItemProfile | ||
{ | ||
public uint Amount; | ||
public ObjectGuid Guid; | ||
public uint ObjectGuid; | ||
public uint WeenieClassId; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
Source/ACE.Server/Network/GameAction/Actions/GameActionAbandonContract.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
|
||
namespace ACE.Server.Network.GameAction.Actions | ||
{ | ||
/// <summary> | ||
|
2 changes: 0 additions & 2 deletions
2
Source/ACE.Server/Network/GameAction/Actions/GameActionAcceptTrade.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
using ACE.Entity; | ||
using ACE.Server.Managers; | ||
|
||
namespace ACE.Server.Network.GameAction.Actions | ||
{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 0 additions & 1 deletion
1
Source/ACE.Server/Network/GameAction/Actions/GameActionAddShortcut.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
using System; | ||
using ACE.Server.Network.Structure; | ||
|
||
namespace ACE.Server.Network.GameAction.Actions | ||
|
1 change: 1 addition & 0 deletions
1
Source/ACE.Server/Network/GameAction/Actions/GameActionAddSpellFavorite.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
|
||
namespace ACE.Server.Network.GameAction.Actions | ||
{ | ||
public static class GameActionAddSpellFavorite | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 3 additions & 1 deletion
4
Source/ACE.Server/Network/GameAction/Actions/GameActionAdvocateTeleport.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
Source/ACE.Server/Network/GameAction/Actions/GameActionAllegianceUpdateRequest.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
using System; | ||
|
||
using ACE.Server.Network.GameEvent.Events; | ||
|
||
namespace ACE.Server.Network.GameAction.Actions | ||
|
1 change: 1 addition & 0 deletions
1
Source/ACE.Server/Network/GameAction/Actions/GameActionAutonomousPosition.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
using System; | ||
|
||
using ACE.Entity; | ||
|
||
namespace ACE.Server.Network.GameAction.Actions | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 3 additions & 8 deletions
11
Source/ACE.Server/Network/GameAction/Actions/GameActionCreateTinkeringTool.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
Source/ACE.Server/Network/GameAction/Actions/GameActionDisplayPlayerConsentList.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
|
||
namespace ACE.Server.Network.GameAction.Actions | ||
{ | ||
public static class GameActionDisplayPlayerConsentList | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
Source/ACE.Server/Network/GameAction/Actions/GameActionFellowshipChangeOpenness.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 0 additions & 1 deletion
1
Source/ACE.Server/Network/GameAction/Actions/GameActionFellowshipCreate.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
Source/ACE.Server/Network/GameAction/Actions/GameActionFellowshipQuit.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
|
||
namespace ACE.Server.Network.GameAction.Actions | ||
{ | ||
public class GameActionFellowshipQuit | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
Source/ACE.Server/Network/GameAction/Actions/GameActionGameQuit.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
|
||
namespace ACE.Server.Network.GameAction.Actions | ||
{ | ||
public static class GameActionGameQuit | ||
|
1 change: 1 addition & 0 deletions
1
Source/ACE.Server/Network/GameAction/Actions/GameActionGetAndWieldItem.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
|
||
namespace ACE.Server.Network.GameAction.Actions | ||
{ | ||
public static class GameActionGetAndWieldItem | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
Source/ACE.Server/Network/GameAction/Actions/GameActionHouseAbandon.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
using System; | ||
|
||
using ACE.Server.Network.GameEvent.Events; | ||
|
||
namespace ACE.Server.Network.GameAction.Actions | ||
|
Oops, something went wrong.