Disable Normal Chat Message with Memory Access - Is it allowed? -
Momo5000 - 01.01.2012
https://sampforum.blast.hk/showthread.php?tid=128338
Kalcor said that we are not allowed to deal with the memory access, but my question is:
Im running a Roleplay Server and im using my own Chat Function that only sends the chat-message in range, if someone writes a message, the message will be shown in the console... its pretty annoying if you have over 200 players online and the console windows is full with chat stuff...
i want to use the console window to see how joins and disconnect + hack messages.
Now i found the variable that shows the chat messages in the conosle, is it allowed to put a JMP on this address?
Thanks...
Re: Disable Normal Chat Message with Memory Access - Is it allowed? -
James Coral - 01.01.2012
mhm i think its NOT!
Re: Disable Normal Chat Message with Memory Access - Is it allowed? -
Momo5000 - 01.01.2012
yea thats why i want a clear answer Yes or No, not i think no or yes...
before my server gets blacklisted, its better to ask before i do it...
my server does not get any advangte if i use this, it only remove the chat messages from the window because its pretty annoying, its not possible with pawn to remove that.
Re: Disable Normal Chat Message with Memory Access - Is it allowed? -
jamesbond007 - 01.01.2012
JMP

LOL wtf
man u wanna reverse samp-server or something?
Re: Disable Normal Chat Message with Memory Access - Is it allowed? -
Momo5000 - 01.01.2012
JMP means JUMP (0xE9 ...)
there is a function inside the samp_server.exe that will call a function to draw the chat. "[chat] [%s]: %s", so i want to put a JMP on that before that functions begins, so he just JUMP to the end of this functions and the chat message will not be shown in the console.
Re: Disable Normal Chat Message with Memory Access - Is it allowed? -
[HiC]TheKiller - 01.01.2012
Return 0 on OnPlayerText then use SendClientMessage, problem solved?
Re: Disable Normal Chat Message with Memory Access - Is it allowed? -
Momo5000 - 01.01.2012
You dont get it? If i return 0 at OnPlayerText the text will still be shown in the console. im editing the memory to disable it, no need to return 0.
Re: Disable Normal Chat Message with Memory Access - Is it allowed? -
Steven82 - 01.01.2012
Quote:
Originally Posted by Momo5000
You dont get it? If i return 0 at OnPlayerText the text will still be shown in the console. im editing the memory to disable it, no need to return 0.
|
Um it doesn't show for me in the console when i do it..?
Re: Disable Normal Chat Message with Memory Access - Is it allowed? -
iggy1 - 01.01.2012
SendClientMessage doesn't print to console (SendPlayerMessageToPlayer/All does) so you can use SendClientMessage and return 0 in OnPlayerText like [hiC]Killer said. No real need to use a plugin for that that could get your server blacklisted. With color embedding you can make it look like a player message.
AW: Disable Normal Chat Message with Memory Access - Is it allowed? -
Momo5000 - 01.01.2012
Guys, you dont understand it ... If i do the following:
Code:
public OnPlayerText(playerid, text[])
{
return 0;
}
There is no text ingame but the entered text will be shown in the console in the following format:
[chat] [Test_Account]: Hello this is a test!