Jump to content

Boy

Members
  • Posts

    134
  • Joined

  • Last visited

Posts posted by Boy

  1. Noted. and thanks for the announce.

    Hi Sir

    Just now the script run but the annoucement for finish not show but the script can run perfect.

    Here the script.

    - script Sample -1,{

    OnWed1545:

    announce "Drop Rate Now Change to 100% is currently in affect with 24 hour from now.",0;

    setbattleflag "item_drop_common_min",10000;

    setbattleflag "item_drop_heal_min",10000;

    setbattleflag "item_drop_use_min",10000;

    setbattleflag "item_drop_equip_min",10000;

    setbattleflag "item_drop_card_min",10000;

    setbattleflag "item_drop_mvp_min",10000;

    setbattleflag "item_drop_add_min",10000;

    setbattleflag "item_drop_treasure_min",10000;

    atcommand "@reloadmobdb";

    sleep ( 24 * 3600 );

    announce "Drop Rate Now Change to Normal is currently in affect every Wednesday.",0;

    setbattleflag "item_drop_common_min",getbattleflag("item_drop_common_min");

    setbattleflag "item_drop_heal_min",getbattleflag("item_drop_heal_min");

    setbattleflag "item_drop_use_min",getbattleflag("item_drop_use_min");

    setbattleflag "item_drop_equip_min",getbattleflag("item_drop_equip_min");

    setbattleflag "item_drop_card_min",getbattleflag("item_drop_card_min");

    setbattleflag "item_drop_add_min",getbattleflag("item_drop_add_min");

    setbattleflag "item_drop_mvp_min",getbattleflag("item_drop_mvp_min");

    setbattleflag "item_drop_treasure_min",getbattleflag("item_drop_treasure_min");

    atcommand "@reloadmobdb";

    end;

    }

  2. One more thing.

    Can make a day random and only 24 hour. when the day come it will annoucement.

    For example

    "Drop Rate 100% is currently in affect with 24 hour from now.."

    "Drop Rate 100% has finished"

    Thanks.

  3. Hi rAthena

    I need your help how to make 1 script for drop 100%.

    For example we can set 1 day like friday and this script will run automaticly make 100% drop item for server and after 24 hour it will come back to normal.

    Thanks.

  4. Hi Sir,

    I need ur help when i restart my server this error for mobskilldb error

    [Error]: mob_parse_row_mobskilldb: Non existant Mob id 2537

    [Error]: sv_readdb: Could not process contents of line 169 of "db/mob_skill_db2.txt".

    [Error]: sv_readdb: Could not process contents of line 170 of "db/mob_skill_db2.txt".

    [Error]: sv_readdb: Could not process contents of line 171 of "db/mob_skill_db2.txt".

    [Error]: sv_readdb: Could not process contents of line 172 of "db/mob_skill_db2.txt".

    [Error]: sv_readdb: Could not process contents of line 173 of "db/mob_skill_db2.txt".

    [Error]: sv_readdb: Could not process contents of line 174 of "db/mob_skill_db2.txt".

    [Error]: sv_readdb: Could not process contents of line 175 of "db/mob_skill_db2.txt".

    [Error]: sv_readdb: Could not process contents of line 176 of "db/mob_skill_db2.txt".

    [Error]: sv_readdb: Could not process contents of line 177 of "db/mob_skill_db2.txt".

    [Error]: sv_readdb: Could not process contents of line 178 of "db/mob_skill_db2.txt".

    [Error]: sv_readdb: Could not process contents of line 179 of "db/mob_skill_db2.txt".

    [Error]: sv_readdb: Could not process contents of line 180 of "db/mob_skill_db2.txt".

    and mob dungeon db

    [Error]: npc_parse_mob: Unknown mob ID 2544 (file 'npc/re/mobs/dungeons/lhz_dun.txt', line '168').

    [Error]: npc_parse_mob: Unknown mob ID 2542 (file 'npc/re/mobs/dungeons/lhz_dun.txt', line '169').

    [Error]: npc_parse_mob: Unknown mob ID 2541 (file 'npc/re/mobs/dungeons/lhz_dun.txt', line '170').

    [Error]: npc_parse_mob: Unknown mob ID 2534 (file 'npc/re/mobs/dungeons/lhz_dun.txt', line '171').

    [Error]: npc_parse_mob: Unknown mob ID 2539 (file 'npc/re/mobs/dungeons/lhz_dun.txt', line '172').

    [Error]: npc_parse_mob: Unknown mob ID 2535 (file 'npc/re/mobs/dungeons/lhz_dun.txt', line '173').

    [Error]: npc_parse_mob: Unknown mob ID 2536 (file 'npc/re/mobs/dungeons/lhz_dun.txt', line '174').

    [Error]: npc_parse_mob: Unknown mob ID 2537 (file 'npc/re/mobs/dungeons/lhz_dun.txt', line '175').

    [Error]: npc_parse_mob: Unknown mob ID 2538 (file 'npc/re/mobs/dungeons/lhz_dun.txt', line '176').

    [Error]: npc_parse_mob: Unknown mob ID 2540 (file 'npc/re/mobs/dungeons/lhz_dun.txt', line '177').

    [Error]: npc_parse_mob: Unknown mob ID 2543 (file 'npc/re/mobs/dungeons/lhz_dun.txt', line '178').

    This Error Solved. Thanks

  5. Hi Annie Ruru

    i already test this script but got this error " [Warning]: npc_scriptcont: failed npc_checknear test."

    - script AutoFunEvent -1,{
    OnWhisperGlobal:
    OnClock2030:
    set .@rand, rand(2000000000);
    while ( getusers(1) > .@count ) {
     set .@nb, query_sql("select account_id from `char` where online = 1 order by rand("+ .@rand +") limit 128 offset "+ .@count, .@aid );
     set .@i, 0;
     while ( .@i < .@nb ) {
      if ( attachrid(.@aid[.@i]) ) {
    if ( getgmlevel() < 60 && !checkvending() ) { // false condition
     announce strcharinfo(0) +" won", 0;
     getitem 501,1;
     end;
    }
      }
      set .@i, .@i +1 ;
     }
     set .@count, .@count + 128;
     sleep ( getusers(1) > .@count );
    }
    end;
    }
    

×
×
  • Create New...