Jump to content

Cydh

Developer
  • Posts

    2285
  • Joined

  • Last visited

  • Days Won

    77

Everything posted by Cydh

  1. I think atcommand need player to be attached. xD and your second code, the OnInit first line content has end;, that mean another line will not be executed. if your problem because duplicate NPC, you can remove it, the debug messages tell you where the npc file, or rename the NPC name.
  2. also, make your own encryption algorithm for `user_pass` on `login` table. MD5 is very famous, many people able to dencrypt it.
  3. it already runs every hour on minute 10th..
  4. still on your src/map/atcommand.c, find these def lines, and you must add itemmap there. ACMD_DEF(unloadnpcfile), ACMD_DEF(cart), - ACMD_DEF(mount2) + ACMD_DEF(mount2), + ACMD_DEF(itemmap), }; AtCommandInfo* atcommand; int i; also, check your group.conf's commands.
  5. Cydh

    @auras

    It's up to you, I'm using my edit. haha
  6. Cydh

    Need Auto Stop

    try this my edit. FindTheMushroom.txt
  7. combine shadow and fire? just imagine what does your DARKFIRE effect is. example on attr_fix.txt, add it until lv Darkfire Lv. 4 //Neut Watr Erth Fire Wind Pois Holy Shdw Gho Und Drkf 100, 100, 100, 100, 100, 100, 100, 100, 70, 100, 100 // Neutral 100, 25, 100, 150, 90, 100, 75, 100, 100, 100, 100 // Water 100, 100, 25, 90, 150, 100, 75, 100, 100, 100, 100 // Earth 100, 90, 150, 25, 100, 100, 75, 100, 100, 125, 25 // Fire 100, 175, 90, 100, 25, 100, 75, 100, 100, 100, 100 // Wind 100, 100, 125, 125, 125, 0, 75, 50, 100, -25, 100 // Poison 100, 100, 100, 100, 100, 100, 0, 125, 100, 150, 125 // Holy 100, 100, 100, 100, 100, 50, 125, 0, 100, -25, 25 // Shadow 70, 100, 100, 100, 100, 100, 75, 75, 125, 100, 75 // Ghost 100, 100, 100, 100, 100, 50, 100, 0, 100, 0, 25 // Undead 100, 100, 100, 25, 100, 100, 125, 25, 75, 25, 0 // Dark Fire and on battle.h extern int attr_fix_table[4][10][10]; becomes extern int attr_fix_table[4][11][11]; on map.h, define new element enum { ELE_NEUTRAL=0, ELE_WATER, ELE_EARTH, ELE_FIRE, ELE_WIND, ELE_POISON, ELE_HOLY, ELE_DARK, ELE_GHOST, ELE_UNDEAD, ELE_DARKFIRE, ELE_MAX };
  8. just 1. open msg_conf.c -> CTRL+END -> ENTER 2. open cli.c -> CTRL+END -> ENTER
  9. Cydh

    @auras

    apply the patch file
  10. Cydh

    @auras

    based from release on old eAthena: auraset-oldfromeA-rA-svn17146.patch got from someone comment: auraset-rA-svn17146.patch I use this my edit based on eAthena old release: auraset-mine-rA-svn17146.patch
  11. I think before the forum update, there are so many BBCode, of cour with codebox
  12. Cydh

    recompile 17162

    when you update your svn, you got conflicts, you must edit that conflict first..
  13. What is it? Configuration files conf/battle/exp.conf nohomexp mapflag. Homunculus will not get exp. at this map. hexp mapflag. Adjust exp. rate at this map. db/mob_homun_exp.txt Database file, db/mob_homun_exp.txt
  14. here is mine.. warponbattle-rA-svn17156.patch player will get delay when: using skill attacking receiving damage If player got delay, he must wait for using @warp using @go get recalled by @recall get recalled by guild skill, EMERGENCY CALL
  15. Cydh

    item drop delay

    yeah it should @@ -3288,6 +3289,12 @@ clif_displaymessage (sd->fd, msg_txt(263)); return 0; } + + if ( sd->candrop_tick && DIFF_TICK(gettick(), sd->candrop_tick) < 5000) + { + clif_displaymessage(sd->fd, "Please wait 5 seconds before dropping another item."); + return 0; + } //Logs items, dropped by (P)layers [Lupus] if(log_config.enable_logs&0x8) you must insert them inside int pc_dropitem(struct map_session_data*,int,int){ ... } on pc.c
  16. uhm, beside it, there are some uncompatible values, need to be casted to the correct value. [s]Index: src/map/skill.c =================================================================== --- src/map/skill.c (revision 17161) +++ src/map/skill.c (working copy) @@ -12439,7 +12439,7 @@ struct status_change *sc; struct skill_condition require; int i; - uint inf2; + uint16 inf2; nullpo_ret(sd); @@ -12563,13 +12563,13 @@ // perform skill-group checks inf2 = skill_get_inf2(skill_id); if(inf2&INF2_CHORUS_SKILL) { - if ( skill_check_pc_partner(sd,skill_id,&skill_lv,skill_get_splash(skill_id,skill_lv),0) < 1 ){ + if ( skill_check_pc_partner(sd,skill_id,(short*)&skill_lv,skill_get_splash(skill_id,skill_lv),0) < 1 ){ clif_skill_fail(sd,skill_id,USESKILL_FAIL_LEVEL,0); return 0; } } else if(inf2&INF2_ENSEMBLE_SKILL){ - if (skill_check_pc_partner(sd, skill_id, &skill_lv, 1, 0) < 1) { + if (skill_check_pc_partner(sd, skill_id, (short*)&skill_lv, 1, 0) < 1) { clif_skill_fail(sd,skill_id,USESKILL_FAIL_LEVEL,0); return 0; } @@ -12718,7 +12718,7 @@ break; case PR_BENEDICTIO: - if (skill_check_pc_partner(sd, skill_id, &skill_lv, 1, 0) < 2) + if (skill_check_pc_partner(sd, skill_id, (short*)&skill_lv, 1, 0) < 2) { clif_skill_fail(sd,skill_id,USESKILL_FAIL_LEVEL,0); return 0; @@ -12901,7 +12901,7 @@ * Warlock **/ case WL_COMET: - if( skill_check_pc_partner(sd,skill_id,&skill_lv,1,0) <= 0 && ((i = pc_search_inventory(sd,require.itemid[0])) < 0 || sd->status.inventory[i].amount < require.amount[0]) ) + if( skill_check_pc_partner(sd,skill_id,(short*)&skill_lv,1,0) <= 0 && ((i = pc_search_inventory(sd,require.itemid[0])) < 0 || sd->status.inventory[i].amount < require.amount[0]) ) { //clif_skill_fail(sd,skill_id,USESKILL_FAIL_NEED_ITEM,require.amount[0],require.itemid[0]); clif_skill_fail(sd,skill_id,USESKILL_FAIL_LEVEL,0); @@ -12993,7 +12993,7 @@ if( !(sc && sc->data[SC_BANDING]) ) { clif_skill_fail(sd,skill_id,USESKILL_FAIL,0); return 0; - } else if( skill_check_pc_partner(sd,skill_id,&skill_lv,skill_get_range(skill_id,skill_lv),0) < 1 ) + } else if( skill_check_pc_partner(sd,skill_id,(short*)&skill_lv,skill_get_range(skill_id,skill_lv),0) < 1 ) return 0; // Just fails, no msg here. break; case LG_HESPERUSLIT: @@ -13026,7 +13026,7 @@ if( sd->spiritball > 0 ) sd->spiritball_old = require.spiritball = sd->spiritball; else { - clif_skill_fail(sd,skill_id,0,0); + clif_skill_fail(sd,skill_id,USESKILL_FAIL_LEVEL,0); return 0; } break; @@ -13043,7 +13043,7 @@ break; case WM_GREAT_ECHO: { int count; - count = skill_check_pc_partner(sd, skill_id, &skill_lv, skill_get_splash(skill_id,skill_lv), 0); + count = skill_check_pc_partner(sd, skill_id, (short*)&skill_lv, skill_get_splash(skill_id,skill_lv), 0); if( count < 1 ) { clif_skill_fail(sd,skill_id,USESKILL_FAIL_NEED_HELPER,0); return 0; @@ -13055,7 +13055,7 @@ case SO_ELECTRICWALK: // Can't be casted until you've walked all cells. if( sc && sc->data[SC_PROPERTYWALK] && sc->data[SC_PROPERTYWALK]->val3 < skill_get_maxcount(sc->data[SC_PROPERTYWALK]->val1,sc->data[SC_PROPERTYWALK]->val2) ) { - clif_skill_fail(sd,skill_id,0x0,0); + clif_skill_fail(sd,skill_id,USESKILL_FAIL_LEVEL,0); return 0; } break; [/s] why I use "USESKILL_FAIL_LEVEL"? refer to clif.h, 0 is = USESKILL_FAIL_LEVEL [s]enum useskill_fail_cause {// clif_skill_fail USESKILL_FAIL_LEVEL = 0, USESKILL_FAIL_SP_INSUFFICIENT = 1,[/s] @clyd, not a cross platform, it because unit isn't typedata on cbasetypes.h [s]... typedef uint8_t uint8; typedef uint16_t uint16; typedef uint32_t uint32; typedef uint64_t uint64; ....[/s] fixed on 17162. LOL
  17. your PVPLADDER NPC is working..?
  18. conf/map_athena.conf//Makes server log selected message types to a file in the /log/ folder //1: Log Warning Messages //2: Log Error and SQL Error messages. //4: Log Debug Messages //Example: "console_msg_log: 7" logs all 3 kinds //Messages logged by this overrides console_silent setting console_msg_log: 7
  19. did you config your map_server to log of any error found? or will you share your NPC here?
  20. old but gold.. following your post +1
×
×
  • Create New...