![]() |
|
|
#1 |
|
Архивный участник
Join Date: Jan 2006
Posts: 122
|
in off different class of soulshots blows with different colors (ssD-blue ssC-green ssB-red etc), in our servers they are all non-grade... I'm not talking about glow, when you charge it, it is all fixad long time ago. I talk about animation, when you hit someone. It is scripting or i need hex l2srever.exe?
|
|
|
|
|
#2 |
|
Архивный участник
Join Date: Aug 2005
Posts: 119
|
hex
|
|
|
|
|
#3 | |
|
Архивный участник
Join Date: Dec 2005
Posts: 242
|
Quote:
Thx |
|
|
|
|
|
#4 |
|
Архивный участник
Join Date: Nov 2005
Posts: 504
|
anyone that doesnt know how to do something with script always says "hex"... kinda funny really... but anyway...
Colored soulshot bursts... controlled by the Attack packet...(i think :|) From l2j: Code:
writeD(_attackerId);
writeD(hits[0]._targetId);
writeD(hits[0]._damage);
writeC(hits[0]._flags);
writeD(_x);
writeD(_y);
writeD(_z);
writeH(hits.length-1);
for (int i=1; i < hits.length; i++)
{
writeD(hits[i]._targetId);
writeD(hits[i]._damage);
writeC(hits[i]._flags);
}
if (_soulshot) _flags |= 0x10; if (crit) _flags |= 0x20; if (shld) _flags |= 0x40; if (miss) _flags |= 0x80; default c3 flags... c4 there is new flags for each color(im guessing) of which i dont think l2j has yet although it wouldnt be hard for them to get.. just l2log it from retail... but anyway... u wanna hex it then all u gotta do is figure out how to(in hex) get the currently equiped weapon that the person is holding, and if flags = 0x10, change it to the apropriate number for the color according to the grade of the weapon... sounds simple doesnt it? |
|
|
|
|
#5 | |
|
Архивный участник
Join Date: Dec 2005
Posts: 242
|
Quote:
Btw. Thx for your help |
|
|
|
|
|