Plugin Collections

All plugins compile fine but..

Code:
1>------ Operación Generar iniciada: proyecto: restock, configuración: Release Win32 ------1>Compilación iniciada a las 23-04-2015 15:45:24.1>InitializeBuildStatus:1>  Aplicando tarea Touch a "restockrestock.unsuccessfulbuild".1>ClCompile:1>  restock.c1>..srcpluginsrestock.c(45): error C2143: error de sintaxis : falta ';' delante de 'tipo'1>..srcpluginsrestock.c(47): error C2065: 'index' : identificador no declarado1>..srcpluginsrestock.c(48): error C2065: 'index' : identificador no declarado1>1>ERROR al compilar.1>1>Tiempo transcurrido 00:00:00.28========== Generar: 0 correctos, 1 incorrectos, 0 actualizados, 0 omitidos ==========
 
@@mrlongshen there's no crash on the critical magic, only weird bug (drops twice)
default_biggrin.png


 
Hello @@Dastgir


If you can update this one and include in the collection?

 

Code:
[URL="https://boardtest.herc.ws/topic/2611-identifyall/%C2%A0"]http://herc.ws/board/topic/2611-identifyall/ [/URL]
 
1>  restock.c
1>..srcpluginsrestock.c(45): error C2143: 語法錯誤 : 遺漏 ';' (在 '型別' 之前)
1>..srcpluginsrestock.c(47): error C2065: 'index' : 未宣告的識別項
1>..srcpluginsrestock.c(48): error C2065: 'index' : 未宣告的識別項

 
Last edited by a moderator:
1>  restock.c

1>..srcpluginsrestock.c(45): error C2143: 語法錯誤 : 遺漏 ';' (在 '型別' 之前)

1>..srcpluginsrestock.c(47): error C2065: 'index' : 未宣告的識別項

1>..srcpluginsrestock.c(48): error C2065: 'index' : 未宣告的識別項
Please post on respective topic, it's been fixed there.
 
after i recompiled it and no errors found, but i got this error when i run the server (error found in the map-server)

2hzicjl.jpg


 
@@Zhao Chow

seems like you don't have HPMHooking enabled, and it is needed to run plugins

 
afk.c: In function ‘plugin_init’:afk.c:121:2: warning: implicit declaration of function ‘GET_SYMBOL’ [-Wimplicit-function-declaration]  iMalloc = GET_SYMBOL("iMalloc");  ^afk.c:121:10: warning: assignment makes pointer from integer without a cast [enabled by default]  iMalloc = GET_SYMBOL("iMalloc");          ^afk.c:122:7: warning: assignment makes pointer from integer without a cast [enabled by default]  clif = GET_SYMBOL("clif");       ^afk.c:123:9: warning: assignment makes pointer from integer without a cast [enabled by default]  script = GET_SYMBOL("script");         ^afk.c:124:8: warning: assignment makes pointer from integer without a cast [enabled by default]  skill = GET_SYMBOL("skill");        ^afk.c:125:5: warning: assignment makes pointer from integer without a cast [enabled by default]  pc = GET_SYMBOL("pc");     ^afk.c:126:9: warning: assignment makes pointer from integer without a cast [enabled by default]  strlib = GET_SYMBOL("strlib");         ^afk.c:127:9: warning: assignment makes pointer from integer without a cast [enabled by default]  battle = GET_SYMBOL("battle");         ^afk.c:128:8: warning: assignment makes pointer from integer without a cast [enabled by default]  timer = GET_SYMBOL("timer");        ^afk.c:129:6: warning: assignment makes pointer from integer without a cast [enabled by default]  map = GET_SYMBOL("map");      ^afk.c:130:9: warning: assignment makes pointer from integer without a cast [enabled by default]  status = GET_SYMBOL("status");         ^afk.c:131:10: warning: assignment makes pointer from integer without a cast [enabled by default]  channel = GET_SYMBOL("channel");          ^/tmp/ccexv4eh.o: In function `plugin_init':/root/Hercules/src/plugins/afk.c:121: undefined reference to `GET_SYMBOL'/root/Hercules/src/plugins/afk.c:122: undefined reference to `GET_SYMBOL'/root/Hercules/src/plugins/afk.c:123: undefined reference to `GET_SYMBOL'/root/Hercules/src/plugins/afk.c:124: undefined reference to `GET_SYMBOL'/root/Hercules/src/plugins/afk.c:125: undefined reference to `GET_SYMBOL'/tmp/ccexv4eh.o:/root/Hercules/src/plugins/afk.c:126: more undefined references to `GET_SYMBOL' followcollect2: error: ld returned 1 exit statusmake[1]: *** [../../plugins/afk.so] Error 1make[1]: Leaving directory `/root/Hercules/src/plugins'make: *** [plugins] Error 2 
i got this error 
 
