Auto Patch System

12/20/2019 05:42 pintinho12#31
I didn't mean the bump, but I'm developing this again and it's on a Github Repository.

Accepting suggestions. I think I'll be good to use within 1 week more.
[Only registered and activated users can see links. Click Here To Register...]

It's multilanguage and will not be a loader, it's meant to be a launcher only. No injection.

[Only registered and activated users can see links. Click Here To Register...][Only registered and activated users can see links. Click Here To Register...]
01/07/2020 14:24 pintinho12#32
Okay, the [Only registered and activated users can see links. Click Here To Register...] has been updated and now may be working. Tho, still need much tests of course.
I'll be updating the main post tonight when I reach home with a Guide and demonstration video showing my cute voice speaking english. :D
Be ready for nightmares, cya'll
01/08/2020 16:05 pintinho12#33
Main thread updated.
I'll be giving support and accepting suggestions
01/09/2020 08:47 bashondegek#34
Great stuff!
Good to see that there are still some awesome developments going on, on this forums :-)!

Following the development and keep it up!
01/13/2020 19:43 cronoszeu#35
whats the missing file login.dat ?

Quote:
byte[] file = File.ReadAllBytes("login.dat");
01/13/2020 21:41 pintinho12#36
Quote:
Originally Posted by cronoszeu View Post
whats the missing file login.dat ?
Oh, you can remove that line. It'll be removed in future versions, I'm sorry. It's obsolete. The client wont connect to the account server to check if it's alive. Tho, you can generate it with the Crypto project. I need to make a tutorial on how to setup that file.
08/07/2020 23:00 ExTaCy#37
patcher screen wont move can you add drag window?
08/09/2020 19:31 pintinho12#38
Quote:
Originally Posted by ExTaCy View Post
patcher screen wont move can you add drag window?
I'll take a look into that
01/27/2021 05:46 denominator#39
I figured out the older version but now I need to use the newest version, I build it and it builds but when I add the stuff from the debug folder to my 5187 client and try to launch it but I get nothing?
01/28/2021 21:14 pintinho12#40
Quote:
Originally Posted by denominator View Post
I figured out the older version but now I need to use the newest version, I build it and it builds but when I add the stuff from the debug folder to my 5187 client and try to launch it but I get nothing?
Program.cs has a static CurrentDirectory that points to a test client and is surrounded by the preprocessor. That code runs only on DEBUG.

If you want to DEBUG you can:
1. Change the folder on Program.cs
[Only registered and activated users can see links. Click Here To Register...]
2. OR use Release mode.
01/28/2021 22:37 denominator#41
I used Release mode thank you :)
02/22/2021 18:09 Bad^Blood#42
GG
03/04/2021 13:20 magewarior2#43
Question:
---------------------------------------------------------------------------------------------------
Why you create an auto patch server?

Why not make it instant download the patch that is needed directly from the URL?
---------------------------------------------------------------------------------------------------
Quote:
Originally Posted by ExTaCy View Post
patcher screen wont move can you add drag window?
add this into the form

Code:
        protected override void WndProc(ref Message m)
        {
            base.WndProc(ref m);
            if (m.Msg == WM_NCHITTEST)
                m.Result = (IntPtr)(HT_CAPTION);
        }

        private const int WM_NCHITTEST = 0x84;
        private const int HT_CLIENT = 0x1;
        private const int HT_CAPTION = 0x2;
03/05/2021 04:21 pintinho12#44
Quote:
Originally Posted by magewarior2 View Post
Question:
---------------------------------------------------------------------------------------------------
Why you create an auto patch server?

Why not make it instant download the patch that is needed directly from the URL?
---------------------------------------------------------------------------------------------------
Huh? You mean keep track of the md5 hash of all client files (except logs and variable files) and update when there's any change?

Quote:
Originally Posted by magewarior2 View Post
add this into the form

Code:
        protected override void WndProc(ref Message m)
        {
            base.WndProc(ref m);
            if (m.Msg == WM_NCHITTEST)
                m.Result = (IntPtr)(HT_CAPTION);
        }

        private const int WM_NCHITTEST = 0x84;
        private const int HT_CLIENT = 0x1;
        private const int HT_CAPTION = 0x2;
Code:
public FrmMain() {
...
DoubleBuffered = true;
...
}

       private Point m_mouseLoc;

        private void FrmMain_MouseDown(object sender, MouseEventArgs e)
        {
            m_mouseLoc = e.Location;
        }

        private void FrmMain_MouseMove(object sender, MouseEventArgs e)
        {
            if (e.Button == MouseButtons.Left)
            {
                int dx = e.Location.X - m_mouseLoc.X;
                int dy = e.Location.Y - m_mouseLoc.Y;
                Location = new Point(Location.X + dx, Location.Y + dy);
            }
        }
05/22/2021 15:54 Wohawk#45
Thank you for your effort