Jump to content

  •  

laylayzi

Member Since 28 Jan 2015
Offline Last Active Feb 13 2015 04:42 AM
-----

Posts I've Made

In Topic: How to endable max-lv-aura for lv 99 +above (max lv=999)

10 February 2015 - 05:55 AM

my current conf

 { "max_lv", &battle_config.max_lv, 99, 0, MAX_LEVEL, },	{ "aura_lv", &battle_config.aura_lv, 300, 0, INT_MAX, }, 
// Maximum allowed 'level' value that can be sent in unit packets.// Use together with the aura_lv setting to tell when exactly to show the aura.// NOTE: You also need to adjust the client if you want this to work.// NOTE: Default is 99. Values above 127 will probably behave incorrectly.// NOTE: If you don't know what this does, don't change it!!!max_lv: 99// Level required to display an aura.// NOTE: This assumes that sending max_lv to the client will display the aura.// NOTE: aura_lv must not be less than max_lv.// Example: If max_lv is 99 and aura_lv is 150, characters with level 99~149//          will be sent as being all level 98, and only characters with level//          150 or more will be reported as having level 99 and show an aura.aura_lv: 300 

charracter only show aura at lv 99.


In Topic: item_cash_db.txt Make item has expiration date after 7days when purchased

08 February 2015 - 08:07 AM

do as gravity did, create a "box" of the item and add rentitem command on it

Thank you for your answer.


In Topic: item_cash_db.txt Make item has expiration date after 7days when purchased

08 February 2015 - 08:07 AM

i found a script NPC shop selling rental item from eathena

 

- shop custom_seller -1,501:20prontera.gat,100,100,5 script custom seller 899,{mes "I will rent you customs for 1 day each.";callshop "custom_seller",1;npcshopattach "custom_seller";end;OnBuyItem:for(set @a,0; @a<getarraysize(.customs); set @a,@a+1){for(set @i,0; @i<getarraysize(@bought_nameid); set @i,@i+1) {if(.customs[@a]==@bought_nameid[@i]){if(Zeny < .zenycosts[@a]*@bought_quantity[@i]) { break; }set Zeny,Zeny - .zenycosts[@a]*@bought_quantity[@i];rentitem @bought_nameid[@i], 3600 * 24;}}}deletearray @bought_quantity, getarraysize(@bought_quantity);deletearray @bought_nameid, getarraysize(@bought_nameid);close;OnInit:setarray .customs[0],2383,2541,2410,2629,5013;setarray .zenycosts[0],1000,10000,100000,1000000,1000000;npcshopitem "custom_seller",0,0;for(set .i,0; .customs[.i]; set .i,.i+1) npcshopadditem "custom_seller",.customs[.i],.zenycosts[.i];end;} 

 

when i change the sript to -cashshop it can work, it not give me a rental item, do i miss something?

 

- cashshop custom_seller -1,501:20 

In Topic: Need help: limit the stats bonus (atk,matk,def,mdef,hit,flee) when level up

07 February 2015 - 03:03 PM

im done with the stats.

all i need in the src/map/status.c

 

still looking for help on enable max lv aura lv99+above!


In Topic: how can i add new parameter for my character.

06 February 2015 - 03:20 AM

I got it.

Thank you so much.