How to extract the command?

11/24/2022 16:22 laxygen100#1
On one server there is a dungeon reset button. Clicking it has the same effect as typing /restart_dung [dung name] in chat. However, only one dungeon name is known, the names of other dungeons are unknown.

Is there any way to see what command resets other dungeons? Or in other words: is there any way to extract map names from the game files?

Please help, because writing a script with such a command will significantly increase the efficiency of the auto-dung bot.
11/25/2022 10:26 SpankTeam#2
Quote:
Originally Posted by laxygen100 View Post
On one server there is a dungeon reset button. Clicking it has the same effect as typing /restart_dung [dung name] in chat. However, only one dungeon name is known, the names of other dungeons are unknown.

Is there any way to see what command resets other dungeons? Or in other words: is there any way to extract map names from the game files?

Please help, because writing a script with such a command will significantly increase the efficiency of the auto-dung bot.
You can get any map name in Python using this function:

Code:
def get_map_name():
	chat.AppendChat(7, "Current map name: " + str(background.GetCurrentMapName()))