There is a nice contribution from meko on that subject,
Menhir (Big rock that possesses magical powers and able to restore Health and Energy of Seekers resting/meditating nearby)
But, I thought to myself, well, that is wonderful, but why not make it portable?
An element of role play, a way to add functionality
to the item 7035 - Matchstick, To light a Campfire.
A Campfire is a portable temporary regeneration NPC.
OW, and it is configurable ;).
Campfire to restore / regenerate HP & SP.
When you sit by the Campfire, you start feeling the warmth and the comfort, thus your HP & SP begin to regenerate.
A phosphorus tipped stick that can be used to start a fire. (Now Indeed )
When you use the item Matchstick in your inventory, it will spawn a duplicate of the NPC called Campfire.
This will help you when you are in the field, farming, grinding, starting a Campfire will help you rest.
- You need to sit close to the Campfire (3 cells ) to feel the warmth.
- Anyone can sit by your Campfire and rest.
- Campfire lasts 2-3 minutes.
- Need to sit for at least some time to begin feeling the warmth and comfort.
- you cannot start a fire within 5 cells of another NPC
- If you use a match one more time, old Campfire disappears and a new one appears.
I think it will add an element of roleplay and romanticism to the gameplay.
To be able to use this script you need a plugin npc-duplicate.c
Install & enable this plugin This script uses a relatively new NPC sprite at the moment of writing this release.
Therefore, you may have to edit the Hercules source to allow for this new NPC
To the /db/constants.conf
add this line: 4_BONFIRE: 10252 In the /src/map/npc.h
change this line: #define MAX_NPC_CLASS2_END 10800 This will allow for way more NPCs
Save and recompile Hercules. In the client, you may not have this NPC
But luckily for you, I've included with this release a data.zip archive containing the NPC sprite
and the sound of striking a matchstick.
Just add it to your GRF or data folder if you use data folder. In the client, Lua Files make sure you have this NPC sprite
LuaFiles514/Lua Files/Datainfo/NPCIdentity.lub JT_4_BONFIRE = 10252,
[jobtbl.JT_4_BONFIRE] = "4_bonfire", In the /db/re/item_db.conf or /db/pre-re/item_db.conf
find Id: 7035
and add these 3 attributes Type: 2 Delay: 3000 Script: <" callfunc("F_CreateCFDup"); ">
It is a configurable script
All of the parameters are explicitly commented for a better understanding of the rules
.refillHP_rate = 15; // number of HP to give every refill .refillSP_rate = 5; // number of SP to give every refill .refill_distance = 3; // max distance from fire HP/SP regeneration will work .camp_fire_delay = 5; // Skip how many ticks before feel warm ;) .refill_timer = 300; // wait rand(X) ms before refil Feel free to adjust to your server needs
[email protected]_distance = 5; // How far from other NPCs allowed to make fire. [email protected]_duration = 1000 * 60 * 3;// 3 minutes (How long will the Campfire last, in ms)
By The HaureNThis is a very simple edit on default rathena and hercules sylist(Is the same) for summoner class(doram) limit hair color and style.
* in line 18 you can change the max hair style.
* in line 19 you can change the max hair color.
A Teleporter dynamically configured, using setarray, you can configure the price, and even a requirement item to use.
Olá pessoal estou aqui para poder ajudar assim como eu que tive problemas com cliente hercules com itens em inglês
deu um trabalhão mas consegui fazer um cliente totalmente em pt-br e acredite para o Hercules Emulator
o que não é nada facil
Obs : para que seus itens fiquem em pt-br siga esses passos
na pasta do seu cliente tem uma pasta chamada System tudo o que você terá que fazer é simplesmente
deletar sua pasta e colocar essa no lugar!!
By: Adm : Magno....
Olá meus Amigos estive durante um bom tempo tentando resolver um sistema vip que funcionasse para o emulador Hercules
Depois de um bom tempo arrumando scripts consegui arrumar esse aqui que estava com defeito mas que agora depois de arrumado
está funcionando perfeitamente...
testei inclusive tem ai um screenshot
no mais espero estar Ajudando!!!
By mekoThe Soul Menhir slowly regenerates the SP of anyone sitting near it.
Make sure to change the map, x, y and the sprite.
Requires Hercules of April 8th 2017 or newer version
This script was made by me, for The Mana World + Evol.
License: public domain (CC0)
By MyriadFile Name: @botcheck
File Submitter: True Zeal
File Submitted: 30 Apr 2017
File Cateogry: Utility
A useful command for your Game Masters to help monitor problem "bot" maps.
the @whomap2 command on a list of specified maps. This allows you to
check classes as well as names, which could be useful for quickly
ignoring a character.
Requires configuration for maps you wish to have it run a check on.
//--- Sets the list of maps to run @whomap2 on setarray(.map$, "amatsu", // Note: Every entry excluding the last one must have a comma! "prontera", "odin_tem03" // Note: Last entry must never have a comma! );
You can "download" this file from its Pastebin location.
By RidleyI did this a while ago. In order to use this script you need Olrox new_reborn map
This script is no physical job changer. instead each spike of the star shaped map represents a path of the classes. You walk up there to change your job. Extended Job's are available from a normal npc in the middle.
Important: This script uses Euphys default herc job changer as a base.
- the script gives out a +7 novi weapon for each of the base classes (check line 355 to 392)
- it has some fancy warp portals, feel free to edit it to default
- even more fancy, ressource eating rotating waiting rooms for exit and entrance (default prontera) which can be disabled as well (line 502 and 530)
- autobuff inc agi +10 for 1 minute each time you walk directly through the middle (or spawn)
- you can NOT skip rebirth. 1st job -> 2nd -> rebirth -> trans ->3rd
- it also has support for rebellion, but rebellion is not yet added on herc so you might want to disable it
This script was already tested live and worked fine. I did some edits tho but never optimized it since I lost interest in it. However, I think its something different from default Job Masters
Note: I really recommend to read through it and check for all options.
By RidleyGive an item to all players online
@itemall <Item ID> <Item Amount>
Give an item to all players on the same map as you
@itemmap <Item ID> <Item Amount>
Using some old code from Emistry for this, thank you for your permission to use it.
By Ridleyusage: @ip <Player Name>
Unlike @sameip, this is meant to check a single player
config: use on players (gms) with same User Group as yourself yes/no
Do not redistribute or sell this file.
Player not found/online
[Utility] Extra Mob Drops
So what exactly is this script?
Allows Extra drops on specified mob (Zeny, Item, CashPoints) based on certain drop rate %.
Edit the "OnInit:" of values to get extra items / zeny / cashpoints upon killing a certain mob you specified.
Item: Red Potion (501)
Amount of Red Potion: 6
Enjoy Hercules! (PS: Also works for rAthena xD)
By Aeromesi[Add-On] Recent | Favorite Warps (Euphy's Warper)
What exactly is the Recent and Favorite addition to Euphy's Warper?
It's exactly what it sounds like.
You can choose from 5 Most Recent locations you have Warped to.
You can choose to [save] or [select] your Favorite Warps.
Your Favorite Warps are saved by saving your Most Current Recent Warps list.
It's a straight sample from our Public Github in "..npc/custom/warper.txt" (Just so you know what to copy and paste if you have warper.txt enabled.)
[Added Feature] Restricted @warp
So what exactly is my Alternative @warp command?
Here's a description:
// Alternative @warp// You cannot @warp to a certain spot over and over, after x amount of attempts you're banned from using @warp// A GM will have to use @unblockwarp and select the player that is blocked and unblock them.// Version 1.0// Idea to make this into an alternative warp was from my friend IeYasuru who made the original base of this script which was an NPC whispering system.// Simply converted the script from NPC WHISPERING to @commands with Hercules optimization and standardization.// Created by Aeromesi & IeYasuru
By Aeromesi[Dynamic Shop Controller System 1.0]
So what exactly is my Dynamic Shop Controller System?
You have 5 save slots.
@saveshop (saves your shop with designated name).
@editshop to edit the current shop you're loaded on.
@loadshop to swap between other shops as you please.
If you're editing any items in the shop a player can't purchase from the NPC until you make finishing touches, if you disconnect while in edit mode it'll reset and the player will be able to access the shop again (Notice debug in your Map-Server Console). You can completely disable the shop incase you want to make a whole bunch of edits, control the max amount of items in the shop, check the item prices and amounts inside of @editshop, the item ID's/Amounts given and the Cost for each item (Will be able to switch out currencies like zeny, kafra, cash, custom in the future) at the moment it's set to Cash Points. So let's say you want to bring your summer shop back in winter, @loadshop, select the summer shop you hypothetically made a viola, summer headgears you missed out on in winter you got a chance to get again with the same shop.
I hope you guy's enjoy! Leave me any feedback or suggestions!
[CMD] @callmonster || @callmonedit
So, what exactly is the @callmonster and @callmonedit command
Basic definition of this script:
Card Summoning System via @commands. What's intended is they use a Card, like if they have a Lunatic Card, they would type @callmonster 1063, which would then consume the specified Lunatic Card, as well as the items used to summon the Lunatic. A cool way to use your extra cards? I also included @callmonedit so you can edit the Item ID and Item Amount required for summoning a monster with your cards, designed for GM use.
I hope you guys enjoy, someone posted the script, and I decided to take a look, fix it, and present it with a fresh, new design as I think it was intended to be. If you come across any errors, don't be afraid to PM me or post right in this the Support Topic for this release.
[CMD] @floatingrates - @hourlyrates
@floatingrates - Initiate your Floating Rates (Default Base/Job multiplier is 2x, but you can edit the multipliers if you want it to be like a triple EXP event or something like that too!)
When Floating Rates begin it will show total time that the rates have been increased for so you know a general idea of how long your floating rates have been going on for so you can either let it keep going or stop it.
@hourlyrates - Input the total amount of hours you want your Hourly Floating Rates to go on for. Can also edit the multipliers inside this command also, will show total time it has been going on for also. Type @hourlyrates and or @floatingrates while Floating Rates is active to disable it. When you set the hours (600 total hours, aka 25 days is the max Hercules supports for this type of script) you can reset the hourly timer and input a new amount of hours instead, just incase you made a typo or you want it to go on longer.
These commands are non-conflicting, if you enable @floatingrates and try typing @hourlyrates, it will ask if you want to disable your Floating Rates.
By Ridley@autores <mapname> < X coordinate> < Y coordinate>
eg. @autores prontera 150 150 <-- will revive players at prontera 150/150
Use it for your events, races or whatever
only players on the given map are affected. If you set "prontera" as map, only players which die there will be revived. If you set pay_dun00, only players there are affected and so on..
It has a 5 second cooldown till it revives you. This is set in line 57 (sleep2 5000;)
second use of @autores will disable it again
@autorescheck tells you if the system is enabled or disabled
Works only at one map at the same time
Players are able to click on the Ores items to refine the selected equipment. They can refine their Equipment at anywhere anytime they want.
Based on requirement of Weapon Level and Type, different ores might be needed as well as Zeny.
By EmistryDescription :
Players are able to click on the Enchant items to provide custom bonus to the selected equipment.
Varies of bonus could be done especially use together with a *getequippedon script command to provide a wide range of bonuses.
The current items and bonuses display in the video is just a sample for demo.
The origin of the idea come from Diablo and 張阿神.
By KirieZThis is a configurable refiner that I made after reading the request from this topic.
It contains the following options (all of them configurable):
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.
By malufettTool for generating HP/SP table for Hercules 'job_db.conf'
1. eA Formula
- Generate tables using the old and bug/OP formula of eA
- Generate tables using the sequential format(2,4,6...)
3. Custom Formula
- 3.0 .NET Framework
By Yoh AsakuraChange Gender Script
A simple script that changes the character's sex.
It's possible to define a price to change the sex in the script.
Script edited and translated by Yoh Asakura.
By Yoh AsakuraIP Ban Script
A simple and useful script that allows GM's to Ban someone's IP from the server.
It's also possible to put a reason why you want to ban that IP.
The IP and the reason (if any) will be at your database, in "ipbanlist" table.
Original author: unknown
Script edited by: Yoh Asakura.
By ransThis is a Simple Code Improved by me and Originally the method was from Brian.
Random bot check will trigger when killing a mob.
25% Chance to trigger when killing a Mob.
If already passed the bot check. you will not be check again in the future. (Until you Recon)
You have 3 Chance to prove that you are not Bot.
If you fail. 10days of jail time.
If you reconnect during the checkpoint. you will return in checkpoint after reconnecting.
I have tested this in my server and works fine to me.
If you found bug. Please report it
PS: Sorry for my Grammar and Messy look Script
By HappySo basically its holidays so a lot of servers will be giving tons of freebies and stuff, and probably will have to make the same npc the next month and then again next month, so I made this npc to easily remake the same npc over and over.
Ability to reset the redeemed freebie variable/tracker for next time's freebies.
You can easily edit the npc, change the items etc for next occasion. And keep the old array of items for next year(if you will give them again next yr).
So yeah honestly its pretty simple, any scripter can easily do but sometimes you get lazy, I get lazy and I want to just download something that does what I want to do lol and spend more time doing something else.
I tested the initial release, however please test it before implementing on your server.