Jump to content

Moriarty

Members
  • Posts

    135
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by Moriarty

  1. *countitem2(<item id>,<identify>,<refine>,<attribute>,<card1>,<card2>,<card3>,<card4>)

    *countitem2("<item name>",<identify>,<refine>,<attribute>,<card1>,<card2>,<card3>,<card4>)

    Expanded version of 'countitem' function, used for created/carded/forged items.

    This function will return the number of items for the specified item ID and

    other parameters that the invoking character has in the inventory.

    Check 'getitem2' to understand the arguments of the function.

  2. Well, I think that would be very usefull a script command to avoid the player using any command @.

    It can be like a pc_blockcommand,0; for unblocked and pc_blockcommand,1;

     

    Or a blockcommand; that will avoid using commands while talking to npc.

     

    I'm saying this because anti ahk / bot scripts are easily bypassable, as the player can simple use a @warp command to close the npc chat. ( I know you can't write it, but if it's on your alt + m, its usable )

  3. index.php?app=downloads&module=display&section=screenshot&id=3041

    File Name: Dispell Immune Bonus

    File Submitter: PcPocket

    File Submitted: 19 Oct 2013

    File Category: Source Modifications

    Content Author: PcPocket

    This is a new bônus for your items, it will make the character immune to dispell.

    Just have to add 'bonus bDispellImmune,1;' on your item script.

    This .patch was made over rAthena rev 17689, I have no idea if it will work on eAthena or Hercules, as I haven't tested on any other emulator.

    If you have any source requests, contact me and we can negotiate :)

    Click here to download this file

  4. I'll help you because you have great taste for bands :)


    go to conf/battle/misc.conf

     

    // Allow autotrade only in maps with autotrade flag?
    // Set this to "no" to allow autotrade where no "autotrade" mapflag is set.
    // Set this to "yes" to only allow autotrade on maps with "autotrade" mapflag.
    at_mapflag: 
     
    Set it to yes, than put a mapflag where you want :)
  5. NZiXKqf.jpg


    Simple and Clean layout, i'm not creative at all, so I did it based on an over-used site structure. 
    I know that there are some things that aren't correctly aligned, I'm too lazy to align it on Photoshop, I prefer to do it when i'm building the css. So please, don't consider this on your avaliation.
    Rates are welcome

  6. Thanks, I did it before looking here, this was a silly post, I should have searched :P

     

    Anyway, I have a new problem now.
    How do I delete all elements of this array before build it?



    I was using mapreg, now i'm using pc_setreg and deleting the array with the npc.. It works, but it would be nice to know how to do it from source :\

×
×
  • Create New...