Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Silkroad Online > SRO Coding Corner
You last visited: Today at 10:21

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[Re-Release] Clientless->Client sample

Discussion on [Re-Release] Clientless->Client sample within the SRO Coding Corner forum part of the Silkroad Online category.

Reply
 
Old 12/08/2018, 14:52   #16
 
homelesshobo's Avatar
 
elite*gold: 0
Join Date: Jan 2010
Posts: 103
Received Thanks: 17
Post

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
homelesshobo is offline  
Thanks
2 Users
Old 12/10/2018, 14:02   #17
 
elite*gold: 0
Join Date: Jun 2010
Posts: 28
Received Thanks: 14
Thank you for this I try just now and working perfectly Thank you so much
oksn123 is offline  
Old 01/09/2019, 04:26   #18
 
elite*gold: 0
Join Date: Mar 2009
Posts: 71
Received Thanks: 21
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.
sandsnip3r is offline  
Old 01/09/2019, 07:00   #19
 
elite*gold: 0
Join Date: Jan 2009
Posts: 314
Received Thanks: 686
You can look them up in the , .

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.
DaxterSoul is offline  
Old 01/09/2019, 18:43   #20
 
elite*gold: 0
Join Date: Mar 2009
Posts: 71
Received Thanks: 21
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?
sandsnip3r is offline  
Old 01/10/2019, 18:48   #21
 
elite*gold: 0
Join Date: Jun 2010
Posts: 28
Received Thanks: 14
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
oksn123 is offline  
Old 03/26/2019, 14:12   #22
 
elite*gold: 0
Join Date: Jan 2019
Posts: 51
Received Thanks: 10
nice work (y)
#Garen is offline  
Old 05/02/2022, 17:22   #23
 
elite*gold: 0
Join Date: Dec 2013
Posts: 8
Received Thanks: 2
give me link pl
huytndh is offline  
Thanks
1 User
Reply


Similar Threads Similar Threads
[Release]Plus Auto Notice(Sample + Source)
02/27/2021 - SRO PServer Guides & Releases - 31 Replies
Hey there, First of all #DirenGezi, #OccupyTurkey And then As you can see on the title it just sends a notice to server about alchemy actions :P When a player successfully upgrades his/her item its automatically recording to Log DB. It will be a bit buggy. I'm not going to make a full guide here but i think you guys can handle it with some brain :P Btw i've used "auto notice's source codes by someone else". If you let me know his name i'll let others know who he is :P Log in with...
[Logic] Clientless --> Client
03/13/2019 - SRO Coding Corner - 22 Replies
Hey there! i was thinking about adding a Clientless to Client function to my not (yet) finished bot. i think "recording" all packets that come to my clientless and when i activate that function i am gonna send all packets to client that are recorded. Of course you have to manage when you send the packet(the client needs to get each packet when it is expected!!!). So i also figured that out. The current status of my function is that the client loggs in with the same sessionID of course and...
End of clientless bot = bye bye to all client less bot
04/17/2014 - WarRock - 62 Replies
Changes to the Server Structure Troopers, I am very excited to announce changes to our server structure which will be implemented on April 16 to improve your gameplay experience. Let me preface this by pointing out that the lags you have been experiencing lately are not related to a lack of proper server hardware or anything related to that. We have been working hard over the last few weeks to investigate these issues and would like to present a part of these changes to you...
[Release] Socket Sample
04/08/2012 - CO2 PServer Guides & Releases - 11 Replies
Yoo ^^ Found out in one of my studies an not so old socket system, and since i'm not using it anymore (got a new one ;P), its nearly copy+paste, but you can also check somethings if you want tho... It's not the best one, but it works without problems... ServerSocket.cs: using System; using System.Net; using System.Net.Sockets; using System.Threading;
IBOT client->clientless
02/12/2011 - SRO Hacks, Bots, Cheats & Exploits - 15 Replies
Please anyone tell me hoe to switch from client to clientless using ibot i tried many times some times works and sometimes and when i bot it stops numerous time while attacking mobs i have stop and start each time after it .



All times are GMT +1. The time now is 10:22.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.