johnsamir
Advanced OT User
I'm using znote acc with otcv8 im trying to enable auto updater in windows 10
i have configured init.lua file placed the folder api allowed permissions, inside i created a new folder named files, folder where otcv8 updated items should go
inside api folder i have edited updater files I can conect to the game but im receiving an error
i have not editing anything inside status and my server is added to otservlist.org ports 7171 7172 80 are open
i have configured init.lua file placed the folder api allowed permissions, inside i created a new folder named files, folder where otcv8 updated items should go
inside api folder i have edited updater files I can conect to the game but im receiving an error
Code:
NING: HTTP error for http://oldschool-war.ddns.net/api/status.php: JSON ERROR: /modules/corelib/json.lua:207: unexpected character '<' at line 1 col 1 (<br />
<b>Notice</b>: Undefined offset: 1 in <b>C:\xampp\htdocs\api\status.php</b> on line <b>13</b)
WARNING: HTTP error for http://oldschool-war.ddns.net/api/status.php: JSON ERROR: /modules/corelib/json.lua:207: unexpected character '<' at line 1 col 1 (<br />
<b>Notice</b>: Undefined offset: 1 in <b>C:\xampp\htdocs\api\status.php</b> on line <b>13</b)
WARNING: HTTP error for http://oldschool-war.ddns.net/api/status.php: JSON ERROR: /modules/corelib/json.lua:207: unexpected character '<' at line 1 col 1 (<br />
<b>Notice</b>: Undefined offset: 1 in <b>C:\xampp\htdocs\api\status.php</b> on line <b>13</b)
Lua:
-- CONFIG
APP_NAME = "Oldschool-War" -- important, change it, it's name for config dir and files in appdata
APP_VERSION = 772 -- client version for updater and login to identify outdated client
DEFAULT_LAYOUT = "retro" -- on android it's forced to "mobile", check code bellow
-- If you don't use updater or other service, set it to updater = ""
Services = {
website = "http://oldschool-war.ddns.net", -- currently not used
updater = "http://oldschool-war.ddns.net/api/updater_advanced.php",
stats = "",
crash = "http://oldschool-war.ddns.net/api/crash.php",
feedback = "http://oldschool-war.ddns.net/api/feedback.php",
status = "http://oldschool-war.ddns.net/api/status.php"
}
-- Servers accept http login url, websocket login url or ip:port:version
Servers = {
meuserver= "oldschool-war.ddns.net:7171:772"
}