Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела
FAQ Community Calendar Today's Posts Search

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 01.03.2006, 22:32   #1
pipise4ko
Архивный участник
 
Join Date: Jan 2006
Posts: 122
Default colored soulshot blows

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?
pipise4ko is offline  
Old 01.03.2006, 23:45   #2
CubAfull
Архивный участник
 
Join Date: Aug 2005
Posts: 119
Default

hex
CubAfull is offline  
Old 09.04.2006, 20:17   #3
RipperX
Архивный участник
 
Join Date: Dec 2005
Posts: 242
Default

Quote:
Originally Posted by CubAfull
hex
Some reference Plz ?

Thx
RipperX is offline  
Old 10.04.2006, 05:59   #4
testdude
Архивный участник
 
Join Date: Nov 2005
Posts: 504
Default

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);
		}
flags is what should controll the color of the burst...
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?
testdude is offline  
Old 10.04.2006, 06:36   #5
RipperX
Архивный участник
 
Join Date: Dec 2005
Posts: 242
Default

Quote:
Originally Posted by testdude
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);
		}
flags is what should controll the color of the burst...
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?
I'm little confused, I guess that is because I'm Nw :|
Btw. Thx for your help
RipperX is offline  
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 19:52.