Jump to content
×
×
  • Create New...

Client Console Commands


Sanchez

Recommended Posts

  • Premium

M2 Download Center

Download Here ( Internal )

Hi everyone,
 
In this thread I will explain all console commands in the client:

  • exit - Force close the client
  • mvol - Change the music volume between 0 - 10
  • svol - Change the sound volume between 0 - 10
  • snds - Change the volume of the interactive sounds (mobs, hit etc...) between 0 - 200
  • asnds - Change the volume of the ambience between 0 - 200
  • mspd - Change the moving speed between 0 - 1100
  • pwd - Show the current folder path (D:ymir work)
  • ls - Show the folders in D:ymir work
  • shadow - Change the shadow level between 0 - 5
  • splat - Set the rendering distance between the character and the ambience 0 - 
  • distance - Change the view distance between 0 - 4
  • bgloading - This function is disabled in the binary!
  • transtree - Enable or disable the transparency of the trees 0 - 1
  • cd - CD to directory, like in bat files (cd ..)
  • up - Go up in the folder structure (D:ymir work)
  • lsd - List all directories on the 😧 partition
  • lsf - List all files on the 😧 partition
  • lse - Show the path of the effects (D:ymir workeffect)
  • collision -

    Hidden Content

      Give reaction to this post to see the hidden content.
     0 - 1
  • colli - Equal with the collision function without argument, turn on/off the highlighting
  • disconnect - Unfinished function!
  • autorot - Set the rotation moving speed of the camera while pressing the A/D keys 0 - 
  • pickc - Show char informations, isRegistered, isAlive, isDead
  • infoc - Information of another thing, usage: infoc <VID>
  • regchre - Register new effect on the char, usage: regchre <effectType> and <effectFilename>
  • setchra - Set character effect, usage: setchra <effectType> <Visibility 0 or 1>
  • emoticon - Set emotion effect over the character, usage: emotion <number of the emoticon>
  • perfinfo - Show performance informations (?)
  • reload_locale - Reload the locale
  • re - Reload uiGuild and uiInventory
  • cooltime - Disable or enable the skills cooltime
  • hidecursor - Hide the cursor
  • showcursor - Show the cursor
  • warp - Warp to x-y position
  • web - Pop out a web browser
  • hideui - Hide the user interface
  • showui - Show the user interface
  • setcspd - Change the camera moving speed 0 - 
  • savecmr - Export the current camera settings to the client folder, usage: savecmr <filename>
  • loadcmr - Import camera settings, usage: loadcmr <filename in the client folder>
  • setdefcmr - Set to default the camera settings
  • setsight - Change the sight 0 - 100
  • setcombotype - Set the level of the combo, the server will kick you after few seconds because of combo hack check
  • trans - Change the empire language converting, you can understand all empires without a ring 0 - 1

Rendering options:

  • setrmadd
  • setrmmod
  • setrmaddrgb
  • setrmmodrgb
  • setspec
  • restorerm

If you have any question or suggestion please just reply to this topic.

Kind Regards,
Sanchez

  • Metin2 Dev 43
  • Love 34
  • Love 3
  • Good 9
  • Scream 1
  • Confused 2
  • Sad 2
  • Dislove 1
Link to comment
Share on other sites

  • Replies 11
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

  • Premium

In the 99% of the clients the console has been disabled by default. If you are using beta root then you can open with the "," character or you need to add to the client.

 

Open game.py and search for this:

onPressKeyDict[app.DIK_L]			= lambda : self.interface.ToggleChatLogWindow()

Add this under that:

onPressKeyDict[app.DIK_COMMA]		= lambda : self.ShowConsole()
  • Love 1
Link to comment
Share on other sites

  • Premium

Did you followed this step? If yes and still not works check your syserr, but I think it has been completely disabled in your client. You can add again with these steps:
 
1. Add

Hidden Content

    Give reaction to this post to see the hidden content.
to your root.
2. Add this to constInfo.py: CONSOLE_ENABLE = 0
3. Add this to the top of game.py: import consoleModule
4. Add this: self.console = None to the game.py under this: self.targetBoard = None
 
Add this:

		self.console = consoleModule.ConsoleWindow()
		self.console.BindGameClass(self)
		self.console.SetConsoleSize(wndMgr.GetScreenWidth(), 200)
		self.console.Hide()

Under this:

		self.targetBoard = uiTarget.TargetBoard()
		self.targetBoard.SetWhisperEvent(ui.__mem_func__(self.interface.OpenWhisperDialog))
		self.targetBoard.Hide()

Add this:self.consoleEnable = FALSE to the def Open(self): event.
 
Add this:

		if self.console:
			self.console.BindGameClass(0)
			self.console.Close()
			self.console=None

Under this:

self.affectShower = None

Add this:

	def ShowConsole(self):
		if debugInfo.IsDebugMode() or TRUE == self.consoleEnable:
			player.EndKeyWalkingImmediately()
			self.console.OpenWindow()

Add this: "ConsoleEnable": self.__Console_Enable, to the serverCommandList

Add this:

	def __Console_Enable(self):
		constInfo.CONSOLE_ENABLE = TRUE
		self.consoleEnable = TRUE
		app.EnableSpecialCameraMode()
		ui.EnablePaste(TRUE)
  • Metin2 Dev 10
  • Love 5
  • Love 1
  • Good 3
  • Think 1
Link to comment
Share on other sites

  • 10 months later...
  • 5 years later...
  • 6 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Activity

    1. 0

      Looking for Someone to create the queries etc for armors and weapons

    2. 13

      Official Private Shop Search

    3. 944

      [40250] Reference Serverfile + Client + Src [15 Available Languages]

    4. 79

      GUI Teleport System

    5. 0

      inventory slot marking system cant compile

    6. 8

      Inventory Bug

    7. 63

      Metin2 Dev - Changelogs

  • Recently Browsing

    • No registered users viewing this page.

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.