Jump to content

Konctantin

Members
  • Posts

    30
  • Joined

  • Last visited

    Never
  • Donations

    0.00 GBP 

Everything posted by Konctantin

  1. Because it must extract the maps an extractor from this repository
  2. I use it [HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Control\\Session Manager\\Memory Management] "MoveImages"=dword:00000000
  3. No, you must extract this key... read this please: https://github.com/faramir118/mangos/tree/mmaps_rewrite/contrib/mmap
  4. use the run with arguments MoveMapGen.exe 0 MoveMapGen.exe 1 MoveMapGen.exe 530 MoveMapGen.exe 571
  5. there is a small bug, see screenshots:
  6. add support for: 0.6 - http://github.com/LordJZ/spellwork_cs/commits/0.6 0.12 - http://github.com/LordJZ/spellwork_cs/commits/0.12
  7. Why? I wrote you what to do to fix these errors, although this is not true, but compile successfully
  8. You showed a lot of text, but did not show major. The problem is that the compiler does not see MANGOS_ASSERT huck: replace MANGOS_ASSERT on ASSERT
  9. stop you have everything to compile, only a few warnings, but it is not critical
  10. what you have installed the version of microsoft visual studio (express, profesional, ultimate...)?
  11. As if to debug is not the players
  12. Tip: Read first, all data in memory, and then work with the collections, or you will lose performance
  13. because on the map there are no objects that not interfere with the movement
  14. Then copy the output directory binary files
  15. DBC - This is a binary file that has the following structure: Header (20 bytes) Data (records count * record size) Text data (string block size) The structure of the title: 4 bytes (byte[4]) - signature (always 57 44 42 43 or WDBC) 4 bytes (uint) - records count (Indicates how many records has the table) 4 bytes (uint) - fields count (Indicates how many columns in this table) 4 bytes (uint) - record size (Indicates the size in bytes of the line) 4 bytes (uint) - string block size (size in bytes of the block with the text) * Note: usually a single value occupies 4 bytes (but not always) A special feature of reading this file that in the most prompt record does not contain text, but contains a offset in string block size dbc-viewer http://filebeam.com/f0382f195b6241ba8997eceeaa3c0e96
  16. I got the coordinates X and Y based on the name file maps Example: map X Y 000 23 32.map created a bat file that runs the generator with the parameters. static void Main(string[] args) { Console.Write("Enter the file size (in bytes) that must pass: "); int size = int.Parse(Console.ReadLine()); using (StreamWriter sw = new StreamWriter("mmaps_convert.bat", false, Encoding.ASCII)) { foreach (var file in new DirectoryInfo("maps").GetFiles("*.map").Where(n => (n.Length > size))) { string str = String.Format("generator.exe {0} {1} {2}", file.Name.Substring(0, 3), file.Name.Substring(3, 2), file.Name.Substring(5, 2)); sw.WriteLine(str); Console.WriteLine(str); } } Console.ReadLine(); }
  17. SpellWork only works with version 333 (11723). In the future we plan to add a branch 243 and 112. But it later, I'm a little busy ...
  18. yes, you must again extract the vmaps
  19. Yes, when this error occurs - a creature starts to move in a straight
  20. I tested and got here mmaps such errors in the log: deal dmg:3 to health:110 deal dmg:4 to health:107 WORLD: Recvd ZONE_UPDATE: 12 deal dmg:3 to health:103 637661517's UpdatePath failed: invalid start or end polygon 637661517's UpdatePath failed: invalid start or end polygon 637661517's UpdatePath failed: invalid start or end polygon 637661517's UpdatePath failed: invalid start or end polygon deal dmg:4 to health:100 637661517's UpdateNextPosition failed: 0 length path WORLD: Recvd ZONE_UPDATE: 12 deal dmg:3 to health:96 637661517's UpdatePath failed: invalid start or end polygon 637661517's UpdatePath failed: invalid start or end polygon deal dmg:4 to health:93 637661517's UpdatePath failed: invalid start or end polygon WORLD: Recvd ZONE_UPDATE: 12 637661517's UpdatePath failed: invalid start or end polygon 637661517's UpdatePath failed: invalid start or end polygon WORLD: Recvd ZONE_UPDATE: 12 deal dmg:3 to health:89 WORLD: Recvd ZONE_UPDATE: 12 637661517's UpdatePath failed: invalid start or end polygon coordinates: Command: gps [Player: Testmag (Account: 1) X: -8988.514648 Y: -301.891876 Z: 71. 907005 Map: 0 Selected: None (Guid: 0)] but in general works fine
  21. Extract maps and vmaps, then in mmap.conf to specify the path to the directory where are your maps and vmaps. Then create a folder at once mmaps. Next, you need to run generator.exe with the parameters xxx - map, xx - X-coordinate, xx - Y-coordinate, and wait a long time. For example, we can run the *.bat file: generator.exe 000 20 35 generator.exe 000 20 36 generator.exe 000 20 37 generator.exe 000 20 38 generator.exe 000 20 39 generator.exe 000 20 40 generator.exe 000 21 35 generator.exe 000 21 36 generator.exe 000 21 37 generator.exe 000 21 38 generator.exe 000 21 39 generator.exe 000 21 40 generator.exe 000 22 25 generator.exe 000 22 26 What's hard to understand?
  22. Write what you would like to see in this program, and I'll do it. Now I think to implement comparison spells.
  23. + Added a filter on a sample of database + Added several tests to work with database + Added a form for calculating flags + Added binary files "SpellWork.exe" and "MySql.Data.dll" to the repository you can download it here http://github.com/LordJZ/spellwork_cs/tree/master/SpellWork/bin/Release/
×
×
  • 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