Created
January 17, 2019 06:58
-
-
Save Benjamin-Dobell/e11494a2080bc9d3850954dc8fded8aa to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'lua-compile/cyclic' | |
math.randomseed(os.time()) | |
---@type prototype_inertia__Debug | |
local Debug = require('Debug') | |
---@type ge_tts__Http | |
local Http = require('ge_tts/Http') | |
Http.setProxyUrl('https://tt-proxy.herokuapp.com/forward') | |
local dev = true | |
if dev then | |
local logUrl = 'http://localhost:8080/log' | |
Debug.initDebugLogging(logUrl) | |
---@type ge_tts__Logger | |
local Logger = require('ge_tts/Logger') | |
Logger.log( | |
'\n\n\n================================================================================\n' | |
.. '================================================================================\n' | |
.. '================================================================================\n\n\n', | |
Logger.INFO | |
) | |
end | |
local hostPlayer = Player.white | |
if hostPlayer then | |
hostPlayer.changeColor('Blue') | |
end | |
require('ge_tts/ContainerEventsFix') | |
local Game = require('Game') | |
Game.PLAYER_GUI_OBJECT_GUID = 'cbc08f' | |
Game.BATTLEFIELD_INTERFACE_OBJECT_GUID = '0059ae' | |
Game.CARD_SCRIPT_OBJECT_GUID = 'bd4d7d' | |
Game.CARD_UI_OBJECT_GUIDS.standard = Game.CARD_SCRIPT_OBJECT_GUID | |
if dev then | |
Game.DEV = true | |
Game.API_ORIGIN = 'http://localhost:8080' | |
Game.CONTENT_ORIGIN = 'http://localhost:8080' | |
Game.DISABLE_SAVE = true | |
end | |
if dev then | |
Debug.initDebugGlobals('_') | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment