Jump to content
Dastgir

Plugin Collections

Recommended Posts

Hello @Dastgir, @itemmap_p and _g is not "clif->message" is not working its still showing the (get_type == 0) one.

Updated

Share this post


Link to post
Share on other sites

 

Hello @Dastgir, @itemmap_p and _g is not "clif->message" is not working its still showing the (get_type == 0) one.

Updated

 

Thank you!

Share this post


Link to post
Share on other sites

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};

Share this post


Link to post
Share on other sites

 

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 :D what about Annie's plugin? :P

Share this post


Link to post
Share on other sites

@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.

Share this post


Link to post
Share on other sites

 

 

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 :D what about Annie's plugin? :P

They are coming *soon*

Added all 3, check the repo :D

Share this post


Link to post
Share on other sites

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


 

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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

 

Edited by Will Su

Share this post


Link to post
Share on other sites

 

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 :)

Share this post


Link to post
Share on other sites

 

 

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 :)

 

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.

Share this post


Link to post
Share on other sites

 

 

 

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?

Share this post


Link to post
Share on other sites

 

 

 

 

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.

Share this post


Link to post
Share on other sites

Well not so sure about that.. we wait for the author or someone who knows very well the script.

Share this post


Link to post
Share on other sites

Hi anyone using the extended vending system right now? i'm having trouble running it. no error but it does not work ingame

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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

Edited by Ranz

Share this post


Link to post
Share on other sites

Hi there, @pk does not work - no error in map-server but in game nothing happens still not pvp on for both players use @pk
 

Share this post


Link to post
Share on other sites

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.

Edited by Easycore

Share this post


Link to post
Share on other sites

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,

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
Reply to this topic...

×   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...

×
×
  • Create New...

Important Information

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