Settings.cs 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481
  1. using Client.MirSounds;
  2. using System;
  3. using System.IO;
  4. using System.Windows.Forms;
  5. namespace Client
  6. {
  7. class Settings
  8. {
  9. public const long CleanDelay = 200000; //600000
  10. public static int ScreenWidth = 1024, ScreenHeight = 768;
  11. // public static int ScreenWidth = 640, ScreenHeight = 480;
  12. private static InIReader Reader = new InIReader(@".\Mir3Config.ini");
  13. private static bool _useTestConfig;
  14. public static bool UseTestConfig
  15. {
  16. get
  17. {
  18. return _useTestConfig;
  19. }
  20. set
  21. {
  22. //if (value == true)
  23. //{
  24. // Reader = new InIReader(@".\Mir2Test.ini");
  25. //}
  26. _useTestConfig = value;
  27. }
  28. }
  29. public const string DataPath = @".\Data\",
  30. MapPath = @".\Map\",
  31. SoundPath = @".\Sound\",
  32. ExtraDataPath = @".\Data\Extra\",
  33. ShadersPath = @".\Data\Shaders\",
  34. MonsterPath = @".\Data\Monster\",
  35. Mir3MonsterPath = @".\Data\Mir3monster\",
  36. GatePath = @".\Data\Gate\",
  37. NPCPath = @".\Data\NPC\",
  38. CArmourPath = @".\Data\CArmour\",
  39. CWeaponPath = @".\Data\CWeapon\",
  40. CHairPath = @".\Data\CHair\",
  41. AArmourPath = @".\Data\AArmour\",
  42. AWeaponPath = @".\Data\AWeapon\",
  43. AHairPath = @".\Data\AHair\",
  44. ARArmourPath = @".\Data\ARArmour\",
  45. ARWeaponPath = @".\Data\ARWeapon\",
  46. ARHairPath = @".\Data\ARHair\",
  47. CHumEffectPath = @".\Data\CHumEffect\",
  48. AHumEffectPath = @".\Data\AHumEffect\",
  49. ARHumEffectPath = @".\Data\ARHumEffect\",
  50. MountPath = @".\Data\Mount\",
  51. FishingPath = @".\Data\Fishing\",
  52. PetsPath = @".\Data\Pet\",
  53. TransformPath = @".\Data\Transform\",
  54. TransformMountsPath = @".\Data\TransformRide2\",
  55. TransformEffectPath = @".\Data\TransformEffect\",
  56. TransformWeaponEffectPath = @".\Data\TransformWeaponEffect\";
  57. //Logs
  58. public static bool LogErrors = true;
  59. public static bool LogChat = true;
  60. public static int RemainingErrorLogs = 100;
  61. //Graphics
  62. public static bool FullScreen = true, TopMost = true;
  63. public static string FontName = "Tahoma"; //"字体"
  64. //public static FontFamily
  65. public static bool FPSCap = true;
  66. public static int MaxFPS = 100;
  67. public static int Resolution = 1024;
  68. public static bool DebugMode = false;
  69. //Network
  70. public static bool UseConfig = true;
  71. public static string IPAddress = "127.0.0.1";//默认读取IP
  72. public static string IPAddress1;
  73. public static string IPAddress2;
  74. public static string IPAddress3;
  75. public static string IPAddress4;
  76. public static string IPAddress5;
  77. public static int partnum = 0; //记录登陆器选择的区服
  78. // public static string IPAddress = "221.226.58.2";//默认读取IP
  79. //五区IP列表
  80. public static string[] pt5iplist = new string[] { "139.196.37.152", "47.102.40.232" }; // ,"139.196.186.213","101.133.156.32"
  81. //三区IP列表
  82. public static string[] pt3iplist = new string[] { "47.116.112.48", "106.14.123.206" };
  83. //测试IP列表
  84. public static string[] pt9iplist = new string[] { "172.19.11.3" };
  85. public static int Port = 7000;
  86. public const int TimeOut = 5000;
  87. //Sound
  88. public static int SoundOverLap = 3;
  89. private static byte _volume = 50;
  90. public static byte Volume
  91. {
  92. get { return _volume; }
  93. set
  94. {
  95. if (_volume == value) return;
  96. _volume = (byte)(value > 100 ? 100 : value);
  97. if (_volume == 0)
  98. SoundManager.Vol = -10000;
  99. else
  100. SoundManager.Vol = (int)(-3000 + (3000 * (_volume / 100M)));
  101. }
  102. }
  103. private static byte _musicVolume = 50;
  104. public static byte MusicVolume
  105. {
  106. get { return _musicVolume; }
  107. set
  108. {
  109. if (_musicVolume == value) return;
  110. _musicVolume = (byte)(value > 100 ? 100 : value);
  111. if (_musicVolume == 0)
  112. SoundManager.MusicVol = -10000;
  113. else
  114. SoundManager.MusicVol = (int)(-3000 + (3000 * (_musicVolume / 100M)));
  115. }
  116. }
  117. //Game
  118. public static string AccountID = "",
  119. Password = "";
  120. public static bool
  121. SkillMode = false,
  122. SkillBar = true,
  123. //SkillSet = true,
  124. Effect = true,
  125. LightEffect = false,
  126. LevelEffect = true,
  127. DropView = true,
  128. NameView = true,
  129. HPView = true,
  130. TransparentChat = false,
  131. DuraView = false,
  132. DisplayDamage = true,
  133. TargetDead = true;
  134. public static int[,] SkillbarLocation = new int[2, 2] { { 0, 0 }, { 216, 0 } };
  135. //Quests
  136. public static int[] TrackedQuests = new int[5];
  137. //Chat
  138. public static bool
  139. ShowNormalChat = true,
  140. ShowYellChat = true,
  141. ShowWhisperChat = true,
  142. ShowLoverChat = true,
  143. ShowMentorChat = true,
  144. ShowGroupChat = true,
  145. ShowGuildChat = true;
  146. //Filters
  147. public static bool
  148. FilterNormalChat = false,
  149. FilterWhisperChat = false,
  150. FilterShoutChat = false,
  151. FilterSystemChat = false,
  152. FilterLoverChat = false,
  153. FilterMentorChat = false,
  154. FilterGroupChat = false,
  155. FilterGuildChat = false,
  156. FilterShout3Chat = false; //世界喊话
  157. //AutoPatcher
  158. public static bool P_Patcher = false;
  159. public static string P_Host = @""; //ftp://127.0.0.1
  160. public static string P_PatchFileName = @"PList.gz";
  161. public static bool P_NeedLogin = false;
  162. public static string P_Login = string.Empty;
  163. public static string P_Password = string.Empty;
  164. public static string P_ServerName = string.Empty;
  165. public static string P_BrowserAddress = "";
  166. public static string P_Client = Application.StartupPath + "\\";
  167. public static bool P_AutoStart = false;
  168. //Auxsetup
  169. public static int HPItemIndexed = 0;
  170. public static int MPItemIndexed = 0;
  171. public static string HPName;
  172. public static string MPName;
  173. public static int HPNum;
  174. public static int MPNum;
  175. public static bool HpSelected = false;
  176. public static bool MpSelected = false;
  177. public static bool FightMpSelected = false;
  178. public static bool AutoHpSelected = false;
  179. public static bool AutoMpSelected = false;
  180. public static bool ShildSelected = false;
  181. public static bool EShildSelected = false;
  182. public static bool AutoAmulet = false;
  183. // public static bool Shenshengzj = false; //神圣战甲术是否启用绑定
  184. public static int Shenshengzjfu = 0; //具体绑定那个符
  185. // public static bool youlindun = false; //幽灵盾是否启用绑定
  186. public static int youlindunfu = 0; //具体绑定那个符
  187. // public static bool qiangmozhenfa = false; //强魔是否启用绑定
  188. public static int qiangmozhenfafu = 0; //具体绑定那个符
  189. // public static bool menghuqiansshi = false; //猛虎是否启用绑定
  190. public static int menghuqiansshifu = 0; //具体绑定那个符
  191. // public static bool zhaohuankulou = false; //骷髅是否启用绑定
  192. public static int zhaohuankuloufu = 0; //具体绑定那个符
  193. // public static bool zhaohuashenshou = false; //神圣是否启用绑定
  194. public static int zhaohuashenshoufu = 0; //具体绑定那个符
  195. public static void Load()
  196. {
  197. if (!Directory.Exists(DataPath)) Directory.CreateDirectory(DataPath);
  198. if (!Directory.Exists(MapPath)) Directory.CreateDirectory(MapPath);
  199. if (!Directory.Exists(SoundPath)) Directory.CreateDirectory(SoundPath);
  200. //Graphics
  201. FullScreen = Reader.ReadBoolean("Graphics", "FullScreen", FullScreen);
  202. TopMost = Reader.ReadBoolean("Graphics", "AlwaysOnTop", TopMost);
  203. // FPSCap = Reader.ReadBoolean("Graphics", "FPSCap", FPSCap);
  204. Resolution = Reader.ReadInt32("Graphics", "Resolution", Resolution);
  205. DebugMode = Reader.ReadBoolean("Graphics", "DebugMode", DebugMode);
  206. //Network
  207. UseConfig = Reader.ReadBoolean("Network", "UseConfig", UseConfig);
  208. if (UseConfig)
  209. {
  210. IPAddress = Reader.ReadString("Network", "IPAddress", IPAddress);//读取客户配置文件中IP
  211. IPAddress1 = Reader.ReadString("Network", "IPAddress1", IPAddress2);
  212. IPAddress2 = Reader.ReadString("Network", "IPAddress2", IPAddress2);
  213. IPAddress3 = Reader.ReadString("Network", "IPAddress3", IPAddress3);
  214. IPAddress4 = Reader.ReadString("Network", "IPAddress4", IPAddress4);
  215. IPAddress5 = Reader.ReadString("Network", "IPAddress5", IPAddress5);
  216. Port = Reader.ReadInt32("Network", "Port", Port);
  217. }
  218. //Logs
  219. LogErrors = Reader.ReadBoolean("Logs", "LogErrors", LogErrors);
  220. LogChat = Reader.ReadBoolean("Logs", "LogChat", LogChat);
  221. //Sound
  222. Volume = Reader.ReadByte("Sound", "Volume", Volume);
  223. SoundOverLap = Reader.ReadInt32("Sound", "SoundOverLap", SoundOverLap);
  224. MusicVolume = Reader.ReadByte("Sound", "Music", MusicVolume);
  225. //Game
  226. AccountID = Reader.ReadString("Game", "AccountID", AccountID);
  227. Password = Reader.ReadString("Game", "Password", Password);
  228. SkillMode = Reader.ReadBoolean("Game", "SkillMode", SkillMode);
  229. SkillBar = Reader.ReadBoolean("Game", "SkillBar", SkillBar);
  230. //SkillSet = Reader.ReadBoolean("Game", "SkillSet", SkillSet);
  231. Effect = Reader.ReadBoolean("Game", "Effect", Effect);
  232. LightEffect = Reader.ReadBoolean("Game", "LightEffect", LightEffect);
  233. LevelEffect = Reader.ReadBoolean("Game", "LevelEffect", Effect);
  234. DropView = Reader.ReadBoolean("Game", "DropView", DropView);
  235. NameView = Reader.ReadBoolean("Game", "NameView", NameView);
  236. HPView = Reader.ReadBoolean("Game", "HPMPView", HPView);
  237. FontName = Reader.ReadString("Game", "FontName", FontName);
  238. TransparentChat = Reader.ReadBoolean("Game", "TransparentChat", TransparentChat);
  239. DisplayDamage = Reader.ReadBoolean("Game", "DisplayDamage", DisplayDamage);
  240. TargetDead = Reader.ReadBoolean("Game", "TargetDead", TargetDead);
  241. DuraView = Reader.ReadBoolean("Game", "DuraWindow", DuraView);
  242. for (int i = 0; i < SkillbarLocation.Length / 2; i++)
  243. {
  244. SkillbarLocation[i, 0] = Reader.ReadInt32("Game", "Skillbar" + i.ToString() + "X", SkillbarLocation[i, 0]);
  245. SkillbarLocation[i, 1] = Reader.ReadInt32("Game", "Skillbar" + i.ToString() + "Y", SkillbarLocation[i, 1]);
  246. }
  247. //Chat
  248. ShowNormalChat = Reader.ReadBoolean("Chat", "ShowNormalChat", ShowNormalChat);
  249. ShowYellChat = Reader.ReadBoolean("Chat", "ShowYellChat", ShowYellChat);
  250. ShowWhisperChat = Reader.ReadBoolean("Chat", "ShowWhisperChat", ShowWhisperChat);
  251. ShowLoverChat = Reader.ReadBoolean("Chat", "ShowLoverChat", ShowLoverChat);
  252. ShowMentorChat = Reader.ReadBoolean("Chat", "ShowMentorChat", ShowMentorChat);
  253. ShowGroupChat = Reader.ReadBoolean("Chat", "ShowGroupChat", ShowGroupChat);
  254. ShowGuildChat = Reader.ReadBoolean("Chat", "ShowGuildChat", ShowGuildChat);
  255. //Filters
  256. FilterNormalChat = Reader.ReadBoolean("Filter", "FilterNormalChat", FilterNormalChat);
  257. FilterWhisperChat = Reader.ReadBoolean("Filter", "FilterWhisperChat", FilterWhisperChat);
  258. FilterShoutChat = Reader.ReadBoolean("Filter", "FilterShoutChat", FilterShoutChat);
  259. FilterSystemChat = Reader.ReadBoolean("Filter", "FilterSystemChat", FilterSystemChat);
  260. FilterLoverChat = Reader.ReadBoolean("Filter", "FilterLoverChat", FilterLoverChat);
  261. FilterMentorChat = Reader.ReadBoolean("Filter", "FilterMentorChat", FilterMentorChat);
  262. FilterGroupChat = Reader.ReadBoolean("Filter", "FilterGroupChat", FilterGroupChat);
  263. FilterGuildChat = Reader.ReadBoolean("Filter", "FilterGuildChat", FilterGuildChat);
  264. //AutoPatcher
  265. P_Patcher = Reader.ReadBoolean("Launcher", "Enabled", P_Patcher);
  266. P_Host = Reader.ReadString("Launcher", "Host", P_Host);
  267. P_PatchFileName = Reader.ReadString("Launcher", "PatchFile", P_PatchFileName);
  268. P_NeedLogin = Reader.ReadBoolean("Launcher", "NeedLogin", P_NeedLogin);
  269. P_Login = Reader.ReadString("Launcher", "Login", P_Login);
  270. P_Password = Reader.ReadString("Launcher", "Password", P_Password);
  271. P_AutoStart = Reader.ReadBoolean("Launcher", "AutoStart", P_AutoStart);
  272. P_ServerName = Reader.ReadString("Launcher", "ServerName", P_ServerName);
  273. // P_BrowserAddress = Reader.ReadString("Launcher", "Browser", P_BrowserAddress);读取配置文件中网站
  274. if (!P_Host.EndsWith("/")) P_Host += "/";
  275. if (P_Host.StartsWith("www.", StringComparison.OrdinalIgnoreCase)) P_Host = P_Host.Insert(0, "http://");
  276. //if (P_BrowserAddress.StartsWith("www.", StringComparison.OrdinalIgnoreCase)) P_BrowserAddress = P_BrowserAddress.Insert(0, "http://");
  277. //Auxsetup
  278. // HPItemIndexed= Reader.ReadInt32("Auxsetup", "HPItemIndexed" ,HPItemIndexed);
  279. // MPItemIndexed = Reader.ReadInt32("Auxsetup", "MPItemIndexed", MPItemIndexed);
  280. }
  281. public static void Save()
  282. {
  283. //Graphics
  284. Reader.Write("Graphics", "FullScreen", FullScreen);
  285. Reader.Write("Graphics", "AlwaysOnTop", TopMost);
  286. Reader.Write("Graphics", "FPSCap", FPSCap);
  287. Reader.Write("Graphics", "Resolution", Resolution);
  288. Reader.Write("Graphics", "DebugMode", DebugMode);
  289. //Sound
  290. Reader.Write("Sound", "Volume", Volume);
  291. Reader.Write("Sound", "Music", MusicVolume);
  292. //Game
  293. Reader.Write("Game", "AccountID", AccountID);
  294. Reader.Write("Game", "Password", Password);
  295. Reader.Write("Game", "SkillMode", SkillMode);
  296. Reader.Write("Game", "SkillBar", SkillBar);
  297. //Reader.Write("Game", "SkillSet", SkillSet);
  298. Reader.Write("Game", "Effect", Effect);
  299. Reader.Write("Game", "LightEffect", LightEffect);
  300. Reader.Write("Game", "LevelEffect", LevelEffect);
  301. Reader.Write("Game", "DropView", DropView);
  302. Reader.Write("Game", "NameView", NameView);
  303. Reader.Write("Game", "HPMPView", HPView);
  304. Reader.Write("Game", "FontName", FontName);
  305. Reader.Write("Game", "TransparentChat", TransparentChat);
  306. Reader.Write("Game", "DisplayDamage", DisplayDamage);
  307. Reader.Write("Game", "TargetDead", TargetDead);
  308. Reader.Write("Game", "DuraWindow", DuraView);
  309. for (int i = 0; i < SkillbarLocation.Length / 2; i++)
  310. {
  311. Reader.Write("Game", "Skillbar" + i.ToString() + "X", SkillbarLocation[i, 0]);
  312. Reader.Write("Game", "Skillbar" + i.ToString() + "Y", SkillbarLocation[i, 1]);
  313. }
  314. //Chat
  315. Reader.Write("Chat", "ShowNormalChat", ShowNormalChat);
  316. Reader.Write("Chat", "ShowYellChat", ShowYellChat);
  317. Reader.Write("Chat", "ShowWhisperChat", ShowWhisperChat);
  318. Reader.Write("Chat", "ShowLoverChat", ShowLoverChat);
  319. Reader.Write("Chat", "ShowMentorChat", ShowMentorChat);
  320. Reader.Write("Chat", "ShowGroupChat", ShowGroupChat);
  321. Reader.Write("Chat", "ShowGuildChat", ShowGuildChat);
  322. //Filters
  323. Reader.Write("Filter", "FilterNormalChat", FilterNormalChat);
  324. Reader.Write("Filter", "FilterWhisperChat", FilterWhisperChat);
  325. Reader.Write("Filter", "FilterShoutChat", FilterShoutChat);
  326. Reader.Write("Filter", "FilterSystemChat", FilterSystemChat);
  327. Reader.Write("Filter", "FilterLoverChat", FilterLoverChat);
  328. Reader.Write("Filter", "FilterMentorChat", FilterMentorChat);
  329. Reader.Write("Filter", "FilterGroupChat", FilterGroupChat);
  330. Reader.Write("Filter", "FilterGuildChat", FilterGuildChat);
  331. //AutoPatcher
  332. Reader.Write("Launcher", "Enabled", P_Patcher);
  333. Reader.Write("Launcher", "Host", P_Host);
  334. Reader.Write("Launcher", "PatchFile", P_PatchFileName);
  335. Reader.Write("Launcher", "NeedLogin", P_NeedLogin);
  336. Reader.Write("Launcher", "Login", P_Login);
  337. Reader.Write("Launcher", "Password", P_Password);
  338. Reader.Write("Launcher", "ServerName", P_ServerName);
  339. Reader.Write("Launcher", "Browser", P_BrowserAddress);
  340. Reader.Write("Launcher", "AutoStart", P_AutoStart);
  341. //Auxsetup
  342. //Reader.Write("Auxsetup", "HPItemIndexed", HPItemIndexed);
  343. // Reader.Write("Auxsetup", "MPItemIndexed", MPItemIndexed);
  344. }
  345. public static void LoadTrackedQuests(string Charname)
  346. {
  347. //Quests
  348. for (int i = 0; i < TrackedQuests.Length; i++)
  349. {
  350. TrackedQuests[i] = Reader.ReadInt32("Q-" + Charname, "Quest-" + i.ToString(), -1);
  351. }
  352. }
  353. public static void SaveTrackedQuests(string Charname)
  354. {
  355. //Quests
  356. for (int i = 0; i < TrackedQuests.Length; i++)
  357. {
  358. Reader.Write("Q-" + Charname, "Quest-" + i.ToString(), TrackedQuests[i]);
  359. }
  360. }
  361. public static void LoadAuxsetup(string Charname)
  362. {
  363. HPItemIndexed = Reader.ReadInt32("A-" + Charname, "AUX-HPItemIndexed", HPItemIndexed);
  364. MPItemIndexed = Reader.ReadInt32("A-" + Charname, "AUX-MPItemIndexed", MPItemIndexed);
  365. HPName = Reader.ReadString("A-" + Charname, "AUX-HPName", HPName);
  366. MPName = Reader.ReadString("A-" + Charname, "AUX-MPName", MPName);
  367. HPNum = Reader.ReadInt32("A-" + Charname, "AUX-HPNum", HPNum);
  368. MPNum = Reader.ReadInt32("A-" + Charname, "AUX-MPNum", MPNum);
  369. HpSelected = Reader.ReadBoolean("A-" + Charname, "AUX-HpSelected", HpSelected);
  370. MpSelected = Reader.ReadBoolean("A-" + Charname, "AUX-MpSelected", MpSelected);
  371. AutoHpSelected = Reader.ReadBoolean("A-" + Charname, "AUX-AutoHpSelected", AutoHpSelected);
  372. AutoMpSelected = Reader.ReadBoolean("A-" + Charname, "AUX-AutoMpSelected", AutoMpSelected);
  373. FightMpSelected = Reader.ReadBoolean("A-" + Charname, "AUX-FightMpSelected", FightMpSelected);
  374. ShildSelected = Reader.ReadBoolean("A-" + Charname, "AUX-ShildSelected", ShildSelected);
  375. EShildSelected = Reader.ReadBoolean("A-" + Charname, "AUX-EShildSelected", EShildSelected);
  376. AutoAmulet = Reader.ReadBoolean("A-" + Charname, "AUX-AutoAmulet", AutoAmulet);
  377. Shenshengzjfu = Reader.ReadInt32("A-" + Charname, "AUX-Shenshengzjfu", Shenshengzjfu);
  378. youlindunfu = Reader.ReadInt32("A-" + Charname, "AUX-youlindunfu", youlindunfu);
  379. menghuqiansshifu = Reader.ReadInt32("A-" + Charname, "AUX-menghuqiansshifu", menghuqiansshifu);
  380. qiangmozhenfafu = Reader.ReadInt32("A-" + Charname, "AUX-qiangmozhenfafu", qiangmozhenfafu);
  381. zhaohuankuloufu = Reader.ReadInt32("A-" + Charname, "AUX-zhaohuankuloufu", zhaohuankuloufu);
  382. zhaohuashenshoufu = Reader.ReadInt32("A-" + Charname, "AUX-zhaohuashenshoufu", zhaohuashenshoufu);
  383. }
  384. public static void SaveAuxsetup(string Charname)
  385. {
  386. Reader.Write("A-" + Charname, "AUX-HPItemIndexed", HPItemIndexed);
  387. Reader.Write("A-" + Charname, "AUX-MPItemIndexed", MPItemIndexed);
  388. Reader.Write("A-" + Charname, "AUX-HPName", HPName);
  389. Reader.Write("A-" + Charname, "AUX-MPName", MPName);
  390. Reader.Write("A-" + Charname, "AUX-HPNum", HPNum);
  391. Reader.Write("A-" + Charname, "AUX-MPNum", MPNum);
  392. Reader.Write("A-" + Charname, "AUX-HpSelected", HpSelected);
  393. Reader.Write("A-" + Charname, "AUX-MpSelected", MpSelected);
  394. Reader.Write("A-" + Charname, "AUX-AutoHpSelected", AutoHpSelected);
  395. Reader.Write("A-" + Charname, "AUX-AutoMpSelected", AutoMpSelected);
  396. Reader.Write("A-" + Charname, "AUX-FightMpSelected", FightMpSelected);
  397. Reader.Write("A-" + Charname, "AUX-ShildSelected", ShildSelected);
  398. Reader.Write("A-" + Charname, "AUX-EShildSelected", EShildSelected);
  399. Reader.Write("A-" + Charname, "AUX-AutoAmulet", AutoAmulet);
  400. Reader.Write("A-" + Charname, "AUX-Shenshengzjfu", Shenshengzjfu);
  401. Reader.Write("A-" + Charname, "AUX-youlindunfu", youlindunfu);
  402. Reader.Write("A-" + Charname, "AUX-menghuqiansshifu", menghuqiansshifu);
  403. Reader.Write("A-" + Charname, "AUX-qiangmozhenfafu", qiangmozhenfafu);
  404. Reader.Write("A-" + Charname, "AUX-zhaohuankuloufu", zhaohuankuloufu);
  405. Reader.Write("A-" + Charname, "AUX-zhaohuashenshoufu", zhaohuashenshoufu);
  406. }
  407. }
  408. }