# Client with Notepad++

## Tutorial explaining how to edit the client and set up to localhost with Notepad++. <a href="#tutorial-explaining-how-to-edit-the-client-and-set-up-to-localhost-with-notepad" id="tutorial-explaining-how-to-edit-the-client-and-set-up-to-localhost-with-notepad"></a>

* **Before editing, remember to make a backup of the client.exe!**

## **1 - Download:** <a href="#id-1-download-1" id="id-1-download-1"></a>

Notepad++: <https://notepad-plus-plus.org/downloads/>​

## **2 - How to change RSA key:** <a href="#id-2-how-to-exchange-rsa-key" id="id-2-how-to-exchange-rsa-key"></a>

* Open client folder (.. \\.. \Tibia\bin) and open the original **client.exe** with Notepad++.
* Look for:

```
BC27F992A96B8E2A43F4DFBE1CEF8FD51CF43D2803EE34FBBD8634D8B4FA32F7D9D9E159978DD29156D62F4153E9C5914263FC4986797E12245C1A6C4531EFE48A6F7C2EFFFFF18F2C9E1C504031F3E4A2C788EE96618FFFCEC2C3E5BFAFAF743B3FC7A872EE60A52C29AA688BDAF8692305312882F1F66EE9D8AEB7F84B1949
```

* Replace with:

```
9B646903B45B07AC956568D87353BD7165139DD7940703B03E6DD079399661B4A837AA60561D7CCB9452FA0080594909882AB5BCA58A1A1B35F8B1059B72B1212611C6152AD3DBB3CFBEE7ADC142A75D3D75971509C321C5C24A5BD51FD460F01B4E15BEB0DE1930528A5D3F15C1E3CBF5C401D6777E10ACAAB33DBE8D5B7FF5
```

## **3 - How to change the IP:** <a href="#id-3-how-to-exchange-the-ip" id="id-3-how-to-exchange-the-ip"></a>

* Look for:

```
loginWebService=https://www.tibia.com/clientservices/loginservice.php
```

* Replace with:

```
loginWebService=http://127.0.0.1/login.php
```

* Look for:

```
clientWebService=https://www.tibia.com/clientservices/clientservices.php
```

* Replace with:

```
clientWebService=http://127.0.0.1/login.php
```

* Remember to add spaces at the end of the lines if your webservice URL has a different text length than the original.&#x20;
* **Original:** loginWebService=<https://www.tibia.com/clientservices/loginservice.php> (col: 70). clientWebService=<https://www.tibia.com/clientservices/clientservices.php> (col: 73).&#x20;
* **127.0.0.1:** \
  loginWebService=<http://127.0.0.1/login.php> (col:43) (**+27 spaces**). clientWebService=<http://127.0.0.1/login.php> (col: 44) (**+29 spaces**).

## **4 - How to disable Battleye:** <a href="#id-4-how-to-disable-battleye" id="id-4-how-to-disable-battleye"></a>

* Disable client battleye with step 4 of the tutorial with HexEditorXVI32:
* [client-with-hexeditorxvi32](https://docs.opentibiabr.com/opentibiabr/downloads/clients/client-15/tutorials/client-with-hexeditorxvi32 "mention")

## **5 - Credits:** <a href="#id-5-credits-1" id="id-5-credits-1"></a>

**Majesty (Tutorial)**
