AnnieRuru 957 Posted December 12, 2015 (edited) errr ... there are so many error during compile, because I didn't off that stupid microsoft warning ... try change those sprintf -> safesnprintf strncpy -> safestrncpy the only thing that I don't think its possible is sscanf and fopen strcmpi ... no idea . if(retVal == 0 || !sd) // sd missing case is impossible, but who knows... it's RAGNAROK!use nullpo in this casenullpo_retr(0, sd); EDIT: is there a need to call a new struct for pcre and pcre_extra ? when I try mine, I don't need to use them http://upaste.me/67672221608816857 Edited December 12, 2015 by AnnieRuru Quote Share this post Link to post Share on other sites
hemagx 69 Posted December 12, 2015 1- Change sprintf/strncpy possible next version or if they got not working before make new version, otherwise i see no reason to do special version for it. 2- it's same, i prefer it this way for my own work. 3- yes, i have to save them compiled/optimized or i will have to do it each time the player send message. 1 AnnieRuru reacted to this Quote Share this post Link to post Share on other sites
AnnieRuru 957 Posted December 13, 2015 1 & 2 ok I add disable 4996 warning, instantly no more error http://herc.ws/wiki/Building_HPM_Plugin_for_MSVC#Step_18 I just not sure to add this as Step-18 ? or an additional step ... because I found this in our sample and plugin property page, and after google around many people also add them http://stackoverflow.com/questions/3317536/visual-studio-warning-c4996?lq=1 3, oh I always call new struct ... no wonder, I guess your method does optimized a bit Quote Share this post Link to post Share on other sites
hemagx 69 Posted December 13, 2015 Well, hercules projects default settings should disable it, are you sure you did not play around ? Quote Share this post Link to post Share on other sites
AnnieRuru 957 Posted December 13, 2015 many many members keep reporting this error, ever since I started write plugin http://herc.ws/board/topic/7242-market-clone/?p=44110 http://herc.ws/board/topic/5057-auraset/?p=38152 it wasn't just me that 4996 error has been ignore by sample/hook ... but if you add your own plugin, of course it spit errors Quote Share this post Link to post Share on other sites
Dastgir 1246 Posted December 13, 2015 many many members keep reporting this error, ever since I started write pluginhttp://herc.ws/board/topic/7242-market-clone/?p=44110http://herc.ws/board/topic/5057-auraset/?p=38152it wasn't just methat 4996 error has been ignore by sample/hook ... but if you add your own plugin, of course it spit errorsBecause its just stupid msvc, trying to compile as c++(For me, I just lower down the warning level) Quote Share this post Link to post Share on other sites
hemagx 69 Posted December 13, 2015 eh, make sure you copy sample settings i guess ? i'm using MSVC for testing and i remember very well Hercules disabled those. Quote Share this post Link to post Share on other sites
evilpuncker 503 Posted January 15, 2016 (edited) eh, make sure you copy sample settings i guess ? i'm using MSVC for testing and i remember very well Hercules disabled those. great plugin dude! by the way it seems like those options are not working (I'm using the full version by the way) // Do you want GM above this level bypass the filter ? // set to any level you want to disable set it to 100 gm_min_level: 99 // After how much times the player say bad words you want to mute it ? // Set it to 0 to disable mute_after: 3 even with my gm character (group id/gm lvl 99) it still can't bypass anything, just ****** and I've tried with a normal account (lvl 0) and tried spamming the word for like 10 times, it just ****** but doesn't mutes me Edited January 15, 2016 by evilpuncker Quote Share this post Link to post Share on other sites
Dastgir 1246 Posted January 15, 2016 If its shown as *****, probably your client side manner is acting, and *** shown means client censored the words and ACTUALLY Sended those asterisks to the server, so this plugin won't be able to do anything when the server haven't received the correct word Quote Share this post Link to post Share on other sites
evilpuncker 503 Posted January 15, 2016 If its shown as *****, probably your client side manner is acting, and *** shown means client censored the words and ACTUALLY Sended those asterisks to the server, so this plugin won't be able to do anything when the server haven't received the correct word indeed, my bad then it is working, the only thing that I noticed is that there is no red bubble being show, maybe hercules bug? Quote Share this post Link to post Share on other sites
evilpuncker 503 Posted May 2, 2016 @@hemagx hello, are you going to update it in order to work with latest hercules? Quote Share this post Link to post Share on other sites
hemagx 69 Posted May 2, 2016 Meow, sure 1 evilpuncker reacted to this Quote Share this post Link to post Share on other sites
evilpuncker 503 Posted May 14, 2016 Meow, sure Quote Share this post Link to post Share on other sites
evilpuncker 503 Posted July 16, 2016 I tried to fix it by myself but no success this plugin is so awesome Quote Share this post Link to post Share on other sites
hemagx 69 Posted July 17, 2016 I tried to fix it by myself but no success this plugin is so awesome You're lucky that i'm facing serious issue right now and i can't continue what i'm working on. Gonna work on this plugin now 1 evilpuncker reacted to this Quote Share this post Link to post Share on other sites
evilpuncker 503 Posted July 18, 2016 I tried to fix it by myself but no success this plugin is so awesome You're lucky that i'm facing serious issue right now and i can't continue what i'm working on. Gonna work on this plugin now glad to hear that <3 Quote Share this post Link to post Share on other sites
hemagx 69 Posted July 21, 2016 I tried to fix it by myself but no success this plugin is so awesome You're lucky that i'm facing serious issue right now and i can't continue what i'm working on. Gonna work on this plugin now glad to hear that <3 got few issue, gonna delay it...(hears someone crying in the corner).. 1 evilpuncker reacted to this Quote Share this post Link to post Share on other sites
evilpuncker 503 Posted November 15, 2021 (edited) I was able to make the lite version work, except that I don't know what to return in place of return retVal;... I just changed it to return true but I don't know if its the correct way here is the "working" lite version in case anyone wants! unfortunately, the full version was too complicated for me to try fixing it WARNING: players can bypass it by simply using an uppercase letter, since the check is not case sensitive and the filter doesn't seem to support "/i" to ignore case sensitiveness Edited November 16, 2021 by evilpuncker Quote Share this post Link to post Share on other sites
IndieRO 33 Posted December 30, 2021 any new to update the full version work? Quote Share this post Link to post Share on other sites