00017144

Members
  • Content Count

    11
  • Joined

  • Last visited

File Comments posted by 00017144


  1. 36 minutes ago, kebabstorm said:

    I'm using the same old IDB from TOM_RUS which has been floating around for years, where most functions remain unnamed (it's been great help though still, no doubt). I wouldn't know if a more recent one is available somewhere. That could help though.

    I found a function for "Get MaterialID" which accesses cache first and item.dbc second, at sub_758ED0 , but it's barely used. From that function you can see that the MaterialID is at *p+404 aka [eax+194h] when retrieving from cache (column 102 @ ItemCache.wdb) or *p+16 aka [eax+10h] when retrieving from DBC (column 5 @ Item.Dbc). Detouring the func where the material is actually set to here would be the way to do it, but the problem is finding the place(s), where to detour from. There's a good chance that it doesn't actually call any func to retrieve it but it's inlined somewhere.

    edit: it's this one: https://mega.co.nz/#!GdoCCSKD!U3BFM2bySKF2lW-X5wz4XQJcZp8aH3YZUTRBpLjQU0Q

    There is SndInterfacePlayItemSound 0x4D0020 which seems to control item drop and pickup sounds, well as some third item sound catagory, could be similar

     


  2. 4 minutes ago, kebabstorm said:

    Thanks @00017144 for posting the offsets in a good, readable form :). I thought of doing that but couldn't be arsed, and on myself I only have my messy notes which are not fit for public consumption.

    You are of course welcome to patch it by yourself too, but please make 100% sure you are using a clean and unmodified 3.3.5.12340 enUS wow.exe before applying. The patcher takes care of that and will checksum the file before&after to make 100% sure the patch and resulting binary is correct.

    I also welcome any bug reports and if anyone has the technical experience to help with the last part of fixing the MaterialID to make it 100% can contact me to discuss the technical details on what exactly were done, how and why.

    You should append the source to your github so others can extend it if they have time to do such(possibly solving the materialID thing), possibly with the notes. I've done some pretty messy notes before about binary mods and others have still been able to make something out of it. Messy is better than a shot in the dark.

     

    As well as 010 Editor has an export feature for offsets, took a bit of formatting but not bad to do.


  3. No more sketchy download required.

    As the offsets were not posted, and the source not posted, I figured i'd post all changes made when making the item.dbc modification:

     

    61BE58h 
    Original:
    43 61
    Changed:
    7C 7C

    358186h
    Original:
    8B 01 6A 01 99 6A 00 68 70 EB 5E 00 33 C2 8D 4D
    F8 51 2B C2 50 B9 28 D8 C5 00 C7 45 F8 00 00 00
    00 C7 45 FC 00 00 00 00 E8 7D 3C F2 FF 85 C0 74
    07 8B 40 08 8B E5 5D C3 33 C0 8B E5 5D C3 CC CC
    CC CC CC CC CC CC CC

    Changed:
    56 8B 31 89 F0 6A 01 99 6A 00 68 70 EB 5E 00 33
    C2 8D 4D F8 51 2B C2 50 B9 28 D8 C5 00 C7 45 F8
    00 00 00 00 C7 45 FC 00 00 00 00 E8 7A 3C F2 FF
    85 C0 74 08 8B 40 08 5E 8B E5 5D C3 89 F0 5E 89
    EC 5D E9 89 E4 FA FF

    358136h
    Original:
    8B 01 6A 01 99 6A 00 68 70 EB 5E 00 33 C2 8D 4D
    F8 51 2B C2 50 B9 28 D8 C5 00 C7 45 F8 00 00 00
    00 C7 45 FC 00 00 00 00 E8 CD 3C F2 FF 85 C0 74
    07 8B 40 04 8B E5 5D C3 33 C0 8B E5 5D C3 CC CC
    CC CC CC CC CC CC CC

    Changed:
    56 8B 31 89 F0 6A 01 99 6A 00 68 70 EB 5E 00 33
    C2 8D 4D F8 51 2B C2 50 B9 28 D8 C5 00 C7 45 F8
    00 00 00 00 C7 45 FC 00 00 00 00 E8 CA 3C F2 FF
    85 C0 74 08 8B 40 04 5E 8B E5 5D C3 89 F0 5E 89
    EC 5D E9 A9 E4 FA FF

    309E03h
    Original:
    8B 40 0C 8B 0D 5C 3D AD 00 3B C1 7C 24 3B 05 58
    3D AD 00 7F 1C 2B C1 8B 0D 6C 3D AD 00 8B 04 81
    85 C0 74 0D 8B 40 14

    Changed:
    8D 48 0C E8 45 E4 04 00 90 90 90 90 90 90 90 90
    90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90
    90 90 90 90 90 90 90

    306703h
    Original:
    8B 40 0C 8B 0D 5C 3D AD 00 3B C1 7C 1B 3B 05 58
    3D AD 00 7F 13 2B C1 8B 0D 6C 3D AD 00 8B 04 81
    85 C0 74 04 8B 40 14 C3 33 C0 C3 CC CC 8B 41 08
    8B 40 0C 8B 0D 5C 3D AD 00 3B C1 7C 1B 3B 05 58
    3D AD 00 7F 13 2B C1 8B 0D 6C 3D AD 00 8B 04 81
    85 C0 74 04 8B 40 1C C3 33 C0 C3

    Changed:
    8D 48 0C E9 45 1B 05 00 CC CC CC CC CC CC CC CC
    CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC
    CC CC CC CC CC CC CC CC CC CC CC CC CC 8B 41 08
    8D 48 0C E9 15 1C 05 00 CC CC CC CC CC CC CC CC
    CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC CC
    CC CC CC CC CC CC CC CC CC CC CC

    306683h
    Original:
    8B 40 0C 8B 0D 5C 3D AD 00 3B C1 7C 1B 3B 05 58
    3D AD 00 7F 13 2B C1 8B 0D 6C 3D AD 00 8B 04 81
    85 C0 74 04 8B 40 18 C3 33 C0 C3

    Changed:
    8D 48 0C E9 45 1B 05 00 CC 8B 41 08 8D 48 0C E9
    E9 1A 05 00 CC 8D 4D 08 E8 B0 1B 05 00 E9 8C 41
    EA FF CC CC CC CC CC CC CC CC CC

    306650h
    Original:
    8B 41 08 8B 40 0C

    Changed:
    EB 3A CC CC CC CC

    306614h
    Original:
    CC CC CC CC CC CC CC CC CC CC CC CC 8B 41 08 8B
    40 0C

    Changed:
    8B 41 08 8D 48 0C E9 11 1B 05 00 CC EB F2 CC CC
    CC CC

    1AB316h
    Original:
    B9 64 3D AD 00 E8 70 03 0B 00 85 C0 74 05 8B 40
    14

    Changed:
    89 E1 E8 33 CF 1A 00 83 C4 04 85 C0 74 05 90 90
    90

    1AB0A9h
    Original:
    83 7B 18 00

    Changed:
    90 90 85 DB

    1AB076h
    Original:
    B9 64 3D AD 00 E8 10 06 0B 00 8B D8 85 DB
    Changed:
    89 E1 E8 53 D1 1A 00 E9 84 CC FF FF 85 C0

    1AAAFAh
    Original:
    B9 64 3D AD 00 E8 8C 0B 0B 00 85 C0 74 05 8B 40
    14

    Changed:
    89 E1 E8 4F D7 1A 00 83 C4 04 85 C0 74 05 90 90
    90

    1AA9D0h
    Original:
    B9 64 3D AD 00 E8 B6 0C 0B 00 85 C0 74 05 8B 40
    14

    Changed:
    89 E1 E8 79 D8 1A 00 83 C4 04 85 C0 74 05 90 90
    90

    1AA8A2h
    Original:
    B9 64 3D AD 00 E8 E4 0D 0B 00 85 C0 74 1F 8B 40
    14

    Changed:
    89 E1 E8 A7 D9 1A 00 83 C4 04 85 C0 74 1F 90 90
    90


    1AA86Ch
    Original:
    8B 47 18
    Changed:
    90 89 F8

    1AA821h
    Original:
    8B 45 08 50 B9 64 3D AD 00 E8 61 0E 0B 00 8B F8
    85 FF

    Changed:
    90 8D 4D 08 E8 A6 D9 1A 00 8B F8 E9 67 BE 15 00
    85 C0

    1AA6D4h
    Original:
    B9 64 3D AD 00 E8 B2 0F 0B 00 85 C0 74 05 8B 40
    14

    Changed:
    89 E1 E8 75 DB 1A 00 83 C4 04 85 C0 74 05 90 90
    90

    1A8C8Eh
    Original:
    B9 64 3D AD 00 E8 F8 29 0B 00 85 C0 74 05 8B 40
    14

    Changed:
    89 E1 E8 BB F5 1A 00 83 C4 04 85 C0 74 05 90 90
    90

    1A7CF5h
    Original:
    A1 5C 3D AD 00 83 C4 04 3B F0 7C 1F 3B 35 58 3D
    AD 00 7F 17 8B 15 6C 3D AD 00 8B CE 2B C8 8B 04
    8A 85 C0 74 06 83 78 18 00

    Changed:
    83 C4 04 56 89 E1 E8 D0 04 1B 00 83 C4 04 EB 17
    CC 89 C3 89 E1 E8 41 05 1B 00 83 C4 04 E9 6B 33
    00 00 CC CC CC CC CC 85 C0

    1A575Ch
    Original:
    50 8B 45 F8 8B 48 14 6A
    Changed:
    50 90 90 90 8B 4D F8

    1A572Eh
    Original:
    8B 03 50 B9 64 3D AD 00 E8 55 5F 0B
    Changed:
    90 90 90 90 90 90 89 D9 E8 15 2B 1B

    1A5528h
    Original:
    8B 55 F4 8B 42 14
    Changed:
    90 90 90 8B 45 F4

    1A54EFh
    Original:
    8B 4D F4 51 B9 64 3D AD 00 E8 93 61 0B
    Changed:
    00 90 90 90 90 90 90 8D 4D F4 E8 53 2D 1B

    1223F7h
    Original:
    A1 5C 3D AD 00 3B F0 7C 1E 3B 35 58 3D AD 00 7F
    16 8B 15 6C 3D AD 00 8B CE 2B C8 8B 04 8A 85 C0
    74 05 8B 78 14

    Changed:
    56 89 E1 E8 51 5E 23 00 83 C4 04 90 90 90 90 90
    90 90 90 90 90 90 90 90 90 90 90 90 90 90 85 C0
    74 05 89 C7 90

    1164ACh
    Original:
    8B 4E 14
    Changed:
    89 F1 90

    11646Dh
    Original:
    A1 5C 3D AD 00 3B F0 7C 77 3B 35 58 3D AD 00 7F
    6F 2B F0 A1 6C 3D AD 00 8B 34 B0

    Changed:
    56 89 E1 E8 DB 1D 24 00 83 C4 04 89 C6 90 90 90
    90 90 90 90 90 90 90 90 90 90 90

    168h
    Original:
    96 26 76
    Changed:
    5A C5 75
     

    • Thanks 1