Jump to content

TOM_RUS

Members
  • Posts

    164
  • Joined

  • Last visited

    Never
  • Donations

    0.00 GBP 

Everything posted by TOM_RUS

  1. You can't be 100% sure about field types. That's why predefined types is a best approach. The DBC file format designed that way and you can't do anything about that...
  2. Actually, packet structure should be like this: SMSG_LIST_INVENTORY uint64 guid; uint8 count; if(count) { for(i = 0; i < count; ++i) { uint32 slot; uint32 entry; uint32 displayId; uint32 itemsCount; uint32 price; uint32 maxDurability; uint32 buyCount; uint32 extendedCostId; } } else { uint8 error; // errors: // 0 - "Vendor has no inventory" // 1 - "I don't think he likes you very much" // 2 - "You are too far away" // 3 - "Vendor is dead" // 4 - "You can't shop while dead." } That explains why you need additional byte if vendor has no items.
  3. Yeah, with masks code will be a lot shorter and cleaner.
  4. If it doesn't work, it not necessary doesn't work because of this patch. Other patches may be not compatible, incorrect, etc...
  5. No one cares about your fork here. As for a change, it looks correct. May be there's even more places where MovementInfo::Write can be used...
  6. Learn it, it's not that hard really.
  7. No. You don't get my point.
  8. You have to preserve mpq loading order. In this particular case file must be skipped as it no longer used (file size=0 in last patch file patch-3.mpq).
  9. Learn to use google. x86 http://www.microsoft.com/downloads/details.aspx?FamilyID=a7b7a05e-6de6-4d3a-a423-37bf0912db84&displaylang=en x64 http://www.microsoft.com/downloads/details.aspx?familyid=BD512D9E-43C8-4655-81BF-9350143D5867&displaylang=en
  10. May be that file isn't used anymore? They do such things for unused files... Does it 0 size in patch*.mpq only or in all other mpq's as well?
  11. WPE pro can be easily detected with warden (since it uses dll injection), but warden isn't supported because of some reasons...
  12. That file can be bugged or have different version, because it's not finished zone for patch 3.3.5.
  13. It's DB bug. Values can't be 0.
  14. Is it so hard to set proper min/max players per team in database?
  15. Read patch notes.
  16. There's most of opcodes used in voice chat, excluding voice chat server opcodes ofc...
  17. It's my code copy/paste. How can it be useful?
  18. Change second line. data.put( sizeof(uint32), clientcount ); // insert right count
  19. I fixed this in 330 branch.
  20. You can do that easily by changing: data.put( 4, clientcount ); // insert right count to data.put( 4, m.size() ); // insert right count in MiscHandler.cpp
  21. Client expects additional byte at the end.
  22. Why you removed uint8 at the end of packet?
  23. Why do you duplicate fields like: + uint64 m_transportGUID; + float m_transportPosition[4]; it's already exists. class MovementInfo { ... // transport uint64 t_guid; Position t_pos; uint32 t_time; int8 t_seat; uint32 t_time2; ... }
  24. Have you tried with latest rev?
  25. Should be fixed.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use