[Question]Is it possible to get the TransformationId from client?

02/29/2012 18:59 Mr_PoP#1
as the title of the thread says "Is it possible to get the TransformationId/mesh from client?" like can I get it from magictype.dat or somewhere else , so I don't hard-code the transformationIds/meshs inside the server?

like for e.g the DivineHare skill:
Code:
1350	1350	19	DivineHare	0	0	0	2	0	0	2020	0	100	40	0	5	0	0	1800	55	2	0	0	0	0	0	0	0	100	0	0	0	0	1
it's TransformationId/mesh is 207 , so
Code:
207 * 10000000L + hero.Lookface
transform me into DivineHare , so how can I get the value of 207 from the client? or there is anther way to handle it? thanks.
02/29/2012 19:29 I don't have a username#2
id = mesh - (mesh - hero.Lookface);

?
02/29/2012 22:08 -impulse-#3
Quote:
Originally Posted by I don't have a username View Post
id = mesh - (mesh - hero.Lookface);

?
He meant, given a spell id and the spell information for the given spell id(from magic.dat), is there a way to get the mesh of the transformation out of what you know(spell information)?
Or do you have to test and get all meshes for the known 217 transformation spells?
02/29/2012 22:32 I don't have a username#4
Quote:
Originally Posted by -impulse- View Post
He meant, given a spell id and the spell information for the given spell id(from magic.dat), is there a way to get the mesh of the transformation out of what you know(spell information)?
Or do you have to test and get all meshes for the known 217 transformation spells?
Yeah I know, he wrote to me on msn and I was like fuck I'm dumb.
02/29/2012 23:20 CptSky#5
The damage value of the transform skills represent the monster Id. With that, you can retreive mesh, atk, def, etc.
02/29/2012 23:26 pro4never#6
Quote:
Originally Posted by CptSky View Post
The damage value of the transform skills represent the monster Id. With that, you can retreive mesh, atk, def, etc.
Thank you so much... I'm at work right now and I was positive there was a way to do it... I just couldn't think of what the correct method was...

It was really bugging me not remembering xD
03/01/2012 13:33 Mr_PoP#7
Quote:
Originally Posted by CptSky View Post
The damage value of the transform skills represent the monster Id. With that, you can retreive mesh, atk, def, etc.
yeah ty ^_^, but what about the skills like Piglet!
03/01/2012 13:50 Sp!!ke#8
try to get lookface of piglet from binary 5095...
03/01/2012 14:24 Mr_PoP#9
Quote:
Originally Posted by Sp!!ke View Post
try to get lookface of piglet from binary 5095...
I know how to get the lookface , I just dont want to hardcode it , guess I will add Piglet to Monsters.