Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

createnavigationlua (no entry for mobs) #8

Open
tlacson7 opened this issue Apr 19, 2020 · 1 comment
Open

createnavigationlua (no entry for mobs) #8

tlacson7 opened this issue Apr 19, 2020 · 1 comment
Assignees

Comments

@tlacson7
Copy link

Im having issue, it did not add any mobs.

@MishimaHaruna MishimaHaruna self-assigned this Apr 19, 2020
@MishimaHaruna
Copy link
Member

It's working properly for me on the latest Hercules release. If I open navigation/navi_mov_krpri.lua after running the generator, I see the following:

-- File generated by the Hercules naviluagenerator plugin
-- http://herc.ws / http://github.com/HerculesWS/StaffPlugins
-- Last Change: 2020-04-19

Navi_Mob = {
	{
		"alberta",
		17104,
		300,
		1261,
		"Wild Rose",
		"WILD_ROSE",
		38,
		1572866,
	},
	{
		"alde_dun01",
		17105,
		300,
		1194,
		"Arclouze",
		"ARCLOUSE",
		59,
		2752772,
	},
(...)

I ran the generator with:

# Clone this repository if it's not already there
$ git clone https://github.com/HerculesWS/StaffPlugins.git staff-plugins
# Clone Hercules if it's not already there
$ git clone https://github.com/HerculesWS/Hercules.git hercules
# Go into the Hercules repository
$ cd hercules
# Copy or symlink the wanted plugin(s)
$ pushd src/plugins
$ ln -s ../../../staff-plugins/Haru/naviluagenerator/naviluagenerator.c ./
$ popd
# Configure and build Hercules
$ ./configure --disable-renewal
$ make sql -j9
# Build the plugin
$ make plugin.naviluagenerator
# Run Hercules loading the plugin
$ ./map-server --load-plugin naviluagenerator
# Run the generator once the map server is fully loaded
> server tools navigationlua

Did you use a different method to compile and run it? What OS and compiler did you use?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants