Automap (OSS) GIT software repository
Revisión | 8c96a0fe705fd9365f4d07f12a16a1d225087f7d (tree) |
---|---|
Tiempo | 2021-05-30 06:28:23 |
Autor | ![]() |
Commiter | melchior |
Cleaned up logging msg.
@@ -33,7 +33,7 @@ | ||
33 | 33 | <ConsolePause>false</ConsolePause> |
34 | 34 | <CustomCommands> |
35 | 35 | <CustomCommands> |
36 | - <Command type="AfterBuild" command="7z -tzip a ${ProjectName}_${ProjectConfig}.zip" workingdir="${TargetDir}" /> | |
36 | + <Command type="AfterBuild" command="7z a -tzip -x!*.zip -aoa ${ProjectName}_${ProjectConfig}.zip" workingdir="${TargetDir}" /> | |
37 | 37 | <Command type="AfterClean" command="rm -f *.zip" workingdir="${TargetDir}" /> |
38 | 38 | </CustomCommands> |
39 | 39 | </CustomCommands> |
@@ -611,7 +611,9 @@ namespace Automap | ||
611 | 611 | |
612 | 612 | if (worldChunk.IsPacked()) |
613 | 613 | { |
614 | + #if DEBUG | |
614 | 615 | Logger.VerboseDebug("WORLD chunk: Compressed: X{0} Y{1} Z{2}", key.X, targetChunkY, key.Y); |
616 | + #endif | |
615 | 617 | worldChunk.Unpack( );//RESEARCH: Thread Unsafe? |
616 | 618 | } |
617 | 619 |
@@ -639,7 +641,9 @@ namespace Automap | ||
639 | 641 | |
640 | 642 | //First Chance fail-safe; |
641 | 643 | if (worldChunk.Blocks == null || worldChunk.Blocks.Length <= 0) { |
644 | + #if DEBUG | |
642 | 645 | Logger.VerboseDebug("WORLD chunk; Missing block DATA⁈ X{0} Y{1} Z{2} ⁈", key.X, targetChunkY, key.Y); |
646 | + #endif | |
643 | 647 | nullChunkCount++; |
644 | 648 | continue; |
645 | 649 | } |
@@ -656,9 +660,11 @@ namespace Automap | ||
656 | 660 | |
657 | 661 | //'Last' Chance fail-safe; |
658 | 662 | if (worldChunk.Blocks == null || worldChunk.Blocks.Length <= 0) { |
663 | + #if DEBUG | |
659 | 664 | Logger.VerboseDebug("Processing Block: Missing block DATA⁈ X{0} Y{1} Z{2} ⁈", X_index, Y_index, Z_index); |
665 | + #endif | |
660 | 666 | nullChunkCount++; |
661 | - goto loop_bustout; ; | |
667 | + goto loop_bustout; | |
662 | 668 | } |
663 | 669 | |
664 | 670 | int aBlockId = worldChunk.Blocks[indicie]; |
@@ -689,12 +695,16 @@ namespace Automap | ||
689 | 695 | } |
690 | 696 | loop_bustout:; |
691 | 697 | } |
698 | + #if DEBUG | |
692 | 699 | Logger.VerboseDebug("COLUMN X{0} Z{1}: {2}, processed.", key.X , key.Y, chunkTally + 1); |
700 | + #endif | |
693 | 701 | } |
694 | 702 | |
695 | 703 | private void UpdateEntityMetadata() |
696 | 704 | { |
705 | + #if DEBUG | |
697 | 706 | Logger.Debug("Presently {0} Entities", ClientAPI.World.LoadedEntities.Count); |
707 | + #endif | |
698 | 708 | //Mabey scan only for 'new' entities by tracking ID in set? |
699 | 709 | foreach (var loadedEntity in ClientAPI.World.LoadedEntities.ToArray()) |
700 | 710 | { |
@@ -752,11 +762,11 @@ namespace Automap | ||
752 | 762 | AddNote(cmdData.Notation); |
753 | 763 | break; |
754 | 764 | } |
755 | - #if DEBUG | |
765 | + | |
756 | 766 | ClientAPI.TriggerChatMessage($"Automap commanded to: {cmdData.State} "); |
757 | - #endif | |
767 | + | |
758 | 768 | } |
759 | - #endregion | |
769 | +#endregion | |
760 | 770 | |
761 | 771 | private AChunkRenderer InstantiateChosenRenderer(string rendererName ) |
762 | 772 | { |