Plugin Collections

@Dastgir, hit-delay problem.

When you are on pvp room and you got killed by somebody (tested on meelee) and pressed return to the last save point, It gets buggy. You will have notification "Please Wait** seconds before warping" but you cannot press the return to the last save point anymore. You have to alt+f4.

 
Added 'sellitem2'

It is similar to sellitem, but you can define cards and refines in it.

Syntax:

sellitem2 <Item_ID>,identify,refine,attribute,card1,card2,card3,card4{,price};
nice one
default_biggrin.png
what about Annie's plugin?
default_tongue.png
They are coming *soon*

Added all 3, check the repo
default_biggrin.png


 
Hi, I just tried to add this security plugin but, I have no luck. Maybe, anyone can correct me If I have wrong step I made or missed.

Added security.c on src/plugins/
Added and activated it on conf/plugins.conf 

plugins_list: [
    /* Enable HPMHooking when plugins in use rely on Hooking */
    "HPMHooking",
    //"db2sql",
    //"sample",
    //"other",
    "security",
]
 
Added security on src/plugins/Makefile.in
 
MYPLUGINS = security 

run command make plugins
 
Server stop and start No errors but, in the game @security unknown command
 
Hi there could you please update the plugin costume item? it has error on line 400 error saying something like
"addBattleConf required 4 macro only 3 found"
TY

 
Please update the hit-delay to latest hercules

hit-delay.c: In function ‘server_preinit’:
hit-delay.c:226:70: error: macro "addBattleConf" requires 4 arguments, but only 3 given
  addBattleConf("warp_delay",go_warp_delay_bc, go_warp_delay_return_bc);
                                                                      ^
hit-delay.c:226:2: error: ‘addBattleConf’ undeclared (first use in this function)
  addBattleConf("warp_delay",go_warp_delay_bc, go_warp_delay_return_bc);
  ^
hit-delay.c:226:2: note: each undeclared identifier is reported only once for each function it appears in
hit-delay.c:227:74: error: macro "addBattleConf" requires 4 arguments, but only 3 given
  addBattleConf("warp_delay_mob",go_warp_delay_bc, go_warp_delay_return_bc);
                                                                          ^
hit-delay.c:228:74: error: macro "addBattleConf" requires 4 arguments, but only 3 given
  addBattleConf("warp_delay_pet",go_warp_delay_bc, go_warp_delay_return_bc);
                                                                          ^
hit-delay.c:229:76: error: macro "addBattleConf" requires 4 arguments, but only 3 given
  addBattleConf("warp_delay_homun",go_warp_delay_bc, go_warp_delay_return_bc);
                                                                            ^
hit-delay.c:230:75: error: macro "addBattleConf" requires 4 arguments, but only 3 given
  addBattleConf("warp_delay_merc",go_warp_delay_bc, go_warp_delay_return_bc);
                                                                           ^
hit-delay.c:231:77: error: macro "addBattleConf" requires 4 arguments, but only 3 given
  addBattleConf("warp_delay_others",go_warp_delay_bc, go_warp_delay_return_bc);
                                                                             ^
make[1]: *** [../../plugins/hit-delay.so] Error 1
make[1]: Leaving directory `/home/willro/Hercules/src/plugins'
make: *** [plugins] Error 2

ExtendedVending too

ExtendedVending.c: In function ‘server_preinit’:
ExtendedVending.c:776:54: error: macro "addBattleConf" requires 4 arguments, but only 3 given
  addBattleConf("extended_vending",ev_bc, ev_return_bc);
                                                      ^
ExtendedVending.c:776:2: error: ‘addBattleConf’ undeclared (first use in this function)
  addBattleConf("extended_vending",ev_bc, ev_return_bc);
  ^
ExtendedVending.c:776:2: note: each undeclared identifier is reported only once for each function it appears in
ExtendedVending.c:777:55: error: macro "addBattleConf" requires 4 arguments, but only 3 given
  addBattleConf("show_item_vending",ev_bc, ev_return_bc);
                                                       ^
ExtendedVending.c:778:53: error: macro "addBattleConf" requires 4 arguments, but only 3 given
  addBattleConf("ex_vending_info",ev_bc, ev_return_bc);
                                                     ^
ExtendedVending.c:779:47: error: macro "addBattleConf" requires 4 arguments, but only 3 given
  addBattleConf("item_zeny",ev_bc, ev_return_bc);
                                               ^
ExtendedVending.c:780:47: error: macro "addBattleConf" requires 4 arguments, but only 3 given
  addBattleConf("item_cash",ev_bc, ev_return_bc);
                                               ^
make[1]: *** [../../plugins/ExtendedVending.so] Error 1
make[1]: Leaving directory `/home/willro/Hercules/src/plugins'


