A solution?

That's caused by missing registry entries

 
That's caused by missing registry entries
Hi,

Could you explain in detail what you mean? 
default_unsure.png


use this one and see if the problem persists
Hello,

I have already tried this and the problem was not solved.

Am I the only one here who face this ?

 
Last edited by a moderator:
First try to run your setup as admin. Be sure your ro folder is not in a program files folder

For regedit if this doesn't I write tomorrow, currently on phone

 
I still have the problem 
default_unsure.png
in your grf, in luafiles514\lua files\optioninfo open the optioninfo_f.lub

look for the function SaveToFileCmdOnOffValueEx(nID)

tell me what it contains (or provide the whole code of it)

 
Last edited by a moderator:
Last edited by a moderator:
replace 

function SaveToFileCmdOnOffValueEx(nID)
if nID == 0 then
saveFile = io.open("SaveData\\OptionInfo.lua", "w")
else
saveFile = io.open("data\\OptionInfo.lua", "w")
end
if saveFile ~= nil then
for k, v in pairs(CmdOnOffOderList) do
local value = c_GetCmdOnOffValue(v)
if value ~= -1 then
saveFile:write(string.format("CmdOnOffList[\"%s\"] = %d\n", v, value))
end
end
saveFile:write("\n")
io.close(saveFile)
end
end

with

Code:
function SaveToFileCmdOnOffValueEx(nID)
  if nID == 0 then
    saveFile = io.open("SaveData\\OptionInfo.lua", "w")
  else
    saveFile = io.open("data\\OptionInfo.lua", "w")
  end
  if saveFile ~= nil then
    saveFile:write("CmdOnOffList = {}\n")
    saveFile:write("OptionInfoList = {}\n")
    for k, v in pairs(CmdOnOffOderList) do
      local value = c_GetCmdOnOffValue(v)
      if value ~= -1 then
        saveFile:write(string.format("CmdOnOffList[\"%s\"] = %d\n", v, value))
      end
    end
    saveFile:write("\n")
    io.close(saveFile)
  end
end
 
Last edited by a moderator:
replace 

function SaveToFileCmdOnOffValueEx(nID)
if nID == 0 then
saveFile = io.open("SaveData\\OptionInfo.lua", "w")
else
saveFile = io.open("data\\OptionInfo.lua", "w")
end
if saveFile ~= nil then
for k, v in pairs(CmdOnOffOderList) do
local value = c_GetCmdOnOffValue(v)
if value ~= -1 then
saveFile:write(string.format("CmdOnOffList[\"%s\"] = %d\n", v, value))
end
end
saveFile:write("\n")
io.close(saveFile)
end
end

with

function SaveToFileCmdOnOffValueEx(nID)
if nID == 0 then
saveFile = io.open("SaveData\\OptionInfo.lua", "w")
else
saveFile = io.open("data\\OptionInfo.lua", "w")
end
if saveFile ~= nil then
saveFile:write("CmdOnOffList = {}\n")
saveFile:write("OptionInfoList = {}\n")
for k, v in pairs(CmdOnOffOderList) do
local value = c_GetCmdOnOffValue(v)
if value ~= -1 then
saveFile:write(string.format("CmdOnOffList[\"%s\"] = %d\n", v, value))
end
end
saveFile:write("\n")
io.close(saveFile)
end
end
Hi Ridley,

The problem is still faced.

 
Last edited by a moderator:
Is this a problem only for you, or do your players face the same? What client do you use?

 
If it's not in program files folder and ran as admin, all I can think of is you use one of those clients where it was bugged in general. @.@ but I'm not exactly sure.

Some clients also required UAC to be disabled.

 
Back
Top