Just for people like don't have a clue like me:
When the program is supposed to send 0x15(plaintext) to the server actually it sends 0x05, 0x45, 0x0a
What does this mean? It is very simple and easy, 0x15 converts to 0x05, 0x45, 0x0a because how aluigi said, 0x15 is XOR'd with 0xff and the server port (this means that if you want to send 0x05, 0x45, 0x0a to another server won't work).
I had a very hard time deciphering how to convert from an already encrypted SAMP protocol to plaintext so I could use it for my bot. Here is a table that I did
(note: I remove the table from the post to make it shorter and I will upload the list in a txt) with help of aluigi's functions TY ALUGI :DDD
Notice that
Quote:
PLAINTEXT(15) is the same ENCRYPTED(45)
is the JOIN package.