[5017] Looking for packet enums...

11/01/2011 12:21 JobvdH#1
Hello all,

I want to know how to get enums, and I`d like to know if someone knows it, whats the status enum for disguise/transformations?

EDIT: Yes I already checked the wiki...

Thanks in advanced,
Jobdvh!
11/01/2011 14:54 Lateralus#2
It's 0xe6.
11/02/2011 10:03 JobvdH#3
Thanks..
But it still doesn't show me the countdown and restore button.. Do I miss a packet or something?
11/02/2011 12:04 nTL3fTy#4
Quote:
Originally Posted by JobvdH View Post
Thanks..
But it still doesn't show me the countdown and restore button.. Do I miss a packet or something?
Last I knew, there wasn't a 'packet' for transformations. It's simply a compound 1017/10017 packet that includes life, max life, and the transformed lookface.

EO server source:
Code:
bool CUser::SynchroTransform()
{
	CMsgUserAttrib	msg;
	IF_OK( msg.Create(GetID(), _USERATTRIB_LOOKFACE, GetLookFace())
			&& msg.Append(_USERATTRIB_MAXLIFE, GetMaxLife())
			&& msg.Append(_USERATTRIB_LIFE, GetLife())
			&& msg.Append(_USERATTRIB_SIZEADD, GetSizeAdd()) )
		BroadcastRoomMsg(&msg, INCLUDE_SELF);

	this->BroadcastTeamLife(true);		// true: with max life

	return true;
}
11/02/2011 12:39 pro4never#5
Are you sending the new mesh properly? It's transformation, bodytype and avatar combined into 1 uint. I'm guessing.though that the countdown button is from sending the skill use packet if it won't show from just not having default transformation in your mesh
11/02/2011 13:17 JobvdH#6
Hmm, im just combining Avatar + Mech..
But I still see an avatar near my name..
11/02/2011 14:29 pro4never#7
Look at any public source. They are three seperate values you combine with some simple integer math
11/02/2011 15:29 JobvdH#8
Okay, I will...
11/02/2011 21:02 12tails#9
Set(_USER_LOOKFACE, (uint)((tdInfo.uiLookface * 10000000) + GetUi(_USER_NORMALLOOK)));

so it's :

(TransformationMeshId * 10000000) + NormalMeshId <<<--- this shall include your avatar...

basically... it's that how you set the mesh of transform... the client recognize it automatically as a transform and block jump/walk or w/e the transformation do client side...
11/02/2011 21:56 JobvdH#10
Thanks 12tails, I combined avatar and mech, so actually no valid mech, I'll try this one
11/02/2011 23:27 BaussHacker#11
Quote:
Originally Posted by JobvdH View Post
Thanks 12tails, I combined avatar and mech, so actually no valid mech, I'll try this one
MESH
11/03/2011 12:42 JobvdH#12
Whatever >_> A type mistake, like you never made those
11/03/2011 13:52 Lateralus#13
Quote:
Originally Posted by JobvdH View Post
Whatever >_> A type mistake, like you never made those
The COEmu guys made that typing mistake in every instance that "mesh" was mentioned as well.
11/03/2011 13:55 JobvdH#14
Hmm weird.. but still thanks :D
#Request close