Disable Normal Chat Message with Memory Access - Is it allowed?
#1

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...
Reply
#2

mhm i think its NOT!
Reply
#3

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.
Reply
#4

JMP LOL wtf

man u wanna reverse samp-server or something?
Reply
#5

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.
Reply
#6

Return 0 on OnPlayerText then use SendClientMessage, problem solved?
Reply
#7

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.
Reply
#8

Quote:
Originally Posted by Momo5000
View Post
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..?
Reply
#9

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.
Reply
#10

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!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)