Forum > Tutorials

[TUTORIAL] Sending Patches To The Client Through The WoW App

<< < (6/8) > >>

Leroy:
The newest patch for trinitycore is not working for me. I think that code of trinitycore has recently changed.
Some files of trinitycore can´t be patched. (Main.cpp , AuthSocket.cpp, AuthCodes.cpp)    :cry:  (I have the newest trinitycore).

stoneharry:

--- Quote from: "Leroy" ---The newest patch for trinitycore is not working for me. I think that code of trinitycore has recently changed.
Some files of trinitycore can´t be patched. (Main.cpp , AuthSocket.cpp, AuthCodes.cpp)    :cry:  (I have the newest trinitycore).
--- End quote ---

Have you tried manually merging it? I doubt they've changed it that much.

Leroy:
Thank you , it works now ... but I have a  two questions.  The first one is Where should I setup a path to custom patch. (Core ? in define ?) and The second one is What syntax shoud have the name of patch file.

I am using Linux (debian) , compilation of core was succesfull.  I have folder "patches" in my "bin"(where i have authserver and worldserver) folder and there I have custom patch (Patch-x.mpq ..I have tried 12340-enUS.mpq too), but when I log in nothing happens. I have modified wow.exe too. In the auth console is only  "Entering _HandleLogonProof".

stoneharry:
Update AuthCodes to deny 12340 as a build.

Path is:

--- Code: ---+#ifndef _WIN32
+#define PATCH_PATH "../var/patches/"
+#else
+#define PATCH_PATH "./patches/"
+#endif

--- End code ---

So if windows, just make a folder called patches. If not windows, ../var/patches. I am not sure what linux is for ../ but I assume it is the same as windows - back a directory, vars folder, patches folder.

Patch name should look something like this:

12340-enGB.mpq

Leroy:
Okay, so authserver has found new patches , I have commented line
{12340, 3, 3, 5, 'a'},
from
RealmBuildInfo const PostBcAcceptedClientBuilds[] ...

so it looks now

    static RealmBuildInfo const PostBcAcceptedClientBuilds[] =
    {
    //{12340, 3, 3, 5, 'a'},
        {0,     0, 0, 0, ' '}                                   // terminator
    };


When I log in,  downloading starts , but then it shows message box "Patch Required, press the restart button below to exit World of Warcraft and download the patch."  When I click on restart button it shows message box "Failed to apply patch..." , after restart game still not working.

Output in console:

Client with version 12340 and locale enUS (53556e65) looking for patch.
Client with version 12340 and locale enUS (53556e65) looking for patch.
Patch: ../var/patches/12340-enUS.mpq
PatcherRunnable::run(): 0 -> 65580
patcher done.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version