Ok so most of you in this community wont no what im doing
But some will and i am asking those people who do for a little bit of help
That was handlers
This is what i have done its no where near being ready i think i might have messed it up but i know for sure the packet id is 1150 << at least thats what kinshi told me
Anyways any help will be appreciated
Btw i am still learning packets so dont freak out saying noob and shit
But some will and i am asking those people who do for a little bit of help
Code:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace CoEmu_v2_GameServer.Packets
{
public partial class ConquerPacket
{
public static byte[] Flower(Structs.Struct.Flowers Flower,int Type,int Pos)
{
CoEmu_v2_GameServer.Handlers.Handler.COPacket Packet = new CoEmu_v2_GameServer.Handlers.Handler.COPacket(new byte[124 + 8[COLOR="Red"]]);<<< NOT THIS IS BULLSHIT UNTIL I CAN ACTUALLY ADD IT UP[/COLOR]
Packet.WriteUInt16(124);
Packet.WriteUInt16(1150);
Packet.WriteUInt32((uint)10);
Packet.WriteUInt16(0);
Packet.WriteUInt16(Flower.FlowersUID);
Packet.WriteUInt16(Type);
Packet.WriteUInt16(Pos);
Packet.WriteUInt32((uint)Flower.FlowersUID);
Packet.WriteUInt32((uint)Flower.FlowerAmount);
}
}
Code:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace CoEmu_v2_GameServer.Structs
{
public partial class Struct
{
public class Flowers
{
public int FlowersUID = 0;[COLOR="Red"]<< may be wrong[/COLOR]
public int CharId = 0; [COLOR="red"]<<< may be wrong[/COLOR]
public int FlowerAmount = 0; [COLOR="red"]<< may be wrong[/COLOR]
public string [COLOR="red"]<<<< Not sure what to string here[/COLOR]
}
}
}
Anyways any help will be appreciated
Btw i am still learning packets so dont freak out saying noob and shit