|
@@ -13,7 +13,7 @@
|
|
|
#include <stocksoup/files>
|
|
|
#include <stocksoup/version>
|
|
|
|
|
|
-#define PLUGIN_VERSION "1.2.0"
|
|
|
+#define PLUGIN_VERSION "1.3.0"
|
|
|
public Plugin myinfo = {
|
|
|
name = "[CSRD] SRCDS Automatic Data Dumper",
|
|
|
author = "nosoop",
|
|
@@ -134,15 +134,12 @@ void PerformDataDump(RequestFrameCallback postDumpCallback = INVALID_FUNCTION, a
|
|
|
DumpUserMessageNames("%s/%d.usermessages.txt", outputDirectory, version);
|
|
|
|
|
|
/**
|
|
|
- * spawns all entities, server will crash on map change -- make sure there are 1400-ish
|
|
|
- * free edicts
|
|
|
+ * Spawns all entities, server will crash on map change -- make sure there are 700-ish
|
|
|
+ * free edicts.
|
|
|
+ * No more class dump; we'll just generate it with `grep -P '^\w+ - \w+$'` on datamaps.
|
|
|
*/
|
|
|
ServerCommand("sm_dump_datamaps %s/%d.datamaps.txt", outputDirectory, version);
|
|
|
|
|
|
- // TODO replace this with just filtering the appropriate lines from datamaps?
|
|
|
- // match expr /^\w+ - \w+$/
|
|
|
- ServerCommand("sm_dump_classes %s/%d.classes.txt", outputDirectory, version);
|
|
|
-
|
|
|
ServerCommand("sm_dump_teprops %s/%d.tempents.txt", outputDirectory, version);
|
|
|
|
|
|
// Defer the rest of the actions by a frame to ensure everything is finished processing.
|