Afk too


Code:
afk.c: In function ‘server_preinit’:
afk.c:140:67: error: macro "addBattleConf" requires 4 arguments, but only 3 given
  addBattleConf("afk_timeout",afk_timeout_adjust,afk_timeout_return);
                                                                   ^
afk.c:140:2: error: ‘addBattleConf’ undeclared (first use in this function)
  addBattleConf("afk_timeout",afk_timeout_adjust,afk_timeout_return);
  ^
afk.c:140:2: note: each undeclared identifier is reported only once for each function it appears in
make[1]: *** [../../plugins/afk.so] Error 1
make[1]: Leaving directory `/home/willro/Hercules/src/plugins'
make: *** [plugins] Error 2

 
Last edited by a moderator:
Please update the hit-delay to latest hercules


hit-delay.c: In function ‘server_preinit’:
hit-delay.c:226:70: error: macro "addBattleConf" requires 4 arguments, but only 3 given
  addBattleConf("warp_delay",go_warp_delay_bc, go_warp_delay_return_bc);
                                                                      ^
hit-delay.c:226:2: error: ‘addBattleConf’ undeclared (first use in this function)
  addBattleConf("warp_delay",go_warp_delay_bc, go_warp_delay_return_bc);
  ^
hit-delay.c:226:2: note: each undeclared identifier is reported only once for each function it appears in
hit-delay.c:227:74: error: macro "addBattleConf" requires 4 arguments, but only 3 given
  addBattleConf("warp_delay_mob",go_warp_delay_bc, go_warp_delay_return_bc);
                                                                          ^
hit-delay.c:228:74: error: macro "addBattleConf" requires 4 arguments, but only 3 given
  addBattleConf("warp_delay_pet",go_warp_delay_bc, go_warp_delay_return_bc);
                                                                          ^
hit-delay.c:229:76: error: macro "addBattleConf" requires 4 arguments, but only 3 given
  addBattleConf("warp_delay_homun",go_warp_delay_bc, go_warp_delay_return_bc);
                                                                            ^
hit-delay.c:230:75: error: macro "addBattleConf" requires 4 arguments, but only 3 given
  addBattleConf("warp_delay_merc",go_warp_delay_bc, go_warp_delay_return_bc);
                                                                           ^
hit-delay.c:231:77: error: macro "addBattleConf" requires 4 arguments, but only 3 given
  addBattleConf("warp_delay_others",go_warp_delay_bc, go_warp_delay_return_bc);
                                                                             ^
make[1]: *** [../../plugins/hit-delay.so] Error 1
make[1]: Leaving directory `/home/willro/Hercules/src/plugins'
make: *** [plugins] Error 2

ExtendedVending too

ExtendedVending.c: In function ‘server_preinit’:
ExtendedVending.c:776:54: error: macro "addBattleConf" requires 4 arguments, but only 3 given
  addBattleConf("extended_vending",ev_bc, ev_return_bc);
                                                      ^
ExtendedVending.c:776:2: error: ‘addBattleConf’ undeclared (first use in this function)
  addBattleConf("extended_vending",ev_bc, ev_return_bc);
  ^
ExtendedVending.c:776:2: note: each undeclared identifier is reported only once for each function it appears in
ExtendedVending.c:777:55: error: macro "addBattleConf" requires 4 arguments, but only 3 given
  addBattleConf("show_item_vending",ev_bc, ev_return_bc);
                                                       ^
