laylayzi
Members-
Content Count
22 -
Joined
-
Last visited
About laylayzi
-
Rank
Member
-
How to endable max-lv-aura for lv 99 +above (max lv=999)
laylayzi replied to laylayzi's question in General Server Support
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. -
How to endable max-lv-aura for lv 99 +above (max lv=999)
laylayzi posted a question in General Server Support
Hi! as the toppic title, i want to make characters lv from 99~999 have the aura (others can see). I tried to change some value in client.conf and battle.c but it till can not work. Thank for your time! -
item_cash_db.txt Make item has expiration date after 7days when purchased
laylayzi replied to laylayzi's question in Database Requests
Thank you for your answer. -
item_cash_db.txt Make item has expiration date after 7days when purchased
laylayzi replied to laylayzi's question in Database Requests
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 -
how can i add new parameter for my character.
laylayzi replied to laylayzi's question in Script Support
I got it. Thank you so much. -
how can i add new parameter for my character.
laylayzi replied to laylayzi's question in Script Support
!!! -
how can i add new parameter for my character.
laylayzi replied to laylayzi's question in Script Support
Thank a lot for your information! From that i have a question, where can i assign charactor permanent variable? I want it to be assigned when my character first created. Thank for your time! -
how can i add new parameter for my character.
laylayzi replied to laylayzi's question in Script Support
what i am trying to do is put a flag for my charactor. orthers variable have their using purpose (maybe, as i can see at the columname) that i cant modifier. Im a newbie in scripting so maybe there is an other way to set a variable bind to character but i dont know. Thank for your time! -
how to add stat point (not depend on baselevel)
laylayzi replied to laylayzi's question in Script Support
OMG Ok that will be fine. Thank Garr for your answer! -
Hi! as the toppic title, i want to add the status point but i dont have any idie. i tried to search but all point me to the statpoint.txt (per lvl) Thank for your time!
-
Character not move when click a point far from char's position
laylayzi posted a question in Client-Side Support
Hi! as the toppic title, when i zoom out in game then click a point far from char's position, my charactor does not move. Could you show me how to fix it? Thank for your time! -
Hi! There is my problem. I want to add a new parameter into the char table but I don't know how to work with it. For example: i add a new column "count" into the char table. (integer default: 0) and i want every i type a command (ex: @count) or talk with NPC, it can show me the current value of "count" then +1 so: the first time i use @count (or talk with NPC) it will show me: 0 the secondtime i use @count it will show me: 1 ... Thats it. Thank for your time!