Post Pacific  

Go Back   Post Pacific > Lineage 2 > Lineage 2 Server Modifications ONLY!
FAQ Community Calendar Today's Posts Search

Notices

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 18.04.2006, 20:46   #1
nucer
Архивный участник
 
Join Date: May 2005
Posts: 117
Default [RESEARCH] NASC functions for manor system

I found some functions, that we can use for create manor system. But how?...

Castle_SetCropDrop( item_id , drop_rate , some_level ); - add any items into some drop with some rate and some level!

Castle_SetCropPrice( item_id , price ); - set price for item, that was added before with Castle_SetCropDrop().

Castle_DeleteCropDrop( item_id ); - delete item from crop drop.

Castle_PostCropPurchase( c0 , item_id , item_count ); - what it does... It seems to be does nothing...


i0=Castle_GetCropRate( item_id ); - get rate of drop (???) for item from crop drop.

i0=Castle_GetCropPrice( item_id ); - get price for item from crop drop.

i0=Castle_GetCropIncome(); - always returns 0... Hope that only for me... )


And in castledata we have:

Quote:
castle_begin
[gludio_castle]
1
//residence_owner_id = -1
residence_territory = {{{-20370;106804;-6827;1172};{-15723;106720;-6827;1172};{-15708;113862;-6827;1172};{-20394;113770;-6827;1172}}}
battlefield_territory = {{{-23842;105415;-5601;2398};{-14902;105487;-5601;2398};{-14319;116830;-5601;2398};{-24008;116786;-5601;2398}}}
headquarter_territory = {{{-22198;114423;-4536;-2536};{-16245;114339;-4536;-2536};{-16150;117396;-4536;-2536};{-22190;117369;-4536;-2536}};{{-20732;108644;-4556;-2556};{-23293;108628;-4556;-2556};{-23311;111659;-4556;-2556};{-20724;111786;-4556;-2556}};{{-13739;110269;-4074;-2074};{-15546;110232;-4074;-2074};{-15565;113263;-4074;-2074};{-13811;113303;-4074;-2074}}}
domain_territory = {}
manor_territory = {}
owner_restart_point = {-16350;109380;-1784}
So we can set and get items and its price for manor system.
But buyed crop items must appear in castle vault, how make it...
Somebody have ideas?
nucer 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 21:49.