christianz30 3 Posted July 7, 2013 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 Quote Share this post Link to post Share on other sites
0 zackdreaver 90 Posted July 7, 2013 set optioninfo.lua to "read only" that will not make it get reset whenever you open and close client 1 christianz30 reacted to this Quote Share this post Link to post Share on other sites
0 ossi0110 200 Posted July 7, 2013 run the setup.exe and game.exe as Adminisstrator , He dont Saves the settings because hes missing the Write Previleg Quote Share this post Link to post Share on other sites
0 christianz30 3 Posted July 7, 2013 I already did, but the issue still persists each time I close the client and re-open it again Quote Share this post Link to post Share on other sites
0 christianz30 3 Posted July 7, 2013 This approach solved it! THANK YOU! Quote Share this post Link to post Share on other sites
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]
[system]
Share this post
Link to post
Share on other sites