ExtendedVending.c:778:53: error: macro "addBattleConf" requires 4 arguments, but only 3 given
  addBattleConf("ex_vending_info",ev_bc, ev_return_bc);
                                                     ^
ExtendedVending.c:779:47: error: macro "addBattleConf" requires 4 arguments, but only 3 given
  addBattleConf("item_zeny",ev_bc, ev_return_bc);
                                               ^
ExtendedVending.c:780:47: error: macro "addBattleConf" requires 4 arguments, but only 3 given
  addBattleConf("item_cash",ev_bc, ev_return_bc);
                                               ^
make[1]: *** [../../plugins/ExtendedVending.so] Error 1
make[1]: Leaving directory `/home/willro/Hercules/src/plugins'


Afk too


afk.c: In function ‘server_preinit’:
afk.c:140:67: error: macro "addBattleConf" requires 4 arguments, but only 3 given
  addBattleConf("afk_timeout",afk_timeout_adjust,afk_timeout_return);
                                                                   ^
afk.c:140:2: error: ‘addBattleConf’ undeclared (first use in this function)
  addBattleConf("afk_timeout",afk_timeout_adjust,afk_timeout_return);
  ^
afk.c:140:2: note: each undeclared identifier is reported only once for each function it appears in
make[1]: *** [../../plugins/afk.so] Error 1
make[1]: Leaving directory `/home/willro/Hercules/src/plugins'
make: *** [plugins] Error 2

Hi there this fix my problem (But im not so sure if this is the right way)

every error u see is about addbattleconf, for example this one.

 
addBattleConf("warp_delay",go_warp_delay_bc, go_warp_delay_return_bc);
you need to add "false" on the last part just like this
addBattleConf("warp_delay",go_warp_delay_bc, go_warp_delay_return_bc,false);
goodluck
default_smile.png

 
Please update the hit-delay to latest hercules


hit-delay.c: In function ‘server_preinit’:
hit-delay.c:226:70: error: macro "addBattleConf" requires 4 arguments, but only 3 given
  addBattleConf("warp_delay",go_warp_delay_bc, go_warp_delay_return_bc);
                                                                      ^
hit-delay.c:226:2: error: ‘addBattleConf’ undeclared (first use in this function)
  addBattleConf("warp_delay",go_warp_delay_bc, go_warp_delay_return_bc);
  ^
hit-delay.c:226:2: note: each undeclared identifier is reported only once for each function it appears in
hit-delay.c:227:74: error: macro "addBattleConf" requires 4 arguments, but only 3 given
  addBattleConf("warp_delay_mob",go_warp_delay_bc, go_warp_delay_return_bc);
                                                                          ^
hit-delay.c:228:74: error: macro "addBattleConf" requires 4 arguments, but only 3 given
  addBattleConf("warp_delay_pet",go_warp_delay_bc, go_warp_delay_return_bc);
                                                                          ^
hit-delay.c:229:76: error: macro "addBattleConf" requires 4 arguments, but only 3 given
  addBattleConf("warp_delay_homun",go_warp_delay_bc, go_warp_delay_return_bc);
                                                                            ^
hit-delay.c:230:75: error: macro "addBattleConf" requires 4 arguments, but only 3 given
  addBattleConf("warp_delay_merc",go_warp_delay_bc, go_warp_delay_return_bc);
                                                                           ^
hit-delay.c:231:77: error: macro "addBattleConf" requires 4 arguments, but only 3 given
  addBattleConf("warp_delay_others",go_warp_delay_bc, go_warp_delay_return_bc);
                                                                             ^
