Closed realyukii closed 5 months ago
It looks like the proxy won't connect to the Growtopia server. Maybe you can check the body content of server_data.php before being modified if the server ip and port are correct?
I did check the response before it was modified, and indeed it's the correct server ip (213.179.209.168); however, I suspect the issue is related to forwarding packets.
A simplified program was created to isolate the problem. This program successfully prints packets, yet the Growtopia client fails to receive the essential "hello" packet from the Growtopia server. This leads to the conclusion that the initialized ENet client is unable to properly forward packets to the Growtopia client.
Unfortunately, I'm not too familiar with ENet, so I have no idea how it actually works. If you don't mind, please review the code.
EDIT: I think it too much, but now it's fixed.
I tried to connect my growtopia client (android) to the proxy that run on my linux machine on the same network. I need to adjust the server address on the http response to make it work. The client successfully connected to the enet server, but it just stuck there. here's the log:
no error is shown in the log, any thoughts on how to debug? I will provide any additional information if needed.