• 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!
  • If you're using Gesior 2012 or MyAAC, please review this thread for information about a serious security vulnerability and a fix.

otcv8 autoupdater problem in json file - windows 10

johnsamir

Banned User
Joined
Oct 13, 2009
Messages
555
Solutions
5
Reaction score
98
Location
Nowhere
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
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)
i have not editing anything inside status and my server is added to otservlist.org ports 7171 7172 80 are open




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"
}
 

Similar threads

Top