# Client Updater

## Tutorial to update OTClient Redemption files using client updater.

## 1 - Copy and paste the API folder in your www folder:

* <https://github.com/mehah/otclient/tree/main/tools/api>

## 2 - Create a folder called "files" in your www folder and paste init.lua, modules, data, and exe files.

## 3 - Go to init.lua and config this option:

```
-- updater
Services = {
    updater = "http://127.0.0.1/api/updater.php",
}
```

## 4 - Go to your www/api/updater.php and config this options:

```
$files_dir = "C:/UniServerZ/www/files";
$files_url = "http://127.0.0.1/files";
```

## 5 - Credits:

* **conde2**
