View Single Post
Old 05.04.2005, 15:44   #9
Digital
Архивный участник
 
Join Date: Nov 2004
Posts: 1,405
Default

regarding c2 mob skill problem, edit ActionName-cn.txt to work.
but after editing, some mob which could use multiple skill cant work anymore.
this is also why c2 make all skill into an icon action.
i solved it thru hexing l2server.exe, this way, i could summon mob that could use multiple skill, but i havent got time to show, so go try it.

::004F589F:: 83F8 3F CMP EAX,3F
//eax this is the icon action value
::004F58A2:: 0F87 A2F3F2FF JA 00424C4A \:JMPUP
//for values bigger than 1000 (icon action)
::004F58A8:: 0FB688 A00A5C00 MOVZX ECX,BYTE PTR [EAX+5C0AA0] \:BYJMP JmpBy:00424C65,
5C0AA0 is a single character group,representing the matching icon action to jump to the correct handler. just use c2 matching skill position's value and change it to 0D.
::004F58AF:: FF248D AC5C4F00 JMP DWORD PTR [ECX*4+4F5CAC]
//4F5CAC use to handle icon action values, those values behind are used to let c2 skills work, how to make it work try it urself!
Digital is offline