Jump to content

evilpuncker

Community Contributors
  • Content Count

    2178
  • Joined

  • Last visited

  • Days Won

    66

Everything posted by evilpuncker

  1. @@ZelosAvalon npcskill "NPC_WEAPONBREAKER",1,60,99;
  2. 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
  3. 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
  4. update your sources and recompile everything!
  5. no, there were no change regarding this or this or this
  6. sc_start SC_ORCISH,3000,0; didn't tested but might work
  7. you who came from the stars'

  8. no, since eA doesn't support Hercules plugin system
  9. members changes but the drama not xD
  10. 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
  11. o bRO não possue os arquivos do sistema de comparação, vc precisa pegar eles no kRO e colocar na sua grf custom
  12. getitem .7711,10; guess why xD change it to the correct variable or just remove the dot .
  13. and have you tried it with a non gm character?
  14. no plain version for those who still thinks plugin is a pain? great anyway annie!
  15. ali n é mais o mesmo mapa no kRO :/ http://herc.ws/board/topic/10579-2015-09-05-142-criatura-academy/?p=63390
  16. 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/
  17. 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
  18. just disable them in your job master npc
  19. 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?
×
×
  • Create New...

Important Information

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