make[1]: *** [../../plugins/hit-delay.so] Error 1
make[1]: Leaving directory `/home/willro/Hercules/src/plugins'
make: *** [plugins] Error 2

ExtendedVending too

ExtendedVending.c: In function ‘server_preinit’:
ExtendedVending.c:776:54: error: macro "addBattleConf" requires 4 arguments, but only 3 given
  addBattleConf("extended_vending",ev_bc, ev_return_bc);
                                                      ^
ExtendedVending.c:776:2: error: ‘addBattleConf’ undeclared (first use in this function)
  addBattleConf("extended_vending",ev_bc, ev_return_bc);
  ^
ExtendedVending.c:776:2: note: each undeclared identifier is reported only once for each function it appears in
ExtendedVending.c:777:55: error: macro "addBattleConf" requires 4 arguments, but only 3 given
  addBattleConf("show_item_vending",ev_bc, ev_return_bc);
                                                       ^
ExtendedVending.c:778:53: error: macro "addBattleConf" requires 4 arguments, but only 3 given
  addBattleConf("ex_vending_info",ev_bc, ev_return_bc);
                                                     ^
ExtendedVending.c:779:47: error: macro "addBattleConf" requires 4 arguments, but only 3 given
  addBattleConf("item_zeny",ev_bc, ev_return_bc);
                                               ^
ExtendedVending.c:780:47: error: macro "addBattleConf" requires 4 arguments, but only 3 given
  addBattleConf("item_cash",ev_bc, ev_return_bc);
                                               ^
make[1]: *** [../../plugins/ExtendedVending.so] Error 1
make[1]: Leaving directory `/home/willro/Hercules/src/plugins'


Afk too


afk.c: In function ‘server_preinit’:
afk.c:140:67: error: macro "addBattleConf" requires 4 arguments, but only 3 given
  addBattleConf("afk_timeout",afk_timeout_adjust,afk_timeout_return);
                                                                   ^
afk.c:140:2: error: ‘addBattleConf’ undeclared (first use in this function)
  addBattleConf("afk_timeout",afk_timeout_adjust,afk_timeout_return);
  ^
afk.c:140:2: note: each undeclared identifier is reported only once for each function it appears in
make[1]: *** [../../plugins/afk.so] Error 1
make[1]: Leaving directory `/home/willro/Hercules/src/plugins'
make: *** [plugins] Error 2

Hi there this fix my problem (But im not so sure if this is the right way)

every error u see is about addbattleconf, for example this one.

 
addBattleConf("warp_delay",go_warp_delay_bc, go_warp_delay_return_bc);
you need to add "false" on the last part just like this
addBattleConf("warp_delay",go_warp_delay_bc, go_warp_delay_return_bc,false);
goodluck
default_smile.png
Im experiencing bug with the hit-delay when you die and go to save point is not work and you still in 5 seconds delay.

 
Please update the hit-delay to latest hercules
Im experiencing bug with the hit-delay when you die and go to save point is not work and you still in 5 seconds delay.
I believe that is normal is the normal behavior even in the first version of hit-delay plugin?
Before is not like that. Only being hit for the 5 sec delay. Not after you died still counting 5 sec then need to reconnect to go last save point.

 
Directly editing the battle conf variables from plugin is suggested until I get time to update all plugins at once.

 
Directly editing the battle conf variables from plugin is suggested until I get time to update all plugins at once.
Hi dastgir i was trying to do that but i am not sure for extended vending system if which to edit inside the file
edit i've just re

d your comment on other post

 
Last edited by a moderator:
Hello,

I get a [Warning] when use dispbottom2:

PmHK8GH.png

The message shows in color, but appear a warning.

I used the follow format: 

dispbottom2 0xFF0000,"Message";

When I put the color in " " (dispbottom2 "0xFF00002","Message";), no warning appears, but the message color is always white.

EDIT:

Using latest Herc git.

 
Last edited by a moderator:
Hello,

I get a [Warning] when use dispbottom2:

PmHK8GH.png

The message shows in color, but appear a warning.

I used the follow format: 

dispbottom2 0xFF0000,"Message";

When I put the color in " " (dispbottom2 "0xFF00002","Message";), no warning appears, but the message color is always white.

EDIT:

Using latest Herc git.
Currently, color should be in quotes, and format is 0xRRGGBB,
 
Back
Top