It's because the plugin (https://github.com/dastgirp/HPM-Plugins/blob/master/src/plugins/npc-duplicate.c) has changed it's syntax
So, do the following in campfire.txt, Change
duplicatenpc("Campfire#CF", "Campfire", sprintf("CF_%d", .@curr_char_id), .@mapname$, .@mapx, .@mapy, 0);
to
duplicatenpc("Campfire#CF", sprintf("Campfire#CF_%d", .@curr_char_id), .@mapname$, .@mapx, .@mapy, 0);
Update 2023-10-01 - latest versions can be found there:
https://discord.gg/p2kvabm
https://ragnarokservice.top/
Download Links (~4.5GB):
Download from Mirror #1
or Download from Mirror #2
or Download from Mirror #3
Important: Please make someone mirror these files. Or make a donation to me and I will make a mirror by myself.
What is that?
This is a newbie package that contains 1 click solution for launching Hercules emulator with a single click.
This package only for education. Do not use this package anywhere in production.
This package good demonstration of how everything should be configured by yourself to make it work.
We can find here a good guide on how to configure everything by yourself:
http://herc.ws/board/topic/16521-how-to-setup-offline-server-for-personal-development-use/
What inside the package?
You have 7 folders:
01_emulator = here emulators (pre-compiled and pre-configured) for RENEWAL or classic PRERE mechanics
02_client_side = here is your client-side what need to copy-paste to your clean kRO client
03_openserver = here is Open Server (MySQL server where stored your game database and which required by the emulator)
04_useful_tools = here are different useful tools that you usually will need when will work with the emulator or databases
05_misc_repos = here are repositories from which it has built the client-side, and exe patched.
06_cmder = this is a tool will be good for you to update the emulator to the latest version (and other files in misc_repos)
07_clean_kRO_client = this is a clean kRO client (2018 somewhere in march updated), need for you to run your own RO copy.
How to use all of this?
extract files inside 01_emulator, 02_client_side, 03_openserver, 07_clean_kRO_client
Now, what emulator version do you need? Latest (current official servers) (renewal mechanic (suras, dorams, etc classes)) or classic PRE-re (champion, high wizard, high priest)?
Now if for example, you use PRERE mechanic (where is high wizard class, paladin, lord knights, and no 3rd classes) your steps are next:
a.) go to 02_client_side\FOR_PRERE_EMULATOR\
b.) select all files in this folder (FOR_PRERE_EMULATOR) and copy (CTLR+C)
c.) now go to 07_clean_kRO_client/clean_kRO_client/ folder and copy files here (overwrite if windows explorer will ask to do that).
d.) now you need to run OpenServer (it's a server that stores all your player's data inside the database, required by the emulator) and run it.
e.) Click on Red Flag -> Run the server, make sure in your tray you got Green Flag.
f.) Now go to 01_emulator\hercules_PRERE\ and run: run-server.bat
g.) Now go to your 07_clean_kRO_client/clean_kRO_client/ and run: 2018-04-18bRagexeRE_patched.exe
Your emulator, your database, and the client are running. Now you can try to login into the game.
About Accounts:
How to make a GM account or how to access the database?
For that, you need to click on Green Flag -> Advanced -> PHPMYADMIN
In the login field of PHPMyAdmin enter: "root", in the password field enter nothing. (no password)
Press enter or login, and you will be in the database.
Databases well structured, so mostly always you need not edit too much there.
How to make a GM account?
You opened PHPMYADMIN.
Now select your database, and find in this database table called: "login"
Open this table, and find your account name, and you will see column "group_id".
Edit number in this column (group_id) to 99.
0-99 = your GM level. 99 = super admin with all privilegies, 0 = simple player with no privieleges.
Okay, everything working for me, what can I do next?
My short answer: http://herc.ws/board/
Read all topics, read different guides, read info about NPCs
Read info how to add NPCs, how to enable them, how to disable them
Read /doc/ folder files inside your emulator folder
Read wiki pages: https://herc.ws/wiki/Main_Page
Do experiments and do not afraid to destroy everything or remove them.
Just do mistakes and errors, it's how people learning something new, through mistakes.
DO not afraid to do a lot of mistakes and ask questions.
People will help you if you will try to help yourself first and will make good questions with some research before posting messages.
What tools can I use for making everything much easier for me?
Tools that you MUST have:
- Grf Editor
- Server Database Editor
- VSCode / Notepad++ / Sublime Text / Atom (any of these editors and select always C syntax highlight for opened files)
I want to play with my friends on my server
The solution that you will find by the link below is a terrible solution.
But usable for a small group of people who for education only want to launch their server ONLINE (for others).
This is SUPER bad, and never do that, (it's weird, after the only time you will understand why).
But if you still asking here is the link: https://gist.github.com/anacondaq/3eae8e4afb5d3c3880d08b95b2c54b78
===============================================
I want make a donation as a gesture of goodwill:
===============================================
Ask administrators here: http://herc.ws/board/
If they accept donations or not, I found no donation link.
Optionally you can always support the next guys:
4144 for massive help to the current RO scene at all by his hard work.
AnnieRuru for a lot of scripts, helping newbies on the forums
http://herc.ws/board/staff/ - all these guys
zackdreaver for a lot of efforts on a translation project
and to all guys, scripters, mappers, etc players who spend their time, their efforts just for you to make everything free what you see here.
Sorry if I didn’t mention someone.
I need help with <something>
There are a lot of talented developers, software developers, scripters, mappers, spriters, and many other people in this community.
Check the link: https://herc.ws/board/forum/49-paid-services/
Also, I accept all questions related to the basic newbie stuff on the topic.
Do not hesitate to ask even super stupid questions.
But before asking something, try to do a very simple thing:
Open google, in the search bar enter: "site:herc.ws"
Then write your question or problem
Hit enter and check all links that you see, maybe someone already solved your problem earlier.
Alternatively: if you will not be annoying, and will be respectful, I can help with some newbie stuff in the discord channel about the package: https://discord.gg/p2kvabm
Changelog:
- 2021-04-10 - build from scratch new version with everything new (2020 game client, latest translation, fixed bugs, tons of features and improvements)
- 20200419 - upgraded emulators, fixed problems with emulators, SQL files, and so on, upgraded full kRO, tools, misc Repos, client-files not touched. Added Discord channel for newbies support.
- 20200307 - updated emulator, recompiled, uploaded to google drive. Client or db-server files not changed.
- 20200203 - updated emulator, rest files not touched, if you want to upgrade your emulator, just download the 01_emulator.rar folder, and use it instead of your old one.
I'm Ukrainian in Ukraine. Russia has begun a war against my country, and doing right now is genocide. Destroying cities, even mine own, killing thousands of people, civil people, burning to the ground cities. If you wish to support me in this challenging time (I will try to re-route part of this money to people I know to help them under these awful conditions).
You can donate personally for me for my needs by the link: https://nowpayments.io/donation/anacondaq (crypto).
Alternatively, you can send money to help Ukraine citizens to the official fond https://www.comebackalive.in.ua/ or
to: https://help.gov.ua/
View File
[NPC] Campfire to regenerate HP/SP
Originally:
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)
Thanks, meko!
But, I thought to myself, well, that is wonderful, but why not make it portable?
The Idea:
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.
Mechanics :
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.
Installation :
To be able to use this script you need a plugin npc-duplicate.c https://github.com/dastgirp/HPM-Plugins/blob/master/src/plugins/npc-duplicate.c
Install & enable this plugin
This script uses a relatively new NPC sprite at the moment of writing this release. 4_BONFIRE
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,
LuaFiles514/Lua Files/Datainfo/jobName.lub
[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"); ">
Configuration:
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
.@nofire_distance = 5; // How far from other NPCs allowed to make fire.
.@fire_duration = 1000 * 60 * 3;// 3 minutes (How long will the Campfire last, in ms)
Submitter
Habilis
Submitted
06/22/18
Category
Utility
I decided to bring this topic alive over here in Hercules. I've gathered a few different other links that I found to be interesting and removed some that were dead and no longer had any use. Hopefully I'll be able to keep this topic as updated as I possibly can, of course with everyone's help!
________________________________________________________________________________________________ Updated: September 6th 2016 ________________________________________________________________________________________________
Important Links
Getting Started ~ http://ratemyserver....wnload_kROLinks
Ragnarok Online Patchers - http://nn.nachtwolke.com/dev/rsu/
Login Screen Generator
Login Screen Generator - http://rathena.org/t...gin_background/
Game Server Patchers
Thor Patcher - http://thor.aeomin.net/
Triad Patcher - http://www.nitroconc...d/index_eng.php
Control Panels
Triton Control Panel - http://herc.ws/board/topic/106-triton-control-panel-2-alpha/
Flux Control Panel for Hercules - https://github.com/HerculesWS/FluxCP
Ceres Control Panel - http://sourceforge.n.../cerescp/files/
StarGames Control Panel - https://github.com/Mysteries/StarGamesControlPanel
Guides & Information
Juda's Bible - http://supportmii.co.../JudasBible.pdf
Hercules' Wiki - http://herc.ws/wiki/Main_Page