Browse Source

Remove class dump

No point to it since we can get it in post.

We also halve the number of entity spawns required for the dump process,
which is nice.
nosoop 6 years ago
parent
commit
c0f47272f4
1 changed files with 4 additions and 7 deletions
  1. 4 7
      scripting/csrd_data_dump.sp

+ 4 - 7
scripting/csrd_data_dump.sp

@@ -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.