Frontend Tech + >> MAMEUI & IV/Play
Previous thread Previous  View all threads Index   Next thread Next   Flat Mode Flat  

lore
MAME Fan
Reged: 03/18/18
Posts: 8
Send PM
Re: LUA ERRROR
03/30/18 03:43 PM


>That's the real error. You need to either find out why >history.db isn't be opened
>properly (maybe something wrong with historypath) or >disable the data plugin in your
>plugins.ini.


a very bid "dilemma"...
I can not found any "plugins.ini" in my MAMAEUI dir...
I put all dats files in MAMEUI/DATs
My "data_history.lua" is this:

local dat = {}
local ver, info
local datread = require("data/load_dat")
datread, ver = datread.open("history.dat", "## REVISION:")

function dat.check(set, softlist)
if not datread then
return nil
end
local status
status, info = pcall(datread, "bio", softlist or "info", set)
if not status or not info then
return nil
end
return _("History")
end

function dat.get()
return info
end

function dat.ver()
return ver
end

return dat







Entire thread
Subject Posted by Posted on
* LUA ERRROR lore 03/18/18 02:31 AM
. * Re: LUA ERRROR lore  03/29/18 05:40 PM
. * Re: LUA ERRROR crazyc  03/29/18 10:03 PM
. * Re: LUA ERRROR lore  03/30/18 12:23 AM
. * Re: LUA ERRROR crazyc  03/30/18 02:55 PM
. * Re: LUA ERRROR lore  03/30/18 03:43 PM
. * Re: LUA ERRROR AntoPISA  03/20/18 03:16 PM
. * Re: LUA ERRROR lore  03/20/18 09:04 PM
. * Re: LUA ERRROR Robbbert  03/20/18 02:06 PM
. * Re: LUA ERRROR lore  03/20/18 09:14 PM
. * Re: LUA ERRROR Bad A Billy  03/21/18 04:00 AM
. * Re: LUA ERRROR lore  03/21/18 04:55 PM
. * Re: LUA ERRROR AntoPISA  03/21/18 06:10 PM
. * Re: LUA ERRROR lore  03/21/18 08:20 PM

Extra information Permissions
Moderator:  John IV 
0 registered and 4 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 254