afk.c: In function ‘plugin_init’:afk.c:121:2: warning: implicit declaration of function ‘GET_SYMBOL’ [-Wimplicit-function-declaration] iMalloc = GET_SYMBOL("iMalloc"); ^afk.c:121:10: warning: assignment makes pointer from integer without a cast [enabled by default] iMalloc = GET_SYMBOL("iMalloc"); ^afk.c:122:7: warning: assignment makes pointer from integer without a cast [enabled by default] clif = GET_SYMBOL("clif"); ^afk.c:123:9: warning: assignment makes pointer from integer without a cast [enabled by default] script = GET_SYMBOL("script"); ^afk.c:124:8: warning: assignment makes pointer from integer without a cast [enabled by default] skill = GET_SYMBOL("skill"); ^afk.c:125:5: warning: assignment makes pointer from integer without a cast [enabled by default] pc = GET_SYMBOL("pc"); ^afk.c:126:9: warning: assignment makes pointer from integer without a cast [enabled by default] strlib = GET_SYMBOL("strlib"); ^afk.c:127:9: warning: assignment makes pointer from integer without a cast [enabled by default] battle = GET_SYMBOL("battle"); ^afk.c:128:8: warning: assignment makes pointer from integer without a cast [enabled by default] timer = GET_SYMBOL("timer"); ^afk.c:129:6: warning: assignment makes pointer from integer without a cast [enabled by default] map = GET_SYMBOL("map"); ^afk.c:130:9: warning: assignment makes pointer from integer without a cast [enabled by default] status = GET_SYMBOL("status"); ^afk.c:131:10: warning: assignment makes pointer from integer without a cast [enabled by default] channel = GET_SYMBOL("channel"); ^/tmp/ccexv4eh.o: In function `plugin_init':/root/Hercules/src/plugins/afk.c:121: undefined reference to `GET_SYMBOL'/root/Hercules/src/plugins/afk.c:122: undefined reference to `GET_SYMBOL'/root/Hercules/src/plugins/afk.c:123: undefined reference to `GET_SYMBOL'/root/Hercules/src/plugins/afk.c:124: undefined reference to `GET_SYMBOL'/root/Hercules/src/plugins/afk.c:125: undefined reference to `GET_SYMBOL'/tmp/ccexv4eh.o:/root/Hercules/src/plugins/afk.c:126: more undefined references to `GET_SYMBOL' followcollect2: error: ld returned 1 exit statusmake[1]: *** [../../plugins/afk.so] Error 1make[1]: Leaving directory `/root/Hercules/src/plugins'make: *** [plugins] Error 2i got this error
Yes, HPM recently got update, I need to update all plugins to reflect those changes.If you are in hurry,

Removing all GET_SYMBOL lines will fix it.

 
Last edited by a moderator:
Update:

 All Plugins Updated to reflect recent changes
default_smile.png


@

Edit:

Travis Report has been added to repo, so that I would get to know of crash upon runtime(or compile warnings/errors)

 
Last edited by a moderator:
24-08-2015 Update:

Added @monster_nde command which does not give drops/exp on death

Added itemmap plugin.

28-08-2015 Update:

Added SecuritySystem(You also need NPC , look into npc folder for it.)

 
24-08-2015 Update:

Added @monster_nde command which does not give drops/exp on death

Added itemmap plugin.

28-08-2015 Update:

Added SecuritySystem(You also need NPC , look into npc folder for it.)
@@Dastgir what if a player forgets his password? how can he/she retrieve it again?

 
They would need to request to admin,

Cannot reset ingame.

If they can reset ingame, then there's no meaning of security
default_tongue.png


 
[Error]: HPM:AddHook Fail! 'Security' tried to hook to 'pc->dropitem' but HPMHooking is disabled!
[Error]: HPM:AddHook Fail! 'Security' tried to hook to 'trade->request' but HPMHooking is disabled!
[Error]: HPM:AddHook Fail! 'Security' tried to hook to 'gstorage->open' but HPMHooking is disabled!
[Error]: HPM:AddHook Fail! 'Security' tried to hook to 'gstorage->additem' but HPMHooking is disabled!
[Error]: HPM:AddHook Fail! 'Security' tried to hook to 'gstorage->delitem' but HPMHooking is disabled!
[Error]: HPM:AddHook Fail! 'Security' tried to hook to 'pc->delitem' but HPMHooking is disabled!
[Error]: HPM:AddHook Fail! 'Security' tried to hook to 'npc->selllist' but HPMHooking is disabled!
[Error]: HPM:AddHook Fail! 'Security' tried to hook to 'npc->buylist' but HPMHooking is disabled!
[Error]: HPM:AddHook Fail! 'Security' tried to hook to 'clif->openvendingreq' but HPMHooking is disabled!
[Error]: HPM:AddHook Fail! 'Security' tried to hook to 'guild->invite' but HPMHooking is disabled!
[Error]: HPM:AddHook Fail! 'Security' tried to hook to 'guild->leave' but HPMHooking is disabled!

Do I have to enable the "HPMHooking", in plugin.conf fpr Security?
 

 
Back
Top