Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 12/13/19 in all areas

  1. to solve your error you need to declare setdir first in src/script. BUILDIN_FUNC(setdir) { TBL_PC *sd; if ( script_hasdata(st,4) ) { if ( data_isstring( script_getdata(st,4) ) ) sd = map_nick2sd( script_getstr(st,4),false ); else sd = map_id2sd( script_getnum(st,4) ); } else sd = map_id2sd(st->rid); if ( sd ) { int value = 0; if ( script_hasdata(st,3) ) { value = script_getnum(st,3); if ( value < 0 || value > 2 ) value = 0; } pc_setdir( sd, script_getnum(st,2), value ); clif_changed_dir( &sd->bl, AREA ); } return SCRIPT_CMD_SUCCESS; } BUILDIN_FUNC(checkdir) { TBL_PC *sd; if ( script_hasdata(st,3) ) { if ( data_isstring( script_getdata(st,3) ) ) sd = map_nick2sd( script_getstr(st,3),false ); else sd = map_id2sd( script_getnum(st,3) ); } else sd = map_id2sd(st->rid); if ( sd ) { int value = 0; if ( script_hasdata(st,2) ) value = script_getnum(st,2); script_pushint( st, value > 0 ? sd->head_dir : sd->ud.dir ); } return SCRIPT_CMD_SUCCESS; }
    1 point
  2. your skill_db and skill_tree look like Hercules not rAthena ---skillinfolist.lub [SKID.NJ_SENBON] = { "NJ_SENBON", SkillName = "Senbon", MaxLv = 1, SpAmount = { 2 }, bSeperateLv = true, <- change to false AttackRange = { 9 }, _NeedSkillList = { { SKID.NJ_KUNAI, 1 } } }, ----skill_id.lub NJ_SENBON = 8443 for Hercules custom skill range you can use only 900 - 999 for rAthena custom skill range you can use only 800 - 999 GOOD LUCK!!!
    1 point
  3. How to make this continue the time even the character recon.
    1 point
  4. I would like to make that when the player leaves the game, time stops counting, and when it returns, the time goes back to where it stopped. For example, if the point is received every 1 hour, if the player leaves after 20 minutes, when he enters again, the time continues at 20 minutes, this way the player does not waste time if he needs to change char or disconnected . Is it possible?
    1 point
×
×
  • Create New...