Post Pacific

Post Pacific (https://postpacific.mmorpg-game.online/index.php)
-   Lineage 2 Server Modifications ONLY! (https://postpacific.mmorpg-game.online/forumdisplay.php?f=28)
-   -   [small share] castle tax (https://postpacific.mmorpg-game.online/showthread.php?t=4148)

torune 23.04.2006 05:50

[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

Iron0 23.04.2006 11:52

Every trader npc has a button "See the Lord and get tax rate information"

http://img161.imageshack.us/img161/2051/tax4nd.jpg


All times are GMT. The time now is 23:27.