mmo plugin help wanted
#11
How strange. Could you perhaps commit all your code to github, perhaps in a different branch.
Reply
Thanks given by:
#12
didn't saw 2. page I just commited it in my dev branch
Reply
Thanks given by:
#13
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(...)
Reply
Thanks given by:
#14
yep thats it many thanks
Reply
Thanks given by:
#15
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
Reply
Thanks given by:
#16
ok ok I fixed it wrong ; in the sql statement
Reply
Thanks given by:
#17
I just got your geyser spell working xD
Reply
Thanks given by:




Users browsing this thread: 5 Guest(s)