# Main STMod Window

<figure><img src="https://1662484209-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSrVu0j9CYXbvJXRYgHnk%2Fuploads%2FQDsyJZuIFB0XGgOk7wBu%2FScreenshot_359.png?alt=media&#x26;token=8521af4e-ab38-4246-b170-25206142fea0" alt=""><figcaption></figcaption></figure>

#### &#x20;

{% hint style="success" %}

#### Autologin

{% endhint %}

<div align="left"><figure><img src="https://1662484209-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSrVu0j9CYXbvJXRYgHnk%2Fuploads%2FiQd2gth8VtApQQthBvTy%2FScreenshot_361.png?alt=media&#x26;token=73bda9ae-8a90-47ae-b38c-d42f698c3315" alt=""><figcaption><p><strong><code>Check the 'Autologin' box to display all menu</code></strong><br><br><strong><code>At user, type your in-game Metin2 username</code></strong><br><strong><code>At pass, type your in-game Metin2 password</code></strong><br><strong><code>Check 'Pin' box if you need PIN to login and type your PIN in the text field</code></strong><br><strong><code>If you must set the focus to some specific location, check 'Click #1' box (if no X;Y mouse location recorded yet, you'll be prompted with a to move the mouse in the desired location and press on F9)</code></strong><br><strong><code>Same logic applies to 'Click #2'</code></strong><br><strong><code>In some servers, you will need to press Enter in order to perform login process, if needed, then check 'Enter' box.</code></strong><br><strong><code>Don't type manually user/password -> STMod will interract with game's login window and will login with provided user/pass.</code></strong><br><strong><code>Char number -> which character to select (counting starts from 0)</code></strong></p></figcaption></figure></div>

<figure><img src="https://1662484209-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSrVu0j9CYXbvJXRYgHnk%2Fuploads%2FhFaR4gUIdbG7bvO8NL6k%2FcharInfo.png?alt=media&#x26;token=0bf54671-fa9f-4965-af94-e1da5bf85034" alt=""><figcaption></figcaption></figure>

<figure><img src="https://1662484209-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSrVu0j9CYXbvJXRYgHnk%2Fuploads%2FqRBJNx0Zy3yhz5ROdF6e%2FScreenshot_173.png?alt=media&#x26;token=fa08151b-ad14-471d-8c88-456703adf184" alt=""><figcaption></figcaption></figure>

####

{% hint style="success" %}
**Restart client**

**-> The bot will auto restart the client if it crashed**\
**(Additionally, STMod is now checking if the Metin2 window got a Runtime error, if yes, it will restart that client, even if when runtime errors occurs, the window isn't crashed)**
{% endhint %}
