Make Plugin [Leaving Directory]

Thyr

New member
Messages
78
Points
0
Github
warcraftfrozen
Hello, I compile my server and i got this line 

PLUGIN HPMHooking_map
make[1]: Leaving directory `/root/Trunk/src/plugins'


after that the compiling didn't continue.

Help me pls.

 
Well, that means compile process is done, and it's leaving plugin directory now

Maybe if you have more plugins, you have edited Makefile to include those plugins.

 
Well, that means compile process is done, and it's leaving plugin directory now

Maybe if you have more plugins, you have edited Makefile to include those plugins.
After leaving the plugin directory. There's no more compile, but no warning that it stops.

then tried to start the emulator and it gets me error.

[Status]: HPM: Loaded plugin 'HPMHooking' (0.2) built with HPMHooking support.
[Fatal Error]: HPM:plugin_load: failed to load 'plugins/command.so' (error: plugins/command.so: cannot open shared object file: No such file or directory)!
[Status]: HPM: Loaded plugin 'HPMHooking' (0.2) built with HPMHooking support.
[Fatal Error]: HPM:plugin_load: failed to load 'plugins/command.so' (error: plugins/command.so: cannot open shared object file: No such file or directory)!
[Status]: HPM: Loaded plugin 'HPMHooking' (0.2) built with HPMHooking support.
[Fatal Error]: HPM:plugin_load: failed to load 'plugins/command.so' (error: plugins/command.so: cannot open shared object file: No such file or directory)!

Then I also tried adding my plugins in Makefile.in

this is the line right?

# This is only needed if you want to build your plugin through       #
#   'make plugins' or 'make all'. If you don't add it to this list,  #
#   you will still be able to build your plugin through              #
#   'make plugin.my_plugin'                                          #
#                                                                    #
# Note: DO NOT include the .c extension!!!                           #


MYPLUGINS = 


#                                                                    #
#########  DO NOT EDIT ANYTHING BELOW THIS LINE!!!  ##################
 
i Change it to this

# This is only needed if you want to build your plugin through #
# 'make plugins' or 'make all'. If you don't add it to this list, #
# you will still be able to build your plugin through #
# 'make plugin.my_plugin' #
# #
# Note: DO NOT include the .c extension!!! #

MYPLUGINS = command koe security fcp_bypass

# #
######### DO NOT EDIT ANYTHING BELOW THIS LINE!!! ##################

Then compiled the emulator it get me repeating compile this is the repeating when compiled. after editing the makefile.in in src/plugin/

Reconfiguring with options:
config.status: creating Makefile
config.status: creating src/common/Makefile
config.status: creating 3rdparty/mt19937ar/Makefile
config.status: creating 3rdparty/libconfig/Makefile
config.status: creating src/char/Makefile
config.status: creating src/login/Makefile
config.status: creating src/map/Makefile
config.status: creating src/plugins/Makefile
config.status: creating src/tool/Makefile
config.status: creating src/test/Makefile
config.status: creating tools/HPMHookGen/Makefile
config.status: creating tools/doxygen/Makefile
make[2]: warning: Clock skew detected. Your build may be incomplete.
make[2]: Leaving directory `/root/Trunk'
make[1]: Leaving directory `/root/Trunk/src/plugins'
make[1]: Entering directory `/root/Trunk/src/plugins'
make[1]: Warning: File `Makefile.in' has modification time 2.3e+03 s in the future
make[2]: Entering directory `/root/Trunk'
make[2]: Warning: File `src/plugins/Makefile.in' has modification time 2.3e+03 s in the future





 



conf/plugins.conf

plugins_list: [
/* Enable HPMHooking when plugins in use rely on Hooking */
"HPMHooking",
//"db2sql",
//"sample",
//"other",
//"hBG",
"command",
// "whosell",
"koe",
"security",
"fcp_bypass",


How can i compile the plugins? Typed make plugins

this thing pops out 

Code:
 make plugins
make: *** No rule to make target `plugins'.  Stop.
 
Last edited by a moderator:
La unica ocasion que me sucedio algo similar, es cuando descomprimí la carpeta en lugar de usar el GIT.
Cuando lo realizas de esa forma se ponen permisos de solo lectura.
Simplemente restaura los permisos.

Google Translator:
The only occasion that happened to me something similar, is when I unzipped the folder instead of using the GIT.
When you do it that way, you get read-only permissions.Simply restores the permissions.
Simply restores the permissions.

 
Back
Top