CLEO Help SYNC Send Chat String without nametag

CLEO related
Status
Not open for further replies.

Grubitsh

Active member
Joined
Jul 28, 2014
Messages
104
Reaction score
0
Hi,

Is their any snippet or code to send SYNC string in the chatlog without the name_name ? I know their is "" 0AF9: samp say_msg "lol" "" but the nametag is still on the chatlog.

And could someone translate in order for me to understand the difference ?
0C8F=1,samp process_chat_input %1d%
выполняет чат-команду посредством командного обработчика сампа (отличие от 0AF9 в том, что позволяет выполнять встроенные и пользовательские команды)

Thanks
 
Joined
Feb 18, 2005
Messages
2,965
Reaction score
273
I'm not sure, but i would guess no, that would mean fakeing your id somehow.
@supahdupahnubah should be able to translate that, if he wants ofc.
 
Joined
Dec 31, 2015
Messages
712
Reaction score
27
Grubitsh said:
Hi,

Is their any snippet or code to send SYNC string in the chatlog without the name_name ? I know their is "" 0AF9: samp say_msg "lol" "" but the nametag is still on the chatlog.

And could someone translate in order for me to understand the difference ?
0C8F=1,samp process_chat_input %1d%
выполняет чат-команду посредством командного обработчика сампа (отличие от 0AF9 в том, что позволяет выполнять встроенные и пользовательские команды)

Thanks

I hope I aint late, so this text says :
"executes chat-command by using samp cmd handler (difference between opcode 0AF9 is that this opcode let you execute integrated and custom commands)" 
I guess as integrated it means such commands like "fpslimit, timestamp" etc, the samp default commands I'd say 
And as custom commands it means the commands that you register with opcode 0B34: samp register_client_command 0@v to_label @label

Can't say if this opcode is what you need since I didn't really get what you want

What you mean as a 'chatlog'? Chatlog.txt in Documents folder?
 

Grubitsh

Active member
Joined
Jul 28, 2014
Messages
104
Reaction score
0
Thanks for your prompt reply. Well yes that seems to be impossible, and I don't have enought CLEO/SAMP knowledge to test it.

Anyway, let's try another trick:
In some SAMP server, their is /me and /do command to describ an action.
Example: 
1480722828-ok.png

The structure is: [Text client is typing] [((Name_Name))generated by the server]
I would like to delete the last part.
1480723001-ok.png
.
If you send a very long string, the last part should not be displayed.
I know the chat is limited by a certain number of character ( max 144 I think or something like that). This limit appears when you are typing the string InGame on the chatlog.
But if you generate this string in CLEO, you can put as much character as you want !
So I tried to send a string to SAMP via CLEO (this command works in normal use), I get crash once I exceed the limit character.
1480723206-hello.png


Any solution to send a "144+ character string" in SAMP ?
 
Joined
Dec 31, 2015
Messages
712
Reaction score
27
Grubitsh said:
Thanks for your prompt reply. Well yes that seems to be impossible, and I don't have enought CLEO/SAMP knowledge to test it.

Anyway, let's try another trick:
In some SAMP server, their is /me and /do command to describ an action.
Example: 
1480722828-ok.png

The structure is: [Text client is typing] [((Name_Name))generated by the server]
I would like to delete the last part.
1480723001-ok.png
.
If you send a very long string, the last part should not be displayed.
I know the chat is limited by a certain number of character ( max 144 I think or something like that). This limit appears when you are typing the string InGame on the chatlog.
But if you generate this string in CLEO, you can put as much character as you want !
So I tried to send a string to SAMP via CLEO (this command works in normal use), I get crash once I exceed the limit character.
1480723206-hello.png


Any solution to send a "144+ character string" in SAMP ?
I think there's no easy way to do it, but the hardest way couldn't be successfull also, so it's nearly impossible, cuz if you go hardest way and actually increase memory allocating to input string somehow, or even edit outcoming packets, so let's say that packet would contain more than 144 chars in it, the server still may handle it by simply checking its length
^ That's only guess-work, don't know if my words were right or not, just trying my best, summon here someone other who has way more experience in it :)
 
Joined
Feb 18, 2005
Messages
2,965
Reaction score
273
You could assemble and ship the RPC yourself, but i'm pretty sure the server will discard it because of the length, else it would make everyone crash, because the message is sent to others too.
 
Status
Not open for further replies.
Top