sm
服务器租用 996 87 无法下载点击此处反馈
/
查看: 624|回复: 0

传奇3重置版1.45逆向客户端源代码 [传奇3源码]

[复制链接]

826

主题

37

回帖

23万

积分

霸王教主

积分
237197
发表于 2023-6-25 00:14:57 | 显示全部楼层 |阅读模式
传奇3重置版 1.45客户端逆向源码
重制版.jpg
  1.     private static bool UpdatePatcher()
  2.     {
  3.       try
  4.       {
  5.         if (!File.Exists(".\\AutoPatcher.gz"))
  6.           return false;
  7.         Process[] processesByName1 = Process.GetProcessesByName("AutoPatcher");
  8.         if ((uint) processesByName1.Length > 0U)
  9.         {
  10.           string str = Application.StartupPath + "\\AutoPatcher.exe";
  11.           for (int index = 0; index < processesByName1.Length; ++index)
  12.           {
  13.             if (processesByName1[index].MainModule.FileName == str)
  14.               processesByName1[index].Kill();
  15.           }
  16.           Stopwatch stopwatch = Stopwatch.StartNew();
  17.           bool flag = true;
  18.           Process[] processesByName2 = Process.GetProcessesByName("AutoPatcher");
  19.           while (flag)
  20.           {
  21.             flag = false;
  22.             for (int index = 0; index < processesByName2.Length; ++index)
  23.             {
  24.               if (processesByName2[index].MainModule.FileName == str)
  25.                 flag = true;
  26.             }
  27.             if (stopwatch.ElapsedMilliseconds > 3000L)
  28.             {
  29.               int num = (int) MessageBox.Show("Failed to close AutoPatcher during update.");
  30.               return true;
  31.             }
  32.           }
  33.         }
  34.         if (File.Exists(".\\AutoPatcher.exe"))
  35.           File.Delete(".\\AutoPatcher.exe");
  36.         File.Move(".\\AutoPatcher.gz", ".\\AutoPatcher.exe");
  37.         Process.Start(".\\AutoPatcher.exe", "Auto");
  38.         return true;
  39.       }
  40.       catch (Exception ex)
  41.       {
  42.         CMain.SaveError(ex.ToString());
  43.         throw;
  44.       }
  45.     }
复制代码



下载地址.txt

1009 Bytes, 下载次数: 0, 下载积分: 积分 -5

售价: 500 积分  [记录]  [购买]





上一篇:传奇EI3.0服务端插件源码,客户端插件+登陆器源码全套
下一篇:God引擎源码编译教程,god网关编译教程说明
回复

使用道具 举报

© 2001-2024 Discuz! Team. Powered by Discuz! X3.5

GMT+8, 2024-9-19 08:59 , Processed in 0.292164 second(s), 53 queries 手机版|美林GM论坛 ( 蜀ICP备2020030293号-2 )|网站地图

禁止发布任何违反国家法律、法规的言论与图片等内容;本站内容均来自个人观点与网络等信息,非本站认同之观点.如遇版权问题,请及时QQ联系

快速回复 返回顶部 返回列表