[Re-Release] Clientless->Client sample

12/08/2018 14:52 homelesshobo#16
Quote:
Originally Posted by oksn123 View Post
I try edxloader. Im opened your program and ı use edxloader to open sro but dont connect each other. I m writing merchant bot for 3 weeks and I comleted the program yesterday but ı always use local vsro in my pc but I cant connect other server I tried so hard for this program learning packet,opcode how to respond and writing but ıcant use them know Im tryin edxloader I try everything . Ithing ı miss someting can you help me please for a little example how the connect bot and another server because loader dosnt work.and I use your program too baceuse if I wrote wrongly but no luck eather.
Thank in advance sorry my bad english ım still learning english Ihope Iwas explain my self.

İf you want I will send my program source to look. Im gonna share my program source in here if work other sro. THhan other people look and learn how to write packet Thank you dextersoul ı was started when I find your program and look good.

Here's how I made it work:
  1. Redirect the Gateway server to the address shown in the console.
    The default is 127.0.0.1:16000. You can change the port in the Proxy.cs file

  2. Redirect Agent Server to the private server's Agent server. You can get the address by logging in clientlessly first.
  3. Make sure your Loader's Gateway IP and Gateway port are set, otherwise the loader will return a nullpointer exception.
    Here's a snippet of how to set that in MainWindow.cs

The result should log you in successfully. Restart the bot if you want to reconnect though. The ports sockets do not seem to reset reliably if your loaded client does not exit correctly.

This is an example of the setup for using the "In Panic" private server
[Only registered and activated users can see links. Click Here To Register...]
12/10/2018 14:02 oksn123#17
Thank you for this I try just now and working perfectly Thank you so much :D
01/09/2019 04:26 sandsnip3r#18
This is really cool. Im trying to get it to work but when i "Start Client", I get "Gateway disconnected" and "Gateway kicked" in the UI's Log window. And if i "Start Clientless" i get "There is an update or you are using an invalid silkroad version." Of course, maybe im putting in the wrong version number into the text box. How can I find out the gateway IP, gateway port, and version?

I assume the gateway IP is the same IP that mbot shows for the login server?
Does the gateway port ever change? This one seems really common.
01/09/2019 07:00 DaxterSoul#19
You can look them up in the [Only registered and activated users can see links. Click Here To Register...], [Only registered and activated users can see links. Click Here To Register...].

The tool is most likely not compatible with servers that have various modifications (HWID, bot detection with locale, etc...), it's up to you do overcome those.
01/09/2019 18:43 sandsnip3r#20
Oh cool, thanks for your work here, this is great! What about the version number? It looks like that's the SVT file?

I found the right gateway info. I guess my version just isn't matching. Would this lead to the "Gateway kicked" error im seeing?
01/10/2019 18:48 oksn123#21
I dont have time to compile post for how to read media pk 2 so
You can search in the net for example: how to read media pk2 c#
Than when you understand how to read mediapk2

use this for Version

Code:
    public static void GetVersion()
        {
            System.Threading.Thread.Sleep(500);
            PK2Reader.Reader Pk2Reader;
            try { Pk2Reader = new PK2Reader.Reader(MainData.Mediapk2, MainData.PK2Key); }
            catch (Exception)
            {
                MessageBox.Show("Validsss Key");
                return;
            }
            if (File.Exists(Environment.CurrentDirectory + @"\data\SV.T"))
            {
                File.Delete(Environment.CurrentDirectory + @"\data\SV.T");
            }
            Pk2Reader.ExtractFile("SV.T",Environment.CurrentDirectory + @"\data\SV.T");

            var path = Environment.CurrentDirectory + @"\data\SV.T";
            using (FileStream fs = File.OpenRead(path))
            {
                using (var reader = new BinaryReader(fs))
                {
                    var versionBufferLength = reader.ReadInt32();
                    var versionBuffer = reader.ReadBytes(versionBufferLength);
                    var version = Read(versionBuffer);
                    MainData.Version = version;
                }
            }
            File.Delete(Environment.CurrentDirectory + @"\data\SV.T");
            Pk2Reader.Dispose();
        }
    public static int Read(byte[] buffer)
        {
            if (blowfish == null)
                InitiateBlowfish();

            var decodedBuffer = blowfish.Decode(buffer);
            return int.Parse(Encoding.ASCII.GetString(decodedBuffer, 0, 4));
        }

        public static byte[] Save(int version)
        {
            if (blowfish == null)
                InitiateBlowfish();

            var buffer = Encoding.ASCII.GetBytes(Convert.ToString(version));
            Array.Resize(ref buffer, 8); //adds padding to use blowfish directly on this buffer

            return blowfish.Encode(buffer);
        }
        private static void InitiateBlowfish()
        {
            blowfish = new SecurityAPI.Blowfish();
            blowfish.Initialize(Encoding.ASCII.GetBytes(ASCII_KEY), 0, 8);
        }
if you cant find or you cant understan how to read. send private message
03/26/2019 14:12 #Garen#22
nice work (y)
05/02/2022 17:22 huytndh#23
give me link pl