divine hare

08/06/2009 19:17 PeTe Ninja#1
divine hare for LOTF anyone have
08/06/2009 19:50 danielachraf#2
already released + Deleted
08/06/2009 19:54 damianpesta#3
Quote:
Originally Posted by danielachraf View Post
already released + Deleted
It was done wrong.You need a transformation packet for it.
08/06/2009 20:02 danielachraf#4
Quote:
Originally Posted by damianpesta View Post
It was done wrong.You need a transformation packet for it.
i didn't see it , when i saw it deleted i coded mine works fine (not alone)
08/07/2009 11:38 Kital82#5
Quote:
Originally Posted by PeTe Ninja View Post
divine hare for LOTF anyone have
I tought that you had stopped PServers ...
08/07/2009 13:59 alexbigfoot#6
lol, there is no "packet" for this divine hare, you just send the timer(like u send the skill use with damage = time and skill id = divine hare's skill id), then you send the model packet which is something like
divine hare model id * 10000000 + character model(avatar * 10000 + model)
with "Vital" packet with type 12. //i'm not sure

Alright, now your character can move jump or w/e you want without having troubles and doing lots of shits in the source.
Now you have to send the max hitpoints with "Vital" packet with type 1 and the actualy hitpoints "Vital" packet with type 0.

Alright, now your client knows totaly that your transformed ffs.

This is my transformation for coemu v2.

[Only registered and activated users can see links. Click Here To Register...]

Bolded words are JUST explanations.
08/07/2009 15:15 CoAttack#7


if anyone would like to know it MIGHT be like this...

Code:
ulong DivineHare;

DivineHare = (207 * 10000000 + ulong.Parse(E.Model.ToString()));
LiveManager.SendPacket(SystemControl.MyPackets.Vital(E.UID, 11, (ulong.Parse(DivineHare * 10000 + E.Model.ToString()))));
or you could do

Code:
LiveManager.SendPacket(SystemControl.MyPackets.Vital(E.UID, 11, (ulong.Parse((207 * 10000000 + ulong.Parse(E.Model.ToString())) * 10000 + E.Model.ToString()))));
ofcourse you would have to change the codes to your source information ( not that hard just a few name changes )

which doesn't work... lol

if you send it to 12 it does but equips dont show ><
08/07/2009 19:52 alexbigfoot#8
Quote:
Originally Posted by CoAttack View Post


if anyone would like to know it MIGHT be like this...

Code:
ulong DivineHare;

DivineHare = (207 * 10000000 + ulong.Parse(E.Model.ToString()));
LiveManager.SendPacket(SystemControl.MyPackets.Vital(E.UID, 11, (ulong.Parse(DivineHare * 10000 + E.Model.ToString()))));
or you could do

Code:
LiveManager.SendPacket(SystemControl.MyPackets.Vital(E.UID, 11, (ulong.Parse((207 * 10000000 + ulong.Parse(E.Model.ToString())) * 10000 + E.Model.ToString()))));
ofcourse you would have to change the codes to your source information ( not that hard just a few name changes )

which doesn't work... lol

if you send it to 12 it does but equips dont show ><
OMG!

ulong DivineHare;

DivineHare = 207 * 10000000 +E.Model;//E.Model has the model and the avatar already set u just add it to DivineHare variable ...
LiveManager.SendPacket(SystemControl.MyPackets.Vit al(E.UID, 11, DivineHare));

code for a basic lotf which would go in character.cs

Code:
ulong DivineHare = (ulong)(207 * 10000000 + Model);
MyClient.SendPacket(General.MyPackets.Vital(UID, 11, DivineHare));
08/07/2009 20:07 CoAttack#9
well if i send it to 12 it works and changes me but i do not see a timer at bottom right and my max hp goes to 0
08/07/2009 21:19 alexbigfoot#10
welll u have to send the max hp and the current hp acording to the new max hp...you can see how to do that in the link i posted in the "guide"
08/07/2009 22:26 CoAttack#11
Oh i can do that easily lol, but what about the timer?
08/07/2009 22:47 alexbigfoot#12
once the client sends the skill use for divine hare or w/e transformation skill, after you'll send the hp and model, you end with sending the skill use packet with the time as damage ... easy huh?

World.UsingSkill(this, (short)SkillId, SkillLvl, UID, 39/*time*/, (short)LocX, (short)LocY);
08/07/2009 23:49 CoAttack#13
it worked for divine hare but a few problems i have

- Maxhp still wont go to maxhp it stays at 0..
- Robot & Night Devil wont work
- Robot = index out of array
- ND = the
Code:
Transform = (ulong)(217 * 10000000 + Model);
overflow :(

Hopefully the problem with my skills leveling will fix itself when i insert skill exps =] .. if you can help with this that'd be nice
08/08/2009 06:43 alexbigfoot#14
For MaxHP you have to send the new max hp with Vital packet with type 1,then u'll see the max hp.

Add my msn [Only registered and activated users can see links. Click Here To Register...] and i'll see whats ur problem.
08/08/2009 06:49 CoAttack#15
added