Custom client for 3.3.5, issue with sending addon info menu

User Tag List

Results 1 to 4 of 4
  1. #1
    Anachoreta's Avatar Member
    Reputation
    5
    Join Date
    Jun 2022
    Posts
    12
    Thanks G/R
    2/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Custom client for 3.3.5, issue with sending addon info

    Hi community ! Could somebody explain what is expected by mangos SessionAnticheat::ReadAddonInfo function ? When I try to send CMSG_AUTH_SESSION from my custom client, I got an error there and it's unclear what I should send. Just sending uint32(0) returns an error too. So seems like I should send some fingerprint from "Blizzard_BindingUI", "Blizzard_InspectUI", "Blizzard_MacroUI", "Blizzard_RaidUI". But what is expected ? CRC Hash ? maybe something else ?

    UPDATED
    To clarify, I passed authentication successfully, so srp steps and hmac sha1 steps passed. Just need to know how to correctly send addon info.
    Last edited by Anachoreta; 06-03-2022 at 04:28 AM.

    Custom client for 3.3.5, issue with sending addon info
  2. #2
    Anachoreta's Avatar Member
    Reputation
    5
    Join Date
    Jun 2022
    Posts
    12
    Thanks G/R
    2/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Well, I tried to debug what mangos got from wotlk client and found, that client send:
    uint32 addonSize // uncompressed size in bytes
    compressed data:
    uint32 addonCount

    array:
    String addonName + "\0"
    uint8 flags
    uint32 modulus crc
    uint32 urlcrc crc

    also there uint32 at the end of compressed data, seems like timestamp.

    I tried all levels of zlib compress to send addonInfo like wotlk client sent, but seems like smth wrong,
    because before I was getting error with -5 code from the code below, now I got -3 error code:

    Code:
    if (uncompress(const_cast<Bytef*>(clientAddonData.contents()), &addonSize,
            reinterpret_cast<const Bytef *>(authSession->contents() + authSession->rpos()),
            static_cast<uLongf>(authSession->size() - authSession->rpos())) != Z_OK)
        {
            sLog.outBasic("ADDON: Addon information failed to compress.  Account %s (id %u) IP %s",
                _session->GetAccountName().c_str(), _session->GetAccountId(), _session->GetRemoteAddress().c_str());
    
            return false;
        }
    Does anybode know how to send addon info correctly ?

  3. #3
    paulc03's Avatar Member
    Reputation
    1
    Join Date
    Mar 2019
    Posts
    2
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I don't know the solution to your problem but I'm interested in the login code you wrote for the custom client. Care to share it? At least the login part, I'm kinda stuck there

  4. #4
    Anachoreta's Avatar Member
    Reputation
    5
    Join Date
    Jun 2022
    Posts
    12
    Thanks G/R
    2/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    In case somebody will look for smth like that I solved the issue and published first version of my client: GitHub - idewave/idewave-cli: Rust implementation of smart cli for world of warcraft server v3.3.5a

Similar Threads

  1. Aggro issue with customized mobs.
    By SniperSA in forum WoW EMU Questions & Requests
    Replies: 0
    Last Post: 08-11-2008, 03:49 AM
  2. [HELP] got some issues with creating custom model
    By paniccoo in forum WoW ME Questions and Requests
    Replies: 0
    Last Post: 04-04-2008, 08:15 PM
  3. How to make custom items for your server! WITH PICS! [Noob friendly]
    By ',-Jurkey-,' in forum WoW EMU Guides & Tutorials
    Replies: 7
    Last Post: 03-29-2008, 09:54 AM
  4. The easy way to make custom items for your server WITH PICTURES! [Noob friendly]
    By ',-Jurkey-,' in forum WoW EMU Guides & Tutorials
    Replies: 15
    Last Post: 03-19-2008, 09:44 AM
  5. Trouble with custom item for my antrix server.
    By phc_chaos in forum World of Warcraft Emulator Servers
    Replies: 3
    Last Post: 10-14-2007, 02:31 PM
All times are GMT -5. The time now is 12:31 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