Jump to content

[7428] New .map file format and some fixes


Auntie Mangos

Recommended Posts

  • Replies 121
  • Created
  • Last Reply

Top Posters In This Topic

What about if someone goes under this limit?
i fix fatigue timer in my current version (test it now) - and you can`t go to this limit (die from fatigue).

In client player die if rich -500 depth.

For addition - height maps use for movements/breath - bun no one move in this area. Also its depent only from extractor and if you want you can disable this option in final version.

Link to comment
Share on other sites

i fix fatigue timer in my current version (test it now) - and you can`t go to this limit (die from fatigue).

In client player die if rich -500 depth.

For addition - height maps use for movements/breath - bun no one move in this area. Also its depent only from extractor and if you want you can disable this option in final version.

Thx for explanations :)

Link to comment
Share on other sites

Extractor compile for linux. This diff file won't apply automatically!

diff -Naur extractor_b/extractor_v2/CMakeLists.txt extractor_a/extractor_v2/CMakeLists.txt
--- extractor_b/extractor_v2/CMakeLists.txt    2009-03-01 21:07:18.000000000 +0200
+++ extractor_a/extractor_v2/CMakeLists.txt    2009-03-08 12:02:17.000000000 +0200
@@ -20,7 +20,7 @@
link_directories (${MANGOS_MAP_EXTRACTOR_SOURCE_DIR}/libmpq)  
link_directories (${MANGOS_MAP_EXTRACTOR_SOURCE_DIR}/loadlib)  

-add_executable (ad dbcfile.cpp mpq_libmpq.cpp System.cpp) 
+add_executable (ad dbcfile.cpp mpq_libmpq.cpp system.cpp) 

target_link_libraries (ad libmpq) 
target_link_libraries (ad loadlib) 
diff -Naur extractor_b/extractor_v2/loadlib/adt.cpp extractor_a/extractor_v2/loadlib/adt.cpp
--- extractor_b/extractor_v2/loadlib/adt.cpp    2001-01-01 01:59:16.000000000 +0200
+++ extractor_a/extractor_v2/loadlib/adt.cpp    2009-03-08 13:38:48.000000000 +0200
@@ -1,7 +1,13 @@
#define _CRT_SECURE_NO_DEPRECATE 

#ifdef WIN32 
-#include <windows.h> 
+#include <windows.h>
+#else
+#include <stdint.h> 
+#endif
+
+#ifndef uint64_t
+#include <linux/types.h>
#endif 

#include "adt.h" 
@@ -132,4 +138,4 @@
        return false; 

    return true; 
-}
\\ No newline at end of file
+} 
diff -Naur extractor_b/extractor_v2/loadlib/loadlib.cpp extractor_a/extractor_v2/loadlib/loadlib.cpp
--- extractor_b/extractor_v2/loadlib/loadlib.cpp    2001-01-01 00:48:54.000000000 +0200
+++ extractor_a/extractor_v2/loadlib/loadlib.cpp    2009-03-08 13:39:40.000000000 +0200
@@ -1,11 +1,17 @@
#define _CRT_SECURE_NO_DEPRECATE 

#ifdef WIN32 
-#include <windows.h> 
+#include <windows.h>
+#else
+#include <stdint.h> 
+#endif
+
+#ifndef uint64_t
+#include <linux/types.h>
#endif 

#include "loadlib.h" 
-#include "..\\mpq_libmpq.h" 
+#include "../mpq_libmpq.h" 

class MPQFile; 

@@ -64,4 +70,4 @@
    data = 0; 
    data_size = 0; 
    version = 0; 
-}
\\ No newline at end of file
+} 
diff -Naur extractor_b/extractor_v2/loadlib/loadlib.h extractor_a/extractor_v2/loadlib/loadlib.h
--- extractor_b/extractor_v2/loadlib/loadlib.h    2001-01-01 00:55:08.000000000 +0200
+++ extractor_a/extractor_v2/loadlib/loadlib.h    2009-03-08 13:40:38.000000000 +0200
@@ -1,11 +1,17 @@
#ifndef LOAD_LIB_H 
#define LOAD_LIB_H 

+#ifdef WIN32 
typedef __int64            int64; 
+typedef unsigned __int64   uint64; 
+#else 
+typedef int64_t            int64; 
+typedef uint64_t           uint64; 
+#endif 
+ 
typedef long               int32; 
typedef short              int16; 
typedef char               int8; 
-typedef unsigned __int64   uint64; 
typedef unsigned long      uint32; 
typedef unsigned short     uint16; 
typedef unsigned char      uint8; 
diff -Naur extractor_b/extractor_v2/loadlib/wdt.cpp extractor_a/extractor_v2/loadlib/wdt.cpp
--- extractor_b/extractor_v2/loadlib/wdt.cpp    2001-01-01 00:49:18.000000000 +0200
+++ extractor_a/extractor_v2/loadlib/wdt.cpp    2009-03-08 13:39:46.000000000 +0200
@@ -1,7 +1,13 @@
#define _CRT_SECURE_NO_DEPRECATE 

