[Help Required] FPS Increaser Proxy for Bots

03/17/2022 23:59 ODAKAB#1
I already built a Java app that can remove graphics from swf files, but Fiddler isn't stable enough to run it unattended all day. I am looking for advices to build a Fiddler-like Java proxy that can modify incoming responses on the go.
03/18/2022 01:37 S7K Yuuki#2
You can quickly write your own implementation. A proxy is just a TCP socket that sits between your browser and the real host.

This is some basic java pseudo-code of how it could look. There are thousands of tutorials out there. Just google "Java socket server http":

Code:
int anyPort = 8080;
ServerSocket serverSocket = new ServerSocket(anyPort);

while (true) {
    try (Socket client = serverSocket.accept()) {
        Request request = readRequest(client);

        if(request.host == "whatever.com" && request.path == "/example")
        {
            client.sendResponse("My custom response!");
        }
        else
        {
            Response response = forwardRequestToRealHost(client, request);
            client.sendResponse(response);
        }
    }
}
Regards.-
03/18/2022 13:31 ODAKAB#3
Quote:
Originally Posted by S7K Yuuki View Post
You can quickly write your own implementation. A proxy is just a TCP socket that sits between your browser and the real host.
I didn't know Socket would do the same job, I already have some experience with sockets to just communicate based on strings, thank you I will give it a try.

I couldn't manage more than this so far, playing with a code i found on internet.
It supposed to redirect traffic to an actual proxy and read between, however it never got repsonses.
Code:
[REQ]CONNECT whatismyipaddress.com:443 HTTP/1.1
Host: whatismyipaddress.com:443
Proxy-Connection: keep-alive
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.74 Safari/537.36

roxy-Connection: Keep-Alive
Pragma: no-cache
But with the starting point you gave me, i found many useful open-source apps i can study on and actually depend my project on.

[Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...]
03/23/2022 19:14 kaiserdj#4
Hello @[Only registered and activated users can see links. Click Here To Register...]

If you wish you can use the [Only registered and activated users can see links. Click Here To Register...]that I have created and within Darkdev use the Custom Load to modify the swf load and remove graphics.

All the best

Searching for other things I found something that may be useful for this post, the user ŁÁĞÏ™ in the official darkorbit forum created a post where he explained how to block some visual elements of darkorbit: [Only registered and activated users can see links. Click Here To Register...]

Although in the post it uses adblock, with my launcher it is much easier using the network request blocking utility that the devtool has.
I recommend using the * replacing the unneeded domains and trunks in the url to make sure it works
Original URL: [Only registered and activated users can see links. Click Here To Register...]

Element to block: *spacemap/3d/textures/*
[Only registered and activated users can see links. Click Here To Register...]