Jump to content

Cydh

Developer
  • Posts

    2285
  • Joined

  • Last visited

  • Days Won

    77

Everything posted by Cydh

  1. ok, just for archiving, conf/battle/misc.conf#L102
  2. Cydh

    healing items

    like this? 607,Yggdrasilberry,Yggdrasil Berry,0,5000,,300,,,,,0xFFFFFFFF,63,2,,,,,,{ if (countitem(607) <= 250) { percentheal 100,100; } },{},{}
  3. Possible, I'll make a diff file so u can make & use custom elements
  4. for attribute/element, example for Poring is 21, it means 21%10 = 1 for Water and 21/20 = 1 for Lv 1. So 21 means Level 1 Water. well, if u're asking about add new element, seems rA source kinda suck for this, because the rule above. rA already have 10 elements, if you make the 11th element, it won't apply the 11th element. why? For example Level 1 for 11th element (id 10). 10 <= Element 20 <= Level 1 = 30 but then, 30%10 = 0 = Neutral u got water instead the 11th element. i = atoi(str[24]); //Element status->def_ele = i%10; status->ele_lv = i/20; if (!CHK_ELEMENT(status->def_ele)) { ShowError("mob_parse_dbrow: Invalid element type %d for monster ID %d (max=%d).\n", status->def_ele, mob_id, ELE_ALL-1); return false; } if (status->ele_lv < 1 || status->ele_lv > 4) { ShowError("mob_parse_dbrow: Invalid element level %d for monster ID %d, must be in range 1-4.\n", status->ele_lv, mob_id); return false; }
  5. I think u just need make converter for
  6. it,s on src/common/mmo.h MAX_STORAGE
  7. so, anyone got issue about this for Pre-Renewal/client ver < 20120201 / no #define NEW_CARTS? autotrade persistency never been loaded?
  8. tadi di-tag temen di FB, ada info ginian. silahkan kalau ada yang mau ikut. haha http://megindo.co.id/DK/ [spoiler=Detail]
  9. there was update to change SHORT to UNSIGNED SHORT for item id, also for the card0~card3 I imagine how long u don't update ur file? u just simple copy-paste db/const.txt value to newer copy? because those constant for Option hardcoded on script.c, not in db/const.txt anymore
  10. Cydh

    asura

    so, what she would need to do to make the asura go as she wants o: ? maybe? I also wondering now, if Body relocation use ultra speed of unit_walktoxy() instead unit_movepos() I'll try play with this later.
  11. Cydh

    asura

    if want to compare that Asura slide between rA & eA, please try use same client ver, date, files. believe or not, eA & rA use same behavior, uisng unit_movepos() EDIT: except in eA skill_castend_damage_id(), that makes unit walking instead of moving if(unit_walktoxy(src, dx, dy, 2) && ud) { //Increase can't walk delay to not alter your walk path ud->canmove_tick = tick; speed = status_get_speed(src); for (i = 0; i < ud->walkpath.path_len; i ++) { if(ud->walkpath.path[i]&1) ud->canmove_tick+=7*speed/5; else ud->canmove_tick+=speed; } }
  12. Cydh

    Rebellion

    just update ur kRO files
  13. June Digest 2014 The following digest covers the month of June, 2014. Development Highlights Increased Item ID range to 65,535 (from 32,767). char-server refactor by @Lighta, many changes in char-server structure files (6b9ec5f, f5ef82e) Implemented monster mode: MD_RANDOMTARGET (b44e5e1) Added new renewal config src/config/renewal.h, RENEWAL_STAT to enable renewal stat cost calculation. (b44e5e1) Added database diagram (ER) by @Lighta (160315b, 65e9f24) Battle config updates: conf/battle/player.conf: transcendent_status_points, revive_onwarp, taekwon_ranker_min_lv, fame_taekwon_mission,fame_refine_lv1, fame_refine_lv2, fame_refine_lv3, fame_forge, fame_pharmacy_3, fame_pharmacy_5, fame_pharmacy_7, fame_pharmacy_10 (a8a4425) conf/battle/homunc.conf: hom_setting (c0326df) Command updates: @cloneequip, @clonestat (267d521) Permission updates: bypass_stat_onclone, command_enable (267d521) Bug-squashing, fixing a large number of skill issues in particular. Many Item DB Updates, thank for the contributions. Statistics 6 authors have pushed 42 commits during this period. On master, 77 files have changed. There have been 18,723 additions and 15,537 deletions. Merged 5 pull requests, thanks for submitting those pull requests! - We will bring something different in this month about rAthena development in repo. Well, related with branches & tags.
  14. can open storage/guild storgae but can add or get item src/map/storage.c | 41 ++++++++++++++++++++++++++++++----------- 1 file changed, 30 insertions(+), 11 deletions(-) diff --git a/src/map/storage.c b/src/map/storage.c index 24f0834..f694d66 100644 --- a/src/map/storage.c +++ b/src/map/storage.c @@ -116,12 +116,6 @@ int storage_storageopen(struct map_session_data *sd) if(sd->state.storage_flag) return 1; //Already open? - if( !pc_can_give_items(sd) ) - { //check is this GM level is allowed to put items to storage - clif_displaymessage(sd->fd, msg_txt(sd,246)); - return 1; - } - sd->state.storage_flag = 1; storage_sortitem(sd->status.storage.items, ARRAYLENGTH(sd->status.storage.items)); clif_storagelist(sd, sd->status.storage.items, ARRAYLENGTH(sd->status.storage.items)); @@ -164,6 +158,11 @@ static int storage_additem(struct map_session_data* sd, struct item* item_data, struct item_data *data; int i; + if( !pc_can_give_items(sd) ) { //check is this GM level can open guild storage and store items [Lupus] + clif_displaymessage(sd->fd, msg_txt(sd,246)); + return 1; + } + if( item_data->nameid == 0 || amount <= 0 ) return 1; @@ -280,6 +279,11 @@ void storage_storageget(struct map_session_data* sd, int index, int amount) { unsigned char flag = 0; + if( !pc_can_give_items(sd) ) { //check is this GM level can open guild storage and store items [Lupus] + clif_displaymessage(sd->fd, msg_txt(sd,246)); + return; + } + if( index < 0 || index >= sd->storage_size ) return; @@ -340,6 +344,11 @@ void storage_storagegettocart(struct map_session_data* sd, int index, int amount unsigned char flag; nullpo_retv(sd); + if( !pc_can_give_items(sd) ) { //check is this GM level can open guild storage and store items [Lupus] + clif_displaymessage(sd->fd, msg_txt(sd,246)); + return; + } + if( index < 0 || index >= sd->storage_size ) return; @@ -461,11 +470,6 @@ int storage_guild_storageopen(struct map_session_data* sd) if(sd->state.storage_flag) return 1; //Can't open both storages at a time. - if( !pc_can_give_items(sd) ) { //check is this GM level can open guild storage and store items [Lupus] - clif_displaymessage(sd->fd, msg_txt(sd,246)); - return 1; - } - if((gstor = guild2storage2(sd->status.guild_id)) == NULL) { intif_request_guild_storage(sd->status.account_id,sd->status.guild_id); return 0; @@ -501,6 +505,11 @@ char guild_storage_additem(struct map_session_data* sd, struct guild_storage* st nullpo_retr(1, stor); nullpo_retr(1, item_data); + if( !pc_can_give_items(sd) ) { //check is this GM level can open guild storage and store items [Lupus] + clif_displaymessage(sd->fd, msg_txt(sd,246)); + return 1; + } + if(item_data->nameid == 0 || amount <= 0) return 1; @@ -632,6 +641,11 @@ void storage_guild_storageget(struct map_session_data* sd, int index, int amount if(!stor->storage_status) return; + if( !pc_can_give_items(sd) ) { //check is this GM level can open guild storage and store items [Lupus] + clif_displaymessage(sd->fd, msg_txt(sd,246)); + return; + } + if(index < 0 || index >= MAX_GUILD_STORAGE) return; @@ -703,6 +717,11 @@ void storage_guild_storagegettocart(struct map_session_data* sd, int index, int nullpo_retv(sd); nullpo_retv(stor=guild2storage2(sd->status.guild_id)); + if( !pc_can_give_items(sd) ) { //check is this GM level can open guild storage and store items [Lupus] + clif_displaymessage(sd->fd, msg_txt(sd,246)); + return; + } + if(!stor->storage_status) return; of course, not tested
  15. ur langtype? use NEMO to diff it, and select option to enable mail for all langtypes.
  16. Cosplay Guest-nya edit, lupa special guesnya ada "suhu" cosplayer Indo, cc Pinky LuXun. [spoiler=Pinky]
  17. AFAID14, 15, 16, & 17 Agustus 2014 Adakah penduduk rA yang bakal hadir? [spoiler=tambahan aja] kalau dateng ngejar konsernya, tgl 16 & 17, paling murah tiketnya 450K (IDR), itu 1 hari. [spoiler=I <3 Anisong lineup] nah kalau paketan konser + event tgl 15, jadi 800K. bukan tiket VIP [spoiler=GA 2 Day Packet] beli tiketnya bisa di https://rajakarcis.com/2014/06/11/anime-festival-asia-indonesia-2014/
  18. yea, "Hansip", the name is even better. wkwkwk maybe auto-"bata" later?
  19. the commands seem useful, but I don't see any urge to add it officially (yet), and at least let's see people says.
  20. just add ur RO client path to AV exception
  21. at that revision, u should uncommented the #define ADJUST_SKILL_DAMAGE in src/config/core.h and, the db AS_SONICBLOW,1,4095,-20 u just need to sums the <map> flags to make it works at all maps
  22. you can try use db/skill_damage_db.txt and btw, I moved this topic from Renewal Discussion
×
×
  • Create New...