Jump to content

Search the Community

Showing results for tags 'smsg_auth_response'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Categories

  • Mangos Zero
    • Enhancement Requests (Zero)
    • Tasks (Zero)
    • Archived Reports (Zero)
  • Mangos One
    • Enhancement Requests (One)
    • Tasks (One)
    • Archived Reports (One)
  • Mangos Two
    • Enhancement Requests (Two)
    • Tasks (Two)
    • Archived Reports (Two)
  • Mangos Three
    • Enhancement Requests (Three}
    • Tasks (Three)
    • Archived Reports (Three)
  • Mangos Four
    • Enhancement Requests
    • Tasks
    • Archived Reports
  • Mangos Five
    • Enhancement Requests
    • Tasks
    • Archived Reports
  • Mangos VB
    • Server 0
    • Server 1
    • Server 2
    • Enhancement Requests
    • Tasks
  • Cross-Core
    • Bugs
    • Enhancement Requests
    • Tasks
    • Sub-Modules
    • Eluna
    • Linux
    • Windows
  • Third Party Software
    • Recast Navigation
    • Cmake
    • OpenSSL
    • MySQL
    • MariaDB
    • Acelite
    • bzip2
    • g3dlite
    • libmpq
  • Website
    • WIKI

Categories

  • Development Roadmap
  • Documentation
    • Installation Guides
    • Playerbot AI
    • Standards And Practices
  • Tutorials
    • Advanced
    • Contributing to Mangos
    • Debugging
  • Reference Information
    • ClientFiles
    • Database Info
    • DBC Files
    • Other
    • Packet Info
    • Server Files
    • Server Components

Forums

  • MaNGOS Information
    • Announcements & Releases
  • Community Discussion Areas
    • Introduce Yourself
    • Community Cafe
    • Community Input
    • Community Projects
    • MaNGOS University
  • Community Help and Support
    • Peer to Peer Technical Support
    • Frequently Asked Questions
    • Resources
  • Development & Patch Submissions
    • Development
    • Patch Submissions
  • Eluna LUA Engine
    • Eluna Central
  • International Help & Support
    • International Boards
  • Archived
    • Main Archives
    • Archive of Pre-2012 Forum

Product Groups

There are no results to display.

Categories

  • Mangos Zero
  • Mangos One
  • Mangos Two
  • Mangos Three
  • Addons
    • Classic Addons
  • World Of Warcraft Patches
    • WoW Patches
    • The Burning Crusade Patches
    • Wrath of the Lich King
    • Client Tools Patchers

Blogs

  • getMaNGOS
  • DBC handling for mangos
  • The Road to Zero Release 21
  • Necrovoice's development blog.

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Core


Skype


Discord


Website URL


AIM


ICQ


Yahoo


Jabber


Gender


Location


Interests

Found 1 result

  1. Hello, Mangos Community! I'm trying to developing python core from scratch and using your project as example. Currently my client stucks on 'Connected' and I think problem can be with packet encryption. Can anybody help me with debug or advice ? This is my project. And this is how packet encrypted: class HeaderCrypt(object): ENCRYPT_HEADER_SIZE = 4 DECRYPT_HEADER_SIZE = 6 def __init__(self, session_key): self.session_key = session_key self.send_i = 0 self.send_j = 0 self.recv_i = 0 self.recv_j = 0 def encrypt(self, data): assert len(data) >= HeaderCrypt.ENCRYPT_HEADER_SIZE encrypted_header = [0] * HeaderCrypt.ENCRYPT_HEADER_SIZE for index in range(HeaderCrypt.ENCRYPT_HEADER_SIZE): enc = (data[index] ^ self.session_key[self.send_i]) + self.send_j enc %= 0x100 encrypted_header[index] = self.send_j = enc self.send_i = (self.send_i + 1) % len(self.session_key) return bytes(encrypted_header) + data[HeaderCrypt.ENCRYPT_HEADER_SIZE:] def decrypt(self, data): assert len(data) >= HeaderCrypt.DECRYPT_HEADER_SIZE decrypted_header = [0] * HeaderCrypt.DECRYPT_HEADER_SIZE for index in range(self.DECRYPT_HEADER_SIZE): dec = (data[index] - self.recv_j) ^ self.session_key[self.recv_i] dec %= 0x100 decrypted_header[index] = dec self.recv_j = data[index] self.recv_i = (self.recv_i + 1) % len(self.session_key) return bytes(decrypted_header) + data[HeaderCrypt.DECRYPT_HEADER_SIZE:]

Contact Us

To contact us click here
You can also email us at [email protected]

Privacy Policy | Terms & Conditions

Repositories

The Link to the master list
of MaNGOS repositories:
Copyright © getMaNGOS. All rights Reserved.

This website is in no way associated with or endorsed by Blizzard Entertainment®
×