• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

OtClient Updater

miguelshta

Member
Joined
Mar 21, 2009
Messages
351
Solutions
1
Reaction score
13
Location
Toronto, Canada
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
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
 
Could you send me everything you have in this PHP for me to analyze?
OBS: Try to access your PHP link and see if any errors appear
Example: http://127.0.0.1/upt/updater.php

Hello bro I hope you are well, look I have the same problem as the user who published this post ... I throw these errors to me
 

Attachments

Can't create checksum file (try to set correct chmod) 0
 
Back
Top