Jump to content

Emistry

Forum Moderator
  • Posts

    10015
  • Joined

  • Days Won

    396

Community Answers

  1. Emistry's post in Music Player NPC / DJ was marked as the answer   
    http://www.eathena.ws/board/index.php?showtopic=263602
  2. Emistry's post in Randomly get an Item after killing Monster was marked as the answer   
  3. Emistry's post in NPC Check SC was marked as the answer   
    try this ?
    if( getstatus( SC_BERSERK ) ){ sc_end SC_BERSERK;
    percentheal -99,-100;
    }

  4. Emistry's post in What's this script debug ? any idea? was marked as the answer   
    check ur quest shop script ... the quest requirement is invalid ...
    trunk/npc/custom/quests/quest_shop.txt
  5. Emistry's post in Exchanger NPC Following Time & Amount was marked as the answer   
    http://pastebin.com/raw.php?i=hRL5Ze54
  6. Emistry's post in Looping. was marked as the answer   
    something like this ??
    http://pastebin.com/raw.php?i=KpAU0jWE
  7. Emistry's post in 10 seconds timer before summoning was marked as the answer   
    mes "Goodbye~";
    close2;
    sleep2 10000;
    summon "Poring",1002,3000, strnpcinfo(0) +"::On"+ getcharid(0);
    end;

  8. Emistry's post in Question: How can I make custom markers for 'viewpoint' script command? was marked as the answer   
    http://subversion.assembla.com/svn/ClientSide/Lua_Project/System/Towninfo.lua
     
    you cant realocate / edit / remove it using npc script .... 
  9. Emistry's post in Emblem during WOE was marked as the answer   
    find the original function 
    trunk/src/map/guild.c
     
    and replace with this
    /*==================================================== * Change guild emblem *---------------------------------------------------*/ int guild_change_emblem(struct map_session_data *sd,int len,const char *data) { struct guild *g; nullpo_ret(sd); if( agit_flag || agit2_flag ){ clif_displaymessage( sd->fd,"You cant change Emblem during WOE." ); return 0; } if (battle_config.require_glory_guild && !((g = sd->guild) && guild_checkskill(g, GD_GLORYGUILD)>0)) { clif_skill_fail(sd,GD_GLORYGUILD,USESKILL_FAIL_LEVEL,0); return 0; } return intif_guild_emblem(sd->status.guild_id,len,data); }
  10. Emistry's post in NPC Animations was marked as the answer   
    prontera,155,161,5 script Sample -1,{
    hideonnpc .npc_name$;
    monster .npc_map$,.npc_x,.npc_y,.npc_name$,.mob_id,1,"";
    sleep 500;
    killmonsterall .npc_map$,"All";
    sleep 1000;
    hideoffnpc .npc_name$;
    end;
    OnInit:
    set .mob_id,1002;
    set .npc_name$,strnpcinfo(0);
    getmapxy( .npc_map$,.npc_x,.npc_y,1 );
    setnpcdisplay( .npc_name$,.mob_id );
    end;
    }

  11. Emistry's post in How to remove this? was marked as the answer   
    try 
    mapname mapflag pvp_nocalcrank   
    or
    setmapflag "mapname",mf_pvp_nocalcrank;
  12. Emistry's post in is there easy way to broadcast for gm's? without typing /b or @broadcast was marked as the answer   
    - script map -1,{
    OnWhisperglobal:
    announce ""+@whispervar0$,bc_map;
    end;
    }
    - script global -1,{
    OnWhisperglobal:
    announce ""+@whispervar0$,bc_all;
    end;
    }


    [ npc:map ] message
    [ npc:global ] message

  13. Emistry's post in how to remove this from this script? was marked as the answer   
    remove or comment this
    if (Class == Job_Ninja) setarray .@exp[0],.@j1,70;
  14. Emistry's post in How to make Custom Old Blue Box (RANDOM ITEM) with Mods. was marked as the answer   
    trunk/src/map/itemdb.h
    //The max. item group count (increase this when needed). #define MAX_ITEMGROUP 70 defined inside trunk/db/const.txt
    IG_BlueBox 1 IG_VioletBox 2 IG_CardAlbum 3 IG_GiftBox 4 IG_ScrollBox 5 IG_FingingOre 6 IG_CookieBag 7 IG_FirstAid 8 IG_Herb 9 IG_Fruit 10 IG_Meat 11 IG_Candy 12 IG_Juice 13 IG_Fish 14 IG_Box 15 IG_Gemstone 16 IG_Resist 17 IG_Ore 18 IG_Food 19 IG_Recovery 20 IG_Mineral 21 IG_Taming 22 IG_Scroll 23 IG_Quiver 24 IG_Mask 25 IG_Accesory 26 IG_Jewel 27 IG_GiftBox_1 28 IG_GiftBox_2 29 IG_GiftBox_3 30 IG_GiftBox_4 31 IG_EggBoy 32 IG_EggGirl 33 IG_GiftBoxChina 34 IG_LottoBox 35 IG_FoodBag 36 IG_Potion 37 IG_RedBox_2 38 IG_BleuBox 39 IG_RedBox 40 IG_GreenBox 41 IG_YellowBox 42 IG_OldGiftBox 43 IG_MagicCardAlbum 44 IG_HometownGift 45 IG_Masquerade 46 IG_Tresure_Box_WoE 47 IG_Masquerade_2 48 IG_Easter_Scroll 49 IG_Pierre_Treasurebox 50 IG_Cherish_Box 51 IG_Cherish_Box_Ori 52 IG_Louise_Costume_Box 53 IG_Xmas_Gift 54 IG_Fruit_Basket 55 IG_Improved_Coin_Bag 56 IG_Intermediate_Coin_Bag 57 IG_Minor_Coin_Bag 58 IG_S_Grade_Coin_Bag 59 IG_A_Grade_Coin_Bag 60 IG_Advanced_Weapons_Box 61 IG_Splendid_Box 62 make sure you have added the item in one of these files...or a new file..
    trunk/db/re/item_group_db.txt
  15. Emistry's post in Help About autocommand when max level was marked as the answer   
    OnPCBaseLvUpEvent:
    if( BaseLevel >= 160 )
    atcommand "@auraset 160";
    end;

  16. Emistry's post in item specialeffect / effect was marked as the answer   
    itemID................{ },{ while( isequipped( <itemid> ) ){ specialeffect2 417; sleep2 3000; } },{ }

  17. Emistry's post in if any player enter in home town..rainbow appears was marked as the answer   
    prontera,155,181,5 script Sample #rainbow 111,{
    end;
    OnPCLoadMapEvent:
    if( strcharinfo(3) == .map$ )
    specialeffect EF_RAINBOW;
    end;
    OnInit:
    set .map$,strnpcinfo(4);
    setmapflag .map$,mf_loadevent;
    end;
    }

  18. Emistry's post in Card Remover not 100% Success HELP was marked as the answer   
    remove
    set .@failchance,rand(100); if (.faildestroy==1) { if(.@failchance < 2) { next; failedremovecards .@part,0; mes "[Wise Old Woman]"; mes "The process was a total failure. I am afraid the item and the cards were destroyed."; close; } if(.@failchance < 8) { if (.@failtype == 1) { next; failedremovecards .@part,1; mes "[Wise Old Woman]"; mes "While I have managed to remove the cards from the item, they were destroyed in the process. The item, however, is okay."; close; } if (.@failtype == 2) { next; failedremovecards .@part,2; mes "[Wise Old Woman]"; mes "Most unfortunate. I succeeded at removing the cards, but the item itself was destroyed in the process."; close; } } } if(.@failchance < 10) { next; failedremovecards .@part,3; mes "[Wise Old Woman]"; mes "I have failed to remove the cards. Luckily, however, both the item and the cards are still okay."; close; }
  19. Emistry's post in asking about explode string was marked as the answer   
    it wont work ...it you didnt specify the delimiter...it will not break the string ..
     

     
     
     
    but you can do like this ... using the charat
     

  20. Emistry's post in removing cards from equipment inside inventory was marked as the answer   
    like this ?
    http://pastebin.com/raw.php?i=h0FeS1CP
  21. Emistry's post in make mapflag no@load was marked as the answer   
    tried trunk/npc/mapflag/nowarp.txt?
  22. Emistry's post in Weapons effect doesnt work properly was marked as the answer   
    http://hercules.ws/wiki/Custom_Items
    Weapon-type items:Daggers One-Handed Swords Two-Handed Swords One-Handed Spears Two-Handed Spears One-Handed Axes Two-Handed Axes Maces (not used) Wand/Staff Bows/Crossbows Knuckle Weapons Musical Instruments Whips Books Katars Revolvers Rifles Shotguns Gatling guns Grenade launchers Fuuma shuriken Shield-type items:Guard, Novice Guard Buckler Shield, Holy Guard, Evangelist Mirror Shield Ammunition-type items:Arrows Throw-able daggers Bullets Shells Grenades Shuriken Kunai Headgear-type items: Please see the View IDs section of this guide.
  23. Emistry's post in Need Help. Newbie on SQL stuffs. Adding PvP Ladder was marked as the answer   
  24. Emistry's post in How to remove this? was marked as the answer   
    trunk/conf/channels.conf
    /* "map_local_channel" is an instanced channel unique to each map. */ map_local_channel: true map_local_channel_name: "map" map_local_channel_color: "Yellow" map_local_channel_autojoin: true /* Disable autojoin in specific maps through mapflag 'nomapchannelautojoin'. */
  25. Emistry's post in Where does this NPC Location? was marked as the answer   
    trunk\npc\quests\quests_13_1.txt
    ra_temple,122,174,3 script Nuria 918,{ ....... ...... }
×
×
  • Create New...