Fable3mod - RDF feed
type: channel
description: Discussions for modifying Fable 3
items: MessageBox Extended
items: Re: MessageBox Extended

MessageBox Extended
type: item
description: this will show all table values (up to 4 entries) Toggle Spoiler function MsgTab(text,sub,trash) local nOfLines=24 local count=0 local nFunc=0 local valueStr="" if sub == nil or sub < 1 or sub > 4 then sub=1 end if trash == nil then trash=false end if type(text) == "table" then for key,value in pairs(text) do if type(value) ~= "function" or trash then if type(value) == "table" and sub > 1 then for key2,value2 in pairs(value) do if type(value2) ~= "function" or trash then if type(value2) == "table" and sub > 2 then for key3,value3 in pairs(value2) do if type(value3) ~= "function" or trash then if type(value3) == "table" and sub > 3 then for key4,value4 in pairs(value3) do if type(value4) ~= "function" or trash then valueStr = valueStr .. "\n" .. tostring(key) .. "." .. tostring(key2) .. "." .. tostring(key3) .. "." .. tostring(key4) .. " = " .. tostring(value4) count=0 for i in string.gmatch(valueStr, "\n") do count = count+1 if count >= nOfLines then if string.len(valueStr) > 0 then GUI.DisplayMessageBox(tostring(valueStr)) end valueStr = "" end end else nFunc=nFunc+1 end end else valueStr = valueStr .. "\n" .. tostring(key) .. "." .. tostring(key2) .. "." .. tostring(key3) .. " = " .. tostring(value3) end else nFunc=nFunc+1 end count=0 for i in string.gmatch(valueStr, "\n") do count = count+1 if count >= nOfLines then if string.len(valueStr) > 0 then GUI.DisplayMessageBox(tostring(valueStr)) end valueStr = "" end end end else valueStr = valueStr .. "\n" .. tostring(key) .. "." .. tostring(key2) .. " = " .. tostring(value2) end else nFunc=nFunc+1 end count=0 for i in string.gmatch(valueStr, "\n") do count = count+1 if count >= nOfLines then if string.len(valueStr) > 0 then GUI.DisplayMessageBox(tostring(valueStr)) end valueStr = "" end end end else valueStr = valueStr .. "\n" .. tostring(key) .. " = " .. tostring(value) end else nFunc=nFunc+1 end count=0 for i in string.gmatch(valueStr, "\n") do count = count+1 if count >= nOfLines then if string.len(valueStr) > 0 t…
creator: Artofeel
date: 2014-06-02T05:05:24-00:00

Re: MessageBox Extended
type: item
description: There has to be a way to dump all this information to an external file or something.
creator: Keshire
date: 2014-06-03T22:08:55-00:00

Re: MessageBox Extended
type: item
description: I have tried but without success io.write there is such function: Debug.LogUsedResources() that writes the file: UsedResources.txt in game folder, but seems this is internal function so no way to see how it works...
creator: Artofeel
date: 2014-06-04T18:41:00-00:00

Re: MessageBox Extended
type: item
description: Artofeel wrote on Wed, 04 June 2014 11:41 I have tried but without success io.write there is such function: Debug.LogUsedResources( that writes the file: UsedResources.txt in game folder, but seems this is internal function so no way to see how it works... Ya, io is entirely locked out. I did a few minutes of research to see if pluto had anything usable, but I couldn't find anything substantial. The gameface/anark gui scripting might have something though. When I was looking through them it looked like they may have some of the higher functions exposed to them. But I'm not sure.
creator: Keshire
date: 2014-06-05T11:41:53-00:00

Re: MessageBox Extended
type: item
description: just tried to connect an external library for additional functions package.loadlib and seems is not worked at all game just crash damn...
creator: Artofeel
date: 2014-11-18T17:47:53-00:00