[List]Packets-CoEmu

09/02/2009 18:48 1supertao#1
Lets start a status packets list for CoEmu, I dont have to many right now, but I will release the ones I Do get... These are for effects... Help the list by posting your packets


0x04=TopGuildDL
0x08=Monthly PKChampion
0x20=Weekly PkChampion
0x40=Top Worrior
0x80=Top Trojan
0x100=TopArcher
0x200=TopWater
0x400=TopFire
0x800=TopNinja
0x8000=BlackName
0x1=Flashing
0x200=Stigged
0x40000=Superman
0x800000=Cyclone
0x10=XPSkill
0x40=Team Leader
0x8000000=flying
09/02/2009 19:08 kinshi88#2
Those aren't packets...

They're values that go into the Status packet (wrong values I might add).
09/02/2009 22:07 12tails#3
if i'm not wrong ... this are the values when die... aren't ?
09/02/2009 22:25 Belth#4
Code:
public enum StatusFlag : uint
	{
		BlueName = 0x1,
		Fog = 0x2,
		Disappear = 0x4,
		ShowXP = 0x10,
		MobDead = 0x20,		
		TeamLeader = 0x40,
		Accuracy = 0x80,
		Shield = 0x100,
		Stigma = 0x200,
		CharDead = 0x400,
		Fade = 0x800,
		RedName = 0x4000,
		BlackName = 0x8000,
		Superman = 0x40000,
		Invisible = 0x400000,
		Cyclone = 0x800000,
		Flying = 0x8000000,
		LuckyTime = 0x40000000,
		Praying = 0x80000000
	}
Issues:

1) I've not found the combination of flags that should be sent when a character dies. The CharDead flag works well except that the ghost can still be clicked by other clients. If you combine the CharDead and MobDead flags, you will get the "unclickable" ghost but that also results in the client sending 2 seemingly unrelated packets - type 0x420 (trade) with sub-type 2 (close dialog) and type 0x3F2 (general/data) with sub-type 137 (unknown).

2) I haven't searched for the Heaven's Blessing threads but I would've expected the status packet would carry a flag for it's effect; I didn't find any.
09/02/2009 22:54 unknownone#5
Quote:
Originally Posted by Belth View Post
Code:
[Flags]
public enum StatusFlag : uint
{
    None = 0,
    //...snip
}
Fixed.
09/02/2009 23:26 12tails#6
someonbe know the status id to send: TopTrojan... TopWarrior... etc ??
09/03/2009 00:14 samehvan#7
Quote:
Originally Posted by 1supertao View Post
Lets start a status packets list for CoEmu, I dont have to many right now, but I will release the ones I Do get... These are for effects... Help the list by posting your packets


0x04=TopGuildDL
0x08=Monthly PKChampion
0x20=Weekly PkChampion
0x40=Top Worrior
0x80=Top Trojan
0x100=TopArcher
0x200=TopWater
0x400=TopFire
0x800=TopNinja
Quote:
Originally Posted by kinshi88 View Post
Those aren't packets...

They're values that go into the Status packet (wrong values I might add).
he missed understanding them i guess , those values are the sub status not the main status ,

Quote:
Originally Posted by 12tails View Post
someonbe know the status id to send: TopTrojan... TopWarrior... etc ??
they are the correct values , if u just got where to put them :p

i could release it but i'm afraid 1supertao might like to be the one to release it ,so let's w8 for him
09/03/2009 00:17 12tails#8
take a look:

Code:
                        if (CSocket.Client.TopWarrior)
                            Status += 0x40;
                        if (CSocket.Client.TopTrojan)
                            Status += 0x80;
                        if (CSocket.Client.TopArcher)
                            Status += 0x100;
                        if (CSocket.Client.TopFire)
                            Status += 0x400;
                        if (CSocket.Client.TopWater)
                            Status += 0x200;
                        if (CSocket.Client.TopNinja)
                            Status += 0x800;
that?

but i wnna to know how to make them start : X
09/03/2009 02:18 samehvan#9
Quote:
Originally Posted by 12tails View Post
take a look:

Code:
                        if (CSocket.Client.TopWarrior)
                            Status += 0x40;
                        if (CSocket.Client.TopTrojan)
                            Status += 0x80;
                        if (CSocket.Client.TopArcher)
                            Status += 0x100;
                        if (CSocket.Client.TopFire)
                            Status += 0x400;
                        if (CSocket.Client.TopWater)
                            Status += 0x200;
                        if (CSocket.Client.TopNinja)
                            Status += 0x800;
that?

but i wnna to know how to make them start : X
i think u put them at the main status and that wont do it , this will give some wrong status effects

anyhow till 1supertao release it or tell me to release it ,try this values at the next Packet.long(value) , this is the sub status bytes ;)