mirror of
				https://bitbucket.org/Ioncannon/project-meteor-server.git
				synced 2025-05-20 08:26:59 -04:00 
			
		
		
		
	Add equip ability functions
Fix EquipAbility SQL query
This commit is contained in:
		| @@ -24,7 +24,7 @@ namespace FFXIVClassic_Map_Server.packets.WorldPackets.Send.Group | ||||
|                     binWriter.Write((UInt32)master); | ||||
|                 } | ||||
|             } | ||||
|             return new SubPacket(true, OPCODE, 0, session.id, data); | ||||
|             return new SubPacket(true, OPCODE, session.id, data); | ||||
|         }       | ||||
|     } | ||||
| } | ||||
|   | ||||
| @@ -21,7 +21,7 @@ namespace FFXIVClassic_Map_Server.packets.WorldPackets.Send.Group | ||||
|                     binWriter.Write(Encoding.ASCII.GetBytes(name), 0, Encoding.ASCII.GetByteCount(name) >= 0x20 ? 0x20 : Encoding.ASCII.GetByteCount(name));                     | ||||
|                 } | ||||
|             } | ||||
|             return new SubPacket(true, OPCODE, 0, session.id, data); | ||||
|             return new SubPacket(true, OPCODE, session.id, data); | ||||
|         }       | ||||
|     } | ||||
| } | ||||
|   | ||||
| @@ -25,7 +25,7 @@ namespace FFXIVClassic_Map_Server.packets.WorldPackets.Send.Group | ||||
|                     binWriter.Write((UInt32)result); | ||||
|                 } | ||||
|             } | ||||
|             return new SubPacket(true, OPCODE, session.id, session.id, data); | ||||
|             return new SubPacket(true, OPCODE, session.id, data); | ||||
|         } | ||||
|  | ||||
|     } | ||||
|   | ||||
| @@ -23,7 +23,7 @@ namespace FFXIVClassic_Map_Server.packets.WorldPackets.Send.Group | ||||
|                     binWriter.Write(Encoding.ASCII.GetBytes(lsName), 0, Encoding.ASCII.GetByteCount(lsName) >= 0x20 ? 0x20 : Encoding.ASCII.GetByteCount(lsName)); | ||||
|                 } | ||||
|             } | ||||
|             return new SubPacket(true, OPCODE, session.id, session.id, data); | ||||
|             return new SubPacket(true, OPCODE, session.id, data); | ||||
|         } | ||||
|  | ||||
|     } | ||||
|   | ||||
| @@ -17,7 +17,7 @@ namespace FFXIVClassic_Map_Server.packets.WorldPackets.Send.Group | ||||
|         public static SubPacket BuildPacket(Session session) | ||||
|         { | ||||
|             byte[] data = new byte[PACKET_SIZE - 0x20];             | ||||
|             return new SubPacket(true, OPCODE, session.id, session.id, data); | ||||
|             return new SubPacket(true, OPCODE, session.id, data); | ||||
|         }       | ||||
|     } | ||||
| } | ||||
|   | ||||
| @@ -25,7 +25,7 @@ namespace FFXIVClassic_Map_Server.packets.WorldPackets.Send.Group | ||||
|                     binWriter.Write(Encoding.ASCII.GetBytes(linkshellName), 0, Encoding.ASCII.GetByteCount(linkshellName) >= 0x20 ? 0x20 : Encoding.ASCII.GetByteCount(linkshellName)); | ||||
|                 } | ||||
|             } | ||||
|             return new SubPacket(true, OPCODE, session.id, session.id, data); | ||||
|             return new SubPacket(true, OPCODE, session.id, data); | ||||
|         }       | ||||
|     } | ||||
| } | ||||
|   | ||||
| @@ -27,7 +27,7 @@ namespace FFXIVClassic_Map_Server.packets.WorldPackets.Send.Group | ||||
|                     binWriter.Write(Encoding.ASCII.GetBytes(lsName), 0, Encoding.ASCII.GetByteCount(lsName) >= 0x20 ? 0x20 : Encoding.ASCII.GetByteCount(lsName)); | ||||
|                 } | ||||
|             } | ||||
|             return new SubPacket(true, OPCODE, session.id, session.id, data); | ||||
|             return new SubPacket(true, OPCODE, session.id, data); | ||||
|         } | ||||
|  | ||||
|     } | ||||
|   | ||||
| @@ -27,7 +27,7 @@ namespace FFXIVClassic_Map_Server.packets.WorldPackets.Send.Group | ||||
|                     binWriter.Write((Byte)rank); | ||||
|                 } | ||||
|             } | ||||
|             return new SubPacket(true, OPCODE, session.id, session.id, data); | ||||
|             return new SubPacket(true, OPCODE, session.id, data); | ||||
|         } | ||||
|  | ||||
|     } | ||||
|   | ||||
| @@ -35,7 +35,7 @@ namespace FFXIVClassic_Map_Server.packets.WorldPackets.Send.Group | ||||
|                      | ||||
|                 } | ||||
|             } | ||||
|             return new SubPacket(true, OPCODE, 0, session.id, data); | ||||
|             return new SubPacket(true, OPCODE, session.id, data); | ||||
|         }       | ||||
|     } | ||||
| } | ||||
|   | ||||
| @@ -25,7 +25,7 @@ namespace FFXIVClassic_Map_Server.packets.WorldPackets.Send.Group | ||||
|                     binWriter.Write(Encoding.ASCII.GetBytes(name), 0, Encoding.ASCII.GetByteCount(name) >= 0x20 ? 0x20 : Encoding.ASCII.GetByteCount(name)); | ||||
|                 } | ||||
|             } | ||||
|             return new SubPacket(true, OPCODE, session.id, session.id, data); | ||||
|             return new SubPacket(true, OPCODE, session.id, data); | ||||
|         } | ||||
|  | ||||
|         public static SubPacket BuildPacket(Session session, uint actorId) | ||||
| @@ -39,7 +39,7 @@ namespace FFXIVClassic_Map_Server.packets.WorldPackets.Send.Group | ||||
|                     binWriter.Write((UInt32)actorId); | ||||
|                 } | ||||
|             } | ||||
|             return new SubPacket(true, OPCODE, session.id, session.id, data); | ||||
|             return new SubPacket(true, OPCODE, session.id, data); | ||||
|         }       | ||||
|     } | ||||
| } | ||||
|   | ||||
| @@ -23,7 +23,7 @@ namespace FFXIVClassic_Map_Server.packets.WorldPackets.Send.Group | ||||
|                     binWriter.Write((UInt16)(isDisband ? 1 : 0)); | ||||
|                 } | ||||
|             } | ||||
|             return new SubPacket(true, OPCODE, session.id, session.id, data); | ||||
|             return new SubPacket(true, OPCODE, session.id, data); | ||||
|         } | ||||
|  | ||||
|     } | ||||
|   | ||||
| @@ -24,7 +24,7 @@ namespace FFXIVClassic_Map_Server.packets.WorldPackets.Send.Group | ||||
|                     binWriter.Write(Encoding.ASCII.GetBytes(name), 0, Encoding.ASCII.GetByteCount(name) >= 0x20 ? 0x20 : Encoding.ASCII.GetByteCount(name)); | ||||
|                 } | ||||
|             } | ||||
|             return new SubPacket(true, OPCODE, session.id, session.id, data); | ||||
|             return new SubPacket(true, OPCODE, session.id, data); | ||||
|         } | ||||
|  | ||||
|         public static SubPacket BuildPacket(Session session, ushort command, uint actorId) | ||||
| @@ -38,7 +38,7 @@ namespace FFXIVClassic_Map_Server.packets.WorldPackets.Send.Group | ||||
|                     binWriter.Write((UInt32)actorId); | ||||
|                 } | ||||
|             } | ||||
|             return new SubPacket(true, OPCODE, session.id, session.id, data); | ||||
|             return new SubPacket(true, OPCODE, session.id, data); | ||||
|         }       | ||||
|  | ||||
|     } | ||||
|   | ||||
| @@ -21,7 +21,7 @@ namespace  FFXIVClassic_Map_Server.packets.WorldPackets.Send | ||||
|                     binWriter.Write((UInt16)errorCode); | ||||
|                 } | ||||
|             } | ||||
|             return new SubPacket(true, OPCODE, 0, session.id, data); | ||||
|             return new SubPacket(true, OPCODE, session.id, data); | ||||
|         } | ||||
|     } | ||||
| } | ||||
|   | ||||
| @@ -22,7 +22,7 @@ namespace FFXIVClassic_Map_Server.packets.WorldPackets.Send | ||||
|                     binWriter.Write((UInt32)destinationZone); | ||||
|                 } | ||||
|             } | ||||
|             return new SubPacket(true, OPCODE, 0, session.id, data); | ||||
|             return new SubPacket(true, OPCODE, session.id, data); | ||||
|         } | ||||
|     } | ||||
| } | ||||
|   | ||||
| @@ -31,7 +31,7 @@ namespace FFXIVClassic_Map_Server.packets.WorldPackets.Send | ||||
|                 } | ||||
|             } | ||||
|  | ||||
|             return new SubPacket(OPCODE, sessionId, sessionId, data); | ||||
|             return new SubPacket(OPCODE, sessionId, data); | ||||
|         } | ||||
|     } | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user