Jump to content

KirieZ

Core Developers
  • Content Count

    209
  • Joined

  • Last visited

  • Days Won

    14

Files posted by KirieZ

  1. SetQuest2

    NOTE: This functionality got merged into Hercules (check setquest and getcalendartime). That being said, I'm NOT maintaining this plugin anymore.
    Hello,
    This plugin adds the setquest2 script command that allows you to add a quest with your own time limit, ignoring the one in quest_db, thus allowing you to, for example, make a quest end at a determined time next day independently of when it was originally given.
    *setquest(<ID>,<Time Limit>)Place quest of <ID> that will expire at <Time Limit> in the users quest log, the state of which is "active".    
    Examples:
     
    - Ask the player to come back in a random number of minutes (1 ~ 3)
    prontera,150,150,4 script SetQuest2 1_m_01,{ .@p = questprogress(7128,PLAYTIME); if (.@p == 1) { mes "Come back later!"; } else { if (.@p == 2) { mes "You came back!"; getitem Red_Potion, 1; erasequest 7128; } .@i = rand(1, 3); mes "Come back in " + .@i + " minutes"; setquest2 7128, gettimetick(2) + (.@i * 60); } close;}    
    - Ask the player to come back tomorrow (next day at 00:00)
    prontera,150,152,4 script SetQuest2b 1_m_01,{ .@p = questprogress(7126,PLAYTIME); if (.@p == 1) { mes "Come back later!"; } else { if (.@p == 2) { mes "You came back!"; getitem Red_Potion, 1; erasequest 7126; } .@i = 86400 - gettimetick(1); mes "Come back tomorrow"; setquest2 7126, gettimetick(2) + .@i; } close;}    
    If you find any bug let me know.

    36 downloads

    0 comments

    Updated

  2. 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.

    99 downloads

    2 comments

    Updated

  3. 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.

    109 downloads

    0 comments

    Updated

  4. iRO Christmas 2016

    Quite late, but here is iRO's Christmas Event of 2016. It was scripted while I played, so probably some things aren't perfect, like the monster and item data.
    This file contains:
    Santa Klaus giveaway (christmas_giveaway.txt): This NPC seems to be enabled every christmas on iRO. Santa Klaus is at the center of Prontera giving a gifts, players can choose between three gifts and allows warping to guild dungeons. The gifts are:
    Skill and Status reset
    Seal Status reset
    Gifts:
    3x Enriched Elunium
    3x Enriched Oridecon
    5x Red Envelope
    3x Yellow Butterfly Wing
    30 minutes Job EXP bonus (Job Battle Manual effect)


    [*]Christmas Quest (christmas_2016.txt): This is the quest. It starts at Eden Group HQ, then you have to do some deliveries to get Sprig of Holly and then turn them into a Costume headgear. It contains a daily quest.


    In the zip file you'll find both scripts and client/server changes.
    One script doesn't depend on the other one, that's why they're in separate files.
     
    Known Differences:
    The Santa's giveaway sets a quest in the client, but this ID is out of Hercules ID Range, so I changed it
    In Christmas Quest, the first NPC on the quest line shows a message over her head to the player only, I couldn't find a command to do this, so it shows to everybody.
    On iRO, the daily quest is reseted everyday at 4AM, but Hercules seems to not have a command to set time limit explicitly (instead we use quest_db) so I set it to 23h time limit.

     
    If something is wrong, let me know and I'll try to fix as soon as possible.

    95 downloads

    0 comments

    Submitted

  5. Configurable Refiner

    This is a configurable refiner that I made after reading the request from this topic.
     
    It contains the following options (all of them configurable):
    Normal refine
    Refine N times at once (It's possible to allow this for a different group)
    Set different zeny and item requirements based on item's WeaponLv field
    Display information about the refine like: the safe refine and the chance of the next level.
    Allow the usage of items that increase the success chance
    Allow the usage of items that avoids the item from being destroyed when the refine fails
    (2.0) Ask if want to use items to protect / increase refine chance
    (2.0) Define custom effects when refine fails: stay as is, decrease one level or go back to +0

    Everything is configurable at the end of the script.
     
    I made some tests and it seems to be working correctly, if you run into any bug or wants to suggest a new feature, please let me know and I'll see what I can do.

    927 downloads

    0 comments

    Updated

×
×
  • Create New...

Important Information

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