[SOLVED] Sqlite3 Rows
#14
(11-06-2016, 08:46 AM)Cl1608Ho Wrote: @xoft again, "next to the cuberite binary" isn't the whole truth.

Current folder means from where you execute stuff, which should he the Server directory but doesn't have to be.

Anyway, shouldn't be "current directory" for a plugin its own directory? I would expect that cuberite is simulating that
Yup, i've changed my code a little bit to make load the sqlite3 from the plugin's folder
<shcode=lua>
db = sqlite3.open('Plugins/EggWars/storage.sqlite3')
</shcode>
again the default directory is the main cuberite directory.
Reply
Thanks given by:


Messages In This Thread
[SOLVED] Sqlite3 Rows - by denwo - 11-03-2016, 12:53 AM
RE: Sqlite3 Rows. - by NiLSPACE - 11-03-2016, 01:56 AM
RE: Sqlite3 Rows. - by denwo - 11-03-2016, 05:28 AM
RE: Sqlite3 Rows. - by NiLSPACE - 11-03-2016, 06:47 AM
RE: Sqlite3 Rows. - by xoft - 11-03-2016, 04:58 PM
RE: Sqlite3 Rows. - by xoft - 11-03-2016, 05:01 PM
RE: Sqlite3 Rows. - by denwo - 11-03-2016, 11:33 PM
RE: Sqlite3 Rows. - by xoft - 11-04-2016, 12:32 AM
RE: Sqlite3 Rows. - by denwo - 11-04-2016, 12:55 AM
RE: Sqlite3 Rows. - by denwo - 11-05-2016, 05:06 AM
RE: [SOLVED] Sqlite3 Rows - by xoft - 11-05-2016, 09:11 PM
RE: [SOLVED] Sqlite3 Rows - by denwo - 11-06-2016, 07:18 AM
RE: [SOLVED] Sqlite3 Rows - by ShadowCone - 11-06-2016, 08:46 AM
RE: [SOLVED] Sqlite3 Rows - by denwo - 11-07-2016, 11:23 PM
RE: [SOLVED] Sqlite3 Rows - by xoft - 11-08-2016, 12:11 AM
RE: [SOLVED] Sqlite3 Rows - by xoft - 11-08-2016, 12:13 AM
RE: [SOLVED] Sqlite3 Rows - by PureTryOut - 11-08-2016, 10:50 PM
RE: [SOLVED] Sqlite3 Rows - by NiLSPACE - 11-08-2016, 10:55 PM
RE: [SOLVED] Sqlite3 Rows - by denwo - 11-09-2016, 07:02 AM



Users browsing this thread: 3 Guest(s)