mirror of
				https://bitbucket.org/Ioncannon/project-meteor-server.git
				synced 2025-05-20 08:26:59 -04:00 
			
		
		
		
	Merged master into ingame_help
This commit is contained in:
		| @@ -140,7 +140,7 @@ namespace FFXIVClassic_Map_Server.Actors | |||||||
|  |  | ||||||
|             inventories[Inventory.NORMAL] = new Inventory(this, MAXSIZE_INVENTORY_NORMAL, Inventory.NORMAL); |             inventories[Inventory.NORMAL] = new Inventory(this, MAXSIZE_INVENTORY_NORMAL, Inventory.NORMAL); | ||||||
|             inventories[Inventory.KEYITEMS] = new Inventory(this, MAXSIZE_INVENTORY_KEYITEMS, Inventory.KEYITEMS); |             inventories[Inventory.KEYITEMS] = new Inventory(this, MAXSIZE_INVENTORY_KEYITEMS, Inventory.KEYITEMS); | ||||||
|             inventories[Inventory.CURRENCY] = new Inventory(this, MAXSIZE_INVENTORY_CURRANCY, Inventory.CURRENCY); |             inventories[Inventory.CURRANCY] = new Inventory(this, MAXSIZE_INVENTORY_CURRANCY, Inventory.CURRANCY); | ||||||
|             inventories[Inventory.MELDREQUEST] = new Inventory(this, MAXSIZE_INVENTORY_MELDREQUEST, Inventory.MELDREQUEST); |             inventories[Inventory.MELDREQUEST] = new Inventory(this, MAXSIZE_INVENTORY_MELDREQUEST, Inventory.MELDREQUEST); | ||||||
|             inventories[Inventory.BAZAAR] = new Inventory(this, MAXSIZE_INVENTORY_BAZAAR, Inventory.BAZAAR); |             inventories[Inventory.BAZAAR] = new Inventory(this, MAXSIZE_INVENTORY_BAZAAR, Inventory.BAZAAR); | ||||||
|             inventories[Inventory.LOOT] = new Inventory(this, MAXSIZE_INVENTORY_LOOT, Inventory.LOOT); |             inventories[Inventory.LOOT] = new Inventory(this, MAXSIZE_INVENTORY_LOOT, Inventory.LOOT); | ||||||
| @@ -500,7 +500,7 @@ namespace FFXIVClassic_Map_Server.Actors | |||||||
|             #region Inventory & Equipment |             #region Inventory & Equipment | ||||||
|             queuePacket(InventoryBeginChangePacket.buildPacket(actorId)); |             queuePacket(InventoryBeginChangePacket.buildPacket(actorId)); | ||||||
|             inventories[Inventory.NORMAL].sendFullInventory(); |             inventories[Inventory.NORMAL].sendFullInventory(); | ||||||
|             inventories[Inventory.CURRENCY].sendFullInventory(); |             inventories[Inventory.CURRANCY].sendFullInventory(); | ||||||
|             inventories[Inventory.KEYITEMS].sendFullInventory(); |             inventories[Inventory.KEYITEMS].sendFullInventory(); | ||||||
|             inventories[Inventory.BAZAAR].sendFullInventory(); |             inventories[Inventory.BAZAAR].sendFullInventory(); | ||||||
|             inventories[Inventory.MELDREQUEST].sendFullInventory(); |             inventories[Inventory.MELDREQUEST].sendFullInventory(); | ||||||
| @@ -550,9 +550,10 @@ namespace FFXIVClassic_Map_Server.Actors | |||||||
|             reply11.replaceActorID(actorId); |             reply11.replaceActorID(actorId); | ||||||
|             //playerSession.queuePacket(reply10); |             //playerSession.queuePacket(reply10); | ||||||
|            // playerSession.queuePacket(reply11); |            // playerSession.queuePacket(reply11); | ||||||
|             #endregion       |             #endregion | ||||||
| */ | */ | ||||||
|         } |         } | ||||||
|  |  | ||||||
|         private void sendRemoveInventoryPackets(List<ushort> slots) |         private void sendRemoveInventoryPackets(List<ushort> slots) | ||||||
|         { |         { | ||||||
|             int currentIndex = 0; |             int currentIndex = 0; | ||||||
| @@ -702,34 +703,34 @@ namespace FFXIVClassic_Map_Server.Actors | |||||||
|         { |         { | ||||||
|             if (msgParams.Length == 0) |             if (msgParams.Length == 0) | ||||||
|             { |             { | ||||||
|                 queuePacket(GameMessagePacket.buildPacket(Server.getWorldManager().GetActor().actorId, actorId, sourceActor.actorId, textIdOwner.actorId, textId, log)); |                 queuePacket(GameMessagePacket.buildPacket(Server.GetWorldManager().GetActor().actorId, actorId, sourceActor.actorId, textIdOwner.actorId, textId, log)); | ||||||
|             } |             } | ||||||
|             else |             else | ||||||
|                 queuePacket(GameMessagePacket.buildPacket(Server.getWorldManager().GetActor().actorId, actorId, sourceActor.actorId, textIdOwner.actorId, textId, log, LuaUtils.createLuaParamList(msgParams))); |                 queuePacket(GameMessagePacket.buildPacket(Server.GetWorldManager().GetActor().actorId, actorId, sourceActor.actorId, textIdOwner.actorId, textId, log, LuaUtils.createLuaParamList(msgParams))); | ||||||
|         } |         } | ||||||
|  |  | ||||||
|         public void sendGameMessage(Actor textIdOwner, ushort textId, byte log, params object[] msgParams) |         public void sendGameMessage(Actor textIdOwner, ushort textId, byte log, params object[] msgParams) | ||||||
|         { |         { | ||||||
|             if (msgParams.Length == 0) |             if (msgParams.Length == 0) | ||||||
|                 queuePacket(GameMessagePacket.buildPacket(Server.getWorldManager().GetActor().actorId, actorId, textIdOwner.actorId, textId, log)); |                 queuePacket(GameMessagePacket.buildPacket(Server.GetWorldManager().GetActor().actorId, actorId, textIdOwner.actorId, textId, log)); | ||||||
|             else |             else | ||||||
|                 queuePacket(GameMessagePacket.buildPacket(Server.getWorldManager().GetActor().actorId, actorId, textIdOwner.actorId, textId, log, LuaUtils.createLuaParamList(msgParams))); |                 queuePacket(GameMessagePacket.buildPacket(Server.GetWorldManager().GetActor().actorId, actorId, textIdOwner.actorId, textId, log, LuaUtils.createLuaParamList(msgParams))); | ||||||
|         } |         } | ||||||
|  |  | ||||||
|         public void sendGameMessage(Actor textIdOwner, ushort textId, byte log, string customSender, params object[] msgParams) |         public void sendGameMessage(Actor textIdOwner, ushort textId, byte log, string customSender, params object[] msgParams) | ||||||
|         { |         { | ||||||
|             if (msgParams.Length == 0) |             if (msgParams.Length == 0) | ||||||
|                 queuePacket(GameMessagePacket.buildPacket(Server.getWorldManager().GetActor().actorId, actorId, textIdOwner.actorId, textId, customSender, log)); |                 queuePacket(GameMessagePacket.buildPacket(Server.GetWorldManager().GetActor().actorId, actorId, textIdOwner.actorId, textId, customSender, log)); | ||||||
|             else |             else | ||||||
|                 queuePacket(GameMessagePacket.buildPacket(Server.getWorldManager().GetActor().actorId, actorId, textIdOwner.actorId, textId, customSender, log, LuaUtils.createLuaParamList(msgParams))); |                 queuePacket(GameMessagePacket.buildPacket(Server.GetWorldManager().GetActor().actorId, actorId, textIdOwner.actorId, textId, customSender, log, LuaUtils.createLuaParamList(msgParams))); | ||||||
|         } |         } | ||||||
|  |  | ||||||
|         public void sendGameMessage(Actor textIdOwner, ushort textId, byte log, uint displayId, params object[] msgParams) |         public void sendGameMessage(Actor textIdOwner, ushort textId, byte log, uint displayId, params object[] msgParams) | ||||||
|         { |         { | ||||||
|             if (msgParams.Length == 0) |             if (msgParams.Length == 0) | ||||||
|                 queuePacket(GameMessagePacket.buildPacket(Server.getWorldManager().GetActor().actorId, actorId, textIdOwner.actorId, textId, displayId, log)); |                 queuePacket(GameMessagePacket.buildPacket(Server.GetWorldManager().GetActor().actorId, actorId, textIdOwner.actorId, textId, displayId, log)); | ||||||
|             else |             else | ||||||
|                 queuePacket(GameMessagePacket.buildPacket(Server.getWorldManager().GetActor().actorId, actorId, textIdOwner.actorId, textId, displayId, log, LuaUtils.createLuaParamList(msgParams))); |                 queuePacket(GameMessagePacket.buildPacket(Server.GetWorldManager().GetActor().actorId, actorId, textIdOwner.actorId, textId, displayId, log, LuaUtils.createLuaParamList(msgParams))); | ||||||
|         } |         } | ||||||
|  |  | ||||||
|         public void broadcastWorldMessage(ushort worldMasterId, params object[] msgParams) |         public void broadcastWorldMessage(ushort worldMasterId, params object[] msgParams) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user