Kewlx Posted September 11, 2014 Group: Members Topic Count: 20 Topics Per Day: 0.00 Content Count: 36 Reputation: 0 Joined: 12/02/12 Last Seen: June 24, 2016 Share Posted September 11, 2014 how to remove this: although command are not working on normal player but i just want to remove it Quote Link to comment Share on other sites More sharing options...
Bin4ry Posted September 11, 2014 Group: Members Topic Count: 30 Topics Per Day: 0.01 Content Count: 782 Reputation: 82 Joined: 01/01/12 Last Seen: September 21, 2015 Share Posted September 11, 2014 (edited) Easiest way might be removing the string in conf/msg_conf/map_msg.conf but it might show empty line (not sure?). You might want to try removing then @reloadmsgconf, if it shows empty line imma try take a look in src. Oops, just found out you have to edit the src anyway. In atcommand.c line 8812: if ( atcmd_binding_count ) { int i, count_bind, gm_lvl = pc_get_group_level(sd); for( i = count_bind = 0; i < atcmd_binding_count; i++ ) { if ( gm_lvl >= ( (type - 1) ? atcmd_binding[i]->level2 : atcmd_binding[i]->level ) ) { unsigned int slen = strlen(atcmd_binding[i]->command); if ( count_bind == 0 ) { cur = line_buff; memset(line_buff,' ',CHATBOX_SIZE); line_buff[CHATBOX_SIZE-1] = 0; clif_displaymessage(fd, "-----------------"); clif_displaymessage(fd, msg_txt(sd,509)); // Script-bound commands: } if (slen + cur - line_buff >= CHATBOX_SIZE) { clif_displaymessage(fd,line_buff); cur = line_buff; memset(line_buff,' ',CHATBOX_SIZE); line_buff[CHATBOX_SIZE-1] = 0; } memcpy(cur,atcmd_binding[i]->command,slen); cur += slen+(10-slen%10); count_bind++; } } if ( count_bind ) clif_displaymessage(fd,line_buff);// last one count += count_bind; } Removing this whole block > clean > recompile. Let me know if you encounter any issue. Edited September 11, 2014 by Bin4ry 1 Quote Link to comment Share on other sites More sharing options...
Question
Kewlx
how to remove this:
although command are not working on normal player but i just want to remove it
Link to comment
Share on other sites
1 answer 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.