Xtremist Posted May 5, 2013 Posted May 5, 2013 Hello friends, The problem is with gm id/lvl-1,2,3 wateva and not with GM id/lvl 99 Whenever the @commands fail eg. If I enter @asdasdasd - it must come as unknown command for gm but it goes like that ony in public chat by mistake if someone does @broadcat a typo it goes in public chat and doesnt show as unknown/falied command. Only happens for gm other than 99 What is the fix for this? Thank you Quote
Xtremist Posted May 5, 2013 Author Posted May 5, 2013 I m not sure about this thing... But this shudn't be the intended working. Quote
Jaburak Posted May 5, 2013 Posted May 5, 2013 Maybe you just tried it before on Stable SVN of eAthena. Quote
Euro Posted May 7, 2013 Posted May 7, 2013 at src/map/atcommand.c Find: info = get_atcommandinfo_byname(atcommand_checkalias(command + 1)); if (info == NULL) { if( pc_get_group_level(sd) ) { // TODO: remove or replace with proper permission sprintf(output, msg_txt(sd,153), command); // "%s is Unknown Command." clif_displaymessage(fd, output); atcommand_get_suggestions(sd, command + 1, *message == atcommand_symbol); return true; } else return false; } Replace With: info = get_atcommandinfo_byname(atcommand_checkalias(command + 1)); if (info == NULL) { //if( pc_get_group_level(sd) ) { // TODO: remove or replace with proper permission sprintf(output, msg_txt(sd,153), command); // "%s is Unknown Command." clif_displaymessage(fd, output); atcommand_get_suggestions(sd, command + 1, *message == atcommand_symbol); return true; //} else // return false; } Quote
Question
Xtremist
Hello friends,
The problem is with gm id/lvl-1,2,3 wateva and not with GM id/lvl 99
Whenever the @commands fail
eg. If I enter @asdasdasd - it must come as unknown command for gm but it goes like that ony in public chat
by mistake if someone does @broadcat a typo it goes in public chat and doesnt show as unknown/falied command.
Only happens for gm other than 99
What is the fix for this?
Thank you
5 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.