• 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!

OTCV8 auto updater doesnt detect changed files

It already restarts the client after an update.
Mine is not. It finishes the update and opens the login screen, when I go to the background screen. I need to close and open the client again
Post automatically merged:

@oen432 One thing I noticed is that the data.zip is updated in %appdata% and not in the C: folder, is this behavior correct?
Post automatically merged:

Client stays like this after update (dont closee by itself)

1634400897187.png

After close and open manualy, its ok

1634400958218.png
 
Last edited:
Is there a way to updater works for Android?
It is, had same problem like most of you but one dude changed my updater.php and everything started working including android client too but i can tell you that this shit is still glitchy sometimes it updates fine but sometimes it glitches out and you have to download client all over again.
 
You are using a linux or a windows host?
i use windows host do you know how to make it work here 0 have tried several things
I'm having troubles to enable this on windows 10
i have encypted the files and packet them into data.zip
also uploaded unpacked files but encrypt to C:\xampp\htdocs\windowsfiles in there i placed
xxx_gl, xxx_dx + dlls + modules, data, mods, ( also tried with unpacled files

Lua:
Lua:
takeown /f C:\xampp\htdocs\windowsupdater\updater.php* /r
icacls C:\xampp\htdocs\windowsupdater\updater.php /grant Everyone:F /t

also
Code:
takeown /f C:\xampp\htdocs\windowsupdater* /r
icacls C:\xampp\htdocs\windowsupdater /grant Everyone:F /t

i recieved this
Code:
Code:
Microsoft Windows [Version 10.0.19045.3448]
(c) Microsoft Corporation. All rights reserved.

C:\Windows\system32>takeown /f C:\xampp\htdocs\windowsupdater\updater.php* /r

SUCCESS: The file (or folder): "C:\xampp\htdocs\windowsupdater\updater.php" now owned by user "DESKTOP-84KJ0MG\pasturryx".

C:\Windows\system32>icacls C:\xampp\htdocs\windowsupdater\updater.php /grant Everyone:F /t
Everyone: No mapping between account names and security IDs was done.
Successfully processed 0 files; Failed processing 1 files


C:\Windows\system32>

my init.lua
Code:
Code:
Services = {
website = "http://xxx.ddns.net", -- currently not used
updater = "http://xxxx.ddns.net/windowsupdater/updater.php",
updater = "",
stats = "",
crash = "",
feedback = "",
status = ""
}
and my updater.php
Code:
Code:
<?php
// CONFIG
$files_dir = "C:/windowsfiles";
$files_url = "http://xxxt.ddns.net/windowsfiles";
$files_and_dirs = array("init.lua", "data", "modules", "layouts");
$checksum_file = "checksums.txt";
$checksum_update_interval = 60; // seconds
$binaries = array(
"WIN32-WGL" => "ForgottenNot_gl.exe",
"WIN32-EGL" => "ForgottenNot_gl_dx.exe",
"WIN32-WGL-GCC" => "ForgottenNot_gl_gcc_gl.exe",
"WIN32-EGL-GCC" => "oForgottenNot_gl_gcc_dx.exe",
"X11-GLX" => xxx_gl_linux",
"X11-EGL" => "xxx_gl_linux",
"ANDROID-EGL" => "", // we can't update android binary
"ANDROID64-EGL" => "" // we can't update android binary
);

// CO
it don't want to work. can somebody help me?

also noticed there's an updater.php and another file called adavanced_upater.php have tried both, none of them have worked for me.
somebody have managed to make this work in windows? Help pls
 
Back
Top