Jump to content
  • 0
Sign in to follow this  
changelets

A solution?

Question

13 answers to this question

Recommended Posts

  • 0

That's caused by missing registry entries

Share this post


Link to post
Share on other sites
  • 0

That's caused by missing registry entries

 

Hi,

 

Could you explain in detail what you mean?  :unsure:

 

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 ?

Edited by changelets

Share this post


Link to post
Share on other sites
  • 0

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

Share this post


Link to post
Share on other sites
  • 0

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

 

Doesn't work.

 

:(

Share this post


Link to post
Share on other sites
  • 0

I still have the problem  :unsure:

 

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)

Edited by Ridley

Share this post


Link to post
Share on other sites
  • 0

 

I still have the problem   :unsure:

 

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)

Hi Ridley,

 

I use the one in this link:

https://github.com/zackdreaver/ROenglishRE/tree/master/data/lua%20files/optioninfo

Edited by changelets

Share this post


Link to post
Share on other sites
  • 0

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
Edited by Ridley

Share this post


Link to post
Share on other sites
  • 0

 

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.

Edited by changelets

Share this post


Link to post
Share on other sites
  • 0

Is this a problem only for you, or do your players face the same? What client do you use?

Share this post


Link to post
Share on other sites
  • 0

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.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.