Jump to content

Nova

Members
  • Posts

    265
  • Joined

  • Last visited

  • Days Won

    8

Community Answers

  1. Nova's post in random news by Emistry. was marked as the answer   
    You were only supposed to edit one of the values.
    So revert to the original and just change the 
     
    set .Time,60;
     
    line to 
     
    set .Time,10;
  2. Nova's post in Job bonus and bonus from equipment not added to stats was marked as the answer   
    Update your rAthena. Aleos fixed this bug recently.
     
    https://github.com/rathena/rathena/commit/da94f41908b6a67a72f1285067ea77e8b887b8af
     
    and
     
    https://github.com/rathena/rathena/commit/ea497b2938e51a526438f78aa6fc4de43af5cc23
  3. Nova's post in Where are monsters skill located on the server side? was marked as the answer   
    db/re/mob_skill_db.txt
    db/pre-re/mob_skill_db.txt
  4. Nova's post in Need Help With My Script (x__x) was marked as the answer   
    You can't copy the line, you have to put the tabs in manually as I said.
     
    moc_fild12,266,118,4 script Fosil Women 702,{ This one might work.
  5. Nova's post in Instancing NPCs was marked as the answer   
    I've been using 
    OnInit: hideonnpc strnpcinfo(0); end; OnInstanceInit: hideonnpc instance_npcname(strnpcinfo(0)); end; Successfully for a while now.
  6. Nova's post in Increase HP on Certain map! was marked as the answer   
    Oh sorry I missed a parenthesis.
     
    { if (strcharinfo(3) == "guild_vs1") { bonus,bMaxHPRate,10; } }
  7. Nova's post in How to edit This Script? was marked as the answer   
    if (Zeny >= 1285000 && countitem(7825) >= 1 ) {
    set Zeny, Zeny-1285000;
    delitem 7825,1;
     
    and
     
    mes "Unfortunately, you either don't seem to possess enough zeny at the moment or are missing a Heroic Stone. Please check your funds and come back again.";
  8. Nova's post in MvP Tomb - how to do not show minutes? was marked as the answer   
    Oh sorry, I didn't read that properly. Give me a minute, I'll edit this post.
     
    Ctrl+F MvP tomb in your npc.c file to find this segment. 
    // MvP tomb [GreenBox] void run_tomb(struct map_session_data* sd, struct npc_data* nd) { char buffer[200]; char time[10]; strftime(time, sizeof(time), "%H:%M", localtime(&nd->u.tomb.kill_time)); // TODO: Find exact color? snprintf(buffer, sizeof(buffer), msg_txt(sd,657), nd->u.tomb.md->db->name); clif_scriptmes(sd, nd->bl.id, buffer); clif_scriptmes(sd, nd->bl.id, msg_txt(sd,658)); snprintf(buffer, sizeof(buffer), msg_txt(sd,659), time); clif_scriptmes(sd, nd->bl.id, buffer); clif_scriptmes(sd, nd->bl.id, msg_txt(sd,660)); snprintf(buffer, sizeof(buffer), msg_txt(sd,661), nd->u.tomb.killer_name[0] ? nd->u.tomb.killer_name : "Unknown"); clif_scriptmes(sd, nd->bl.id, buffer); clif_scriptclose(sd, nd->bl.id); } Change the line
    strftime(time, sizeof(time), "%H:%M", localtime(&nd->u.tomb.kill_time)); to
    strftime(time, sizeof(time), "%H", localtime(&nd->u.tomb.kill_time)); You'll likely want to change the line from map_msg.conf to 
    659: Hour of Death : ^EE0000%s^000000
  9. Nova's post in Run Script for everyone on Map was marked as the answer   
    It's exactly that.
     
    addrid(1,0);
     
    What kind of event is it? I'll write up a simple example.
    prontera,150,180,5 script GIVEREWARD -1,{ end; OnWhisperGlobal: addrid(1,0); .count = 0; EventCount = countitem(512); if ( EventCount > .count ) { .count = EventCount; .winner$ = strcharinfo(0); .aid = getcharid(3); } initnpctimer; end; OnTimer100: stopnpctimer; getitem 582,1,.aid; announce "The winner is "+.winner$+"!",bc_all,"0xffff00"; end; } Probably not the cleanest method, but it does the job.
  10. Nova's post in Identify Dropped Equipment was marked as the answer   
    I believe setting the first return 0 to return 1 will do the trick.
     
    Or you could just remove the first part leaving 
    /** Specifies if item-type should drop unidentified. * @param nameid ID of item */ char itemdb_isidentified(unsigned short nameid) { } int type=itemdb_type(nameid); switch (type) { case IT_SHADOWGEAR: return 0; default: return 1; } }
  11. Nova's post in Please help, payon problem was marked as the answer   
    It should be in any other data.grf and you could easily extract it with GRF Editor or any other software. I'm sure you have some old copies of kRO laying around your desktop.
×
×
  • Create New...