# Client with HexEditorXVI32

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

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

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

**HexEditorXVI32:**&#x20;

• [Download​](https://www.dropbox.com/s/3a0e1e7sdidfye7/HexEditorXVI32.zip?dl=1)

**HexEditorXVI Scan:**&#x20;

• [Virustotal](https://www.virustotal.com/gui/file/3eda459536bd1c53f38e215b0344dff0ab91660f9e5dfca54c3359e71f2b3917/detection)​

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

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

```
BC27F992A96B8E2A43F4DFBE1CEF8FD51CF43D2803EE34FBBD8634D8B4FA32F7D9D9E159978DD29156D62F4153E9C5914263FC4986797E12245C1A6C4531EFE48A6F7C2EFFFFF18F2C9E1C504031F3E4A2C788EE96618FFFCEC2C3E5BFAFAF743B3FC7A872EE60A52C29AA688BDAF8692305312882F1F66EE9D8AEB7F84B1949
```

* Replace with:

```
9B646903B45B07AC956568D87353BD7165139DD7940703B03E6DD079399661B4A837AA60561D7CCB9452FA0080594909882AB5BCA58A1A1B35F8B1059B72B1212611C6152AD3DBB3CFBEE7ADC142A75D3D75971509C321C5C24A5BD51FD460F01B4E15BEB0DE1930528A5D3F15C1E3CBF5C401D6777E10ACAAB33DBE8D5B7FF5
```

## **3 - How to change the IP:** <a href="#id-3-how-to-change-the-ip" id="id-3-how-to-change-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
```

* The characters that remain after the .php replace the left frame with 0D and 0A until you reach the sequence that already contains 0D 0A. Note: If necessary, adjust the sequence to 0D 0A.
* Save and close.

## **4 - Hexadecimal Sequences:** <a href="#id-4-hexadecimal-sequences-12.x-clients" id="id-4-hexadecimal-sequences-12.x-clients"></a>

* Look for the hexadecimal sequence of your client and change it.

<details>

<summary>12.x</summary>

### 12.64:

```
From:
C6 45 D7 00 C6 45 CF 00​

To:
C6 45 D7 00 C6 45 CF 01
```

### 12.72-12.85:

```
From:
8D 8D 70 FF FF FF 75 0E

​To:
8D 8D 70 FF FF FF EB 0E
```

### 12.86:

```
From:
8D 4D 84 75 0E E8 1B 41​

To:
8D 4D 84 EB 0E E8 1B 41
```

### 12.91.12329:

```
From:
8D 4D 80 75 0E E8 2E C8​

To:
8D 4D 80 EB 0E E8 2E C8
```

</details>

<details>

<summary>13.x</summary>

### 13.16.13209:

```
From:
8D 4D B8 75 0E E8 34 79​

To:
8D 4D B8 EB 0E E8 34 79
```

### 13.20.13560:

```
From:
8D 4D B4 75 0E E8 B5 6C​

To:
8D 4D B4 EB 0E E8 B5 6C
```

### 13.21.13831:

```
From:
8D 8D 4C FF FF FF 75 0E​

To:
8D 8D 4C FF FF FF EB 0E
```

### 13.32.14520:

```
From:
8D 4D B4 75 0E E8 5F 7B

To:
8D 4D B4 EB 0E E8 5F 7B
```

### 13.40.93b0a1:

```
From:
8D 4D B4 75 0E E8 B4 53

To:
8D 4D B4 EB 0E E8 B4 53
```

</details>

<details>

<summary>14.x</summary>

### 14.05.70ce66:

```
From:
75 0F E8 EC 87 EF FF 48​

To:
EB 0F E8 EC 87 EF FF 48
```

### 14.12.95abf3:

```
From:
75 0F E8 25 44 EF FF 48

To:
EB 0F E8 25 44 EF FF 48
```

</details>

<details>

<summary>15.x</summary>

### 15.00.249ccc:

```
From:
75 0F E8 69 2B EF FF 48

To:
EB 0F E8 69 2B EF FF 48
```

### 15.11.c9d1cf:

```
From:
75 0F E8 35 FF FF FF 48

To:
EB 0F E8 35 FF FF FF 48
```

</details>

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

* **Majesty (Tutorial)**
* **jo3bingham (Disable battleye)**
