Author Topic: Console command / how do I tell how many datablocks I'm using?  (Read 644 times)

Basically what the title suggests, is there a console command or something that, when typed in, tells you the number of datablocks you're currently using? I know the limit is 8000 but I just want to know what I am currently at, it would help greatly.

I don't know a command but I do know that when you start up a server it tells you how many datablocks your server is using in the console history. You just need to scroll around to find it.

there will be a spot right after all of the addons are loaded and before the mission starts

example:
Code: [Select]
Executing config/server/musicList.cs.


Datablock Report:
  Base:    424
  Paint:   252
  Add-Ons: 1056
  Music:   15
  Total:   1747


*** CREATING MISSION

you could also open the file and just use search for "Datablock Report"

Awesome that worked, thanks!

getDatablockGroupSize()