Dirpy
-
Posts
4 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Jobs Available
Server Database
Third-Party Services
Top Guides
Store
Crowdfunding
Posts posted by Dirpy
-
-
Hello!
I have been using the 2022-04-06.ragexe and I found this bug, when a player gets disguised it seems to work properly from the player perspective:
But when another person sees it and hovers the cursor over it, it looks like this from his/her perspective:
Makes targeting the disguised player really difficult. Has anyone else had this issue?
-
22 hours ago, pajodex said:
Look for this on src/map/atcommand.cpp:
/*========================================== * @me by lordalfa * => Displays the OUTPUT string on top of the Visible players Heads. *------------------------------------------*/ ACMD_FUNC(me) { char tempmes[CHAT_SIZE_MAX]; nullpo_retr(-1, sd); memset(tempmes, '\0', sizeof(tempmes)); memset(atcmd_output, '\0', sizeof(atcmd_output)); if (sd->sc.cant.chat || (sd->state.block_action & PCBLOCK_CHAT)) return -1; //no "chatting" while muted. if (!message || !*message || sscanf(message, "%255[^\n]", tempmes) < 0) { clif_displaymessage(fd, msg_txt(sd,1302)); // Please enter a message (usage: @me <message>). return -1; } + if ( sd->fakename[0] ) + sprintf(atcmd_output, msg_txt(sd,270), sd->fakename, tempmes); // *%s %s* + else sprintf(atcmd_output, msg_txt(sd,270), sd->status.name, tempmes); // *%s %s* clif_disp_overhead(&sd->bl, atcmd_output); return 0; }
Where the '+' are the lines you need to add incase you didnt know.
Thank you very much sir!
-
Hello!
I would like some help to modify the @me command to make it @fakename friendly, displaying the current display name instead of the real name. I have been trying modifying the command but i cannot seem to make it work, this is the line:
QuoteACMD_FUNC(me) {
char tempmes[CHAT_SIZE_MAX]; nullpo_retr(-1, sd);
memset(tempmes, '\0', sizeof(tempmes));
memset(atcmd_output, '\0', sizeof(atcmd_output)); if (sd->sc.cant.chat || (sd->state.block_action & PCBLOCK_CHAT)) return -1; //no "chatting" while muted.
if (!message || !*message || sscanf(message, "%255[^\n]", tempmes) < 0) {
clif_displaymessage(fd, msg_txt(sd,1302)); // Please enter a message (usage: @me <message>).
return -1;
}
sprintf(atcmd_output, msg_txt(sd,270), sd->status.name, tempmes); // *%s %s*
clif_disp_overhead(&sd->bl, atcmd_output);
return 0;
}
The idea is for @me to show @fakename (if there is one enabled) or the current display name instead of the real name of the character.
Still getting the hang of this so i would appreciate the help!
How to disable Whispering on my server
in Source Requests
Posted
Hello! I wanted to know how to exactly disable whispering entirely from the server except for a GM or NPC's i tried using OnWhisperGlobal but the message will still go out, I would like to know if there is another way. Thanks in advance!