Jump to content

Deviszh

Members
  • Posts

    173
  • Joined

  • Last visited

  • Days Won

    1

Community Answers

  1. Deviszh's post in Mapflag noequip was marked as the answer   
    Let me try this when i got home. Thank you sir!
     
    Update: Not working sir, still can use ygg and still effecting.
     
    This is my example:
     
    pvp_y_1-2 // can use berry and seeds
    pvp_y_2-2 // cannot use berry and seeds
     
    Because when im applying restricted all pvp map cant use berry and seeds.
     
    Update Fixed: i just disabled pvp_y_2-2 in pvp.txt, so this map is not considered as pvp map.
     
    Now, just trying to add restriction in gvg map if the class is soul linker and taekwon they cant enter the gvg map.
     
    Done! Fixed!
    https://rathena.org/board/topic/68457-utility-class-restriction/
  2. Deviszh's post in Costume npc currency was marked as the answer   
    thanks bro
  3. Deviszh's post in Editing Item quantity drop. was marked as the answer   
    i want to put a coupon when i kill MVP boss, for example i want to add the coupon when i kill some MVP. 
     
    example:
     
    when i kill doppelganger, 15pcs coupon will be drop.
     
    @Anacondaqq
     
    by the way, i tried but it only drop 1 pc instead of 5. i have 100% drop rate
     
    update:
     
    this will work. thanks for this script
     
    - script #mvpdrop -1,{ OnNPCKillEvent: if (getmonsterinfo(killedrid,22)) // If mob has MOB_MVPEXP, it's an MVP. if (rand(100) < 100) // 15% chance of activating. getitem 7623,10; end; }
  4. Deviszh's post in Custom Items was marked as the answer   
    fixed. some of the lines in accname.lub and lua are wrong.

    whenever i add new custom items it keeps saying error in nil.

    FIXED! Some item name in accessoryID is missing. Please close this thread now. THanks @rAthena! 
  5. Deviszh's post in Not showing when equip. was marked as the answer   
    I just recheck the following files if they are correct. I dont have accessoryid.lua and accname.lua, so i tried to decompile it with the Microsoft Visual Studio, so the korean letters will change into numbers or words and I refer to this guide. https://rathena.org/wiki/Custom_Items#Structure
     
    data\luafiles514\lua files\datainfo\accessoryid.lub
    data\luafiles514\lua files\datainfo\accname.lub
     
    so thank you for this @mrmagic
     
     
    Just recheck, if the error gives you the sprites or textures, check the data/textures and data/sprite of your grf and put the following sprites in ur error like this. 
     

     
     
    Also recheck the following if you put the right name, view id of the following:
     
    -  idnum2itemdesctable.txt 
    This file contains the description of your item, when it is right-clicked. The syntax for an item is: ItemID# Item Description Line 1 Item Description Line 2 # - idnum2itemresnametable.txt
    This file sets the inventory and drop-sprite for an the item. Item is defined as follows: ItemID#SpriteName# - itemslotcounttable.txt
    The SpriteName is the name of the files in collection and item folders inside texture and the ones inside sprite folder. If you want to use the look of an another item, search for it's id and copy the sprite name from there. ItemID#NumberOfSlots# Also put the custom item in /System/ItemInfo.lua
    [<item id>] = { unidentifiedDisplayName = <item name to show when not magnified>, unidentifiedResourceName = <file name prefix used for all the images and drop sprite when not magnified>, unidentifiedDescriptionName = { <comma separated list of strings>,<to get multiple lines>,<in item description> }, identifiedDisplayName = <item name to show when magnified>, identifiedResourceName = <file name prefix used for all the images and drop sprite when magnified>, identifiedDescriptionName = { <same format as unidentifiedDescriptionName but for magnified items> }, slotCount = <number of slots>, ClassNum = <View ID - yes the same one that was there item_db> }, Dont forget these: 
     
    data\luafiles514\lua files\datainfo\accessoryid.lub 
    eg: ACCESSORY_PINKBUNNY_HAIRBAND = 663, ACCESSORY_GREENBUNNY_HAIRBAND = 664, ACCESSORY_<ITEM NAME> = <665> //This should be in number order data\luafiles514\lua files\datainfo\accname.lub
    eg: [ACCESSORY_IDs.ACCESSORY_PINKBUNNY_HAIRBAND] = "_ÇÎÅ©Åä³¢¸Ó¸®¶ì", [ACCESSORY_IDs.ACCESSORY_GREENBUNNY_HAIRBAND] = "_±×¸°Åä³¢¸Ó¸®¶ì", [ACCESSORY_IDs.ACCESSORY_ITEM NAME] = "add the sprite of the item"    
  6. Deviszh's post in Free control panel? was marked as the answer   
    complete tutorial please? 
     
    nahh, i found it. Thanks! https://rathena.org/board/topic/57114-how-to-install-flux-cp/
  7. Deviszh's post in Script enable for @getitem @getitem2 command. was marked as the answer   
    okay im done with this, thanks for replying by the way. I meant is the give item to a character. @ = your item, # = other character 
     
    @item 768 1 (to your char)
    #item  <character> <item id> <quantity> 
×
×
  • Create New...