• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
standalone not logging in...
#2
Hi Stamatis,

It could be that you standalone does not have the libraries or they are in a path that does not align with the command initializeCanelaDB code the LCM provides you when you export your toolkit.

I am going to provide you the path for how this works in LiveCloud Manager and the init code we use for it.

You may need to adjust the pathing to work for the location where you placed your CanelaDB folder.

Path
/Users/mark/Desktop/Deployment/LCM Deployment/LiveCloudManager/LiveCloudManager.app/Contents/Resources/_MacOS/data/config/CanelaDB

LCM init code
command initializeCanelaDB
local tLibraryPath

wait 0 milliseconds with messages ## GIVE THE ENGINE A CHANCE TO SPIN UP
put "-" into gCDBAuthKey
set the itemDel to "/"

if the environment is "development" then
put item 1 to -2 of (the effective fileName of this stack) into tLibraryPath
else
switch the platform
case "android"
case "iPhone"
put specialFolderPath("engine") into tLibraryPath
break

case "MacOS"
put specialFolderPath("support") into tLibraryPath
put "/" & "CanelaSoftware/" & gCSManifestA["productName"] & "/" & gCSManifestA["productVersion"] & "/data" after tLibraryPath --LCM SPECIFIC PATH
break

case "Win32"
case "Linux"
put item 1 to -2 of (the effective fileName of this stack) into tLibraryPath
break
end switch
end if

put "/config/CanelaDB/libraries/" after tLibraryPath

if the environment <> "development" then
repeat for each line xLine in files(tLibraryPath)
if xLine <> "CDB_Header.lib" and xLine <> "CDB_Starter.lib" then
delete file (tLibraryPath & xLine)
end if
end repeat
else
if there is a file (tLibraryPath & ".DS_Store") then
delete file (tLibraryPath & ".DS_Store")
end if
end if

--START CanelaDB
csi_verifyLibraries tLibraryPath

try
start using stack (tLibraryPath & "CDB_Header.lib")
start using stack (tLibraryPath & "CDB_Starter.lib")

catch tError
answer "The CanelaDB SDK is missing. Please export your CanelaDB SDK again." && tError
exit to top
end try

--SET OPTIONAL LOGGING MODE
cdb_SetLogMode "message box"

cdb_loadTable "cdbCache"
end initializeCanelaDB
  Reply


Messages In This Thread
standalone not logging in... - by stamatis - 11-08-2020, 01:27 AM
RE: standalone not logging in... - by mark_talluto - 11-09-2020, 11:57 PM
RE: standalone not logging in... - by stamatis - 11-11-2020, 02:40 AM
RE: standalone not logging in... - by stamatis - 11-12-2020, 03:02 AM
RE: standalone not logging in... - by stamatis - 11-20-2020, 06:16 PM
RE: standalone not logging in... - by JereMiami - 10-02-2021, 12:15 PM
RE: standalone not logging in... - by Hendricus - 10-13-2021, 09:28 PM
RE: standalone not logging in... - by Hendricus - 10-14-2021, 07:46 AM
RE: standalone not logging in... - by Hendricus - 10-15-2021, 02:43 PM
RE: standalone not logging in... - by Hendricus - 10-15-2021, 09:22 PM
RE: standalone not logging in... - by Hendricus - 10-16-2021, 07:09 PM
RE: standalone not logging in... - by Hendricus - 10-20-2021, 09:09 PM
RE: standalone not logging in... - by Hendricus - 10-22-2021, 11:42 AM
RE: standalone not logging in... - by Hendricus - 10-27-2021, 09:44 PM
RE: standalone not logging in... - by JereMiami - 11-30-2021, 09:27 AM
RE: standalone not logging in... - by stamatis - 11-30-2021, 11:12 AM
RE: standalone not logging in... - by Linda Lu - 11-30-2021, 05:47 PM
RE: standalone not logging in... - by stamatis - 11-30-2021, 07:54 PM

Forum Jump:


Users browsing this thread: 5 Guest(s)