mmo plugin help wanted - Printable Version +- Cuberite Forum (https://forum.cuberite.org) +-- Forum: Plugins (https://forum.cuberite.org/forum-1.html) +--- Forum: Plugin Discussion (https://forum.cuberite.org/forum-8.html) +--- Thread: mmo plugin help wanted (/thread-2401.html) Pages:
1
2
|
RE: mmo plugin help wanted - NiLSPACE - 03-10-2016 How strange. Could you perhaps commit all your code to github, perhaps in a different branch. RE: mmo plugin help wanted - danny9484 - 03-10-2016 didn't saw 2. page I just commited it in my dev branch RE: mmo plugin help wanted - NiLSPACE - 03-10-2016 Oh, right. I don't have a singleton in Login. In the initialize function try something like g_Storage = cSQLiteStorage:new() Then you can call it using g_Storage:ExecuteCommand(...) RE: mmo plugin help wanted - danny9484 - 03-10-2016 yep thats it many thanks RE: mmo plugin help wanted - danny9484 - 03-10-2016 uhh still have problems current code is in my dev branch Code: [13:43:35] LUA: Plugins/mmo/storage_sqlite.lua:66: calling 'bind_names' on bad self (attempt to use closed sqlite virtual machine) your old sql functions where way better understandable xD RE: mmo plugin help wanted - danny9484 - 03-10-2016 ok ok I fixed it wrong ; in the sql statement RE: mmo plugin help wanted - danny9484 - 03-11-2016 I just got your geyser spell working xD |