5165 is this Enemy guild packet?

02/19/2010 08:33 salem rey#1
Is this the packet of enemy guild? can anyone help me? how to add this in my sourve? im using 5165, and how to add this in npc.


Code:
        public static COPacket GuildData(uint Type, int Data)
          {
            byte[] Packet = new byte[8 + 12];
            COPacket P = new COPacket(Packet);
            P.WriteInt16((ushort)(Packet.Length - 8));
            P.WriteInt16((ushort)1107); 
            P.WriteInt32(Type);
            P.WriteInt32(9);

            return P;
          }
        //uint16() 12 (Length) Index : 0
        //uint16() 1107 (Type) Index : 2
        //uint32() Type Index : 4
        //uint32() Data Index : 8
Thanks in advance.
02/19/2010 08:47 pro4never#2
There isn't really an enemy guild packet... There is simply a status effect for when spawning characters to eachother.

As for implementing it, you need to modify your guild structure to store enemy/allies. Then when spawning basically say if you are in a guild, check through the enemy list. If the character being spawned is in an enemy guild then change the color of their guild name.

I'd suggest looking at a coemu source for example such as swordco or animeco as they have fully working ally/enemy systems.
02/19/2010 08:49 salem rey#3
How can i fully worked it? can you help me? pro4never? please
02/19/2010 08:51 pro4never#4
No, I just told you how to learn to do it yourself.
02/19/2010 08:55 salem rey#5
Or is there some release in a guide how make or how to add enemy guild in 5165? or can you guide me? or pm me? please or can you help me in guild part, when im in team mode i can still pk my guildmate.? please help
02/20/2010 18:34 LegalConquer#6
Quote:
Originally Posted by salem rey View Post
Or is there some release in a guide how make or how to add enemy guild in 5165? or can you guide me? or pm me? please or can you help me in guild part, when im in team mode i can still pk my guildmate.? please help
some people are just rude :)
if i new ide help XD
02/20/2010 18:44 -Shunsui-#7
Quote:
Originally Posted by salem rey View Post
Or is there some release in a guide how make or how to add enemy guild in 5165? or can you guide me? or pm me? please or can you help me in guild part, when im in team mode i can still pk my guildmate.? please help
12talys and i might do it soon, iam not sure about releasing tho, It will be up to him
02/21/2010 00:19 _tao4229_#8
Quote:
Originally Posted by pro4never View Post
There isn't really an enemy guild packet... There is simply a status effect for when spawning characters to eachother.

As for implementing it, you need to modify your guild structure to store enemy/allies. Then when spawning basically say if you are in a guild, check through the enemy list. If the character being spawned is in an enemy guild then change the color of their guild name.

I'd suggest looking at a coemu source for example such as swordco or animeco as they have fully working ally/enemy systems.
It's a 3F7 packet..
You just send the name of the guild with the type
02/21/2010 04:38 salem rey#9
ok i will just wait :D