Jump to content
  • 0
Sign in to follow this  
christianz30

Client Set-Up Not Saving

Question

Hello Guys,

I'm kinda new here...

Uhmm I was just wondering if there is a fix to this issue that I'm facing...

The scenario is that when I save the client set-up using SetUp or opensetup... The client resets every time it closes or opens...

 

Upon investigation here are a list of facts:

1. I'm using 20130522 client

2. Every time I use the launcher, a warning pops up that says "[string "buf"]:1 attemp to index global 'CmdOnOffList' (a nil value)"

3. After that warning, the client works perfectly but it resets itself to the default setting

4. I got the latest files System files from https://subversion.assembla.com/svn/client-side-translation/System/ (Rev. 37)

5. I overwritten the files in my System folder

6. I copied the code inside the optioninfo.lua of the System folder

7. I pasted the code inside the optioninfo.lua in the savedata folder

8. I edited the code to set the Width = 800 Height = 600 Bitperpixel= 16

9. I used the launcher and the client didn't show the warning message

10. I closed the client

11. I opened the client again and a warning pops up that says "[string "buf"]:1 attemp to index global 'CmdOnOffList' (a nil value)" again

12. I checked the code in the optioninfo.lua of the savedata folder and compared it from the System folder

 

[savedata]

 

CmdOnOffList["/notrade"] = 0
CmdOnOffList["/noshift"] = 0
CmdOnOffList["/noctrl"] = 1
CmdOnOffList["/skillfail"] = 1
CmdOnOffList["/notalkmsg"] = 0
CmdOnOffList["/notalkmsg2"] = 0
CmdOnOffList["/showname"] = 1
CmdOnOffList["/fog"] = 1
CmdOnOffList["/aura"] = 1
CmdOnOffList["/window"] = 0
CmdOnOffList["/miss"] = 1
CmdOnOffList["/q1"] = 0
CmdOnOffList["/q2"] = 0
CmdOnOffList["/effect"] = 1
CmdOnOffList["/bgm"] = 1
CmdOnOffList["/sound"] = 1
CmdOnOffList["/loginout"] = 1
CmdOnOffList["/shopping"] = 1
CmdOnOffList["/stateinfo"] = 1
CmdOnOffList["/snap"] = 0
CmdOnOffList["/itemsnap"] = 0
CmdOnOffList["/skillsnap"] = 1
CmdOnOffList["/hoai"] = 0
CmdOnOffList["/merai"] = 0
CmdOnOffList["/camera"] = 0
CmdOnOffList["/lightmap"] = 1
CmdOnOffList["/monsterhp"] = 1
 
OptionInfoList["Trilinear"] = 0
OptionInfoList["Bgm_Volume"] = 100
OptionInfoList["Effect_Volume"] = 100
OptionInfoList["AutoOpen1to1Window"] = 1
OptionInfoList["AutoOpen1to1Window_Friend"] = 1
OptionInfoList["PlaySound_Open1to1Window"] = 1
OptionInfoList["Outdoor_ViewLatitude"] = -62.000000
OptionInfoList["Outdoor_ViewDistance"] = 383.000000
OptionInfoList["Indoor_ViewLatitude"] = -45.000000
OptionInfoList["Indoor_ViewDistance"] = 300.000000
OptionInfoList["SkinName"] = "<Basic Skin>"
OptionInfoList["ChannelCopID"] = 0
OptionInfoList["Window_XPos"] = 240
OptionInfoList["Window_YPos"] = 100
OptionInfoList["Simplicity_SkillList"] = 0
OptionInfoList["Show_SkillDescript"] = 0
OptionInfoList["ChangeChatMode"] = 1
OptionInfoList["LockMouse"] = 0
OptionInfoList["ShowBattleFieldIcon"] = 1
OptionInfoList["MouseExclusive"] = 1
OptionInfoList["ISFULLSCREENMODE"] = 0
OptionInfoList["WIDTH"] = 800
OptionInfoList["HEIGHT"] = 600
OptionInfoList["BITPERPIXEL"] = 16
OptionInfoList["DEVICECNT"] = 0
OptionInfoList["MODECNT"] = 0
OptionInfoList["SPRITEMODE"] = 2
OptionInfoList["TEXTUREMODE"] = 2
OptionInfoList["bLockItemDropFromItemWnd"] = 0
 

 

[system]

 

CmdOnOffList = {
  ["/battlemode"] = 0,
  ["/notrade"] = 0,
  ["/noshift"] = 0,
  ["/noctrl"] = 1,
  ["/skillfail"] = 1,
  ["/notalkmsg"] = 0,
  ["/notalkmsg2"] = 0,
  ["/showname"] = 1,
  ["/fog"] = 1,
  ["/aura"] = 1,
  ["/window"] = 0,
  ["/miss"] = 1,
  ["/q1"] = 0,
  ["/q2"] = 0,
  ["/effect"] = 1,
  ["/bgm"] = 1,
  ["/sound"] = 1,
  ["/loginout"] = 1,
  ["/shopping"] = 1,
  ["/stateinfo"] = 1,
  ["/snap"] = 0,
  ["/itemsnap"] = 0,
  ["/skillsnap"] = 1,
  ["/hoai"] = 0,
  ["/merai"] = 0,
  ["/camera"] = 0,
  ["/btg"] = 1,
  ["/lightmap"] = 1
}
OptionInfoList = {
  Window_XPos = -1,
  Window_YPos = -1,
  Trilinear = 0,
  Bgm_Volume = 100,
  Effect_Volume = 100,
  AutoOpen1to1Window = 1,
  AutoOpen1to1Window_Friend = 1,
  PlaySound_Open1to1Window = 1,
  Simplicity_SkillList = 0,
  Show_SkillDescript = 0,
  ChangeChatMode = 1,
  LockMouse = 0,
  ChannelCopID = 0,
  Outdoor_ViewLatitude = -45,
  Outdoor_ViewDistance = 400,
  Indoor_ViewLatitude = -45,
  Indoor_ViewDistance = 300,
  SkinName = "<Basic Skin>",
  MouseExclusive = 1,
  WIDTH=800,
  HEIGHT=600,
  BITPERPIXEL=16
}
 
Now... I want to find a way that whenever I exit the client, it saves properly and does not revert the settings in the savedata...
 
Thank you in advance for your reply :)

 

 

Share this post


Link to post
Share on other sites

5 answers to this question

Recommended Posts

  • 0

run the setup.exe and game.exe as Adminisstrator , He dont Saves the settings because hes missing the Write Previleg 

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.