View Single Post
Old 11.04.2006, 04:27   #1
torune
Архивный участник
 
Join Date: Jul 2005
Posts: 371
Default have anybody tried enchantskill?

seems l2j only have the packet info, but they didnt get the whole thing running.

i tried simply send the list back, but seems not working
Code:
void ExEnchantSkillList(BYTE *pSocket)
{
	__asm
	{
		push 1;
		push 1;
		push 101;
		push 1218;

		push 1;
		push 1;
		push 102;
		push 1219;

		push 2;
		push 0x17;
		push 0xfe;
		push chddddddddd;
		push pSocket;
		call 004DFC70;
		add esp, 52;
	}
}
void ExEnchantSkillInfo(BYTE *pSocket)
{
	__asm
	{
		push 0;			//unknown
		push 1;			//item count
		push 3788;		//item id
		push 1;			//item type

		push 1;			//require item list size
		push 80;		//rate
		push 5000000;	//exp
		push 350000;	//sp
		push 101;		//skill level
		push 1218;		//skill id
		push 0x18;
		push 0xfe;
		push chdddddddddd;
		push pSocket;
		call 004DFC70;
		add esp, 56;
	}
}
torune is offline