View Single Post
Old 23.04.2006, 05:50   #1
torune
Архивный участник
 
Join Date: Jul 2005
Posts: 371
Default [small share] castle tax

I dont have English Retail Server Account, so cant help with it

ShowNPCHTML Packet
Code:
<html><body>
<font color="LEVEL">[领地现状引导]</font>

名字:%s 领地
领主:<font color="55FFFF">%s</font>(<font color="55FFFF">%s</font>血盟)
税率:<font color="55FFFF"> %d </font>%
</body></html>

minor translation:
<html><body>
<font color="LEVEL">[Territory Status Report]</font>

Name:%s Territory
Owner:<font color="55FFFF">%s</font>(<font color="55FFFF">%s</font>Clan)
Tax Rate:<font color="55FFFF"> %d </font>%
</body></html>
__asm
{
mov ecx, pCreature;
CALL 004C9680h ; CPledge *CResidence::GetResidenceOwnerPledge()
mov pPledge, eax;
}
if (pPledge == NULL) return;
__asm
{
mov ecx, pPledge;
CALL 004BE5B0h ;
mov pClanName, eax;
mov ecx, pPledge;
CALL 004BE5E0h ;
mov pClanLeaderName, eax;
}
//todo list : find out castle id and tax rate, then complete it

I didn't check where l2server store castle id/tax rate, so consider it as todo quest
torune is offline