Jump to content
  • 0
Sign in to follow this  
REKT

New to plugin system

Question

n2pc9Kc.png

 

Herc Git: Hercules (f975f0a

 

What Error is this? sorry to ask but i'm just new to Plugin system.

Edited by AnnieRuru
split topic from http://herc.ws/board/topic/3977-odin-server-side-manner/

Share this post


Link to post
Share on other sites

23 answers to this question

Recommended Posts

  • 0

/conf/plugins.conf

plugins_list: [	/* Enable HPMHooking when plugins in use rely on Hooking */	"HPMHooking",
always uncomment this line

Share this post


Link to post
Share on other sites
  • 0

 

/conf/plugins.conf

plugins_list: [	/* Enable HPMHooking when plugins in use rely on Hooking */	"HPMHooking",
always uncomment this line

 

Sorry about that just new to plugin check if mine is correct.

 

 

//====================================================//=       _   _                     _//=      | | | |                   | |//=      | |_| | ___ _ __ ___ _   _| | ___  ___//=      |  _  |/ _  '__/ __| | | | |/ _ / __|//=      | | | |  __/ | | (__| |_| | |  __/__ //=      _| |_/___|_|  ___|__,_|_|___||___///=//=            http://herc.ws/board///====================================================//== Topic Discussion ================================//== http://herc.ws/board/topic/549-introducing-hercules-plugin-manager///====================================================//== Description =====================================//The plugin system allows you to create customized scripts//outside of the source. These scripts won't conflict with any//future source updates - think of it as a /conf/import/ for the source.//==================================================== /* --------------- Format ---------------After you have listed your  plugin(s) in "quotations",you need to put in a comma, to separate the plugins.-----------------------------------------plugins_list: [	"example",	"other",]-----------------------------------------Please note that your scripts need to be savedin the .c (source code) extension and placed in the /src/plugin/ folder.-----------------------------------------*/plugins_list: [	/* Enable HPMHooking when plugins in use rely on Hooking */	"HPMHooking",	//"db2sql",	//"sample",	//"other",	"manner",] 

Share this post


Link to post
Share on other sites
  • 0

@@Vlync

recompile your whole server and plugins and all HPMHooking plugins to fix it.

@@hemagx

 

So after adding the plugin and recompile.

 

so everything should be recompile again? @_@ 

 

Bv4S22T.png

Share this post


Link to post
Share on other sites
  • 0

Not always, but happened here is your HPMHooking plugins is pretty old and some changes happened to the source, so now the size of some stuff are not synced anymore and need to recompile :)

Share this post


Link to post
Share on other sites
  • 0

Not always, but happened here is your HPMHooking plugins is pretty old and some changes happened to the source, so now the size of some stuff are not synced anymore and need to recompile :)

Oh i see, i'm just new to plugin system as i said. since i'm moving now to Herc.

And also everytime i add plugin i only recompile are those?

 

e.g manner,plugin-HPMHooking_char,HPMHooking_map and HPMHooking_log

 

That's all?

Share this post


Link to post
Share on other sites
  • 0

Nope, every time you change stuff in source not add plugins ^^

Alright, i got it it works now i just recompile everything except mapcache.

 

Thank you!

Share this post


Link to post
Share on other sites
  • 0

1>------ Rebuild All started: Project: movespeed_mf, Configuration: Release Win32 ------

1>  movespeed_mf.c

1>movespeed_mf.c(18): fatal error C1083: Cannot open include file: 'common/hercules.h': No such file or directory

========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========

 

Git Version: Hercules (f975f0a)

Edited by AnnieRuru
merge topic from http://herc.ws/board/topic/11153-movespeed-mapflag/

Share this post


Link to post
Share on other sites
  • 0

that's not really the latest one

although I have to agree with you that your version, should only have PCRE_SUPPORT error ... I already updated the wiki some time ago

 

https://github.com/HerculesWS/Hercules/tree/master/src/common

these is a hercules.h in this folder ...

Share this post


Link to post
Share on other sites
  • 0

also can

 

but you should check your emulator have hercules.h in your srccommon folder

Share this post


Link to post
Share on other sites
  • 0

then another possibility is you didn't follow step 15

http://herc.ws/wiki/Building_HPM_Plugin_for_MSVC#Step_15

 

Uhm..i don't think so, why would i success installing the plugin of Odin_Server side of Hemagx? if i don't follow the Step 15.

Pretty confuse.

 

Anways, let me see what can i have :P

 

@Outoftopic

About the dispbottomcolor 1.2

 

 

1>------ Rebuild All started: Project: dispbottomcolor, Configuration: Release Win32 ------
1>C:Program Files (x86)MSBuildMicrosoft.Cppv4.0Microsoft.CppBuild.targets(299,5): warning MSB8004: Output Directory does not end with a trailing slash.  This build instance will add the slash as it is required to allow proper evaluation of the Output Directory.
1>  dispbottomcolor.c
1>dispbottomcolor.c(54): warning C4013: 'GET_SYMBOL' undefined; assuming extern returning int
1>dispbottomcolor.c(54): warning C4047: '=' : 'script_interface *' differs in levels of indirection from 'int'
1>dispbottomcolor.c(55): error C2065: 'session' : undeclared identifier
1>dispbottomcolor.c(56): warning C4047: '=' : 'strlib_interface *' differs in levels of indirection from 'int'
1>dispbottomcolor.c(57): warning C4047: '=' : 'socket_interface *' differs in levels of indirection from 'int'
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========
 
Edited by Vlync

Share this post


Link to post
Share on other sites
  • 0

i would suggest to just clone the sample project and change it name :)

pretty annoying to do all the settings over and over again and you can mistake.

Share this post


Link to post
Share on other sites
  • 0

i would suggest to just clone the sample project and change it name :)

pretty annoying to do all the settings over and over again and you can mistake.

 

Uhm i'm confuse like what do you mean by clone? sorry new to this Hercules.

still messing up all new features of this engine.

 

Thx :D

Share this post


Link to post
Share on other sites
  • 0

well that something need a guide, when i have free time will put one.

however it's simple copy the sample plugin project files, change few paths, and TADA!

you have a project with everything ready in few seconds ^^

Share this post


Link to post
Share on other sites
  • 0

@@Vlync

well your posts has nothing to do with the original topic, just having problems installing

so I split your posts

 

so, I just tested out the method proposed by @@hemagx

 

... I think I upload them to wiki instead

http://herc.ws/wiki/Building_HPM_Plugin_for_MSVC#New_Method

 

I do think this method is a bit cleaner than the old one

I don't mind there are more steps for the older method,

but this new method compile in to the herculesvcproj-10 folder

instead the old method compile to hercules folder

it does looks neater

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

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