Jump to content

KirieZ

Core Developers
  • Content Count

    201
  • Joined

  • Last visited

  • Days Won

    12

Reputation Activity

  1. Upvote
    KirieZ got a reaction from fourxhackd for a file, NpcTalk2   
    NOTE: Hercules now provides this functionality by itself (check unittalk). I'm not updating this anymore.
    Hello,
    When converting iRO's Xmas event I missed a way to use npctalk to a specific player, so today I made it.
     
    This plugin adds the npctalk2 script command that allows you to show a message like npctalk, but to a specific player only (by default the one attached to the script).
    *npctalk2("<message>"{, "<npc name>",{"player name"}})This command will display a message to the a target player as if the NPC object running it was a player talking - that is, above their head and in the chat window. The display name of the NPC will get appended in front of the message to complete the effect.If NPC Name is given, the message will display on this npc's instead.If Player Name is given, the message will be displayed to that player instead of the attached one (if he's online)If the player is too far from the NPC (for example, in another map), the message will only show in the chatbox.   Usage Example:
    Assumming it's running in a NPC named Test and that there's a NPC named Test2 near.// Will display "I'm only talking to <Attached Player Name>" only to the attached player over NPC Testnpctalk2 "I'm only talking to "+strcharinfo(0);// Will display "I'm only talking to KirieZ" to player named KirieZ over NPC Testnpctalk2 "I'm only talking to KirieZ", "Test", "KirieZ";// Will display "Don't bother my friend, I'll talk to you" to the Attached player over NPC Test2npctalk2 "Don't bother my friend, I'll talk to you", "Test2";   If you find any bug let me know.
  2. Upvote
    KirieZ got a reaction from Cabrera for a file, VS Plugin Creator   
    Hello everybody,
    I was trying some plugins a couple days ago and was bored of creating VS Projects by hand for each plugin, so I made this simple tool.
    You just have to set where's your Hercules is, the VS version you want to create projects for and where it should create on. The list of files in your src/plugins folder will be shown so you can choose which plugins you want to create VS Projects for. Also, it saves your settings so you don't have to fill these inputs everytime.
    It requires .NET Framework 2.0 or newer and probably will run only on Windows (I think there's no need for other OSes, right? xD)
    If you find any issues with it, let me know and I will try to fix it.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.