OoT: add version check to lua script + client

This commit is contained in:
espeon65536
2022-05-25 23:10:51 -05:00
committed by Fabian Dill
parent ac87629550
commit 8184e99409
2 changed files with 26 additions and 13 deletions

View File

@@ -2,7 +2,8 @@ local socket = require("socket")
local json = require('json')
local math = require('math')
local script_version = '2022-03-22' -- Should be the last modified date
local last_modified_date = '2022-05-25' -- Should be the last modified date
local script_version = 1
--------------------------------------------------
-- Heavily modified form of RiptideSage's tracker
@@ -1781,6 +1782,7 @@ function receive()
-- Determine message to send back
local retTable = {}
retTable["playerName"] = get_player_name()
retTable["scriptVersion"] = script_version
retTable["deathlinkActive"] = deathlink_enabled()
if InSafeState() then
retTable["locations"] = check_all_locations(master_quest_table_address)