Jump to content

laylayzi

Members
  • Content Count

    22
  • Joined

  • Last visited

  1. 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.
  2. 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!
  3. 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
  4. 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!
  5. Hi as the toppic title, Could you show me how to add rental item into CashShop(botton)? Thank for your time!
  6. Hi. My server max lv is 999. I want to stop character from gainning bonus stats (atk,matk,def,mdef,hit,flee) after reach lv99. Could you show me how to do that? Thank for your time! and how to enable max_lv_aura for character lv99+ above!
  7. 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!
  8. 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!
  9. OMG Ok that will be fine. Thank Garr for your answer!
  10. 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!
  11. 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!
  12. 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!
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.