[MPQ] Forcing players to play with custom patches menu

User Tag List

Page 2 of 3 FirstFirst 123 LastLast
Results 16 to 30 of 35
  1. #16
    blukkiee's Avatar Active Member
    Reputation
    18
    Join Date
    Jun 2007
    Posts
    141
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Alright so right now I've got the spell made. When I try to put the new Spell.dbc in the patch, all spells mess up and you have 10 seconds before the client crashes. When I use the new Spell.dbc for the server, everything is fine.

    I will try some more but I've also come to the conclusion that even without the patch, you can learn the spell. If the spell is not on the serverside and only on the clientside, there is nothing to learn (my guess).

    It would look like this:

    Client: Yes - Server: No: no
    Client: Yes - Server: Yes: yes
    Client: No - Server: Yes: yes
    Client: No - Server: No: no

    So we've again made 0 progress to any clientside checks.

    Is there a way you can modify the client version (i.e. 866 and check this with the core? The core must check this, because the core doesn't allow connections from wrong client versions afaik.
    Last edited by blukkiee; 02-24-2010 at 12:02 PM.

    [MPQ] Forcing players to play with custom patches
  2. #17
    stoneharry's Avatar Moderator Harry

    Authenticator enabled
    Reputation
    1613
    Join Date
    Sep 2007
    Posts
    4,554
    Thanks G/R
    151/146
    Trade Feedback
    0 (0%)
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by blukkiee View Post
    Is there a way you can modify the client version (i.e. 866 and check this with the core? The core must check this, because the core doesn't allow connections from wrong client versions afaik.
    The logonserver config controls what builds can connect. If you can change the build via a mpq edit then you can only allow that build in the logonserver config.

  3. #18
    blukkiee's Avatar Active Member
    Reputation
    18
    Join Date
    Jun 2007
    Posts
    141
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I think it is all scripted in the launcher and not in any other file, I can't find anything related to the build version in the patches and the core doesn't really give me any clue where they get it from...

  4. #19
    homer91's Avatar Active Member CoreCoins Purchaser
    Reputation
    79
    Join Date
    Oct 2008
    Posts
    259
    Thanks G/R
    59/7
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    *removeme*
    Last edited by homer91; 02-21-2013 at 06:56 PM.

  5. #20
    blukkiee's Avatar Active Member
    Reputation
    18
    Join Date
    Jun 2007
    Posts
    141
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    They say it can only be done with a warden-like program, which is not supported yet.

  6. #21
    The-Eradicator's Avatar Contributor

    Reputation
    149
    Join Date
    May 2007
    Posts
    829
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by blukkiee View Post
    They say it can only be done with a warden-like program, which is not supported yet.
    That's bullshit, there's a lot of ways to enforce custom patching for the majority of your players.

    You could build a launcher, and have your realm authentication require a packet sent from the launcher before the initial WoW packet, which would be sent when they hit "Play". If that packet isn't sent they aren't using the launcher, thus not using the patch, therefore deny login. The allowed login would last for two or three minutes.

    You could embed an addon in the MPQ files like Blizzard's addons do. This addon simply sends a version check across the addon channel. Serverside, listen for that message. If it isn't sent, disconnect the player.

    That names only two methods, and there are several more.
    The most beautiful thing we can experience is the mysterious. It is the source of all true art and all science. He to whom this emotion is a stranger, who can no longer pause to wonder and stand rapt in awe, is as good as dead: his eyes are closed.
    Albert Einstein

  7. #22
    blukkiee's Avatar Active Member
    Reputation
    18
    Join Date
    Jun 2007
    Posts
    141
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    The launcher is a great idea. I will try to make one myself - if I would not be capable to make one would it be ok for me to contact you?

    Edit: They can use a launcher without using the custom patch. How would I fix this?
    Edit2: This might be of any use? http://www.zezula.net/en/mpq/mpqformat.html

    Edit3: This guy told me it's possible to embed add-ons in .MPQ files. This way you could let the addon send some code/packet/string to the server and only then it would allow connection to the server. Any of you can confirm this? If true, I do not know how to so if anyone can help that would be great.
    Last edited by blukkiee; 02-25-2010 at 03:49 PM.

  8. #23
    homer91's Avatar Active Member CoreCoins Purchaser
    Reputation
    79
    Join Date
    Oct 2008
    Posts
    259
    Thanks G/R
    59/7
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    blukkiee, please add me on msn
    [email protected]

  9. #24
    The-Eradicator's Avatar Contributor

    Reputation
    149
    Join Date
    May 2007
    Posts
    829
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by blukkiee View Post
    Edit: They can use a launcher without using the custom patch. How would I fix this?
    Try reading the post.

    Originally Posted by blukkiee View Post
    Edit2: This might be of any use? MPQ Archivy - MPQ file format
    You obviously have no idea what you're looking at.

    Originally Posted by blukkiee View Post
    Edit3: This guy told me it's possible to embed add-ons in .MPQ files. This way you could let the addon send some code/packet/string to the server and only then it would allow connection to the server. Any of you can confirm this? If true, I do not know how to so if anyone can help that would be great.
    I have a name. Aside from that, read the damn post. Unless something has changed since TBC (which is doubtful) you should be able to find the Blizzard addons in one of the MPQs. That's where they get them from when they're extracted to the interface\addons folder. You should be able to do the same thing.
    The most beautiful thing we can experience is the mysterious. It is the source of all true art and all science. He to whom this emotion is a stranger, who can no longer pause to wonder and stand rapt in awe, is as good as dead: his eyes are closed.
    Albert Einstein

  10. #25
    blukkiee's Avatar Active Member
    Reputation
    18
    Join Date
    Jun 2007
    Posts
    141
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Try reading the post.
    Your explanation wasn't very clear. You say if they aren't using the launcher they aren't using a patch either - but they are two seperate things. They can use the launcher and still not have the patch in their data folder.

    (Just a note, if you don't WANT to help then don't)
    Last edited by blukkiee; 02-28-2010 at 07:37 AM.

  11. #26
    The-Eradicator's Avatar Contributor

    Reputation
    149
    Join Date
    May 2007
    Posts
    829
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by blukkiee View Post
    Your explanation wasn't very clear. You say if they aren't using the launcher they aren't using a patch either - but they are two seperate things. They can use the launcher and still not have the patch in their data folder.

    (Just a note, if you don't WANT to help then don't)
    if [patch exists] then [send packet], [start wow]

    Serverside:

    if [packet was sent in the past two minutes] then [allow login] else [deny login]
    The most beautiful thing we can experience is the mysterious. It is the source of all true art and all science. He to whom this emotion is a stranger, who can no longer pause to wonder and stand rapt in awe, is as good as dead: his eyes are closed.
    Albert Einstein

  12. #27
    blukkiee's Avatar Active Member
    Reputation
    18
    Join Date
    Jun 2007
    Posts
    141
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yeah I should've thought about that :') Thanks.
    I will have to look into this packets, never worked with it before.

  13. #28
    blukkiee's Avatar Active Member
    Reputation
    18
    Join Date
    Jun 2007
    Posts
    141
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Any way to prevent them from making a custom file that contains nothing but has the same name?

  14. #29
    The-Eradicator's Avatar Contributor

    Reputation
    149
    Join Date
    May 2007
    Posts
    829
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by blukkiee View Post
    Any way to prevent them from making a custom file that contains nothing but has the same name?
    Yeah, you can. This would require a more complicated process, you'll want to use TCP instead of UDP.

    On the server side you'd want hashes of all the patches available.

    Code:
    public enum Packets : byte
    {
        CMSG_LAUNCHER_AUTHENICATE = 0x00,
        SMSG_LAUNCHER_AUTHENICATE = 0x01,
    }
    
    public enum LoginResult : byte
    {
        LOGIN_SUCCESS = 0x00,
        LOGIN_PATCH_OUTDATED = 0x01,
        LOGIN_PATCH_INVALID = 0x02,
    }
    Then it would look something like

    CLIENT -> CMSG_LAUNCHER_AUTHENTICATE [SHA-1 hash of patch]

    SERVER: Compare list of hashes

    If hash is outdated send SMSG_LAUNCHER_AUTHENTICATE [LOGIN_PATCH_OUTDATED]

    If the hash isn't in the list send SMSG_LAUNCHER_AUTHENTICATE [LOGIN_PATCH_INVALID]

    If the hash is in the list, and is the latest patch send SMSG_LAUNCHER_AUTHENTICATE [LOGIN_SUCCESS], and allow login from that IP for the next minute.

    The only way to circumvent this protection would be to write a launcher that duplicates this process and uses the hash from the patch as a constant.

    That is highly unlikely, however, since that would require the user to watch the packet process, download the patch, make a hash from the patch, spend an hour or two figuring out how to write code for it, all so that they can't see half the stuff on your server.
    Last edited by The-Eradicator; 03-01-2010 at 06:43 PM.
    The most beautiful thing we can experience is the mysterious. It is the source of all true art and all science. He to whom this emotion is a stranger, who can no longer pause to wonder and stand rapt in awe, is as good as dead: his eyes are closed.
    Albert Einstein

  15. Thanks homer91 (1 members gave Thanks to The-Eradicator for this useful post)
  16. #30
    homer91's Avatar Active Member CoreCoins Purchaser
    Reputation
    79
    Join Date
    Oct 2008
    Posts
    259
    Thanks G/R
    59/7
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Nice idea, thank you!!!

Page 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. [Mangos] Player race models with custom selected gear for an NPC?
    By HaveIBeenPwned in forum WoW EMU Questions & Requests
    Replies: 0
    Last Post: 09-09-2016, 09:28 AM
  2. [Patch] [Patch/Client]Custom Patch(MPQ) with realmlist restriction
    By valterq in forum WoW EMU Questions & Requests
    Replies: 3
    Last Post: 04-28-2015, 06:01 PM
  3. Got access to Heroes? Post your b-tag here to find players to play with!
    By Dante in forum Heroes of the Storm General
    Replies: 13
    Last Post: 11-03-2014, 08:39 AM
  4. Looking for Anarchy players to play with
    By Nikentic in forum Path of Exile
    Replies: 0
    Last Post: 07-04-2013, 01:24 PM
  5. Replies: 6
    Last Post: 08-31-2010, 12:58 AM
All times are GMT -5. The time now is 09:56 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search