-
Content Count
2178 -
Joined
-
Last visited
-
Days Won
66
Content Type
Profiles
Forums
Downloads
Staff Applications
Calendar
Everything posted by evilpuncker
-
@@ZelosAvalon npcskill "NPC_WEAPONBREAKER",1,60,99;
-
I don't think you can unless you go back to a client that doesn't have it, or maybe try the trick of doing that image into a 1x1 pink pixel
-
Chat space limitation!/Scammer avoid *Will pay for help*
evilpuncker replied to a question in Source Requests
I'm more interested to know how to type those charactersAlt + ???? those are actually meant for names use together with normalize_name( message, "255xA0032tx0Ax0D " );they are automatically trim into 1 single space oh well patch src/map/clif.c | 7 +++++++ 1 file changed, 7 insertions(+)diff --git a/src/map/clif.c b/src/map/clif.cindex d9acf07..0118856 100644--- a/src/map/clif.c+++ b/src/map/clif.c@@ -9110,6 +9110,13 @@ bool clif_process_message(struct map_session_data *sd, int format, char **name_, *namelen_ = namelen; *message_ = message; *messagelen_ = messagelen;++ normalize_name( message, "255xA0032tx0Ax0D " );+ if ( stristr( message, "x20x3Ax20" ) || stristr( message, "x20x3Bx20" ) ) { // type " : " OR " ; " will be blocked+ clif->colormes( sd->fd, COLOR_RED, "You can't impersonate other players !" );+ return false;+ }+ return true; } plugin #include <stdio.h>#include <stdlib.h>#include <string.h>#include "../map/pc.h"#include "../map/clif.h"#include "../common/HPMi.h"#include "../common/socket.h"#include "../common/HPMDataCheck.h" // should always be the last file included! (if you don't make it last, it'll intentionally break compile time)HPExport struct hplugin_info pinfo = { "GM_impersonate", // Plugin name SERVER_TYPE_MAP,// Which server types this plugin works with? "0.1", // Plugin version HPM_VERSION, // HPM Version (don't change, macro is automatically updated)};bool clif_process_message_spaces( int retVal, struct map_session_data *sd, int format, char **name_, size_t *namelen_, char **message_, size_t *messagelen_) { if ( retVal == true ) { char* message = (char*)RFIFOP( sd->fd ,4) + strnlen(sd->status.name, NAME_LENGTH-1) + 3; normalize_name( message, "255xA0032tx0Ax0D " ); if ( stristr( message, "x20x3Ax20" ) || stristr( message, "x20x3Bx20" ) ) { // type " : " OR " ; " will be blocked clif->colormes( sd->fd, COLOR_RED, "You can't impersonate other players !" ); return false; } } return true;}HPExport void plugin_init (void) { clif = GET_SYMBOL("clif"); session = GET_SYMBOL("session"); strlib = GET_SYMBOL("strlib"); addHookPost("clif->process_message", clif_process_message_spaces);} hey annie sorry for the necrobump but mind updating your post again? I was about to search for it -
there is no image
-
update your sources and recompile everything!
-
td por aqui
-
no, there were no change regarding this or this or this
-
sc_start SC_ORCISH,3000,0; didn't tested but might work
-
yeah thanks @Neo
-
no, since eA doesn't support Hercules plugin system
-
members changes but the drama not xD
-
IN NEED of HELP translation (Soul Blaker's Script)
evilpuncker replied to REKT's question in Script Support
Uhm, let me check if what can i have for translate.If someone here is a Portuguese? Can you help me Translate @@evilpuncker soon I'll post it for u edit: sorry for the delay, and sorry for not translating everything, my mouse is just broke so I can't barely select any text with precision :/ http://upaste.me/39e6221505fe02b59 -
Opção Comparar Item (Alt + E) causando Crash
evilpuncker replied to system05's question in Suporte ao Cliente
o bRO não possue os arquivos do sistema de comparação, vc precisa pegar eles no kRO e colocar na sua grf custom -
just look here
-
getitem .7711,10; guess why xD change it to the correct variable or just remove the dot .
-
and have you tried it with a non gm character?
-
no plain version for those who still thinks plugin is a pain? great anyway annie!
-
q itens seriam estes?
-
ali n é mais o mesmo mapa no kRO :/ http://herc.ws/board/topic/10579-2015-09-05-142-criatura-academy/?p=63390
-
baixa e coloca na sua grf: http://herc.ws/board/files/file/182-old-prontera/ http://herc.ws/board/files/file/181-old-izlude-and-alberta/
-
pj?
-
that is why the item_db2, mob_db2, anything2 files are used for I don't really think that anyone ever changed everything in those files so that all of them are needed to act like that -1
-
just disable them in your job master npc
-
Indeed, any antibot method that requires that lot of interaction is frustrating, and by the way I'm guessing that this is only done on login, right? so what stops the player from doing everything manual and then running the bot after passing the check?