• 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
 
@Lopaskurwa @potinho @mRefaat @cryptomeepo hey guys, did you manage to get it to work? i realize im like 3 years late, but I have been trying for months and my dat and spr doesnt update and i also have the infinite loop "Updating 1 file" close/open client. Would love to talk over discord or just try using your updater.php file? Starting to think this whole thing has to do with that file.. :/
Post automatically merged:

@Lopaskurwa @potinho @mRefaat @cryptomeepo hey guys, did you manage to get it to work? i realize im like 3 years late, but I have been trying for months and my dat and spr doesnt update and i also have the infinite loop "Updating 1 file" close/open client. Would love to talk over discord or just try using your updater.php file? Starting to think this whole thing has to do with that file.. :/
i seemed to have solved it by changing from updater_advanced.php to updater.php!
 
Last edited:
@Lopaskurwa @potinho @mRefaat @cryptomeepo hey guys, did you manage to get it to work? i realize im like 3 years late, but I have been trying for months and my dat and spr doesnt update and i also have the infinite loop "Updating 1 file" close/open client. Would love to talk over discord or just try using your updater.php file? Starting to think this whole thing has to do with that file.. :/
Post automatically merged:


i seemed to have solved it by changing from updater_advanced.php to updater.php!
Yea it was wrong updater.php something like that
 
Uso un host de Windows. ¿Sabes cómo hacerlo funcionar aquí? He probado varias cosas.
Tengo problemas para habilitar esto en Windows 10
He cifrado los archivos y los he empaquetado en data.zip
También cargué archivos descomprimidos pero los cifré en C:\xampp\htdocs\windowsfiles allí los coloqué
xxx_gl, xxx_dx + dlls + módulos, datos, mods, (también probado con archivos sin comprimir)

Lua:
[CÓDIGO=lua]takeown /f C:\xampp\htdocs\windowsupdater\updater.php* /r
icacls C:\xampp\htdocs\windowsupdater\updater.php /grant Todos:F /t

también
Código:
tomar /f C:\xampp\htdocs\windowsupdater* /r
icacls C:\xampp\htdocs\windowsupdater /grant Todos:F /t[/CÓDIGO]

Recibí esto
Código:
[CÓDIGO]
Microsoft Windows [Versión 10.0.19045.3448]
(c) Microsoft Corporation. Reservados todos los derechos.

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

ÉXITO: El archivo (o carpeta): "C:\xampp\htdocs\windowsupdater\updater.php" ahora es propiedad del usuario "DESKTOP-84KJ0MG\pasturryx".

C:\Windows\system32>icacls C:\xampp\htdocs\windowsupdater\updater.php /grant Todos:F /t
Todos: No se realizó ninguna asignación entre los nombres de cuenta y los ID de seguridad.
Se procesaron correctamente 0 archivos; Error al procesar 1 archivo


C:\Windows\system32>[/CÓDIGO]

mi init.lua
[CÓDIGO]Código:
Servicios = {
sitio web = "http://xxx.ddns.net", -- actualmente no se utiliza
actualizador = "http://xxxx.ddns.net/windowsupdater/updater.php",
actualizador = "",
estadísticas = "",
accidente = "",
retroalimentación = "",
estado = ""
}[/CÓDIGO]
y mi updater.php
Código:
[CÓDIGO]<?php
// CONFIG
$files_dir = "C:/archivoswindows";
$files_url = "http://xxxt.ddns.net/windowsfiles";
$archivos_y_directorios = array("init.lua", "datos", "módulos", "diseños");
$checksum_file = "sumas de comprobación.txt";
$checksum_update_interval = 60; // segundos
$binarios = matriz(
"WIN32-WGL" => "OlvidadoNot_gl.exe",
"WIN32-EGL" => "OlvidadoNot_gl_dx.exe",
"WIN32-WGL-GCC" => "OlvidadoNot_gl_gcc_gl.exe",
"WIN32-EGL-GCC" => "oForgottenNot_gl_gcc_dx.exe",
"X11-GLX" => xxx_gl_linux",
"X11-EGL" => "xxx_gl_linux",
"ANDROID-EGL" => "", // no podemos actualizar el binario de Android
"ANDROID64-EGL" => "" // no podemos actualizar el binario de Android
);[/CÓDIGO]

// CO
No quiere funcionar ¿Alguien me puede ayudar?

También noté que hay un updater.php y otro archivo llamado adavanced_upater.php. Probé ambos, pero ninguno funcionó para mí.
¿Alguien ha conseguido que esto funcione en Windows? Ayuda, por favor.
pudiste resolverlo men yo llevo varios dias provando de todo y nada de nada nisiquiera aparece la barra de buscar actualización
 

Similar threads

Back
Top