My method:
Code:namespace ClassicWowHack.Game.Objects { class GameObject : Object { public void Use() { var packet = new CDataStore(12) { OpCode = OpCode.CMSG_GAMEOBJ_USE }; packet.Write(Guid); Net.Send(packet); } } }
Does anyone have any information about mesh creation and 1.12.1?
I can't see to find any wiki with map information for classic
Take a look at cmangos' mmap generator. It uses recast and detour for 1.12.1. https://github.com/cmangos/mangos-cl...ntrib/mmap/src
Great! From that i've managed to load the terrain!
However reading Azeroth_32_49.adt im sure there should be a MCLQ chunk... However I only get these:
Code:MVER MHDR MCIN MTEX MMDX MMID MWMO MWID MDDF MODF MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK MCNK
If you're right that it is MCLQ and not MH20 that is because MCLQ is a subchunk of MCNK. See here for a description of the ADT files: ADT/v18 - WoWDev
Has anyone run into any problems with ClickToMove? 90% of the time it works just fine, but in some areas it stutters. Even if my bot is not calling Click To Move, for example me clicking where I want to go it still stutters. I click, it moves 1/2 a foot then stops. And this only happens in some areas. Was thinking that I was clicking underground a little, but I added +2 for the Z axis, but that did not help. Any ideas? I would hate to rewrite my nav system. Thanks!
Actually yes I have had this problem too. I assumed it was due to some state cleanup that I am missing by simply calling the CTM function. Never bothered checking into it.
Found a quick fix! If you go to 0x0060FC30 you will see,
If you NOP it out or change it to 0x4 click to move will not go away, even when you are on top of your target. But you can click on any location / surface, no more stutter! But you then need to add your own distance check, but I think thats better then it stuttering. Or you could just leave it on, have not tested.Code:mov [00C4D888],0000000C
Code:mov [00C4D888],0000000C to mov [00C4D888],00000004
----Edit
Just tested it with it on all the time, works just fine! No more stutter
----Edit
The above changes are scanned by warden on almost all servers.
Take a look at,
[WoW] 1.12.1.5875 Info Dump Thread
Last edited by DarkLinux; 12-13-2017 at 12:26 AM.
Cool, that should make it work like it's supposed to, thanks for the tip.
Some stuff.
Code:CWorldMap__QueryOutdoors = 0x69D830, Spell_C_CancelAura = 0x6E7040, CWorld__QueryLiquidStatus = 0x6723D0, Spell_C_HandleTerrainClick = 0x6E60F0, ItemCacheDBGetRow = 0x55BA30, CreatureCacheDBGetRow = 0x556AA0, GameObjectCacheDBGetRow = 0x558560,Code:internal enum Warden : uint { LoadWardenModuleEnd = 0x7A7D72, CMSG_WARDEN_DATA_Handler = 0x6CA6A0, SMSG_WARDEN_DATA_Handler = 0x6CA5C0, Warden_RC4KeyPtr = 0xCE897C, Warden_RC4KeySize = 0x102, Warden_RC4KeyOffset = 0x20, }Code:internal enum Console : uint { ConsoleWrite = 0x63CD00, ConsoleRegisterCommand = 0x63F9E0, ConsoleUnregisterCommand = 0x63FB40, EnableConsole = 0xC4EC20, InvalidfunctionPtrStart = 0x884800, //1 InvalidfunctionPtrEnd = 0x884C00, //7FFFFFFF } internal enum CharacterScreen : uint { Pointer = 0xB42144, Size = 0x120, NumCharacters = Pointer - 0x4, LoginState = 0xB41478, } internal enum Spells : uint { SpellCooldownPtr = 0xCECAEC, SpellCooldownOffset = 0xCECAF4, SpellMaxIndex = 0xC0D78C, SpellBookKnownSpellsPlayer = 0xB700F0, SpellBookKnownSpellsPet = 0xB6F098, SpellIsTargeting = 0xCECAC0, }
Nice work. Have you done much work reversing the common mangos warden module?