For example, to execute dump_server_classes using the "sp dump" command, simply use:
Code: Select all
sp dump server_classes
None of the dump functions will be echoed to the console, so you will need to have your sp_logging_areas set to allow logging to the main server log and/or the main SP log. That setting, if you do not already know, is located in your server's ../cfg/source-python/core_settings.ini file. It also gets created as the variable sp_logging_areas, which you can feel free to change any time you like. If you are logging to the main server log, please be sure to turn logging on:
Code: Select all
log on
Code: Select all
log off
The easiest way to get a dump is to shut down your server, rename your current ../logs/source-python/source-python.log, restart the server, and use the following commands:
Code: Select all
sp_logging_areas 4
sp dump server_classes
The following are the current DumpServerClasses for the given game: