Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - 2b2ttianxiu

#106
Quote from: habi on Jan 13, 2023, 02:36 PMIf you are making a proxy server, just forward whatever UDP datagrams client sends to server.

Similarly route all server packets to client. Ah! i see.

https://imgur.io/Mag0djm?r

No communication between clients.

Additional info: It uses Raknet. One Raknet server and many clients.

What are these? It's not a source website
#107
Quote from: habi on Jan 13, 2023, 02:36 PMIf you are making a proxy server, just forward whatever UDP datagrams client sends to server.

Similarly route all server packets to client. Ah! i see.

https://imgur.io/Mag0djm?r

No communication between clients.

Additional info: It uses Raknet. One Raknet server and many clients.

I did, but I wasnt get client ip, i use Python made proxy server, only get proxy server ip
#108
Quote from: Chicken on Feb 24, 2022, 11:34 AM
Quote from: habi on Feb 24, 2022, 07:40 AMI will show you a live demonstration. This will be helpful for others too in learning wireshark.
See i opened VCMPBrowser and

I clicked on a server shown in the image. At that moment Browser sends packets to that server.

I had already opened wireshark( packet capturing tool) and see what it captured

The data section of packet which is highlighted in blue. Its ASCII equivalent is shown on right.

56 43 4d 50 41 02 41 d3 00 20 69

Lets investigate what this is.
56 means 5*16+6=80+6=86 and 86 means 'V' in ascii table. ascii table
So first 4 bytes( each of these two digits is called byte) 56 43 4d 50 means VCMP

Now, what is 41=16*4+1=65
02=2
41=again, 65
d3=d*16+3=13*16+3=211
So the 4 bytes 41 02 41 d3 gives 65 2 65 211
Now what is the server ip from VCMP Browser?

Ha. it is exactly the same.

The next 2 bytes viz 00 20 and port 8192 on investigation showed me. port= 00 +( 20 *256 )= 00 + (32*256)=00+8192. This is becauses 20 means 2*16+0=32

The last byte is 69. This is the ASCII equivalent of 'i'. You can see it on the right panel of wireshark window.
i means we want information about server name, gamemode etc.

Having learnt this. you could do the reverse. Will you?

In fact, I have already captured the package and extracted the data a few days ago, but I don't know how to specify an IP address and port, maybe your explanation will help me, thank you Habi :D

use Python, u can do this data: b'VCMP\x7f\x00\x00\x01H\x14' and can get many servers.
#109
Quote from: habi on Jan 13, 2023, 09:10 AMTools->Settings

Updater URL: http://u04.vc-mp.org
Masterlist URL: http://master.vc-mp.org

hi, habi
I means how get vcmp send form to server get info data
#110
How make like 'u04.vc-mp.org' check and download server web?
#111
Quote from: habi on Jan 02, 2023, 04:14 PM
Quote from: 2b2ttianxiu on Jan 02, 2023, 12:16 PMI only getted server info.
What do you mean?

client sends one packet  for each item : Getting-server-info, ping, player-list.
For each packet, server responds with reply packet.
See
http://wiki.thijn.ovh/index.php?title=Query_Mechanism
I want to make a proxy server.
I don't know how send message to client. not on server send message
#112
Quote from: PSL on Jan 02, 2023, 01:05 PMLet me show you a piece of code and hope this helps you.
//The server sends hello to the client
local stream=Stream();
stream.StartWrite();
stream.WriteString("hello");
stream.SendStream(player);

//The client accepts it and prints it
function Server::ServerData( stream )
{
     local string=stream.ReadString();
     Console.Print(string);
}
I want to send packet on udp protocol. So you just a simple server to client stream.
#113
The client and server how do they send packet?
I only getted server info.
#114
I not found last new squirrel 3.2 plugin, my server is running on 3.1 version, please help me for find it