Easycore 31 Posted November 24, 2016 Hello, I get a [Warning] when use dispbottom2: 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, Hmmp... this still not working... I put the correct format, in quotes, but color's always White (No Debug appears). However, I put the Warning Number Value in quotes, and the message shows in Red Color. dispbottom2 "16711680","Message"; Quote Share this post Link to post Share on other sites
Dastgir 1246 Posted November 24, 2016 Hello, I get a [Warning] when use dispbottom2: 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, Hmmp... this still not working... I put the correct format, in quotes, but color's always White (No Debug appears). However, I put the Warning Number Value in quotes, and the message shows in Red Color.dispbottom2 "16711680","Message"; Hex format should have worked. Anyways, I forgot to tell, recently, there was change in DispBottom to support color. Syntax: dispbottom "Message", <color>; Color is in hex, so red = 0xFF0000 1 Easycore reacted to this Quote Share this post Link to post Share on other sites
Virtue 10 Posted November 26, 2016 (edited) *lol* edited found my mistake Edited November 26, 2016 by Virtue Quote Share this post Link to post Share on other sites
Virtue 10 Posted November 28, 2016 experiencing problem with sellitem2. no errors on compile. when using in an NPC shows the correct function however disables all other npc and all other shops. Can't talk to normal npcs and other shops items will be lost Quote Share this post Link to post Share on other sites
rans 7 Posted December 5, 2016 (edited) Hi @Dastgir, i hope you will have time to update plugins specially the Extended vending system (with the battleconf issue ) ty Edited December 5, 2016 by Ranz Quote Share this post Link to post Share on other sites
vBrenth 39 Posted April 12, 2017 @Dastgir 2>..\src\plugins\whobuy.c(68): warning C4018: '<' : signed/unsigned mismatch2>..\src\plugins\whobuy.c(70): warning C4018: '>' : signed/unsigned mismatch Quote Share this post Link to post Share on other sites
Dastgir 1246 Posted June 13, 2017 Fixed @pk https://github.com/dastgir/HPM-Plugins/commit/fcb9713db364f73f8508eaddf347f30f4946c228 : Cannot Damage self now https://github.com/dastgir/HPM-Plugins/commit/9d7f980a97ae97b66df2d005a2c8cb807b1d35c0 : Added config for maps where command can be used and where pk'ing is allowed 2 Thyr and Legend reacted to this Quote Share this post Link to post Share on other sites
Legend 43 Posted June 21, 2017 I hope @Dastgir updates and includes this in his Plugins Collections http://herc.ws/board/topic/11587-maxlvexpgain/ 1 Dastgir reacted to this Quote Share this post Link to post Share on other sites
Dastgir 1246 Posted June 21, 2017 10 hours ago, Legend said: I hope @Dastgir updates and includes this in his Plugins Collections http://herc.ws/board/topic/11587-maxlvexpgain/ You mean this? https://github.com/dastgir/HPM-Plugins/commit/c09570cfb0dd68fada5ece052fa67387e961814f ? 1 Legend reacted to this Quote Share this post Link to post Share on other sites
Legend 43 Posted June 22, 2017 9 hours ago, Dastgir said: You mean this? https://github.com/dastgir/HPM-Plugins/commit/c09570cfb0dd68fada5ece052fa67387e961814f ? Thank you @Dastgir Quote Share this post Link to post Share on other sites
Thyr 0 Posted July 10, 2017 Pk plugins can damage each other when inside party. Quote Share this post Link to post Share on other sites
Rebel 23 Posted August 9, 2017 Can you turn this into plugin? https://pastebin.com/raw/jNJU6pFp Much appreciated! Also about Extended Vending, when I use vending skill there's an apple in selection, next to TCG and the coins as currency.. How to fix that? Quote Share this post Link to post Share on other sites
bWolfie 139 Posted August 10, 2017 11 hours ago, Hercules said: Can you turn this into plugin? https://pastebin.com/raw/jNJU6pFp Much appreciated! Also about Extended Vending, when I use vending skill there's an apple in selection, next to TCG and the coins as currency.. How to fix that? is this @aura command? There is already a plugin for it. https://github.com/dastgir/HPM-Plugins Quote Share this post Link to post Share on other sites
Rebel 23 Posted August 10, 2017 (edited) Its kinda different from auraset. @aura is part of eAmod. I managed to convert it to be compatible with Hercules, but I don't know how to make it to a plugin. See screenshot. Edited August 10, 2017 by Hercules Quote Share this post Link to post Share on other sites
Virtue 10 Posted January 26, 2018 (edited) @Dastgir getting this error on itemmap Edited January 26, 2018 by Virtue Quote Share this post Link to post Share on other sites
astralprojection 35 Posted January 28, 2018 On 1/27/2018 at 2:09 AM, Virtue said: @Dastgir getting this error on itemmap change to: map->addflooritem(&sd->bl,&it,count,sd->bl.m,sd->bl.x,sd->bl.y,0,0,0,0,false); Quote Share this post Link to post Share on other sites
Rebel 23 Posted February 17, 2018 Requesting to update sellitem2 to support custom currency @Dastgir Quote Share this post Link to post Share on other sites
java 3 Posted February 18, 2018 On 05/12/2016 at 3:14 PM, Ranz said: Hi @Dastgir, i hope you will have time to update plugins specially the Extended vending system (with the battleconf issue ) ty adding .conf should be into conf/map/battle/battle.conf not conf/map/battle/featured.conf Quote Share this post Link to post Share on other sites
Begin 11 Posted June 2, 2018 Hello Sir, I am having an error in console after compiling the ExtendedVending. [Error]: sv_readdb: can't read db/item_vending.txt Quote Share this post Link to post Share on other sites
Rebel 23 Posted June 2, 2018 6 hours ago, Begin said: Hello Sir, I am having an error in console after compiling the ExtendedVending. [Error]: sv_readdb: can't read db/item_vending.txt add item_vending.txt in your db folder Quote Share this post Link to post Share on other sites
sikiro 3 Posted August 19, 2018 hey das a couple of issues with two plugins on latest git. ExtendedVending.c: In function 'skill_vending_ev': ExtendedVending.c:120:3: error: too few arguments to function 'clif->skill_fail' clif->skill_fail(sd, MC_VENDING, USESKILL_FAIL_LEVEL, 0); ^~~~ ExtendedVending.c:152:3: error: too few arguments to function 'clif->skill_fail' clif->skill_fail(sd,MC_VENDING,USESKILL_FAIL_LEVEL,0); ^~~~ ExtendedVending.c: In function 'clif_parse_SelectArrow_pre': ExtendedVending.c:231:3: error: too few arguments to function 'clif->skill_fail' clif->skill_fail(*sd,(*sd)->ud.skill_id,USESKILL_FAIL_LEVEL,0); ^~~~ ExtendedVending.c: In function 'clif_vend': ExtendedVending.c:323:3: error: too few arguments to function 'clif->skill_fail' clif->skill_fail(sd,MC_VENDING,USESKILL_FAIL_LEVEL,0); ^~~~ ExtendedVending.c: In function 'skill_castend_nodamage_id_pre': ExtendedVending.c:401:6: error: too few arguments to function 'clif->skill_fail' clif->skill_fail(sd,skill_id,USESKILL_FAIL_LEVEL,0); and also from @market.c:39: @market.c: In function 'killmonster_sub_pre': ../common/HPMi.h:143:38: warning: potential null pointer dereference [-Wnull-dereference] #define getFromMOBDATA(ptr,classid) (HPMi->getFromHPData(HPDT_MOBDATA,HPMi->pid,(ptr)->hdata,(classid))) ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @market.c:468:29: note: in expansion of macro 'getFromMOBDATA' struct monster_data *mmd = getFromMOBDATA(md, 0); ^~~~~~~~~~~~~~ ../common/HPMi.h:143:38: warning: potential null pointer dereference [-Wnull-dereference] #define getFromMOBDATA(ptr,classid) (HPMi->getFromHPData(HPDT_MOBDATA,HPMi->pid,(ptr)->hdata,(classid))) ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @market.c:468:29: note: in expansion of macro 'getFromMOBDATA' struct monster_data *mmd = getFromMOBDATA(md, 0); Quote Share this post Link to post Share on other sites
Dastgir 1246 Posted August 19, 2018 10 hours ago, sikiro said: hey das a couple of issues with two plugins on latest git. ExtendedVending.c: In function 'skill_vending_ev': ExtendedVending.c:120:3: error: too few arguments to function 'clif->skill_fail' clif->skill_fail(sd, MC_VENDING, USESKILL_FAIL_LEVEL, 0); ^~~~ ExtendedVending.c:152:3: error: too few arguments to function 'clif->skill_fail' clif->skill_fail(sd,MC_VENDING,USESKILL_FAIL_LEVEL,0); ^~~~ ExtendedVending.c: In function 'clif_parse_SelectArrow_pre': ExtendedVending.c:231:3: error: too few arguments to function 'clif->skill_fail' clif->skill_fail(*sd,(*sd)->ud.skill_id,USESKILL_FAIL_LEVEL,0); ^~~~ ExtendedVending.c: In function 'clif_vend': ExtendedVending.c:323:3: error: too few arguments to function 'clif->skill_fail' clif->skill_fail(sd,MC_VENDING,USESKILL_FAIL_LEVEL,0); ^~~~ ExtendedVending.c: In function 'skill_castend_nodamage_id_pre': ExtendedVending.c:401:6: error: too few arguments to function 'clif->skill_fail' clif->skill_fail(sd,skill_id,USESKILL_FAIL_LEVEL,0); and also from @market.c:39: @market.c: In function 'killmonster_sub_pre': ../common/HPMi.h:143:38: warning: potential null pointer dereference [-Wnull-dereference] #define getFromMOBDATA(ptr,classid) (HPMi->getFromHPData(HPDT_MOBDATA,HPMi->pid,(ptr)->hdata,(classid))) ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @market.c:468:29: note: in expansion of macro 'getFromMOBDATA' struct monster_data *mmd = getFromMOBDATA(md, 0); ^~~~~~~~~~~~~~ ../common/HPMi.h:143:38: warning: potential null pointer dereference [-Wnull-dereference] #define getFromMOBDATA(ptr,classid) (HPMi->getFromHPData(HPDT_MOBDATA,HPMi->pid,(ptr)->hdata,(classid))) ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @market.c:468:29: note: in expansion of macro 'getFromMOBDATA' struct monster_data *mmd = getFromMOBDATA(md, 0); Will fix it soon, for extendedVending, the function just need extra parameter with value 0 Quote Share this post Link to post Share on other sites
sikiro 3 Posted August 19, 2018 awsome a couple other issues with some of the other systems as i was testing them. [Error]: --- nullpo info -------------------------------------------- [Error]: sellitem2.c:256: 'nsd = nsd_search(nd, 0)' in function `clif_buylist_pre' [Error]: ./map-server() [0x61e442] [Error]: plugins/HPMHooking_map.so(HP_clif_buylist+0xc5) [0x7f13741cb9a5] [Error]: ./map-server() [0x4fb86c] [Error]: plugins/HPMHooking_map.so(HP_npc_buysellsel+0x40) [0x7f137422a700] [Error]: ./map-server() [0x4679c6] [Error]: ./map-server() [0x62a5bb] [Error]: ./map-server(main+0x2ba) [0x4083fa] [Error]: /lib64/libc.so.6(__libc_start_main+0xf5) [0x7f1376962445] [Error]: ./map-server() [0x40859c] and also from the restock system. i can make some mediocre edits to scripts however in this case for restock system i tried to fix the issue but was unable to resolve. [stockro@localhost stockro]$ [Error]: script error in file 'SNPC/Restock.txt' line 147 column 1 set_label: dup label 144: } 145: end; 146: * 147: OnRestock: ^ 148: // Get Restock Amount 149: query_sql("SELECT `restkq`,`restkf` FROM `restock` WHERE `charid`="+ getcharid(0) +" AND `restockid`="+ restkid, .@qu, .@fr); 150: if (.@qu) { [Warning]: npc_parsename: Duplicate unique name in file 'SNPC/Restock.txt', line '14'. Renaming 'Restock' to '1_189_140_140'. thank you again for the reply. Quote Share this post Link to post Share on other sites
Thinker 2 Posted August 24, 2018 (edited) Hello @Dastgir Is the class constraint working? I create the item, it works.. When you log out and log in, it does not work. Edited August 24, 2018 by Thinker Quote Share this post Link to post Share on other sites
Dastgir 1246 Posted August 25, 2018 On 8/20/2018 at 0:21 AM, sikiro said: awsome a couple other issues with some of the other systems as i was testing them. [Error]: --- nullpo info -------------------------------------------- [Error]: sellitem2.c:256: 'nsd = nsd_search(nd, 0)' in function `clif_buylist_pre' [Error]: ./map-server() [0x61e442] [Error]: plugins/HPMHooking_map.so(HP_clif_buylist+0xc5) [0x7f13741cb9a5] [Error]: ./map-server() [0x4fb86c] [Error]: plugins/HPMHooking_map.so(HP_npc_buysellsel+0x40) [0x7f137422a700] [Error]: ./map-server() [0x4679c6] [Error]: ./map-server() [0x62a5bb] [Error]: ./map-server(main+0x2ba) [0x4083fa] [Error]: /lib64/libc.so.6(__libc_start_main+0xf5) [0x7f1376962445] [Error]: ./map-server() [0x40859c] and also from the restock system. i can make some mediocre edits to scripts however in this case for restock system i tried to fix the issue but was unable to resolve. [[email protected] stockro]$ [Error]: script error in file 'SNPC/Restock.txt' line 147 column 1 set_label: dup label 144: } 145: end; 146: * 147: OnRestock: ^ 148: // Get Restock Amount 149: query_sql("SELECT `restkq`,`restkf` FROM `restock` WHERE `charid`="+ getcharid(0) +" AND `restockid`="+ restkid, .@qu, .@fr); 150: if (.@qu) { [Warning]: npc_parsename: Duplicate unique name in file 'SNPC/Restock.txt', line '14'. Renaming 'Restock' to '1_189_140_140'. thank you again for the reply. I need to rework on restock, it seems, I pushed a unfinished work before, On 8/24/2018 at 9:19 AM, Thinker said: Hello @Dastgir Is the class constraint working? I create the item, it works.. When you log out and log in, it does not work. which plugin? Quote Share this post Link to post Share on other sites