miguelshta
Member
Can someone help me i've followeed all things from the tuto of kondra but he uses a linux server to host their files and i use a windows server i got no errors but my client dont update can someone help me? here are my lines of my updater.php
bump
PHP:
if($platform == "WIN32-WGL") { // opengl
$binary_path = "\Sonoraot.exe";
$checksums_file = "checksums_gl.txt";
} else if($platform == "WIN32-EGL") { // dx
$binary_path = "/otclient_dx.exe";
$checksums_file = "checksums_dx.txt";
} else {
$binary_path = "";
$checksums_file = "checksums.txt";
}
$data_dir = "C:/xampp/htdocs/upt/files";
$things_dir = "C:\xampp\htdocs\upt\files\data\things"; // files from that dir won't be downloaded automaticly, you can set it to null to download everything automaticly (useful if you have only 1 version of data/sprites)
$files_url = "http://sonoraot.com/upt/files";
$update_checksum_interval = 60; // caling updater 100x/s would lag disc, we need to cache it
$main_files_and_dirs = array("data", "modules", "layouts", "init.lua"); // used to ignore other files/dirs in data_dir
// CONFIG END
bump