03-10-2016, 08:42 PM
How strange. Could you perhaps commit all your code to github, perhaps in a different branch.
|
mmo plugin help wanted
|
|
03-10-2016, 08:42 PM
How strange. Could you perhaps commit all your code to github, perhaps in a different branch.
03-10-2016, 08:45 PM
didn't saw 2. page I just commited it in my dev branch
03-10-2016, 08:53 PM
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(...)
03-10-2016, 08:55 PM
yep thats it many thanks
03-10-2016, 10:49 PM
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)
[13:43:35] Stack trace:
[13:43:35] [C](-1): bind_names
[13:43:35] Plugins/mmo/storage_sqlite.lua(66): ExecuteCommand
[13:43:35] Plugins/mmo/main.lua(382): get_stats_initialize
[13:43:35] Plugins/mmo/main.lua(400): get_stats
[13:43:35] Plugins/mmo/main.lua(407): checkifexist
[13:43:35] Plugins/mmo/main.lua(350): (no name)
[13:43:35] Stack trace end
[13:43:35] Error in plugin mmo calling function <callback>()your old sql functions where way better understandable xD
03-10-2016, 11:58 PM
ok ok I fixed it wrong ; in the sql statement
03-11-2016, 01:01 AM
I just got your geyser spell working xD
|
|
« Next Oldest | Next Newest »
|