#ifdef WIN32 
-#include <windows.h> 
+#include <windows.h>
+#else
+#include <stdint.h> 
+#endif
+
+#ifndef uint64_t
+#include <linux/types.h>
#endif 

#include "wdt.h" 
@@ -63,4 +69,4 @@
    if (!wmo->prepareLoadedData()) 
        return false; 
    return true; 
-}
\\ No newline at end of file
+} 
diff -Naur extractor_b/extractor_v2/loadlib/wdt.h extractor_a/extractor_v2/loadlib/wdt.h
--- extractor_b/extractor_v2/loadlib/wdt.h    2001-01-01 02:01:20.000000000 +0200
+++ extractor_a/extractor_v2/loadlib/wdt.h    2009-03-08 11:57:19.000000000 +0200
@@ -65,4 +65,5 @@
    wdt_MWMO *wmo; 
}; 

-#endif
\\ No newline at end of file
+#endif 
+ 
diff -Naur extractor_b/extractor_v2/mpq_libmpq.h extractor_a/extractor_v2/mpq_libmpq.h
--- extractor_b/extractor_v2/mpq_libmpq.h    2009-02-23 00:53:52.000000000 +0200
+++ extractor_a/extractor_v2/mpq_libmpq.h    2009-03-08 13:40:53.000000000 +0200
@@ -13,11 +13,17 @@

using namespace std; 

+#ifdef WIN32 
typedef __int64            int64; 
+typedef unsigned __int64   uint64;
+#else 
+typedef int64_t            int64; 
+typedef uint64_t           uint64; 
+#endif 
+ 
typedef long               int32; 
typedef short              int16; 
typedef char               int8; 
-typedef unsigned __int64   uint64; 
typedef unsigned long      uint32; 
typedef unsigned short     uint16; 
typedef unsigned char      uint8; 
diff -Naur extractor_b/extractor_v2/system.cpp extractor_a/extractor_v2/system.cpp
--- extractor_b/extractor_v2/system.cpp    2009-03-07 00:22:17.000000000 +0200
+++ extractor_a/extractor_v2/system.cpp    2009-03-08 11:55:52.000000000 +0200
@@ -14,8 +14,8 @@
#include "dbcfile.h" 
#include "mpq_libmpq.h" 

-#include "loadlib\\adt.h" 
-#include "loadlib\\wdt.h" 
+#include "loadlib/adt.h" 
+#include "loadlib/wdt.h" 

extern ArchiveSet gOpenArchives; 

Link to comment
Share on other sites

DiSlord, this is fantastic. Recompiled this afternoon after the patch was added and extracted the maps... No problems at all... Running the server, it's taking less than 300 megs of RAM... No problem running it with VMAPs I'd already extracted and it's given me no errors at all.

Great job. When/if you tackle VMaps, let me know; I'd love to test.

Link to comment
Share on other sites

i have some error when extrac maps:

no suc file world\\maps\\developmens\\developmens.wdt

the same for file:

transport 176244.wdt

transport 176231.wdt

transport 181645.wdt

transport 177233.wdt

176310.wdt

175080.wdt

176495.wdt

164871.wdt

186238.

20808

187038

187263

transport menetil_balgarde

orgrimmar_warsong_old

stormwind_valiance_keep

tirifal_vengeance_landing

Link to comment
Share on other sites

Is there going to be an included option to turn off Fatigue, by chance, or at least turn off Fatigue damage when GM is on?
in 3.0.9 GM not take any Environmental Damage, but allow enable breath/fatigue timers - for see how its work or not work.

in 2.4.3 - not test, but if take - i fi it soon.

Link to comment
Share on other sites

Fantastic. Now I'm getting the dreaded 0004331.map error...

Worked fine up until the patch a few hours ago.

EDIT:

1>------ Build started: Project: ad, Configuration: Release Win32 ------

1>Linking...

1>Embedding manifest...

1>Build log was saved at "file://c:\\MaNGOS\\contrib\\extractor\\release\\BuildLog.htm"

1>ad - 0 error(s), 0 warning(s)

========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========

Recompiled (just to be sure)... Anyone else getting this error with a fresh compile of ad.exe?

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • 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