[Wow 5.4.0 XXXXX] Problem with some XOR calculations menu

User Tag List

Results 1 to 3 of 3
  1. #1
    Malak044's Avatar Private
    Reputation
    1
    Join Date
    Oct 2013
    Posts
    1
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [Wow 5.4.0 XXXXX] Problem with some XOR calculations

    Hello guyz, i m trying to reverse some packets sent to the client at a time, and i've got some strange results. Here is the line that makes fun of me :

    Code:
    *(_DWORD *)v1 ^= (unsigned int)&unk_FFFFFF & (v2 ^ *(_DWORD *)v1);
    found on :

    Code:
    char __thiscall sub_717E04(void *this, int a2, int a3) (build 17371) (case 244 on ClientDispatch for all build)
    Where v1 is the variable stocking the result in the struct. and v2 is the variable sent by the server.

    The info that i try to find is the length of name of some NPC.

    Here is what i got so far :

    Code:
    Entry of NPC
    Sent       [DEC] [BINARY]
    Wanted     [DEC] [BINARY]
    
    5479
    4    0100
    7    0111
    
    5480
    6   0110
    11  1011
    
    914
    7   0111
    13  1101
    
    44256
    5   0101
    10  1010
    
    52027
    8   01000
    16  10000
    
    44251
    6   0110
    12  1100
    
    44245
    9   01001
    17  10001
    
    44246
    8   01000
    16  10000
    
    58154
    6   0110
    12  1100
    So what i can say with those data is that the client acts in 2 differents ways : it multiply the data sent by 2 (minus 1)

    the problem i get is very simple: when do i have to minus the result or not ?! do u think a previous packet initialize the var in the struct. ?! seems that unk_FFFFFF is always 0 but i m not sure at all

    P.S. : sorry for the bad english, isnt my 1st language.

    All ideas are welcome.

    Malak

    [Wow 5.4.0 XXXXX] Problem with some XOR calculations
  2. #2
    doityourself's Avatar ★ Elder ★
    Reputation
    1424
    Join Date
    Nov 2008
    Posts
    843
    Thanks G/R
    35/448
    Trade Feedback
    0 (0%)
    Mentioned
    6 Post(s)
    Tagged
    0 Thread(s)
    Ignore the xor. Just some shit which is not needed.

    there are just simple BitUnpack::GetBitCT functions used.

  3. #3
    _Mike's Avatar Contributor
    Reputation
    310
    Join Date
    Apr 2008
    Posts
    531
    Thanks G/R
    0/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Malak044 View Post
    seems that unk_FFFFFF is always 0 but i m not sure at all
    Do not blindly trust hex-rays. It's a constant, not a variable. Notice the address-of operator.

Similar Threads

  1. [Mangos] some problems with kara porting to classic wow
    By aidarius in forum WoW EMU Questions & Requests
    Replies: 0
    Last Post: 06-22-2013, 03:44 PM
  2. Problem with some mobs
    By mmosoft in forum WoW Memory Editing
    Replies: 5
    Last Post: 07-03-2009, 08:11 AM
  3. Got some problems with my server..Nothing huge..
    By b!atch in forum World of Warcraft Emulator Servers
    Replies: 8
    Last Post: 02-09-2008, 05:04 AM
  4. [Question] Problems with the new WoW update.
    By Aradroth in forum WoW ME Questions and Requests
    Replies: 6
    Last Post: 01-23-2008, 09:40 PM
  5. Some problems with Items...
    By Pimpin_N0ob in forum World of Warcraft Emulator Servers
    Replies: 9
    Last Post: 09-02-2007, 03:07 AM
All times are GMT -5. The time now is 05:49 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search