Update plugin protocl version, fix error in error

This commit is contained in:
Lucien Greathouse
2019-09-10 15:37:21 -07:00
parent 57d46287d7
commit 6a786f18e6
2 changed files with 3 additions and 3 deletions

View File

@@ -73,10 +73,10 @@ function ApiContext:connect()
"\nMake sure you have matching versions of both the Rojo plugin and server!" .. "\nMake sure you have matching versions of both the Rojo plugin and server!" ..
"\n\nYour client is version %s, with protocol version %s. It expects server version %s." .. "\n\nYour client is version %s, with protocol version %s. It expects server version %s." ..
"\nYour server is version %s, with protocol version %s." .. "\nYour server is version %s, with protocol version %s." ..
"\n\nGo to https://github.com/LPGhatguy/rojo for more details." "\n\nGo to https://github.com/rojo-rbx/rojo for more details."
):format( ):format(
Version.display(Config.version), Config.protocolVersion, Version.display(Config.version), Config.protocolVersion,
Config.expectedApiContextVersionString, Config.expectedServerVersionString,
body.serverVersion, body.protocolVersion body.serverVersion, body.protocolVersion
) )

View File

@@ -2,7 +2,7 @@ return {
codename = "Epiphany", codename = "Epiphany",
version = {0, 5, 0}, version = {0, 5, 0},
expectedServerVersionString = "0.5.0 or newer", expectedServerVersionString = "0.5.0 or newer",
protocolVersion = 2, protocolVersion = 3,
defaultHost = "localhost", defaultHost = "localhost",
defaultPort = 34872, defaultPort = 34872,
} }