├── WowItemMaker
├── Data
│ ├── subclass12.txt
│ ├── subclass14.txt
│ ├── subclass5.txt
│ ├── subclass10.txt
│ ├── subclass13.txt
│ ├── ammo_type.txt
│ ├── spelltrigger.txt
│ ├── subclass11.txt
│ ├── bonding.txt
│ ├── socketColor.txt
│ ├── subclass6.txt
│ ├── subclass15.txt
│ ├── Quality.txt
│ ├── dmg_type.txt
│ ├── subclass3.txt
│ ├── Item.dbc
│ ├── subclass0.txt
│ ├── Item313.dbc
│ ├── sheath.txt
│ ├── subclass1.txt
│ ├── Material.txt
│ ├── subclass16.txt
│ ├── subclass4.txt
│ ├── subclass9.txt
│ ├── AllowableClass.txt
│ ├── AllowableRace.txt
│ ├── class.txt
│ ├── subclass7.txt
│ ├── Flags.txt
│ ├── subclass2.txt
│ ├── InventoryType.txt
│ ├── changelog
│ ├── stat_type.txt
│ ├── displayid.txt
│ ├── RandomSuffix.txt
│ ├── map.txt
│ ├── 复件 spellid.txt
│ └── spellid.txt.bak
├── SFmpq.dll
├── libmySQL.dll
├── MySql.Data.dll
├── MySql.Data.dll.old
├── Resources
│ └── color.png
├── BackgroundDownloader.ICO
├── Properties
│ ├── Settings.settings
│ ├── DataSources
│ │ └── Form1.datasource
│ ├── Settings.Designer.cs
│ ├── AssemblyInfo.cs
│ ├── Resources.Designer.cs
│ └── Resources.resx
├── Class
│ ├── Util.cs
│ ├── LibMPQ.cs
│ ├── myRichTextBox.cs
│ ├── ConnInfo.cs
│ └── LibDBC.cs
├── Program.cs
├── app.config
├── AboutForm.cs
├── FrmGetSql.cs
├── Server_SendMailResault.cs
├── Server_SendMail.Designer.cs
├── StateForm.cs
├── StateForm.Designer.cs
├── Downloader.cs
├── Downloader.Designer.cs
├── SearchItemsFormcs.resx
├── SearchReceiverForm.resx
├── Server_SendMail.resx
├── Server_SendMailResault.resx
├── FrmGetSql.Designer.cs
├── StateForm.resx
├── FrmMPQMaker.resx
├── Server_SendMailResault.Designer.cs
├── ServerManager.resx
├── SetConn.cs
├── FrmMPQMaker.Designer.cs
├── FrmGetSql.resx
├── AboutForm.resx
├── SetConn.resx
├── SearchItemsFormcs.Designer.cs
└── AboutForm.Designer.cs
├── Lib_myRichTextBox
├── app.config
├── Properties
│ └── AssemblyInfo.cs
├── myRichTextBox.cs
└── LibRichTextBox.csproj
├── WowItemMaker.sln
├── .gitattributes
└── .gitignore
/WowItemMaker/Data/subclass12.txt:
--------------------------------------------------------------------------------
1 | 0,任务
--------------------------------------------------------------------------------
/WowItemMaker/Data/subclass14.txt:
--------------------------------------------------------------------------------
1 | 0,永久
--------------------------------------------------------------------------------
/WowItemMaker/Data/subclass5.txt:
--------------------------------------------------------------------------------
1 | 0,材料
--------------------------------------------------------------------------------
/WowItemMaker/Data/subclass10.txt:
--------------------------------------------------------------------------------
1 | 0,货币
2 |
--------------------------------------------------------------------------------
/WowItemMaker/Data/subclass13.txt:
--------------------------------------------------------------------------------
1 | 0,钥匙
2 | 1,开锁工具
--------------------------------------------------------------------------------
/WowItemMaker/Data/ammo_type.txt:
--------------------------------------------------------------------------------
1 | 0,无
2 | 2,弓箭
3 | 3,子弹
--------------------------------------------------------------------------------
/WowItemMaker/Data/spelltrigger.txt:
--------------------------------------------------------------------------------
1 | 0,使用
2 | 1,装备
3 | 2,击中时可能
--------------------------------------------------------------------------------
/WowItemMaker/Data/subclass11.txt:
--------------------------------------------------------------------------------
1 | 0,箭袋(作废)
2 | 1,箭袋(作废)
3 | 2,箭袋
4 | 3,弹药袋
--------------------------------------------------------------------------------
/WowItemMaker/Data/bonding.txt:
--------------------------------------------------------------------------------
1 | 0,不绑定
2 | 1,拾取绑定
3 | 2,装备绑定
4 | 3,使用绑定
5 | 4,任务物品
--------------------------------------------------------------------------------
/WowItemMaker/Data/socketColor.txt:
--------------------------------------------------------------------------------
1 | 0,无插槽
2 | 1,多彩的孔
3 | 2,红色
4 | 4,黄色
5 | 8,蓝色
--------------------------------------------------------------------------------
/WowItemMaker/Data/subclass6.txt:
--------------------------------------------------------------------------------
1 | 0,无(魔杖)
2 | 1,弩用
3 | 2,弓用
4 | 3,枪用
5 | 4,投掷武器
--------------------------------------------------------------------------------
/WowItemMaker/Data/subclass15.txt:
--------------------------------------------------------------------------------
1 | 0,垃圾
2 | 1,材料
3 | 2,宠物
4 | 3,节日
5 | 4,其他
6 | 5,坐骑
--------------------------------------------------------------------------------
/WowItemMaker/Data/Quality.txt:
--------------------------------------------------------------------------------
1 | 0,灰色
2 | 1,白色
3 | 2,绿色
4 | 3,蓝色
5 | 4,紫色
6 | 5,橙色
7 | 6,红色
--------------------------------------------------------------------------------
/WowItemMaker/Data/dmg_type.txt:
--------------------------------------------------------------------------------
1 | 0,物理伤害
2 | 1,神圣伤害
3 | 2,火焰伤害
4 | 3,自然伤害
5 | 4,冰霜伤害
6 | 5,暗影伤害
7 | 6,奥术伤害
--------------------------------------------------------------------------------
/WowItemMaker/SFmpq.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ggkk0818/wowitemmaker/HEAD/WowItemMaker/SFmpq.dll
--------------------------------------------------------------------------------
/Lib_myRichTextBox/app.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/WowItemMaker/Data/subclass3.txt:
--------------------------------------------------------------------------------
1 | 0,红色
2 | 1,蓝色
3 | 2,黄色
4 | 3,紫色
5 | 4,绿色
6 | 5,橙色
7 | 6,多彩
8 | 7,简易
9 | 8,棱彩
--------------------------------------------------------------------------------
/WowItemMaker/libmySQL.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ggkk0818/wowitemmaker/HEAD/WowItemMaker/libmySQL.dll
--------------------------------------------------------------------------------
/WowItemMaker/Data/Item.dbc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ggkk0818/wowitemmaker/HEAD/WowItemMaker/Data/Item.dbc
--------------------------------------------------------------------------------
/WowItemMaker/Data/subclass0.txt:
--------------------------------------------------------------------------------
1 | 0,消耗品
2 | 1,药水
3 | 2,药剂
4 | 3,合剂
5 | 4,卷抽
6 | 5,食物和饮料
7 | 6,物品强化
8 | 7,绷带
9 | 8,其他
--------------------------------------------------------------------------------
/WowItemMaker/MySql.Data.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ggkk0818/wowitemmaker/HEAD/WowItemMaker/MySql.Data.dll
--------------------------------------------------------------------------------
/WowItemMaker/Data/Item313.dbc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ggkk0818/wowitemmaker/HEAD/WowItemMaker/Data/Item313.dbc
--------------------------------------------------------------------------------
/WowItemMaker/Data/sheath.txt:
--------------------------------------------------------------------------------
1 | 0,默认
2 | 1,双手-背在后面尖向下
3 | 2,杖-背在后面尖向上
4 | 3,单手-在旁边
5 | 4,盾-在后边
6 | 5,附魔棒
7 | 7,拳套-火把-锄头等
--------------------------------------------------------------------------------
/WowItemMaker/Data/subclass1.txt:
--------------------------------------------------------------------------------
1 | 0,容器
2 | 1,灵魂袋
3 | 2,草药袋
4 | 3,附魔材料袋
5 | 4,工程学材料袋
6 | 5,宝石袋
7 | 6,矿石袋
8 | 7,制皮袋
9 | 8,铭文包
--------------------------------------------------------------------------------
/WowItemMaker/MySql.Data.dll.old:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ggkk0818/wowitemmaker/HEAD/WowItemMaker/MySql.Data.dll.old
--------------------------------------------------------------------------------
/WowItemMaker/Resources/color.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ggkk0818/wowitemmaker/HEAD/WowItemMaker/Resources/color.png
--------------------------------------------------------------------------------
/WowItemMaker/BackgroundDownloader.ICO:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ggkk0818/wowitemmaker/HEAD/WowItemMaker/BackgroundDownloader.ICO
--------------------------------------------------------------------------------
/WowItemMaker/Data/Material.txt:
--------------------------------------------------------------------------------
1 | -1,消费品(食物-试剂等)
2 | 1,金属
3 | 2,木制品
4 | 3,液体
5 | 4,珠宝
6 | 5,链条(指锁甲类的东西)
7 | 6,钢板(指板甲类的东西)
8 | 7,布
9 | 8,皮革
--------------------------------------------------------------------------------
/WowItemMaker/Data/subclass16.txt:
--------------------------------------------------------------------------------
1 | 1,战士
2 | 2,圣骑士
3 | 3,猎人
4 | 4,盗贼
5 | 5,牧师
6 | 6,死亡骑士
7 | 7,萨满祭司
8 | 8,法师
9 | 9,术士
10 | 11,德鲁伊
--------------------------------------------------------------------------------
/WowItemMaker/Data/subclass4.txt:
--------------------------------------------------------------------------------
1 | 0,其它戒指等
2 | 1,布甲
3 | 2,皮甲
4 | 3,锁甲
5 | 4,板甲
6 | 5,小圆盾
7 | 6,盾牌
8 | 7,圣契
9 | 8,神像
10 | 9,图腾
11 | 10,魔印
--------------------------------------------------------------------------------
/WowItemMaker/Data/subclass9.txt:
--------------------------------------------------------------------------------
1 | 0,书
2 | 1,制皮
3 | 2,裁缝
4 | 3,工程学
5 | 4,锻造
6 | 5,烹饪
7 | 6,炼金术
8 | 7,急救
9 | 8,付魔
10 | 9,钩鱼
11 | 10,珠宝加工
12 | 11,铭文
--------------------------------------------------------------------------------
/WowItemMaker/Data/AllowableClass.txt:
--------------------------------------------------------------------------------
1 | -1,全职业
2 | 1,战士
3 | 2,圣骑士
4 | 4,猎人
5 | 8,盗贼
6 | 16,牧师
7 | 32,死亡骑士
8 | 64,萨满
9 | 128,法师
10 | 256,术士
11 | 1024,德鲁依
--------------------------------------------------------------------------------
/WowItemMaker/Data/AllowableRace.txt:
--------------------------------------------------------------------------------
1 | -1,全种族
2 | 1,人类
3 | 2,兽人
4 | 4,矮人
5 | 8,暗夜精灵
6 | 16,亡灵
7 | 32,牛头人
8 | 64,侏儒
9 | 128,巨魔
10 | 512,血精灵
11 | 1024,德莱尼
12 | 690,全部落
13 | 1101,全联盟
--------------------------------------------------------------------------------
/WowItemMaker/Data/class.txt:
--------------------------------------------------------------------------------
1 | 0,消耗品
2 | 1,容器
3 | 2,武器
4 | 3,珠宝
5 | 4,护甲
6 | 5,材料
7 | 6,弹药
8 | 7,商品
9 | 9,配方
10 | 10,货币
11 | 11,箭袋
12 | 12,任务
13 | 13,钥匙
14 | 14,永久
15 | 15,其它
16 | 16,雕文
--------------------------------------------------------------------------------
/WowItemMaker/Data/subclass7.txt:
--------------------------------------------------------------------------------
1 | 0,商品
2 | 1,零件
3 | 2,爆炸物
4 | 3,装置
5 | 4,珠宝加工
6 | 5,布料
7 | 6,皮革
8 | 7,金属和矿石
9 | 8,肉类
10 | 9,草药
11 | 10,元素
12 | 11,其他
13 | 12,附魔
14 | 13,原料
15 | 14,护甲强化
16 | 15,武器强化
--------------------------------------------------------------------------------
/WowItemMaker/Data/Flags.txt:
--------------------------------------------------------------------------------
1 | 0,无
2 | 2,魔法制造
3 | 4,字箱
4 | 32,徽章
5 | 32,图腾
6 | 64,马(设计图等)
7 | 256,魔杖
8 | 512,带缎带的包装盒
9 | 1024,Essence(未知)
10 | 2048,未知
11 | 4096,未知
12 | 8192,公会登记表
13 | 134217728,账号绑定
--------------------------------------------------------------------------------
/WowItemMaker/Data/subclass2.txt:
--------------------------------------------------------------------------------
1 | 0,单手斧
2 | 1,双手斧
3 | 2,弓
4 | 3,枪
5 | 4,单手锤
6 | 5,双手锤
7 | 6,长柄武器
8 | 7,单手剑
9 | 8,双手剑
10 | 10,法杖
11 | 11,异种武器(单手)
12 | 12,异种武器(双手)
13 | 13,拳套
14 | 14,其他
15 | 15,匕首
16 | 16,投掷武器
17 | 17,矛
18 | 18,弩
19 | 19,魔杖
20 | 20,鱼杆
--------------------------------------------------------------------------------
/WowItemMaker/Properties/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/WowItemMaker/Data/InventoryType.txt:
--------------------------------------------------------------------------------
1 | 0,无
2 | 1,头
3 | 2,脖子
4 | 3,肩
5 | 4,衬衫
6 | 5,胸
7 | 6,腰
8 | 7,裤子
9 | 8,脚
10 | 9,手腕
11 | 10,手套
12 | 11,手指
13 | 12,饰品
14 | 13,单手
15 | 14,副手-盾
16 | 15,弓
17 | 16,后背
18 | 17,双手
19 | 18,袋子
20 | 19,徽章
21 | 20,长袍
22 | 21,主手
23 | 22,副手-杂
24 | 23,书
25 | 24,弹药
26 | 25,投掷武器
27 | 26,枪
--------------------------------------------------------------------------------
/WowItemMaker/Class/Util.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 |
5 | namespace WOWItemMaker
6 | {
7 | class Util
8 | {
9 | public static string to16(int i)
10 | {
11 | string r = Convert.ToString(i, 16);
12 | if (r.Length == 1)
13 | r = "0" + r;
14 | return r.ToUpper();
15 | }
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/WowItemMaker/Data/changelog:
--------------------------------------------------------------------------------
1 | 2014-12-26 v1.73
2 | 解决mysql自定义端口无法连接的问题
3 |
4 | 2009-08-18 更新
5 | 1、增加1条Flags.txt数据;
6 | 2、增加5条AllowableClass.txt数据。
7 |
8 | 2009-08-16 更新
9 | 1、更新部分数据,支持dbc v3.2.0.10192;
10 | 2、新增12个.txt文件。
11 | (BagFamily.txt、
12 | Faction.txt、
13 | FoodType.txt、
14 | Holiday.txt、
15 | ItemLimitCategory.txt、
16 | ItemSet.txt、
17 | Languages.txt、
18 | PageTextMaterial.txt、
19 | RandomProperty.txt、
20 | RandomSuffix.txt、
21 | subclass8.txt、
22 | TotemCategory.txt)
--------------------------------------------------------------------------------
/WowItemMaker/Data/stat_type.txt:
--------------------------------------------------------------------------------
1 | 0,无
2 | 1,生命值
3 | 2,法力值
4 | 3,敏捷
5 | 4,力量
6 | 5,智力
7 | 6,精神
8 | 7,耐力
9 | 12,防御等级
10 | 13,躲闪等级
11 | 14,招架等级
12 | 15,盾牌格挡
13 | 16,近战命中
14 | 17,远程命中
15 | 18,法术命中
16 | 19,近战暴击
17 | 20,远程暴击
18 | 21,法术暴击
19 | 22,近战躲闪
20 | 23,远程躲闪
21 | 24,法术躲闪
22 | 25,近战暴击躲闪
23 | 26,远程暴击躲闪
24 | 27,法术暴击躲闪
25 | 28,近战攻击速度
26 | 29,远程攻击速度
27 | 30,法术攻击速度
28 | 31,命中等级
29 | 32,暴击等级
30 | 33,命中躲闪
31 | 34,暴击躲闪
32 | 35,韧性
33 | 36,急速攻击速度
34 | 37,精准等级
35 | 38,攻击强度
36 | 39,远程攻击强度
37 | 40,猎豹、熊、巨熊、枭兽形态攻击强度
38 | 41,法术治疗效果
39 | 42,法术伤害效果
40 | 43,5秒回蓝
41 | 44,护甲穿透等级
42 | 45,法术强度
--------------------------------------------------------------------------------
/WowItemMaker/Data/displayid.txt:
--------------------------------------------------------------------------------
1 | 51695,勇气红剑(推荐)
2 | 46609,霜之哀伤(推荐)
3 | 55975,沉默的十字军
4 | 45479,埃辛诺斯战刃(主)
5 | 45481,埃辛诺斯战刃(副)
6 | 48878,埃霍恩的冰霜之镰
7 | 35575,饥饿之寒
8 | 30606,雷霆之怒,逐风者的祝福之剑
9 | 23875,灰烬使者
10 | 35097,堕落的灰烬使者
11 | 31998,高阶督军的巨剑
12 | 49137,野蛮角斗士的巨剑
13 | 19997,提布的炽炎长剑
14 | 51597,肉钩的快刀
15 | 51606,恐惧魔王之剑
16 | 54064,洛丹伦皇家徽记之盾
17 | 52414,皮尔斯的手枪
18 | 50599,巨魔杀戮者
19 | 50604,巨蟒法杖
20 | 49368,达卡莱猎弓
21 | 53117,西莱图斯魔杖
22 | 51922,永恒折叠之刃
23 | 55709,巨型骨斧
24 | 51512,公证之剑
25 | 51163,悲伤之锤
26 | 53562,永恒壁垒
27 | 53559,黑冰
28 | 55713,奥核巨杖
29 | 49366,冰尖权杖
30 | 53563,冰雹
31 | 56663,逆潮
32 | 54032,瘟疫猎犬法杖
33 | 53294,抑制法杖
34 | 54903,诡计法杖
35 | 55762,偷来的维库鱼叉
--------------------------------------------------------------------------------
/WowItemMaker/Properties/DataSources/Form1.datasource:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 | WOWItemMaker.Form1, WOWItemMaker, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
10 |
--------------------------------------------------------------------------------
/WowItemMaker/Program.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Windows.Forms;
4 |
5 | namespace WOWItemMaker
6 | {
7 | static class Program
8 | {
9 | ///
10 | /// 应用程序的主入口点。
11 | ///
12 | [STAThread]
13 | static void Main()
14 | {
15 | try
16 | {
17 | Application.EnableVisualStyles();
18 | Application.SetCompatibleTextRenderingDefault(false);
19 | Application.Run(new MainForm());
20 | }
21 | catch (Exception err)
22 | {
23 | MessageBox.Show(err.ToString());
24 | }
25 | }
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/WowItemMaker/Class/LibMPQ.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 | using System.Runtime.InteropServices;
5 |
6 | namespace WOWItemMaker
7 | {
8 | class LibMPQ
9 | {
10 | [DllImport("SFmpq.dll")]
11 | public static extern bool MpqAddFileToArchive(int hMPQ, string lpSourceFileName, string lpDestFileName, int dwFlags);
12 | [DllImport("SFmpq.dll")]
13 | public static extern bool MpqCompactArchive(int hMPQ);
14 | [DllImport("SFmpq.dll")]
15 | public static extern int MpqOpenArchiveForUpdate(string lpFileName, int dwFlags, int dwMaximumFilesInArchive);
16 | [DllImport("SFmpq.dll")]
17 | public static extern bool SFileCloseArchive(int hMPQ);
18 | }
19 | }
20 |
--------------------------------------------------------------------------------
/WowItemMaker/Properties/Settings.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // 此代码由工具生成。
4 | // 运行时版本:4.0.30319.17929
5 | //
6 | // 对此文件的更改可能会导致不正确的行为,并且如果
7 | // 重新生成代码,这些更改将会丢失。
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace WOWItemMaker.Properties {
12 |
13 |
14 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
15 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")]
16 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
17 |
18 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
19 |
20 | public static Settings Default {
21 | get {
22 | return defaultInstance;
23 | }
24 | }
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/Lib_myRichTextBox/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.CompilerServices;
3 | using System.Runtime.InteropServices;
4 |
5 | // 有关程序集的常规信息通过下列属性集
6 | // 控制。更改这些属性值可修改
7 | // 与程序集关联的信息。
8 | [assembly: AssemblyTitle("LibRichTextBox")]
9 | [assembly: AssemblyDescription("")]
10 | [assembly: AssemblyConfiguration("")]
11 | [assembly: AssemblyCompany("ggkk0818")]
12 | [assembly: AssemblyProduct("LibRichTextBox")]
13 | [assembly: AssemblyCopyright("Copyright © ggkk0818 2010")]
14 | [assembly: AssemblyTrademark("")]
15 | [assembly: AssemblyCulture("")]
16 |
17 | // 将 ComVisible 设置为 false 使此程序集中的类型
18 | // 对 COM 组件不可见。如果需要从 COM 访问此程序集中的类型,
19 | // 则将该类型上的 ComVisible 属性设置为 true。
20 | [assembly: ComVisible(false)]
21 |
22 | // 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID
23 | [assembly: Guid("e190df9a-27a3-49c9-bb20-cc4c2d988941")]
24 |
25 | // 程序集的版本信息由下面四个值组成:
26 | //
27 | // 主版本
28 | // 次版本
29 | // 内部版本号
30 | // 修订号
31 | //
32 | // 可以指定所有这些值,也可以使用“内部版本号”和“修订号”的默认值,
33 | // 方法是按如下所示使用“*”:
34 | // [assembly: AssemblyVersion("1.0.*")]
35 | [assembly: AssemblyVersion("1.0.0.0")]
36 | [assembly: AssemblyFileVersion("1.0.0.0")]
37 |
--------------------------------------------------------------------------------
/WowItemMaker/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.CompilerServices;
3 | using System.Runtime.InteropServices;
4 | using System.Resources;
5 |
6 | // 有关程序集的常规信息通过下列属性集
7 | // 控制。更改这些属性值可修改
8 | // 与程序集关联的信息。
9 | [assembly: AssemblyTitle("WOWItemMaker")]
10 | [assembly: AssemblyDescription("魔兽世界物品编辑器")]
11 | [assembly: AssemblyConfiguration("")]
12 | [assembly: AssemblyCompany("ggkk0818")]
13 | [assembly: AssemblyProduct("WOWItemMaker")]
14 | [assembly: AssemblyCopyright("Copyright © ggkk0818 2009-2010")]
15 | [assembly: AssemblyTrademark("")]
16 | [assembly: AssemblyCulture("")]
17 |
18 | // 将 ComVisible 设置为 false 使此程序集中的类型
19 | // 对 COM 组件不可见。如果需要从 COM 访问此程序集中的类型,
20 | // 则将该类型上的 ComVisible 属性设置为 true。
21 | [assembly: ComVisible(false)]
22 |
23 | // 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID
24 | [assembly: Guid("5371d5e5-cacb-4fa0-a524-64330a4743d8")]
25 |
26 | // 程序集的版本信息由下面四个值组成:
27 | //
28 | // 主版本
29 | // 次版本
30 | // 内部版本号
31 | // 修订号
32 | //
33 | // 可以指定所有这些值,也可以使用“内部版本号”和“修订号”的默认值,
34 | // 方法是按如下所示使用“*”:
35 | // [assembly: AssemblyVersion("1.0.*")]
36 | [assembly: AssemblyVersion("1.73.0.0")]
37 | [assembly: AssemblyFileVersion("1.73.0.0")]
38 | [assembly: NeutralResourcesLanguageAttribute("zh-CHS")]
39 |
--------------------------------------------------------------------------------
/WowItemMaker/app.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
--------------------------------------------------------------------------------
/WowItemMaker/Data/RandomSuffix.txt:
--------------------------------------------------------------------------------
1 | 0,無
2 | 5,靈猴之
3 | 6,雄鷹之
4 | 7,野熊之
5 | 8,巨鯨之
6 | 9,夜梟之
7 | 10,巨猿之
8 | 11,獵鷹之
9 | 12,野豬之
10 | 13,孤狼之
11 | 14,猛虎之
12 | 15,精神之
13 | 16,耐力之
14 | 17,力量之
15 | 18,敏捷之
16 | 19,智力之
17 | 20,能量之
18 | 21,法術能量之 (Used to Be Arcane Wrath)
19 | 22,法術能量之 (Used to Be Fiery Wrath)
20 | 23,法術能量之 (Used to Be Frozen Wrath)
21 | 24,法術能量之 (Used to Be Nature's Wrath)
22 | 25,法術能量之 (Used to Be Shadow Wrath)
23 | 26,法術能量之
24 | 27,防禦之
25 | 28,再生之
26 | 29,閃避之
27 | 30,專注之
28 | 31,秘法防護之
29 | 32,火焰防護之
30 | 33,冰霜防護之
31 | 34,自然防護之
32 | 35,暗影防護之
33 | 36,巫士之
34 | 37,醫師之
35 | 38,預言者之
36 | 39,塑能師之
37 | 40,強盜之
38 | 41,野獸之
39 | 42,祭師之
40 | 43,士兵之
41 | 44,長者之
42 | 45,勇士之
43 | 46,測試之
44 | 47,格擋之
45 | 48,聖騎士測試之
46 | 49,蒼鬱之
47 | 50,狩獵之
48 | 51,精神之
49 | 52,聖戰之
50 | 53,幻象之
51 | 54,先祖之
52 | 55,夢魘之
53 | 56,戰鬥之
54 | 57,暗影之
55 | 58,陽光之
56 | 59,月光之
57 | 60,野性之
58 | 61,法術能量之 (抗性)
59 | 62,力量之 (抗性)
60 | 63,敏捷之 (抗性)
61 | 64,能量之 (抗性)
62 | 65,魔法之 (抗性)
63 | 66,騎士之
64 | 67,先知之
65 | 68,野熊之 (<60)
66 | 69,雄鷹之 (<60)
67 | 70,先祖之 (<60)
68 | 71,強盜之 (<60)
69 | 72,戰鬥之 (<60)
70 | 73,長者之 (<60)
71 | 74,野獸之 (<60)
72 | 75,勇士之 (<60)
73 | 76,蒼鬱之 (<60)
74 | 77,騎士之 (<60)
75 | 78,靈猴之 (<60)
76 | 79,月光之 (<60)
77 | 80,野性之 (<60)
78 | 81,巨鯨之 (<60)
79 | 82,幻象之 (<60)
80 | 83,陽光之 (<60)
81 | 84,耐力之 (<60)
82 | 85,巫士之 (<60)
83 | 86,士兵之 (<60)
84 | 87,暗影之 (<60)
85 | 88,先見者之
86 | 89,竊賊之
87 | 90,死靈法師之
88 | 91,神射手之
89 | 92,侍從之
90 | 93,恢復之
91 | 94,敏捷之 (暗月卡片)
92 | 95,力量之 (暗月卡片)
93 | 96,耐力之 (暗月卡片)
94 | 97,智力之 (暗月卡片)
95 | 98,精神之 (暗月卡片)
96 | 99,速度之
--------------------------------------------------------------------------------
/WowItemMaker.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 11.00
3 | # Visual Studio 2010
4 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WOWItemMaker", "WowItemMaker\WOWItemMaker.csproj", "{A23C1375-A3B4-43F3-AA76-40C0A4883749}"
5 | EndProject
6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "LibRichTextBox", "Lib_myRichTextBox\LibRichTextBox.csproj", "{7CDEA4EB-14B7-480A-BE38-9795E4FB73D8}"
7 | EndProject
8 | Global
9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
10 | Debug|Any CPU = Debug|Any CPU
11 | Release|Any CPU = Release|Any CPU
12 | EndGlobalSection
13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
14 | {A23C1375-A3B4-43F3-AA76-40C0A4883749}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15 | {A23C1375-A3B4-43F3-AA76-40C0A4883749}.Debug|Any CPU.Build.0 = Debug|Any CPU
16 | {A23C1375-A3B4-43F3-AA76-40C0A4883749}.Release|Any CPU.ActiveCfg = Release|Any CPU
17 | {A23C1375-A3B4-43F3-AA76-40C0A4883749}.Release|Any CPU.Build.0 = Release|Any CPU
18 | {7CDEA4EB-14B7-480A-BE38-9795E4FB73D8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
19 | {7CDEA4EB-14B7-480A-BE38-9795E4FB73D8}.Debug|Any CPU.Build.0 = Debug|Any CPU
20 | {7CDEA4EB-14B7-480A-BE38-9795E4FB73D8}.Release|Any CPU.ActiveCfg = Release|Any CPU
21 | {7CDEA4EB-14B7-480A-BE38-9795E4FB73D8}.Release|Any CPU.Build.0 = Release|Any CPU
22 | EndGlobalSection
23 | GlobalSection(SolutionProperties) = preSolution
24 | HideSolutionNode = FALSE
25 | EndGlobalSection
26 | EndGlobal
27 |
--------------------------------------------------------------------------------
/WowItemMaker/AboutForm.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.ComponentModel;
4 | using System.Data;
5 | using System.Drawing;
6 | using System.Text;
7 | using System.Windows.Forms;
8 | using System.Diagnostics;
9 |
10 | namespace WOWItemMaker
11 | {
12 | public partial class AboutForm : Form
13 | {
14 | private bool IsShowTooltip;
15 | public AboutForm()
16 | {
17 | InitializeComponent();
18 | }
19 |
20 | private void CloseBtn_Click(object sender, EventArgs e)
21 | {
22 | this.Close();
23 | }
24 |
25 | private void MailToLink_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
26 | {
27 | Process.Start("mailto:ggkk0818@sina.com");
28 | }
29 |
30 | private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
31 | {
32 | Process.Start("http://www.wowitemmaker.com");
33 | }
34 |
35 | private void AboutForm_Load(object sender, EventArgs e)
36 | {
37 | IsShowTooltip = false;
38 | //timer1.Interval = 10000;
39 | //timer1.Enabled = true;
40 | label8.Text = Application.ProductVersion;
41 | }
42 |
43 | private void label8_MouseMove(object sender, MouseEventArgs e)
44 | {
45 | //if (!IsShowTooltip)
46 | //{
47 | // IsShowTooltip = true;
48 | // toolTip1.Show("谨以此版本纪念九城的魔兽世界,你给无数玩家留下了美好的回忆。", this, e.Location);
49 | //}
50 | }
51 |
52 | private void timer1_Tick(object sender, EventArgs e)
53 | {
54 | IsShowTooltip = false;
55 | }
56 |
57 | }
58 | }
59 |
--------------------------------------------------------------------------------
/WowItemMaker/Class/myRichTextBox.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Collections;
6 | using System.Windows.Forms;
7 | using System.Drawing;
8 |
9 | namespace WOWItemMaker
10 | {
11 | public class myRichTextBox : RichTextBox
12 | {
13 | private ArrayList list_text;
14 | private EventHandler handler_textchange;
15 |
16 |
17 | //public override myRichTextBox()
18 | //{
19 |
20 | // list_text = new ArrayList();
21 | // handler_textchange = new EventHandler(myRichTextBox_TextChanged);
22 | // this.TextChanged += handler_textchange;
23 | //}
24 |
25 | void myRichTextBox_TextChanged(object sender, EventArgs e)
26 | {
27 | list_text.Clear();
28 | foreach (char c in this.Text)
29 | {
30 | list_text.Add(c.ToString());
31 | }
32 | }
33 |
34 | public Color SelectionColor
35 | {
36 | set
37 | {
38 | int start = this.SelectionStart;
39 | string str_color = "|CFF" + Util.to16(Convert.ToInt32(value.R)) + Util.to16(Convert.ToInt32(value.G)) + Util.to16(Convert.ToInt32(value.B));
40 | list_text[start] = str_color + list_text[start];
41 | }
42 | }
43 |
44 | public string ColorText
45 | {
46 | get
47 | {
48 | StringBuilder sb = new StringBuilder();
49 | foreach (object obj in list_text)
50 | {
51 | sb.Append(obj.ToString());
52 | }
53 | return sb.ToString();
54 | }
55 | }
56 | }
57 | }
58 |
--------------------------------------------------------------------------------
/WowItemMaker/FrmGetSql.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.ComponentModel;
4 | using System.Data;
5 | using System.Drawing;
6 | using System.Text;
7 | using System.Windows.Forms;
8 | using System.Xml;
9 | using System.IO;
10 | using System.Text.RegularExpressions;
11 | //using MySQLDriverCS;
12 |
13 | namespace WOWItemMaker
14 | {
15 | public partial class FrmGetSql : Form
16 | {
17 | public FrmGetSql()
18 | {
19 | InitializeComponent();
20 | }
21 |
22 | private void Form2_Load(object sender, EventArgs e)
23 | {
24 |
25 | }
26 |
27 | private void SaveSQL(string file)
28 | {
29 | try
30 | {
31 | StreamWriter sw = new StreamWriter(file);
32 | sw.Write(SQLContent.Text);
33 | sw.Close();
34 | }
35 | catch (Exception err)
36 | {
37 | MessageBox.Show("保存失败!\r\n" + err.Message, "保存文件");
38 | }
39 | }
40 | public void ShowSQL(string SQL,string FileName)
41 | {
42 | SQLContent.Text = SQL;
43 | saveFileDialog1.FileName = FileName;
44 | }
45 |
46 | private void saveFileDialog1_FileOk(object sender, CancelEventArgs e)
47 | {
48 | SaveSQL(saveFileDialog1.FileName);
49 | }
50 |
51 | private void CloseBtn_Click(object sender, EventArgs e)
52 | {
53 | this.Close();
54 | }
55 |
56 | private void SaveSQLBtn_Click(object sender, EventArgs e)
57 | {
58 | saveFileDialog1.ShowDialog();
59 | }
60 |
61 | private void ToClipboardBtn_Click(object sender, EventArgs e)
62 | {
63 | try
64 | {
65 | Clipboard.SetDataObject(SQLContent.Text);
66 | MessageBox.Show("信息已经复制到剪贴板!", "复制到剪贴板");
67 | }
68 | catch
69 | {
70 | MessageBox.Show("复制失败!", "复制到剪贴板");
71 | }
72 | }
73 | }
74 | }
75 |
--------------------------------------------------------------------------------
/WowItemMaker/Server_SendMailResault.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.ComponentModel;
4 | using System.Data;
5 | using System.Drawing;
6 | using System.Text;
7 | using System.Windows.Forms;
8 |
9 | namespace WOWItemMaker
10 | {
11 | public partial class Server_SendMailResault : Form
12 | {
13 | private DataSet _sendMailResault;
14 |
15 | public DataSet SendMailResault
16 | {
17 | get { return _sendMailResault; }
18 | set { _sendMailResault = value; }
19 | }
20 |
21 | private string _resaultMsg1;
22 |
23 | public string ResaultMsg1
24 | {
25 | get { return _resaultMsg1; }
26 | set { _resaultMsg1 = value; }
27 | }
28 | private string _resaultMsg2;
29 |
30 | public string ResaultMsg2
31 | {
32 | get { return _resaultMsg2; }
33 | set { _resaultMsg2 = value; }
34 | }
35 |
36 | public Server_SendMailResault()
37 | {
38 | InitializeComponent();
39 | }
40 |
41 | private void Server_SendMailResault_Load(object sender, EventArgs e)
42 | {
43 | label1.Text = this.ResaultMsg1;
44 | label2.Text = this.ResaultMsg2;
45 | dataGridView1.Columns.Add("AccountID", "账号ID");
46 | dataGridView1.Columns.Add("AccountName", "账号名称");
47 | dataGridView1.Columns.Add("CharactersID", "角色ID");
48 | dataGridView1.Columns.Add("CharactersName", "角色名称");
49 | dataGridView1.Columns.Add("Resault", "状态");
50 | foreach (DataRow dr in this.SendMailResault.Tables[0].Rows)
51 | {
52 | dataGridView1.Rows.Add(new object[] { dr[0], dr[1], dr[2], dr[3], dr[4] });
53 | }
54 | }
55 |
56 | private void CloseBtn_Click(object sender, EventArgs e)
57 | {
58 | this.Close();
59 | }
60 |
61 | private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
62 | {
63 | Clipboard.SetDataObject(label2.Text);
64 | MessageBox.Show("信息已复制", "剪贴板");
65 | }
66 | }
67 | }
68 |
--------------------------------------------------------------------------------
/WowItemMaker/Data/map.txt:
--------------------------------------------------------------------------------
1 | 0,任何
2 | 1,卡利姆多
3 | 13,Testing
4 | 25,Scott Test
5 | 29,CashTest
6 | 30,奥特兰克山谷
7 | 33,影牙城堡
8 | 34,暴风城监狱
9 | 35,暴风城牢房
10 | 36,死亡矿井
11 | 37,艾萨拉盆地
12 | 42,Collin's Test
13 | 43,哀嚎洞穴
14 | 44,修道院内部
15 | 47,剃刀沼泽
16 | 48,黑暗深渊
17 | 70,奥达曼
18 | 90,诺莫瑞根
19 | 109,沉没的神庙
20 | 129,剃刀高地
21 | 169,翡翠梦境
22 | 189,血色修道院
23 | 209,祖尔法拉克
24 | 229,黑石塔
25 | 230,黑石深渊
26 | 249,奥妮克希亚的巢穴
27 | 269,开启黑暗之门
28 | 289,通灵学院
29 | 309,祖尔格拉布
30 | 329,斯坦索姆
31 | 349,玛拉顿
32 | 369,矿道地铁
33 | 389,怒焰裂谷
34 | 409,熔火之心
35 | 429,厄运之槌
36 | 449,联盟PvP兵营
37 | 450,部落PvP兵营
38 | 451,Development Land
39 | 469,黑翼之巢
40 | 489,战歌峡谷
41 | 509,安其拉废墟
42 | 529,阿拉希盆地
43 | 530,外域
44 | 531,安其拉神殿
45 | 532,卡拉赞
46 | 533,纳克萨玛斯
47 | 534,海加尔山之战
48 | 540,地狱火堡垒:破碎大厅
49 | 542,地狱火堡垒:鲜血熔炉
50 | 543,地狱火堡垒:城墙
51 | 544,玛瑟里顿的巢穴
52 | 545,盘牙湖泊:蒸汽地窟
53 | 546,盘牙湖泊:幽暗沼泽
54 | 547,盘牙湖泊:奴隶围栏
55 | 548,盘牙湖泊:毒蛇神殿
56 | 550,风暴要塞
57 | 552,风暴要塞:禁魔监狱
58 | 553,风暴要塞:生态船
59 | 554,风暴要塞:能源舰
60 | 555,奥金顿:暗影迷宫
61 | 556,奥金顿:塞泰克大厅
62 | 557,奥金顿:法力墓穴
63 | 558,奥金顿:奥金尼地穴
64 | 559,纳格兰竞技场"
65 | 560,逃离敦霍尔德
66 | 562,刀锋山竞技场
67 | 564,黑暗神殿
68 | 565,格鲁尔的巢穴
69 | 566,风暴之眼
70 | 568,祖阿曼
71 | 571,诺森德
72 | 572,洛丹伦废墟
73 | 573,ExteriorTest
74 | 574,乌特加德要塞
75 | 575,乌特加德之巅
76 | 576,魔枢
77 | 578,魔环
78 | 580,太阳之井
79 | 582,运输 - 鲁瑟兰到奥伯丁
80 | 584,运输 - 米奈希尔到塞拉摩
81 | 585,魔导师平台
82 | 586,运输 - 埃索达到奥伯丁
83 | 587,运输 - 羽月渡口
84 | 588,运输 - 米奈希尔到奥伯丁
85 | 589,运输 - 奥格瑞玛到格罗姆高
86 | 590,运输 - 格罗姆高到幽暗城
87 | 591,运输 - 幽暗城到奥格瑞玛
88 | 592,Transport: Borean Tundra Test
89 | 593,运输 - 藏宝海湾到棘齿城
90 | 594,Transport: Howling Fjord Sister Mercy (Quest)
91 | 595,净化斯坦索姆
92 | 596,Transport: Naglfar
93 | 597,Craig Test
94 | 598,Sunwell Fix (Unused)
95 | 599,岩石大厅
96 | 600,达克萨隆要塞
97 | 601,艾卓-尼鲁布
98 | 602,闪电大厅
99 | 603,奥杜尔
100 | 604,古达克
101 | 605,Development Land (non-weighted textures)
102 | 606,QA and DVD
103 | 607,远古海滩
104 | 608,紫罗兰监狱
105 | 609,黑锋要塞
106 | 610,传送:提瑞斯法到复仇台地
107 | 612,传送:米奈希尔到瓦尔加德
108 | 613,传送:奥格瑞玛到战歌堡
109 | 614,传送:暴风城到骁勇要塞
110 | 615,黑曜石圣殿
111 | 616,永恒之眼
112 | 617,达拉然下水道
113 | 618,勇气竞技场
114 | 619,安卡赫特:古代王国
115 | 620,传送:默亚基到昂纽沛
116 | 621,传送:默亚基到卡玛廓
117 | 622,传送:奥格林之锤
118 | 623,传送:破天者号
119 | 624,冬拥湖团队战
120 | 628,征服之岛
121 | 641,传送:联盟飞船BG
122 | 642,传送:部落飞船BG
123 | 647,传送:奥格玛到雷霆崖
124 | 649,十字军试炼
125 | 650,勇士试炼
126 |
--------------------------------------------------------------------------------
/WowItemMaker/Class/ConnInfo.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 |
5 | namespace WOWItemMaker
6 | {
7 | public class ConnInfo
8 | {
9 | private static string _HostName;
10 |
11 | public static string HostName
12 | {
13 | get
14 | {
15 | string host = ConnInfo._HostName;
16 | int pos = _HostName.LastIndexOf(':');
17 | if (pos > -1)
18 | {
19 | host = host.Substring(0, pos);
20 | }
21 | return host;
22 | }
23 | set { ConnInfo._HostName = value; }
24 | }
25 |
26 | public static uint Port
27 | {
28 | get
29 | {
30 | uint port = 3306;
31 | int pos = _HostName.LastIndexOf(':');
32 | if (pos > -1)
33 | {
34 | try
35 | {
36 | port = uint.Parse(_HostName.Substring(pos + 1));
37 | }
38 | catch { }
39 | }
40 | return port;
41 | }
42 | }
43 | private static string _UserName;
44 |
45 | public static string UserName
46 | {
47 | get { return ConnInfo._UserName; }
48 | set { ConnInfo._UserName = value; }
49 | }
50 | private static string _PassWord;
51 |
52 | public static string PassWord
53 | {
54 | get { return ConnInfo._PassWord; }
55 | set { ConnInfo._PassWord = value; }
56 | }
57 | private static string _DataBase;
58 |
59 | public static string DataBase
60 | {
61 | get { return ConnInfo._DataBase; }
62 | set { ConnInfo._DataBase = value; }
63 | }
64 | private static bool _Stat;
65 |
66 | public static bool Stat
67 | {
68 | get { return ConnInfo._Stat; }
69 | set { ConnInfo._Stat = value; }
70 | }
71 | private static string _dbstruct;
72 |
73 | public static string Dbstruct
74 | {
75 | get { return _dbstruct; }
76 | set { _dbstruct = value; }
77 | }
78 |
79 | private static bool _saveConnInfo;
80 |
81 | public static bool SaveConnInfo
82 | {
83 | get { return _saveConnInfo; }
84 | set { _saveConnInfo = value; }
85 | }
86 |
87 | private static bool _savePwd;
88 |
89 | public static bool SavePwd
90 | {
91 | get { return _savePwd; }
92 | set { _savePwd = value; }
93 | }
94 | }
95 | }
96 |
--------------------------------------------------------------------------------
/.gitattributes:
--------------------------------------------------------------------------------
1 | ###############################################################################
2 | # Set default behavior to automatically normalize line endings.
3 | ###############################################################################
4 | * text=auto
5 |
6 | ###############################################################################
7 | # Set default behavior for command prompt diff.
8 | #
9 | # This is need for earlier builds of msysgit that does not have it on by
10 | # default for csharp files.
11 | # Note: This is only used by command line
12 | ###############################################################################
13 | #*.cs diff=csharp
14 |
15 | ###############################################################################
16 | # Set the merge driver for project and solution files
17 | #
18 | # Merging from the command prompt will add diff markers to the files if there
19 | # are conflicts (Merging from VS is not affected by the settings below, in VS
20 | # the diff markers are never inserted). Diff markers may cause the following
21 | # file extensions to fail to load in VS. An alternative would be to treat
22 | # these files as binary and thus will always conflict and require user
23 | # intervention with every merge. To do so, just uncomment the entries below
24 | ###############################################################################
25 | #*.sln merge=binary
26 | #*.csproj merge=binary
27 | #*.vbproj merge=binary
28 | #*.vcxproj merge=binary
29 | #*.vcproj merge=binary
30 | #*.dbproj merge=binary
31 | #*.fsproj merge=binary
32 | #*.lsproj merge=binary
33 | #*.wixproj merge=binary
34 | #*.modelproj merge=binary
35 | #*.sqlproj merge=binary
36 | #*.wwaproj merge=binary
37 |
38 | ###############################################################################
39 | # behavior for image files
40 | #
41 | # image files are treated as binary by default.
42 | ###############################################################################
43 | #*.jpg binary
44 | #*.png binary
45 | #*.gif binary
46 |
47 | ###############################################################################
48 | # diff behavior for common document formats
49 | #
50 | # Convert binary document formats to text before diffing them. This feature
51 | # is only available from the command line. Turn it on by uncommenting the
52 | # entries below.
53 | ###############################################################################
54 | #*.doc diff=astextplain
55 | #*.DOC diff=astextplain
56 | #*.docx diff=astextplain
57 | #*.DOCX diff=astextplain
58 | #*.dot diff=astextplain
59 | #*.DOT diff=astextplain
60 | #*.pdf diff=astextplain
61 | #*.PDF diff=astextplain
62 | #*.rtf diff=astextplain
63 | #*.RTF diff=astextplain
64 |
--------------------------------------------------------------------------------
/WowItemMaker/Properties/Resources.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // 此代码由工具生成。
4 | // 运行时版本:4.0.30319.17929
5 | //
6 | // 对此文件的更改可能会导致不正确的行为,并且如果
7 | // 重新生成代码,这些更改将会丢失。
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace WOWItemMaker.Properties {
12 | using System;
13 |
14 |
15 | ///
16 | /// 一个强类型的资源类,用于查找本地化的字符串等。
17 | ///
18 | // 此类是由 StronglyTypedResourceBuilder
19 | // 类通过类似于 ResGen 或 Visual Studio 的工具自动生成的。
20 | // 若要添加或移除成员,请编辑 .ResX 文件,然后重新运行 ResGen
21 | // (以 /str 作为命令选项),或重新生成 VS 项目。
22 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
23 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
24 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
25 | internal class Resources {
26 |
27 | private static global::System.Resources.ResourceManager resourceMan;
28 |
29 | private static global::System.Globalization.CultureInfo resourceCulture;
30 |
31 | [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
32 | internal Resources() {
33 | }
34 |
35 | ///
36 | /// 返回此类使用的缓存的 ResourceManager 实例。
37 | ///
38 | [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
39 | internal static global::System.Resources.ResourceManager ResourceManager {
40 | get {
41 | if (object.ReferenceEquals(resourceMan, null)) {
42 | global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("WOWItemMaker.Properties.Resources", typeof(Resources).Assembly);
43 | resourceMan = temp;
44 | }
45 | return resourceMan;
46 | }
47 | }
48 |
49 | ///
50 | /// 使用此强类型资源类,为所有资源查找
51 | /// 重写当前线程的 CurrentUICulture 属性。
52 | ///
53 | [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
54 | internal static global::System.Globalization.CultureInfo Culture {
55 | get {
56 | return resourceCulture;
57 | }
58 | set {
59 | resourceCulture = value;
60 | }
61 | }
62 |
63 | ///
64 | /// 查找 System.Drawing.Bitmap 类型的本地化资源。
65 | ///
66 | internal static System.Drawing.Bitmap color {
67 | get {
68 | object obj = ResourceManager.GetObject("color", resourceCulture);
69 | return ((System.Drawing.Bitmap)(obj));
70 | }
71 | }
72 | }
73 | }
74 |
--------------------------------------------------------------------------------
/Lib_myRichTextBox/myRichTextBox.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Text;
3 | using System.Text.RegularExpressions;
4 | using System.Windows.Forms;
5 | using System.Drawing;
6 | using System.Collections;
7 | using System.Collections.Generic;
8 |
9 | namespace LibRichTextBox
10 | {
11 | public partial class myRichTextBox : RichTextBox
12 | {
13 | public string ColorText
14 | {
15 | get
16 | {
17 | StringBuilder sb = new StringBuilder();
18 | Color color_last = Color.Black;
19 | for (int i = 0; i < this.Text.Length; i++)
20 | {
21 | this.SelectionStart = i;
22 | this.SelectionLength = 1;
23 | if (color_last != this.SelectionColor)
24 | {
25 | sb.Append("|CFF");
26 | sb.Append(to16(this.SelectionColor));
27 | color_last = this.SelectionColor;
28 | }
29 | sb.Append(this.Text.Substring(i, 1));
30 | }
31 | return sb.ToString();
32 | }
33 |
34 | set
35 | {
36 | this.Clear();
37 | string text = value;
38 | Regex reg = new Regex("\\|CFF[0-9A-F]{6}", RegexOptions.CultureInvariant | RegexOptions.IgnoreCase);
39 | if (reg.IsMatch(text))
40 | {
41 | int index = 0;
42 | ArrayList list_keys = new ArrayList();
43 | ArrayList list_values = new ArrayList();
44 | while (reg.IsMatch(text, index))
45 | {
46 | Match m = reg.Match(text, index);
47 | int i = m.Index;
48 | this.Text += text.Substring(index, i - index);
49 | list_keys.Add(this.Text.Length);
50 | list_values.Add(toColor(m.Value.Substring(4)));
51 | index = i + m.Value.Length;
52 | if (!reg.IsMatch(text, index))
53 | {
54 | this.Text += text.Substring(index, text.Length - index);
55 | }
56 | }
57 | for (int i = 0; i < list_keys.Count; i++)
58 | {
59 | int start = (int)list_keys[i];
60 | int length = (list_keys.Count - 1) > i ? (int)list_keys[i + 1] - start : this.Text.Length - start;
61 | this.Select(start, length);
62 | this.SelectionColor = (Color)list_values[i];
63 | }
64 | }
65 | else
66 | this.Text = value;
67 | }
68 | }
69 |
70 | private string to16(Color c)
71 | {
72 | return to16(c.R) + to16(c.G) + to16(c.B);
73 | }
74 |
75 | private string to16(int i)
76 | {
77 | string r = Convert.ToString(i, 16);
78 | if (r.Length == 1)
79 | r = "0" + r;
80 | return r.ToUpper();
81 | }
82 |
83 | private Color toColor(string str)
84 | {
85 | Color color = Color.FromArgb(to32(str.Substring(0, 2)),to32(str.Substring(2, 2)),to32(str.Substring(4, 2)));
86 | return color;
87 | }
88 |
89 | private int to32(string str)
90 | {
91 | return (int)Convert.ToInt16(str, 16);
92 | }
93 | }
94 | }
95 |
--------------------------------------------------------------------------------
/WowItemMaker/Server_SendMail.Designer.cs:
--------------------------------------------------------------------------------
1 | namespace WOWItemMaker
2 | {
3 | partial class Server_SendMail
4 | {
5 | ///
6 | /// Required designer variable.
7 | ///
8 | private System.ComponentModel.IContainer components = null;
9 |
10 | ///
11 | /// Clean up any resources being used.
12 | ///
13 | /// true if managed resources should be disposed; otherwise, false.
14 | protected override void Dispose(bool disposing)
15 | {
16 | if (disposing && (components != null))
17 | {
18 | components.Dispose();
19 | }
20 | base.Dispose(disposing);
21 | }
22 |
23 | #region Windows Form Designer generated code
24 |
25 | ///
26 | /// Required method for Designer support - do not modify
27 | /// the contents of this method with the code editor.
28 | ///
29 | private void InitializeComponent()
30 | {
31 | this.progressBar1 = new System.Windows.Forms.ProgressBar();
32 | this.label1 = new System.Windows.Forms.Label();
33 | this.label2 = new System.Windows.Forms.Label();
34 | this.CancelBtn = new System.Windows.Forms.Button();
35 | this.SuspendLayout();
36 | //
37 | // progressBar1
38 | //
39 | this.progressBar1.Location = new System.Drawing.Point(12, 38);
40 | this.progressBar1.Maximum = 1000;
41 | this.progressBar1.Name = "progressBar1";
42 | this.progressBar1.Size = new System.Drawing.Size(260, 23);
43 | this.progressBar1.TabIndex = 0;
44 | //
45 | // label1
46 | //
47 | this.label1.Location = new System.Drawing.Point(10, 9);
48 | this.label1.Name = "label1";
49 | this.label1.Size = new System.Drawing.Size(262, 13);
50 | this.label1.TabIndex = 1;
51 | this.label1.Text = "正在准备发送...";
52 | //
53 | // label2
54 | //
55 | this.label2.Location = new System.Drawing.Point(10, 22);
56 | this.label2.Name = "label2";
57 | this.label2.Size = new System.Drawing.Size(262, 13);
58 | this.label2.TabIndex = 2;
59 | //
60 | // CancelBtn
61 | //
62 | this.CancelBtn.Location = new System.Drawing.Point(105, 67);
63 | this.CancelBtn.Name = "CancelBtn";
64 | this.CancelBtn.Size = new System.Drawing.Size(75, 23);
65 | this.CancelBtn.TabIndex = 3;
66 | this.CancelBtn.Text = "取消";
67 | this.CancelBtn.UseVisualStyleBackColor = true;
68 | this.CancelBtn.Click += new System.EventHandler(this.CancelBtn_Click);
69 | //
70 | // Server_SendMail
71 | //
72 | this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
73 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
74 | this.ClientSize = new System.Drawing.Size(284, 97);
75 | this.Controls.Add(this.CancelBtn);
76 | this.Controls.Add(this.label2);
77 | this.Controls.Add(this.label1);
78 | this.Controls.Add(this.progressBar1);
79 | this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
80 | this.Name = "Server_SendMail";
81 | this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
82 | this.Text = "发送邮件";
83 | this.Load += new System.EventHandler(this.Server_SendMail_Load);
84 | this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.Server_SendMail_FormClosing);
85 | this.ResumeLayout(false);
86 |
87 | }
88 |
89 | #endregion
90 |
91 | private System.Windows.Forms.ProgressBar progressBar1;
92 | private System.Windows.Forms.Label label1;
93 | private System.Windows.Forms.Label label2;
94 | private System.Windows.Forms.Button CancelBtn;
95 |
96 | }
97 | }
--------------------------------------------------------------------------------
/WowItemMaker/StateForm.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.ComponentModel;
4 | using System.Data;
5 | using System.Drawing;
6 | using System.Text;
7 | using System.Windows.Forms;
8 | using MySql.Data.MySqlClient;
9 | using System.Threading;
10 |
11 | namespace WOWItemMaker
12 | {
13 | public delegate void MyInvoke(string str);
14 | public delegate void UpdateItemInfo(DataSet ds);
15 | public partial class StateForm : Form
16 | {
17 | public StateForm()
18 | {
19 | InitializeComponent();
20 | }
21 |
22 | private void StateForm_Load(object sender, EventArgs e)
23 | {
24 |
25 | }
26 | public void DBCMD(object SQL)
27 | {
28 | MyInvoke mi = new MyInvoke(miCMDSQL);
29 | MyInvoke end = new MyInvoke(miEND);
30 | MySqlConnection Conn = new MySqlConnection(MainForm.GetConnStr());
31 | MySqlCommand setname = new MySqlCommand("set names 'gbk';", Conn);
32 | MySqlCommand cmd = new MySqlCommand(SQL.ToString(), Conn);
33 | try
34 | {
35 | Conn.Open();
36 | setname.ExecuteNonQuery();
37 | setname.Dispose();
38 | cmd.ExecuteNonQuery();
39 | cmd.Dispose();
40 | this.Invoke(mi, "执行成功!");
41 | Thread.Sleep(1500);
42 | this.Invoke(end, "true");
43 | }
44 | catch (Exception err)
45 | {
46 | this.Invoke(mi, "执行失败!");
47 | this.Invoke(end, err.Message);
48 | }
49 | finally
50 | {
51 | Conn.Close();
52 | }
53 | }
54 | public void DBAdapter(object SQL)
55 | {
56 | MyInvoke mi = new MyInvoke(miCMDSQL);
57 | MyInvoke end = new MyInvoke(miEND);
58 | MainForm f1 = new MainForm();
59 | UpdateItemInfo uii = new UpdateItemInfo(f1.GetItemInfo);
60 | DataSet ds = new DataSet();
61 | MySqlConnection Conn = new MySqlConnection(MainForm.GetConnStr());
62 | MySqlCommand setname = new MySqlCommand("set names 'gbk';", Conn);
63 | MySqlDataAdapter adp = new MySqlDataAdapter(SQL.ToString(), Conn);
64 | try
65 | {
66 | Conn.Open();
67 | setname.ExecuteNonQuery();
68 | setname.Dispose();
69 | adp.Fill(ds);
70 | this.Invoke(uii, ds);
71 | this.Invoke(mi, "执行成功!");
72 | Thread.Sleep(1000);
73 | this.Invoke(end, "true");
74 | }
75 | catch (Exception err)
76 | {
77 | ItemInfo.Stat = false;
78 | this.Invoke(mi, "执行失败!");
79 | this.Invoke(end, err.Message);
80 | }
81 | }
82 | public void miCMDSQL(string msg)
83 | {
84 | StateTextBox.Text = msg;
85 | }
86 | public void miEND(string result)
87 | {
88 | if (result == "true")
89 | {
90 | this.Close();
91 | }
92 | else
93 | {
94 | StateBtn.Visible = true;
95 | linkLabel1.Visible = true;
96 | ErrInfo.Content = result;
97 | }
98 | }
99 | private void StateBtn_Click(object sender, EventArgs e)
100 | {
101 | this.Close();
102 | }
103 |
104 | private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
105 | {
106 | Clipboard.SetDataObject(ErrInfo.Content);
107 | toolTip1.Show(ErrInfo.Content+"\r\n错误信息已经复制到剪贴板,请联系作者解决。", linkLabel1);
108 | }
109 | }
110 | public class ErrInfo
111 | {
112 | private static string _content;
113 |
114 | public static string Content
115 | {
116 | get { return ErrInfo._content; }
117 | set { ErrInfo._content = value; }
118 | }
119 | }
120 |
121 | }
122 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | ## Ignore Visual Studio temporary files, build results, and
2 | ## files generated by popular Visual Studio add-ons.
3 |
4 | # User-specific files
5 | *.suo
6 | *.user
7 | *.userosscache
8 | *.sln.docstates
9 |
10 | # User-specific files (MonoDevelop/Xamarin Studio)
11 | *.userprefs
12 |
13 | # Build results
14 | [Dd]ebug/
15 | [Dd]ebugPublic/
16 | [Rr]elease/
17 | [Rr]eleases/
18 | x64/
19 | x86/
20 | build/
21 | bld/
22 | [Bb]in/
23 | [Oo]bj/
24 |
25 | # Visual Studio 2015 cache/options directory
26 | .vs/
27 |
28 | # MSTest test Results
29 | [Tt]est[Rr]esult*/
30 | [Bb]uild[Ll]og.*
31 |
32 | # NUNIT
33 | *.VisualState.xml
34 | TestResult.xml
35 |
36 | # Build Results of an ATL Project
37 | [Dd]ebugPS/
38 | [Rr]eleasePS/
39 | dlldata.c
40 |
41 | # DNX
42 | project.lock.json
43 | artifacts/
44 |
45 | *_i.c
46 | *_p.c
47 | *_i.h
48 | *.ilk
49 | *.meta
50 | *.obj
51 | *.pch
52 | *.pdb
53 | *.pgc
54 | *.pgd
55 | *.rsp
56 | *.sbr
57 | *.tlb
58 | *.tli
59 | *.tlh
60 | *.tmp
61 | *.tmp_proj
62 | *.log
63 | *.vspscc
64 | *.vssscc
65 | .builds
66 | *.pidb
67 | *.svclog
68 | *.scc
69 |
70 | # Chutzpah Test files
71 | _Chutzpah*
72 |
73 | # Visual C++ cache files
74 | ipch/
75 | *.aps
76 | *.ncb
77 | *.opensdf
78 | *.sdf
79 | *.cachefile
80 |
81 | # Visual Studio profiler
82 | *.psess
83 | *.vsp
84 | *.vspx
85 |
86 | # TFS 2012 Local Workspace
87 | $tf/
88 |
89 | # Guidance Automation Toolkit
90 | *.gpState
91 |
92 | # ReSharper is a .NET coding add-in
93 | _ReSharper*/
94 | *.[Rr]e[Ss]harper
95 | *.DotSettings.user
96 |
97 | # JustCode is a .NET coding add-in
98 | .JustCode
99 |
100 | # TeamCity is a build add-in
101 | _TeamCity*
102 |
103 | # DotCover is a Code Coverage Tool
104 | *.dotCover
105 |
106 | # NCrunch
107 | _NCrunch_*
108 | .*crunch*.local.xml
109 |
110 | # MightyMoose
111 | *.mm.*
112 | AutoTest.Net/
113 |
114 | # Web workbench (sass)
115 | .sass-cache/
116 |
117 | # Installshield output folder
118 | [Ee]xpress/
119 |
120 | # DocProject is a documentation generator add-in
121 | DocProject/buildhelp/
122 | DocProject/Help/*.HxT
123 | DocProject/Help/*.HxC
124 | DocProject/Help/*.hhc
125 | DocProject/Help/*.hhk
126 | DocProject/Help/*.hhp
127 | DocProject/Help/Html2
128 | DocProject/Help/html
129 |
130 | # Click-Once directory
131 | publish/
132 |
133 | # Publish Web Output
134 | *.[Pp]ublish.xml
135 | *.azurePubxml
136 | ## TODO: Comment the next line if you want to checkin your
137 | ## web deploy settings but do note that will include unencrypted
138 | ## passwords
139 | #*.pubxml
140 |
141 | *.publishproj
142 |
143 | # NuGet Packages
144 | *.nupkg
145 | # The packages folder can be ignored because of Package Restore
146 | **/packages/*
147 | # except build/, which is used as an MSBuild target.
148 | !**/packages/build/
149 | # Uncomment if necessary however generally it will be regenerated when needed
150 | #!**/packages/repositories.config
151 |
152 | # Windows Azure Build Output
153 | csx/
154 | *.build.csdef
155 |
156 | # Windows Store app package directory
157 | AppPackages/
158 |
159 | # Visual Studio cache files
160 | # files ending in .cache can be ignored
161 | *.[Cc]ache
162 | # but keep track of directories ending in .cache
163 | !*.[Cc]ache/
164 |
165 | # Others
166 | ClientBin/
167 | [Ss]tyle[Cc]op.*
168 | ~$*
169 | *~
170 | *.dbmdl
171 | *.dbproj.schemaview
172 | *.pfx
173 | *.publishsettings
174 | node_modules/
175 | orleans.codegen.cs
176 |
177 | # RIA/Silverlight projects
178 | Generated_Code/
179 |
180 | # Backup & report files from converting an old project file
181 | # to a newer Visual Studio version. Backup files are not needed,
182 | # because we have git ;-)
183 | _UpgradeReport_Files/
184 | Backup*/
185 | UpgradeLog*.XML
186 | UpgradeLog*.htm
187 |
188 | # SQL Server files
189 | *.mdf
190 | *.ldf
191 |
192 | # Business Intelligence projects
193 | *.rdl.data
194 | *.bim.layout
195 | *.bim_*.settings
196 |
197 | # Microsoft Fakes
198 | FakesAssemblies/
199 |
200 | # Node.js Tools for Visual Studio
201 | .ntvs_analysis.dat
202 |
203 | # Visual Studio 6 build log
204 | *.plg
205 |
206 | # Visual Studio 6 workspace options file
207 | *.opt
208 |
209 | # LightSwitch generated files
210 | GeneratedArtifacts/
211 | _Pvt_Extensions/
212 | ModelManifest.xml
213 |
--------------------------------------------------------------------------------
/Lib_myRichTextBox/LibRichTextBox.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Debug
5 | AnyCPU
6 | 9.0.30729
7 | 2.0
8 | {7CDEA4EB-14B7-480A-BE38-9795E4FB73D8}
9 | Library
10 | Properties
11 | LibRichTextBox
12 | LibRichTextBox
13 | v2.0
14 | 512
15 |
16 |
17 | 3.5
18 |
19 | publish\
20 | true
21 | Disk
22 | false
23 | Foreground
24 | 7
25 | Days
26 | false
27 | false
28 | true
29 | 0
30 | 1.0.0.%2a
31 | false
32 | false
33 | true
34 |
35 |
36 | true
37 | full
38 | false
39 | bin\Debug\
40 | DEBUG;TRACE
41 | prompt
42 | 4
43 | AllRules.ruleset
44 |
45 |
46 | pdbonly
47 | true
48 | bin\Release\
49 | TRACE
50 | prompt
51 | 4
52 | AllRules.ruleset
53 |
54 |
55 |
56 |
57 | 3.5
58 |
59 |
60 | 3.5
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 | Component
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 | False
80 | .NET Framework 3.5 SP1 Client Profile
81 | false
82 |
83 |
84 | False
85 | .NET Framework 3.5 SP1
86 | true
87 |
88 |
89 | False
90 | Windows Installer 3.1
91 | true
92 |
93 |
94 |
95 |
102 |
--------------------------------------------------------------------------------
/WowItemMaker/StateForm.Designer.cs:
--------------------------------------------------------------------------------
1 | namespace WOWItemMaker
2 | {
3 | partial class StateForm
4 | {
5 | ///
6 | /// Required designer variable.
7 | ///
8 | private System.ComponentModel.IContainer components = null;
9 |
10 | ///
11 | /// Clean up any resources being used.
12 | ///
13 | /// true if managed resources should be disposed; otherwise, false.
14 | protected override void Dispose(bool disposing)
15 | {
16 | if (disposing && (components != null))
17 | {
18 | components.Dispose();
19 | }
20 | base.Dispose(disposing);
21 | }
22 |
23 | #region Windows Form Designer generated code
24 |
25 | ///
26 | /// Required method for Designer support - do not modify
27 | /// the contents of this method with the code editor.
28 | ///
29 | private void InitializeComponent()
30 | {
31 | this.components = new System.ComponentModel.Container();
32 | this.StateTextBox = new System.Windows.Forms.Label();
33 | this.StateBtn = new System.Windows.Forms.Button();
34 | this.toolTip1 = new System.Windows.Forms.ToolTip(this.components);
35 | this.linkLabel1 = new System.Windows.Forms.LinkLabel();
36 | this.SuspendLayout();
37 | //
38 | // StateTextBox
39 | //
40 | this.StateTextBox.AutoSize = true;
41 | this.StateTextBox.Location = new System.Drawing.Point(56, 19);
42 | this.StateTextBox.Name = "StateTextBox";
43 | this.StateTextBox.Size = new System.Drawing.Size(101, 12);
44 | this.StateTextBox.TabIndex = 0;
45 | this.StateTextBox.Text = "正在执行操作……";
46 | this.StateTextBox.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
47 | //
48 | // StateBtn
49 | //
50 | this.StateBtn.Location = new System.Drawing.Point(58, 41);
51 | this.StateBtn.Name = "StateBtn";
52 | this.StateBtn.Size = new System.Drawing.Size(75, 23);
53 | this.StateBtn.TabIndex = 1;
54 | this.StateBtn.Text = "确定";
55 | this.StateBtn.UseVisualStyleBackColor = true;
56 | this.StateBtn.Visible = false;
57 | this.StateBtn.Click += new System.EventHandler(this.StateBtn_Click);
58 | //
59 | // toolTip1
60 | //
61 | this.toolTip1.AutoPopDelay = 10000;
62 | this.toolTip1.InitialDelay = 500;
63 | this.toolTip1.ReshowDelay = 100;
64 | this.toolTip1.ShowAlways = true;
65 | this.toolTip1.ToolTipIcon = System.Windows.Forms.ToolTipIcon.Error;
66 | this.toolTip1.ToolTipTitle = "执行操作时遇到问题:";
67 | //
68 | // linkLabel1
69 | //
70 | this.linkLabel1.AutoSize = true;
71 | this.linkLabel1.Location = new System.Drawing.Point(129, 19);
72 | this.linkLabel1.Name = "linkLabel1";
73 | this.linkLabel1.Size = new System.Drawing.Size(53, 12);
74 | this.linkLabel1.TabIndex = 2;
75 | this.linkLabel1.TabStop = true;
76 | this.linkLabel1.Text = "详细信息";
77 | this.linkLabel1.Visible = false;
78 | this.linkLabel1.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel1_LinkClicked);
79 | //
80 | // StateForm
81 | //
82 | this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
83 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
84 | this.ClientSize = new System.Drawing.Size(194, 76);
85 | this.ControlBox = false;
86 | this.Controls.Add(this.linkLabel1);
87 | this.Controls.Add(this.StateBtn);
88 | this.Controls.Add(this.StateTextBox);
89 | this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
90 | this.Name = "StateForm";
91 | this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
92 | this.Text = "当前状态";
93 | this.Load += new System.EventHandler(this.StateForm_Load);
94 | this.ResumeLayout(false);
95 | this.PerformLayout();
96 |
97 | }
98 |
99 | #endregion
100 |
101 | private System.Windows.Forms.Label StateTextBox;
102 | private System.Windows.Forms.Button StateBtn;
103 | private System.Windows.Forms.ToolTip toolTip1;
104 | private System.Windows.Forms.LinkLabel linkLabel1;
105 | }
106 | }
--------------------------------------------------------------------------------
/WowItemMaker/Downloader.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.ComponentModel;
4 | using System.Data;
5 | using System.Drawing;
6 | using System.Text;
7 | using System.Windows.Forms;
8 | using System.Net;
9 | using System.Diagnostics;
10 | using System.IO;
11 |
12 | namespace WOWItemMaker
13 | {
14 | public partial class Downloader : Form
15 | {
16 |
17 | WebClient myWebClient = new WebClient();
18 | public Downloader()
19 | {
20 | InitializeComponent();
21 | }
22 | public void DownloadFile()
23 | {
24 | if (!Directory.Exists(Application.ExecutablePath + "/" + DownloadInfo.FileDirectory))
25 | {
26 | Directory.CreateDirectory(Application.StartupPath + "/" + DownloadInfo.FileDirectory);
27 | }
28 | myWebClient.DownloadProgressChanged += new DownloadProgressChangedEventHandler(wc_DownloadProgressChanged);
29 | myWebClient.DownloadFileCompleted += new AsyncCompletedEventHandler(wc_DownloadFileCompleted);
30 | myWebClient.DownloadFileAsync(new Uri(DownloadInfo.Url), Application.StartupPath + "/" + DownloadInfo.FileDirectory + "/" + DownloadInfo.FileName);
31 | }
32 |
33 | void wc_DownloadFileCompleted(object sender, AsyncCompletedEventArgs e)
34 | {
35 | if (e.Error != null&&!e.Cancelled)
36 | {
37 | //下载出错
38 | label2.Text = e.Error.Message;
39 | CancleBtn.Text = "关闭";
40 | //File.Delete(Application.StartupPath + "/" + DownloadInfo.FileDirectory + "/" + DownloadInfo.FileName);
41 | }
42 | else
43 | {
44 | if (!e.Cancelled)
45 | {
46 | label2.Text = "下载完成";
47 | CancleBtn.Text = "关闭";
48 | Process proc = new Process();
49 | proc.StartInfo.FileName = Application.StartupPath + "/" + DownloadInfo.FileDirectory + "/" + DownloadInfo.FileName;
50 | proc.StartInfo.Arguments = "";
51 | proc.Start();
52 | if (CloseCheckBox.Checked)
53 | {
54 | this.Close();
55 | }
56 | }
57 | else
58 | {
59 | //用户取消了下载
60 | File.Delete(Application.StartupPath + "/" + DownloadInfo.FileDirectory + "/" + DownloadInfo.FileName);
61 | this.Close();
62 | }
63 | }
64 | }
65 |
66 | void wc_DownloadProgressChanged(object sender, DownloadProgressChangedEventArgs e)
67 | {
68 | string FileName = DownloadInfo.FileName;
69 | if (DownloadInfo.FileName.Length > 25)
70 | {
71 | FileName = DownloadInfo.FileName.Substring(0, 10) + "..." + DownloadInfo.FileName.Substring(DownloadInfo.FileName.Length - 10);
72 | }
73 | label2.Text = "正在下载文件:" + FileName;
74 | progressBar1.Value = e.ProgressPercentage;
75 | label1.Text = "下载进度:" + e.ProgressPercentage + "%|" + (Convert.ToDecimal(e.BytesReceived) / 1024 / 1024).ToString("f2") + "/" + (Convert.ToDecimal(e.TotalBytesToReceive) / 1024 / 1024).ToString("f2") + "MB";
76 |
77 | }
78 |
79 | private void CancleBtn_Click(object sender, EventArgs e)
80 | {
81 | if (CancleBtn.Text == "取消")
82 | {
83 | myWebClient.CancelAsync();
84 | myWebClient.Dispose();
85 | }
86 | else if (CancleBtn.Text == "关闭")
87 | {
88 | this.Close();
89 | }
90 | }
91 |
92 | private void Downloader_Load(object sender, EventArgs e)
93 | {
94 | try
95 | {
96 | DownloadInfo.Url = System.Configuration.ConfigurationManager.AppSettings["DownloadUrl"].Replace("!", "&");
97 | DownloadInfo.FileName = System.Configuration.ConfigurationManager.AppSettings["DownloadFileName"];
98 | DownloadInfo.FileDirectory = System.Configuration.ConfigurationManager.AppSettings["DownloadDirectory"];
99 | DownloadFile();
100 | this.FormClosing += new FormClosingEventHandler(Downloader_FormClosing);
101 | }
102 | catch(Exception err)
103 | {
104 | MessageBox.Show("初始化失败,请检查配置文件是否正常。", "下载文件");
105 | this.Close();
106 | }
107 | }
108 |
109 | void Downloader_FormClosing(object sender, FormClosingEventArgs e)
110 | {
111 | myWebClient.CancelAsync();
112 | myWebClient.Dispose();
113 | }
114 | }
115 | public class DownloadInfo
116 | {
117 | private static string _Url;
118 |
119 | public static string Url
120 | {
121 | get { return DownloadInfo._Url; }
122 | set { DownloadInfo._Url = value; }
123 | }
124 | private static string _FileName;
125 |
126 | public static string FileName
127 | {
128 | get { return DownloadInfo._FileName; }
129 | set { DownloadInfo._FileName = value; }
130 | }
131 | private static string _FileDirectory;
132 |
133 | public static string FileDirectory
134 | {
135 | get { return DownloadInfo._FileDirectory; }
136 | set { DownloadInfo._FileDirectory = value; }
137 | }
138 | }
139 | }
140 |
--------------------------------------------------------------------------------
/WowItemMaker/Downloader.Designer.cs:
--------------------------------------------------------------------------------
1 | namespace WOWItemMaker
2 | {
3 | partial class Downloader
4 | {
5 | ///
6 | /// Required designer variable.
7 | ///
8 | private System.ComponentModel.IContainer components = null;
9 |
10 | ///
11 | /// Clean up any resources being used.
12 | ///
13 | /// true if managed resources should be disposed; otherwise, false.
14 | protected override void Dispose(bool disposing)
15 | {
16 | if (disposing && (components != null))
17 | {
18 | components.Dispose();
19 | }
20 | base.Dispose(disposing);
21 | }
22 |
23 | #region Windows Form Designer generated code
24 |
25 | ///
26 | /// Required method for Designer support - do not modify
27 | /// the contents of this method with the code editor.
28 | ///
29 | private void InitializeComponent()
30 | {
31 | System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Downloader));
32 | this.progressBar1 = new System.Windows.Forms.ProgressBar();
33 | this.CancleBtn = new System.Windows.Forms.Button();
34 | this.label1 = new System.Windows.Forms.Label();
35 | this.label2 = new System.Windows.Forms.Label();
36 | this.CloseCheckBox = new System.Windows.Forms.CheckBox();
37 | this.SuspendLayout();
38 | //
39 | // progressBar1
40 | //
41 | this.progressBar1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
42 | | System.Windows.Forms.AnchorStyles.Right)));
43 | this.progressBar1.Location = new System.Drawing.Point(12, 35);
44 | this.progressBar1.Name = "progressBar1";
45 | this.progressBar1.Size = new System.Drawing.Size(268, 23);
46 | this.progressBar1.Style = System.Windows.Forms.ProgressBarStyle.Continuous;
47 | this.progressBar1.TabIndex = 1;
48 | //
49 | // CancleBtn
50 | //
51 | this.CancleBtn.Location = new System.Drawing.Point(106, 79);
52 | this.CancleBtn.Name = "CancleBtn";
53 | this.CancleBtn.Size = new System.Drawing.Size(75, 23);
54 | this.CancleBtn.TabIndex = 2;
55 | this.CancleBtn.Text = "取消";
56 | this.CancleBtn.UseVisualStyleBackColor = true;
57 | this.CancleBtn.Click += new System.EventHandler(this.CancleBtn_Click);
58 | //
59 | // label1
60 | //
61 | this.label1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
62 | | System.Windows.Forms.AnchorStyles.Right)));
63 | this.label1.Location = new System.Drawing.Point(12, 61);
64 | this.label1.Name = "label1";
65 | this.label1.Size = new System.Drawing.Size(268, 15);
66 | this.label1.TabIndex = 3;
67 | this.label1.Text = "下载进度:0%|0/0MB";
68 | this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
69 | //
70 | // label2
71 | //
72 | this.label2.Location = new System.Drawing.Point(12, 9);
73 | this.label2.Name = "label2";
74 | this.label2.Size = new System.Drawing.Size(268, 23);
75 | this.label2.TabIndex = 4;
76 | this.label2.Text = "正在准备下载";
77 | this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
78 | //
79 | // CloseCheckBox
80 | //
81 | this.CloseCheckBox.AutoSize = true;
82 | this.CloseCheckBox.Location = new System.Drawing.Point(196, 84);
83 | this.CloseCheckBox.Name = "CloseCheckBox";
84 | this.CloseCheckBox.Size = new System.Drawing.Size(84, 16);
85 | this.CloseCheckBox.TabIndex = 5;
86 | this.CloseCheckBox.Text = "完成后关闭";
87 | this.CloseCheckBox.UseVisualStyleBackColor = true;
88 | //
89 | // Downloader
90 | //
91 | this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
92 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
93 | this.ClientSize = new System.Drawing.Size(292, 112);
94 | this.Controls.Add(this.CloseCheckBox);
95 | this.Controls.Add(this.label2);
96 | this.Controls.Add(this.label1);
97 | this.Controls.Add(this.CancleBtn);
98 | this.Controls.Add(this.progressBar1);
99 | this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
100 | this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
101 | this.MaximizeBox = false;
102 | this.Name = "Downloader";
103 | this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
104 | this.Text = "下载文件";
105 | this.Load += new System.EventHandler(this.Downloader_Load);
106 | this.ResumeLayout(false);
107 | this.PerformLayout();
108 |
109 | }
110 |
111 | #endregion
112 |
113 | private System.Windows.Forms.ProgressBar progressBar1;
114 | private System.Windows.Forms.Button CancleBtn;
115 | private System.Windows.Forms.Label label1;
116 | private System.Windows.Forms.Label label2;
117 | private System.Windows.Forms.CheckBox CloseCheckBox;
118 | }
119 | }
--------------------------------------------------------------------------------
/WowItemMaker/SearchItemsFormcs.resx:
--------------------------------------------------------------------------------
1 |
2 |
3 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 |
100 |
101 |
102 |
103 |
104 |
105 |
106 |
107 |
108 |
109 | text/microsoft-resx
110 |
111 |
112 | 2.0
113 |
114 |
115 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
116 |
117 |
118 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
119 |
120 |
--------------------------------------------------------------------------------
/WowItemMaker/SearchReceiverForm.resx:
--------------------------------------------------------------------------------
1 |
2 |
3 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 |
100 |
101 |
102 |
103 |
104 |
105 |
106 |
107 |
108 |
109 | text/microsoft-resx
110 |
111 |
112 | 2.0
113 |
114 |
115 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
116 |
117 |
118 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
119 |
120 |
--------------------------------------------------------------------------------
/WowItemMaker/Server_SendMail.resx:
--------------------------------------------------------------------------------
1 |
2 |
3 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 |
100 |
101 |
102 |
103 |
104 |
105 |
106 |
107 |
108 |
109 | text/microsoft-resx
110 |
111 |
112 | 2.0
113 |
114 |
115 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
116 |
117 |
118 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
119 |
120 |
--------------------------------------------------------------------------------
/WowItemMaker/Server_SendMailResault.resx:
--------------------------------------------------------------------------------
1 |
2 |
3 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 |
100 |
101 |
102 |
103 |
104 |
105 |
106 |
107 |
108 |
109 | text/microsoft-resx
110 |
111 |
112 | 2.0
113 |
114 |
115 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
116 |
117 |
118 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
119 |
120 |
--------------------------------------------------------------------------------
/WowItemMaker/FrmGetSql.Designer.cs:
--------------------------------------------------------------------------------
1 | namespace WOWItemMaker
2 | {
3 | partial class FrmGetSql
4 | {
5 | ///
6 | /// Required designer variable.
7 | ///
8 | private System.ComponentModel.IContainer components = null;
9 |
10 | ///
11 | /// Clean up any resources being used.
12 | ///
13 | /// true if managed resources should be disposed; otherwise, false.
14 | protected override void Dispose(bool disposing)
15 | {
16 | if (disposing && (components != null))
17 | {
18 | components.Dispose();
19 | }
20 | base.Dispose(disposing);
21 | }
22 |
23 | #region Windows Form Designer generated code
24 |
25 | ///
26 | /// Required method for Designer support - do not modify
27 | /// the contents of this method with the code editor.
28 | ///
29 | private void InitializeComponent()
30 | {
31 | System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmGetSql));
32 | this.CloseBtn = new System.Windows.Forms.Button();
33 | this.SQLContent = new System.Windows.Forms.TextBox();
34 | this.saveFileDialog1 = new System.Windows.Forms.SaveFileDialog();
35 | this.SaveSQLBtn = new System.Windows.Forms.Button();
36 | this.ToClipboardBtn = new System.Windows.Forms.Button();
37 | this.SuspendLayout();
38 | //
39 | // CloseBtn
40 | //
41 | this.CloseBtn.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
42 | this.CloseBtn.DialogResult = System.Windows.Forms.DialogResult.Cancel;
43 | this.CloseBtn.Location = new System.Drawing.Point(505, 331);
44 | this.CloseBtn.Name = "CloseBtn";
45 | this.CloseBtn.Size = new System.Drawing.Size(75, 23);
46 | this.CloseBtn.TabIndex = 1;
47 | this.CloseBtn.Text = "关闭";
48 | this.CloseBtn.UseVisualStyleBackColor = true;
49 | this.CloseBtn.Click += new System.EventHandler(this.CloseBtn_Click);
50 | //
51 | // SQLContent
52 | //
53 | this.SQLContent.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
54 | | System.Windows.Forms.AnchorStyles.Left)
55 | | System.Windows.Forms.AnchorStyles.Right)));
56 | this.SQLContent.Location = new System.Drawing.Point(12, 12);
57 | this.SQLContent.Multiline = true;
58 | this.SQLContent.Name = "SQLContent";
59 | this.SQLContent.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
60 | this.SQLContent.Size = new System.Drawing.Size(568, 313);
61 | this.SQLContent.TabIndex = 0;
62 | //
63 | // saveFileDialog1
64 | //
65 | this.saveFileDialog1.DefaultExt = "sql";
66 | this.saveFileDialog1.Filter = "SQL文件|*.sql|文本文件|*.txt|所有文件|*.*";
67 | this.saveFileDialog1.FileOk += new System.ComponentModel.CancelEventHandler(this.saveFileDialog1_FileOk);
68 | //
69 | // SaveSQLBtn
70 | //
71 | this.SaveSQLBtn.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
72 | this.SaveSQLBtn.Location = new System.Drawing.Point(424, 331);
73 | this.SaveSQLBtn.Name = "SaveSQLBtn";
74 | this.SaveSQLBtn.Size = new System.Drawing.Size(75, 23);
75 | this.SaveSQLBtn.TabIndex = 4;
76 | this.SaveSQLBtn.Text = "保存";
77 | this.SaveSQLBtn.UseVisualStyleBackColor = true;
78 | this.SaveSQLBtn.Click += new System.EventHandler(this.SaveSQLBtn_Click);
79 | //
80 | // ToClipboardBtn
81 | //
82 | this.ToClipboardBtn.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
83 | this.ToClipboardBtn.Location = new System.Drawing.Point(325, 331);
84 | this.ToClipboardBtn.Name = "ToClipboardBtn";
85 | this.ToClipboardBtn.Size = new System.Drawing.Size(93, 23);
86 | this.ToClipboardBtn.TabIndex = 5;
87 | this.ToClipboardBtn.Text = "复制到剪贴板";
88 | this.ToClipboardBtn.UseVisualStyleBackColor = true;
89 | this.ToClipboardBtn.Click += new System.EventHandler(this.ToClipboardBtn_Click);
90 | //
91 | // Form2
92 | //
93 | this.AcceptButton = this.SaveSQLBtn;
94 | this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
95 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
96 | this.CancelButton = this.CloseBtn;
97 | this.ClientSize = new System.Drawing.Size(592, 366);
98 | this.Controls.Add(this.ToClipboardBtn);
99 | this.Controls.Add(this.SaveSQLBtn);
100 | this.Controls.Add(this.SQLContent);
101 | this.Controls.Add(this.CloseBtn);
102 | this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
103 | this.Name = "Form2";
104 | this.ShowIcon = false;
105 | this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
106 | this.Text = "导出SQL";
107 | this.Load += new System.EventHandler(this.Form2_Load);
108 | this.ResumeLayout(false);
109 | this.PerformLayout();
110 |
111 | }
112 |
113 | #endregion
114 |
115 | private System.Windows.Forms.Button CloseBtn;
116 | private System.Windows.Forms.TextBox SQLContent;
117 | private System.Windows.Forms.SaveFileDialog saveFileDialog1;
118 | private System.Windows.Forms.Button SaveSQLBtn;
119 | private System.Windows.Forms.Button ToClipboardBtn;
120 | }
121 | }
--------------------------------------------------------------------------------
/WowItemMaker/StateForm.resx:
--------------------------------------------------------------------------------
1 |
2 |
3 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 |
100 |
101 |
102 |
103 |
104 |
105 |
106 |
107 |
108 |
109 | text/microsoft-resx
110 |
111 |
112 | 2.0
113 |
114 |
115 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
116 |
117 |
118 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
119 |
120 |
121 | 17, 17
122 |
123 |
--------------------------------------------------------------------------------
/WowItemMaker/FrmMPQMaker.resx:
--------------------------------------------------------------------------------
1 |
2 |
3 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 |
100 |
101 |
102 |
103 |
104 |
105 |
106 |
107 |
108 |
109 | text/microsoft-resx
110 |
111 |
112 | 2.0
113 |
114 |
115 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
116 |
117 |
118 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
119 |
120 |
121 | 17, 17
122 |
123 |
--------------------------------------------------------------------------------
/WowItemMaker/Server_SendMailResault.Designer.cs:
--------------------------------------------------------------------------------
1 | namespace WOWItemMaker
2 | {
3 | partial class Server_SendMailResault
4 | {
5 | ///
6 | /// Required designer variable.
7 | ///
8 | private System.ComponentModel.IContainer components = null;
9 |
10 | ///
11 | /// Clean up any resources being used.
12 | ///
13 | /// true if managed resources should be disposed; otherwise, false.
14 | protected override void Dispose(bool disposing)
15 | {
16 | if (disposing && (components != null))
17 | {
18 | components.Dispose();
19 | }
20 | base.Dispose(disposing);
21 | }
22 |
23 | #region Windows Form Designer generated code
24 |
25 | ///
26 | /// Required method for Designer support - do not modify
27 | /// the contents of this method with the code editor.
28 | ///
29 | private void InitializeComponent()
30 | {
31 | this.label1 = new System.Windows.Forms.Label();
32 | this.label2 = new System.Windows.Forms.Label();
33 | this.dataGridView1 = new System.Windows.Forms.DataGridView();
34 | this.CloseBtn = new System.Windows.Forms.Button();
35 | this.linkLabel1 = new System.Windows.Forms.LinkLabel();
36 | ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
37 | this.SuspendLayout();
38 | //
39 | // label1
40 | //
41 | this.label1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
42 | | System.Windows.Forms.AnchorStyles.Right)));
43 | this.label1.Location = new System.Drawing.Point(12, 9);
44 | this.label1.Name = "label1";
45 | this.label1.Size = new System.Drawing.Size(201, 15);
46 | this.label1.TabIndex = 0;
47 | //
48 | // label2
49 | //
50 | this.label2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
51 | | System.Windows.Forms.AnchorStyles.Right)));
52 | this.label2.Location = new System.Drawing.Point(12, 24);
53 | this.label2.Name = "label2";
54 | this.label2.Size = new System.Drawing.Size(260, 15);
55 | this.label2.TabIndex = 1;
56 | //
57 | // dataGridView1
58 | //
59 | this.dataGridView1.AllowUserToAddRows = false;
60 | this.dataGridView1.AllowUserToDeleteRows = false;
61 | this.dataGridView1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
62 | | System.Windows.Forms.AnchorStyles.Left)
63 | | System.Windows.Forms.AnchorStyles.Right)));
64 | this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
65 | this.dataGridView1.Location = new System.Drawing.Point(14, 42);
66 | this.dataGridView1.Name = "dataGridView1";
67 | this.dataGridView1.ReadOnly = true;
68 | this.dataGridView1.RowTemplate.Height = 23;
69 | this.dataGridView1.Size = new System.Drawing.Size(258, 150);
70 | this.dataGridView1.TabIndex = 2;
71 | //
72 | // CloseBtn
73 | //
74 | this.CloseBtn.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
75 | | System.Windows.Forms.AnchorStyles.Right)));
76 | this.CloseBtn.Location = new System.Drawing.Point(106, 198);
77 | this.CloseBtn.Name = "CloseBtn";
78 | this.CloseBtn.Size = new System.Drawing.Size(75, 23);
79 | this.CloseBtn.TabIndex = 3;
80 | this.CloseBtn.Text = "确定";
81 | this.CloseBtn.UseVisualStyleBackColor = true;
82 | this.CloseBtn.Click += new System.EventHandler(this.CloseBtn_Click);
83 | //
84 | // linkLabel1
85 | //
86 | this.linkLabel1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
87 | this.linkLabel1.AutoSize = true;
88 | this.linkLabel1.Location = new System.Drawing.Point(219, 9);
89 | this.linkLabel1.Name = "linkLabel1";
90 | this.linkLabel1.Size = new System.Drawing.Size(53, 12);
91 | this.linkLabel1.TabIndex = 4;
92 | this.linkLabel1.TabStop = true;
93 | this.linkLabel1.Text = "复制信息";
94 | this.linkLabel1.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel1_LinkClicked);
95 | //
96 | // Server_SendMailResault
97 | //
98 | this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
99 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
100 | this.ClientSize = new System.Drawing.Size(284, 227);
101 | this.Controls.Add(this.linkLabel1);
102 | this.Controls.Add(this.CloseBtn);
103 | this.Controls.Add(this.dataGridView1);
104 | this.Controls.Add(this.label2);
105 | this.Controls.Add(this.label1);
106 | this.Name = "Server_SendMailResault";
107 | this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
108 | this.Text = "发送完成";
109 | this.Load += new System.EventHandler(this.Server_SendMailResault_Load);
110 | ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
111 | this.ResumeLayout(false);
112 | this.PerformLayout();
113 |
114 | }
115 |
116 | #endregion
117 |
118 | private System.Windows.Forms.Label label1;
119 | private System.Windows.Forms.Label label2;
120 | private System.Windows.Forms.DataGridView dataGridView1;
121 | private System.Windows.Forms.Button CloseBtn;
122 | private System.Windows.Forms.LinkLabel linkLabel1;
123 | }
124 | }
--------------------------------------------------------------------------------
/WowItemMaker/Properties/Resources.resx:
--------------------------------------------------------------------------------
1 |
2 |
3 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 |
100 |
101 |
102 |
103 |
104 |
105 |
106 |
107 |
108 |
109 | text/microsoft-resx
110 |
111 |
112 | 2.0
113 |
114 |
115 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
116 |
117 |
118 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
119 |
120 |
121 |
122 | ..\Resources\color.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
123 |
124 |
--------------------------------------------------------------------------------
/WowItemMaker/ServerManager.resx:
--------------------------------------------------------------------------------
1 |
2 |
3 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 |
100 |
101 |
102 |
103 |
104 |
105 |
106 |
107 |
108 |
109 | text/microsoft-resx
110 |
111 |
112 | 2.0
113 |
114 |
115 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
116 |
117 |
118 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
119 |
120 |
121 | 17, 17
122 |
123 |
124 | 107, 17
125 |
126 |
--------------------------------------------------------------------------------
/WowItemMaker/SetConn.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.ComponentModel;
4 | using System.Data;
5 | using System.Drawing;
6 | using System.Text;
7 | using System.Windows.Forms;
8 | //using MySQLDriverCS;
9 | using MySql.Data.MySqlClient;
10 | using System.Threading;
11 | using Microsoft.Win32;
12 |
13 | namespace WOWItemMaker
14 | {
15 | public partial class SetConn : Form
16 | {
17 | public SetConn()
18 | {
19 | InitializeComponent();
20 | }
21 |
22 |
23 | private void CloseBtn_Click(object sender, EventArgs e)
24 | {
25 | this.Close();
26 | }
27 |
28 | private void GetDBListBtn_Click(object sender, EventArgs e)
29 | {
30 | Thread GetList = new Thread(new ParameterizedThreadStart(GetDBList));
31 | string host = HostNameTextBox.Text;
32 | uint port = 3306;
33 | if (host.LastIndexOf(':') > -1)
34 | {
35 | int pos = host.LastIndexOf(':');
36 | try
37 | {
38 | port = uint.Parse(host.Substring(pos + 1));
39 | }
40 | catch { }
41 | host = host.Substring(0, pos);
42 | }
43 | GetList.Start("Password=" + PWDTextBox.Text + ";User ID=" + UserNameTextBox.Text + ";Data Source=" + host + ";port=" + port + ";CharSet=gbk");
44 | }
45 | private void GetDBList(object strConn)
46 | {
47 | MyInvoke mi = new MyInvoke(miGetDBList);
48 | try
49 | {
50 | MySqlConnection Conn = new MySqlConnection(strConn.ToString());
51 | MySqlCommand setname = new MySqlCommand("set names 'gbk';", Conn);
52 | MySqlDataAdapter adp = new MySqlDataAdapter("SHOW DATABASES;", Conn);
53 | DataSet ds = new DataSet();
54 | Conn.Open();
55 | setname.ExecuteNonQuery();
56 | setname.Dispose();
57 | adp.Fill(ds);
58 | DBListInfo.DBList1 = ds;
59 | this.Invoke(mi, "true");
60 | }
61 | catch
62 | {
63 | this.Invoke(mi, "false");
64 | }
65 | }
66 | private void miGetDBList(string result)
67 | {
68 | if (result == "true")
69 | {
70 | DBList.Items.Clear();
71 | foreach (DataRow dr in DBListInfo.DBList1.Tables[0].Rows)
72 | {
73 | DBList.Items.Add(dr["Database"].ToString());
74 | }
75 | }
76 | else if (result == "false")
77 | {
78 | DBList.Items.Clear();
79 | }
80 | }
81 |
82 | private void ConnBtn_Click(object sender, EventArgs e)
83 | {
84 | if (DbStructList.Text.Length == 0)
85 | {
86 | MessageBox.Show("必须选择数据库结构!", "连接数据库");
87 | return;
88 | }
89 | this.Enabled = false;
90 | Thread TestCon = new Thread(new ParameterizedThreadStart(TestConn));
91 | TestCon.Start(getConnString());
92 | }
93 | private void TestConn(object strConn)
94 | {
95 | MySqlConnection Conn = null;
96 | Conn = new MySqlConnection(strConn.ToString());
97 | MyInvoke mi = new MyInvoke(miTestConn);
98 | try
99 | {
100 | Conn.Open();
101 | this.Invoke(mi, "true");
102 | }
103 | catch(Exception err)
104 | {
105 | this.Invoke(mi, "false" + err.Message);
106 | }
107 | finally
108 | {
109 | Conn.Close();
110 | }
111 |
112 | }
113 | public void miTestConn(string result)
114 | {
115 | if (result == "true")
116 | {
117 | ConnInfo.HostName = HostNameTextBox.Text;
118 | ConnInfo.UserName = UserNameTextBox.Text;
119 | ConnInfo.PassWord = PWDTextBox.Text;
120 | ConnInfo.DataBase = DBList.Text;
121 | ConnInfo.Stat = true;
122 | this.Enabled = true;
123 | this.Close();
124 | }
125 | else if (result.IndexOf("false") == 0)
126 | {
127 | this.Enabled = true;
128 | string errMsg = result.Substring(5);
129 | MessageBox.Show("连接失败!\r\n" + errMsg, "测试连接");
130 | }
131 | else
132 | {
133 | this.Enabled = true;
134 | }
135 |
136 | }
137 |
138 | private void SetConn_Load(object sender, EventArgs e)
139 | {
140 | HostNameTextBox.Text = ConnInfo.HostName;
141 | if (ConnInfo.Port != 3306)
142 | HostNameTextBox.Text += ":" + ConnInfo.Port;
143 | UserNameTextBox.Text = ConnInfo.UserName;
144 | PWDTextBox.Text = ConnInfo.PassWord;
145 | DBList.Text = ConnInfo.DataBase;
146 | DbStructList.Text = ConnInfo.Dbstruct;
147 | SaveConnInfoCheckBox.Checked = ConnInfo.SaveConnInfo;
148 | SavePwdCheckBox.Checked = ConnInfo.SavePwd;
149 | }
150 |
151 | private void SaveConnInfoCheckBox_CheckedChanged(object sender, EventArgs e)
152 | {
153 | if (this.SaveConnInfoCheckBox.Checked)
154 | {
155 | SavePwdCheckBox.Enabled = true;
156 | }
157 | else
158 | {
159 | SavePwdCheckBox.Enabled = false;
160 | }
161 | ConnInfo.SaveConnInfo = SaveConnInfoCheckBox.Checked;
162 | }
163 |
164 | private void DbStructList_SelectedIndexChanged(object sender, EventArgs e)
165 | {
166 | ConnInfo.Dbstruct = DbStructList.Text;
167 | }
168 |
169 | private void SavePwdCheckBox_CheckedChanged(object sender, EventArgs e)
170 | {
171 | ConnInfo.SavePwd = SavePwdCheckBox.Checked;
172 | }
173 |
174 | private string getConnString()
175 | {
176 | string HostName = HostNameTextBox.Text;
177 | uint port = 3306;
178 | string UserName = UserNameTextBox.Text.Trim();
179 | string PWD = PWDTextBox.Text.Trim();
180 | string db = DBList.Text;
181 | if (HostName.LastIndexOf(':') > -1)
182 | {
183 | int pos = HostName.LastIndexOf(':');
184 | try
185 | {
186 | port = uint.Parse(HostName.Substring(pos + 1));
187 | }
188 | catch { }
189 | HostName = HostName.Substring(0, pos);
190 | }
191 | string strConn = "Database=" + db + ";Data Source=" + HostName + ";port=" + port + ";User Id=" + UserName + ";Password=" + PWD;
192 | return strConn;
193 | }
194 | }
195 | public class DBListInfo
196 | {
197 | private static DataSet _DBList;
198 |
199 | public static DataSet DBList1
200 | {
201 | get { return DBListInfo._DBList; }
202 | set { DBListInfo._DBList = value; }
203 | }
204 | }
205 | }
206 |
--------------------------------------------------------------------------------
/WowItemMaker/FrmMPQMaker.Designer.cs:
--------------------------------------------------------------------------------
1 | namespace WOWItemMaker
2 | {
3 | partial class FrmMPQMaker
4 | {
5 | ///
6 | /// Required designer variable.
7 | ///
8 | private System.ComponentModel.IContainer components = null;
9 |
10 | ///
11 | /// Clean up any resources being used.
12 | ///
13 | /// true if managed resources should be disposed; otherwise, false.
14 | protected override void Dispose(bool disposing)
15 | {
16 | if (disposing && (components != null))
17 | {
18 | components.Dispose();
19 | }
20 | base.Dispose(disposing);
21 | }
22 |
23 | #region Windows Form Designer generated code
24 |
25 | ///
26 | /// Required method for Designer support - do not modify
27 | /// the contents of this method with the code editor.
28 | ///
29 | private void InitializeComponent()
30 | {
31 | this.Btn_Cancle = new System.Windows.Forms.Button();
32 | this.Btn_Ok = new System.Windows.Forms.Button();
33 | this.label1 = new System.Windows.Forms.Label();
34 | this.TXT_FileName = new System.Windows.Forms.TextBox();
35 | this.Btn_OpenDialog = new System.Windows.Forms.Button();
36 | this.saveFileDialog1 = new System.Windows.Forms.SaveFileDialog();
37 | this.LB_State = new System.Windows.Forms.Label();
38 | this.SuspendLayout();
39 | //
40 | // Btn_Cancle
41 | //
42 | this.Btn_Cancle.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
43 | this.Btn_Cancle.Location = new System.Drawing.Point(397, 79);
44 | this.Btn_Cancle.Name = "Btn_Cancle";
45 | this.Btn_Cancle.Size = new System.Drawing.Size(75, 23);
46 | this.Btn_Cancle.TabIndex = 0;
47 | this.Btn_Cancle.Text = "关闭";
48 | this.Btn_Cancle.UseVisualStyleBackColor = true;
49 | this.Btn_Cancle.Click += new System.EventHandler(this.Btn_Cancle_Click);
50 | //
51 | // Btn_Ok
52 | //
53 | this.Btn_Ok.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
54 | this.Btn_Ok.Location = new System.Drawing.Point(316, 79);
55 | this.Btn_Ok.Name = "Btn_Ok";
56 | this.Btn_Ok.Size = new System.Drawing.Size(75, 23);
57 | this.Btn_Ok.TabIndex = 1;
58 | this.Btn_Ok.Text = "开始";
59 | this.Btn_Ok.UseVisualStyleBackColor = true;
60 | this.Btn_Ok.Click += new System.EventHandler(this.Btn_Ok_Click);
61 | //
62 | // label1
63 | //
64 | this.label1.AutoSize = true;
65 | this.label1.Location = new System.Drawing.Point(12, 9);
66 | this.label1.Name = "label1";
67 | this.label1.Size = new System.Drawing.Size(65, 12);
68 | this.label1.TabIndex = 2;
69 | this.label1.Text = "保存位置:";
70 | //
71 | // TXT_FileName
72 | //
73 | this.TXT_FileName.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
74 | | System.Windows.Forms.AnchorStyles.Right)));
75 | this.TXT_FileName.Location = new System.Drawing.Point(14, 24);
76 | this.TXT_FileName.Name = "TXT_FileName";
77 | this.TXT_FileName.Size = new System.Drawing.Size(377, 21);
78 | this.TXT_FileName.TabIndex = 3;
79 | this.TXT_FileName.Leave += new System.EventHandler(this.TXT_FileName_Leave);
80 | //
81 | // Btn_OpenDialog
82 | //
83 | this.Btn_OpenDialog.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
84 | this.Btn_OpenDialog.Location = new System.Drawing.Point(397, 24);
85 | this.Btn_OpenDialog.Name = "Btn_OpenDialog";
86 | this.Btn_OpenDialog.Size = new System.Drawing.Size(75, 23);
87 | this.Btn_OpenDialog.TabIndex = 4;
88 | this.Btn_OpenDialog.Text = "浏览";
89 | this.Btn_OpenDialog.UseVisualStyleBackColor = true;
90 | this.Btn_OpenDialog.Click += new System.EventHandler(this.Btn_OpenDialog_Click);
91 | //
92 | // saveFileDialog1
93 | //
94 | this.saveFileDialog1.DefaultExt = "MPQ";
95 | this.saveFileDialog1.FileName = "patch-zhTW-6.MPQ";
96 | this.saveFileDialog1.Filter = "MPQ文件|*.mpq|所有文件|*.*";
97 | this.saveFileDialog1.FileOk += new System.ComponentModel.CancelEventHandler(this.saveFileDialog1_FileOk);
98 | //
99 | // LB_State
100 | //
101 | this.LB_State.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
102 | | System.Windows.Forms.AnchorStyles.Right)));
103 | this.LB_State.Location = new System.Drawing.Point(12, 53);
104 | this.LB_State.Name = "LB_State";
105 | this.LB_State.Size = new System.Drawing.Size(460, 23);
106 | this.LB_State.TabIndex = 5;
107 | this.LB_State.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
108 | //
109 | // FrmMPQMaker
110 | //
111 | this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
112 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
113 | this.ClientSize = new System.Drawing.Size(484, 114);
114 | this.Controls.Add(this.LB_State);
115 | this.Controls.Add(this.Btn_OpenDialog);
116 | this.Controls.Add(this.TXT_FileName);
117 | this.Controls.Add(this.label1);
118 | this.Controls.Add(this.Btn_Ok);
119 | this.Controls.Add(this.Btn_Cancle);
120 | this.MaximizeBox = false;
121 | this.MaximumSize = new System.Drawing.Size(500, 150);
122 | this.MinimumSize = new System.Drawing.Size(500, 150);
123 | this.Name = "FrmMPQMaker";
124 | this.ShowIcon = false;
125 | this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
126 | this.Text = "问号补丁生成工具";
127 | this.Load += new System.EventHandler(this.FrmMPQMaker_Load);
128 | this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.FrmMPQMaker_FormClosing);
129 | this.ResumeLayout(false);
130 | this.PerformLayout();
131 |
132 | }
133 |
134 | #endregion
135 |
136 | private System.Windows.Forms.Button Btn_Cancle;
137 | private System.Windows.Forms.Button Btn_Ok;
138 | private System.Windows.Forms.Label label1;
139 | private System.Windows.Forms.TextBox TXT_FileName;
140 | private System.Windows.Forms.Button Btn_OpenDialog;
141 | private System.Windows.Forms.SaveFileDialog saveFileDialog1;
142 | private System.Windows.Forms.Label LB_State;
143 | }
144 | }
--------------------------------------------------------------------------------
/WowItemMaker/Class/LibDBC.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 | using System.IO;
5 | using System.Data;
6 | using System.Collections;
7 | using System.Text.RegularExpressions;
8 |
9 | namespace WOWItemMaker
10 | {
11 | class LibDBC
12 | {
13 | public static DataTable GetData(string filename)
14 | {
15 | DataTable dt = new DataTable();
16 | if (!File.Exists(filename))
17 | throw new FileNotFoundException("文件不存在。" + filename);
18 | //打开文件
19 | FileStream file = new FileStream(filename, FileMode.Open, FileAccess.Read);
20 | BinaryReader br = new BinaryReader(file);
21 | if (br.ReadUInt32() != 0x43424457) // WDBC标志
22 | throw new Exception("该文件不是有效的DBC文件。");
23 | int rowcount, colcount, rowlen, textlen;
24 | rowcount = br.ReadInt32();//行数
25 | colcount = br.ReadInt32();//列数
26 | rowlen = br.ReadInt32();//行字节数
27 | textlen = br.ReadInt32();//文本块字节数
28 | for (int i = 0; i < colcount; i++)
29 | {
30 | dt.Columns.Add((i + 1).ToString(), typeof(object));
31 | }
32 | br.BaseStream.Position = br.BaseStream.Length - textlen;
33 | byte[] textData = br.ReadBytes(textlen);
34 | br.BaseStream.Position = 20;
35 | for (int rowindex = 0; rowindex < rowcount; rowindex++)
36 | {
37 | byte[] rowData = br.ReadBytes(rowlen);
38 | object[] obj_cells = new object[colcount];
39 | for (int colindex = 0; colindex < colcount; colindex++)
40 | {
41 | byte[] cellData = new byte[4];
42 | for (int i = 0; i < 4; i++)
43 | {
44 | int pos = 4 * colindex + i;
45 | if (pos >= rowData.Length)
46 | break;
47 | cellData[i] = rowData[pos];
48 | }
49 | obj_cells[colindex] = bytes2int(cellData);
50 | }
51 | dt.Rows.Add(obj_cells);
52 | }
53 | file.Close();
54 | //处理字符字段
55 | Dictionary dic_textData = new Dictionary();
56 | ArrayList list_curText = new ArrayList();
57 | for (int i = 1; i < textData.Length; i++)
58 | {
59 | if (textData[i] != 0)
60 | list_curText.Add(textData[i]);
61 | else
62 | {
63 | byte[] curText = (byte[])list_curText.ToArray(typeof(byte));
64 | dic_textData.Add(i - list_curText.Count, Encoding.UTF8.GetString(curText));
65 | list_curText.Clear();
66 | }
67 | }
68 | int[] array_textcols = findTextColumns(0, dt, dic_textData);
69 | return dt;
70 | }
71 |
72 | public static void SaveData(string filename, DataTable dt)
73 | {
74 | //准备写入文件
75 | bool[] isTextCol = new bool[dt.Columns.Count];
76 | bool hasTextCol = false;
77 | Regex reg = new Regex("^(-)|()\\d+$");
78 | for (int i = 0; i < dt.Columns.Count; i++)
79 | {
80 | for (int j = 0; j < dt.Rows.Count; j++)
81 | {
82 | //不是整数就认为是字符
83 | if (!reg.Match(dt.Rows[j][i].ToString()).Success)
84 | {
85 | isTextCol[i] = true;
86 | hasTextCol = true;
87 | break;
88 | }
89 | }
90 | }
91 | ArrayList arr_textData = new ArrayList();//字符字节数组
92 | arr_textData.Add(new byte());
93 | if (hasTextCol)
94 | {
95 | for (int i = 0; i < dt.Rows.Count; i++)
96 | {
97 | for (int j = 0; j < dt.Columns.Count; j++)
98 | {
99 | if (isTextCol[j])
100 | {
101 | int curPos = arr_textData.Count;
102 | arr_textData.AddRange(Encoding.UTF8.GetBytes(dt.Rows[i][j].ToString()));
103 | arr_textData.Add(new byte());
104 | dt.Rows[i][j] = curPos;
105 | }
106 | }
107 | }
108 | }
109 | //开始写入
110 | FileStream fs = new FileStream(filename, FileMode.Create);
111 | BinaryWriter bw = new BinaryWriter(fs);
112 | bw.Write(0x43424457);// WDBC标志
113 | bw.Write(dt.Rows.Count);//行数
114 | bw.Write(dt.Columns.Count);//列数
115 | bw.Write(4 * dt.Columns.Count);//行字节数
116 | bw.Write(arr_textData.Count);//文本块字节数
117 | for (int i = 0; i < dt.Rows.Count; i++)
118 | {
119 | for (int j = 0; j < dt.Columns.Count; j++)
120 | {
121 | int celldata = 0;
122 | try
123 | {
124 | celldata = int.Parse(dt.Rows[i][j].ToString());
125 | }
126 | catch
127 | { }
128 | bw.Write(celldata);
129 | }
130 | }
131 | bw.Write((byte[])arr_textData.ToArray(typeof(byte)));
132 | bw.Close();
133 | fs.Close();
134 | }
135 |
136 | private static byte[] int2byte(int i)
137 | {
138 | byte[] abyte0 = new byte[4];
139 | abyte0[0] = (byte)(0xff & i);
140 | abyte0[1] = (byte)((0xff00 & i) >> 8);
141 | abyte0[2] = (byte)((0xff0000 & i) >> 16);
142 | abyte0[3] = (byte)((0xff000000 & i) >> 24);
143 | return abyte0;
144 | }
145 |
146 | private static int bytes2int(byte[] bytes)
147 | {
148 | int ret = 0;
149 | ret |= (int)(bytes[0] & 0xff) << 0;
150 | ret |= (int)(bytes[1] & 0xff) << 8;
151 | ret |= (int)(bytes[2] & 0xff) << 16;
152 | ret |= (int)(bytes[3] & 0xff) << 24;
153 |
154 | return ret;
155 | }
156 |
157 | private static int[] findTextColumns(int startIndex, DataTable dt,Dictionary dic_textData)
158 | {
159 | if (dt.Columns.Count == 0 || dic_textData.Count == 0)
160 | return new int[0];
161 | ArrayList ret = new ArrayList();
162 | ArrayList arr_except = new ArrayList();
163 | bool[] isZeroCol = new bool[dt.Columns.Count];
164 | for (int i = 0; i < isZeroCol.Length; i++)
165 | {
166 | isZeroCol[i] = true;
167 | }
168 | int curIndex = 1;
169 | for (int rowindex = 0; rowindex < dt.Columns.Count; rowindex++)
170 | {
171 | if (rowindex >= dt.Rows.Count)
172 | break;
173 | DataRow dr = dt.Rows[rowindex];
174 | for (int colindex = 0; colindex < dt.Columns.Count; colindex++)
175 | {
176 | if (dic_textData.ContainsKey(curIndex) && curIndex == int.Parse(dr[colindex].ToString()))
177 | {
178 | ret.Add(colindex);
179 | curIndex = curIndex + 1 + Encoding.UTF8.GetBytes(dic_textData[curIndex]).Length;
180 | }
181 | }
182 | }
183 | return (int[])ret.ToArray(typeof(int));
184 | }
185 | }
186 | }
187 |
--------------------------------------------------------------------------------
/WowItemMaker/FrmGetSql.resx:
--------------------------------------------------------------------------------
1 |
2 |
3 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 |
100 |
101 |
102 |
103 |
104 |
105 |
106 |
107 |
108 |
109 | text/microsoft-resx
110 |
111 |
112 | 2.0
113 |
114 |
115 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
116 |
117 |
118 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
119 |
120 |
121 | 17, 17
122 |
123 |
124 |
125 |
126 | AAABAAEAICAEAAAAAADoAgAAFgAAACgAAAAgAAAAQAAAAAEABAAAAAAAAAIAAAAAAAAAAAAAAAAAAAAA
127 | AAAAAAAAAACAAACAAAAAgIAAgAAAAIAAgACAgAAAgICAAMDAwAAAAP8AAP8AAAD//wD/AAAA/wD/AP//
128 | AAD///8AzMzMzMzMxEzMzMzMzMzMzEQAAAAAAAQAAAAAAAAAAEzAAAAAAAAE4AAAAAAAAAAMwAAAAAAA
129 | AG5AAAAAAAAADMAAAAAAAABH/AAADEAAAAzAAAAAAAAG6I/AAAD3B4AEwAAAAAAARs7o9wAASM9ABMAA
130 | AAAABmZm6I/E6Ej2RADAAAAAAABG7u7ujExI+MiEwAAABEbu7u7u7uhAeEjEAEQEAARMzOiO7u7udocI
131 | hEBERETHzu6I//+I7oxgAIfETEfMiP////////jnQEAMVExc7uj/ju7uj/+Ih8QEAERMzu6O7mZmZmaP
132 | +IjERERETO7o7sZu7u7uZoiIzEREREzu6GRmZmRu7uZuiHxUTIRM5udmZkRG7u7mZuiMxEyFTM7uZmRE
133 | Zm7mbmbujHhERERM7mRkRERERmbmbu7MxERERO7sZkRERERk5m7uzMxERETu7m5mRmRERERu7szMxETE
134 | Tu7mbmTmRERE7ubsxUREREDO5mZmbubu7u7m7MVExAd2TM7mZmbu7u7u7uzMRFTHiERE7mbMRMzMxu7G
135 | RETEDIjsREzGbMxMzG7EZERExAQHzMxkRGZmZMzEiERERMAAQARMzMRkTMZExMjEZmTAAAAAAERMbMxs
136 | ZmZEZmzExAAEQMRERERmZsZmbMZmxMzMzMx8xVREREREREREREQAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
137 | AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
138 | AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==
139 |
140 |
141 |
--------------------------------------------------------------------------------
/WowItemMaker/AboutForm.resx:
--------------------------------------------------------------------------------
1 |
2 |
3 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 |
100 |
101 |
102 |
103 |
104 |
105 |
106 |
107 |
108 |
109 | text/microsoft-resx
110 |
111 |
112 | 2.0
113 |
114 |
115 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
116 |
117 |
118 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
119 |
120 |
121 | 17, 17
122 |
123 |
124 | 118, 17
125 |
126 |
127 |
128 |
129 | AAABAAEAICAEAAAAAADoAgAAFgAAACgAAAAgAAAAQAAAAAEABAAAAAAAAAIAAAAAAAAAAAAAAAAAAAAA
130 | AAAAAAAAAACAAACAAAAAgIAAgAAAAIAAgACAgAAAgICAAMDAwAAAAP8AAP8AAAD//wD/AAAA/wD/AP//
131 | AAD///8AzMzMzMzMxEzMzMzMzMzMzEQAAAAAAAQAAAAAAAAAAEzAAAAAAAAE4AAAAAAAAAAMwAAAAAAA
132 | AG5AAAAAAAAADMAAAAAAAABH/AAADEAAAAzAAAAAAAAG6I/AAAD3B4AEwAAAAAAARs7o9wAASM9ABMAA
133 | AAAABmZm6I/E6Ej2RADAAAAAAABG7u7ujExI+MiEwAAABEbu7u7u7uhAeEjEAEQEAARMzOiO7u7udocI
134 | hEBERETHzu6I//+I7oxgAIfETEfMiP////////jnQEAMVExc7uj/ju7uj/+Ih8QEAERMzu6O7mZmZmaP
135 | +IjERERETO7o7sZu7u7uZoiIzEREREzu6GRmZmRu7uZuiHxUTIRM5udmZkRG7u7mZuiMxEyFTM7uZmRE
136 | Zm7mbmbujHhERERM7mRkRERERmbmbu7MxERERO7sZkRERERk5m7uzMxERETu7m5mRmRERERu7szMxETE
137 | Tu7mbmTmRERE7ubsxUREREDO5mZmbubu7u7m7MVExAd2TM7mZmbu7u7u7uzMRFTHiERE7mbMRMzMxu7G
138 | RETEDIjsREzGbMxMzG7EZERExAQHzMxkRGZmZMzEiERERMAAQARMzMRkTMZExMjEZmTAAAAAAERMbMxs
139 | ZmZEZmzExAAEQMRERERmZsZmbMZmxMzMzMx8xVREREREREREREQAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
140 | AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
141 | AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==
142 |
143 |
144 |
--------------------------------------------------------------------------------
/WowItemMaker/Data/复件 spellid.txt:
--------------------------------------------------------------------------------
1 | 0,无属性
2 | 40733,圣盾术:免疫所有攻击和法术。永久存在
3 | 28347,装备:使你的攻击强度提高600点。(持续掉血)
4 | 24243,装备:提高法术强度840点。
5 | 35830,装备:提高法术强度642点。
6 | 35832,装备:提高法术强度683点。
7 | 35835,装备:提高法术强度934点。
8 | 35842,装备:提高法术强度700点。
9 | 35844,装备:提高法术强度959点。
10 | 35854,装备:提高法术强度698点。
11 | 35855,装备:提高法术强度954点。
12 | 35902,装备:提高法术强度907点。
13 | 31750,装备:提高法术强度1000点。
14 | 40999,使用:法术伤害和治疗效果提高41点。
15 | 44183,装备:使你的法术伤害和治疗效果提高,数值相当于你的智力总值的25%。
16 | 41406;使用:法术伤害和治疗效果提高。
17 | 36479,击中时可能:使你的移动速度提高50%,近战攻击速度提高20%,持续30秒。
18 | 46699,装备:索利达尔在弓弦张开时会自动制造魔法箭,无须额外配备箭矢。
19 | 43219,装备:你的攻击无视目标的112点护甲值。
20 | 11789,装备:使你可以在水下呼吸。
21 | 13587,装备:坐骑速度提高3%。
22 | 17625,装备:移动速度和生命值回复速度提高。
23 | 16620,装备:有5%的几率在被击中之后完全不受物理攻击的伤害,持续3秒。这种效果每30秒只能激活一次。
24 | 21185,装备:在杀死一个敌人并获得经验值之后获得150点法力值或者20点怒气值。此效果每10秒钟内最多出现一次。
25 | 7219,装备:免疫缴械。
26 | 15874,装备:斧类武器技能提高7点。
27 | 7546,装备:锤类武器技能提高2点。
28 | 7578,装备:匕首技能提高7点。
29 | 7527,装备:剑类武器技能提高7点。
30 | 7560,装备:双手锤技能提高7点。
31 | 15771,装备:双手剑技能提高8点。
32 | 15768,装备:双手斧技能提高10点。
33 | 7569,装备:弓箭技能提高4点。
34 | 22188,装备:弩技能提高4点。
35 | 18196,装备:防御技能提高15点。
36 | 23719,装备:+98攻击强度
37 | 21462,装备:+91攻击强度。
38 | 18198,装备:对亡灵的攻击强度提高66点。
39 | 17352,击中时可能:对亡灵的攻击强度提高200点,持续10秒。
40 | 18076,装备:对野兽的攻击强度提高72点。
41 | 14098,装备:对恶魔的攻击强度提高117点。
42 | 24994,装备:在猎豹、熊或巨熊形态下的攻击强度提高154点。
43 | 15600,装备:击中目标后有2%的几率获得1次额外的攻击机会。
44 | 13667,装备:使你招架攻击的几率提高2%。
45 | 7598,装备:提高你的攻击造成致命一击的几率2%
46 | 9405,装备:使你造成致命一击的几率提高5%
47 | 15465,装备:使你击中目标的几率提高2%。
48 | 13670,装备:使你躲闪攻击的几率提高2%。
49 | 23689,装备:在攻击敌人时有可能为使用者回复120到180点生命值。
50 | 21958,装备:使你抵抗昏迷和恐惧效果的几率提高1%。
51 | 21485,装备:使你用盾牌格挡攻击的几率提高5%。
52 | 23562,装备:使你的盾牌的格挡值提高30点。
53 | 22618,装备:成功格挡之后,盾牌会释放电荷,对附近的所有敌人造成伤害。同时也有一定几率损坏盾牌。
54 | 22620,装备:被击中之后有1%的几率使所有队友的护甲值提高250点,持续30秒。
55 | 12956,装备:防御值提高3点,暗影抗性提高10点,生命值恢复速度提高。
56 | 15594,装备:被击中之后有1%的几率使你受到的所有伤害减少25点,持续10秒。
57 | 17495,装备:每次成功格挡都会对攻击者造成5到35点伤害。
58 | 8397,装备:有2%的几率在被击中后使你被一层神圣护盾保护。
59 | 9778,装备:在战斗中被击中之后有3%的几率回复60到100点生命值。
60 | 15438,装备:在被击中之后对攻击者造成3点奥术伤害。
61 | 21142,装备:对使用近战武器攻击你的敌人造成5点火焰伤害。
62 | 23266,装备:被击中之后对攻击者造成13点火焰伤害。
63 | 16550,装备:当你受到致命一击时,对攻击者造成60到90点伤害。
64 | 16611,装备:被击中之后有3%的几率在4秒内从攻击者身上偷取120点生命值。
65 | 13959,装备:在战斗中被敌人击中之后,有5%的机会对攻击者造成35到65点暗影伤害。
66 | 7619,装备:在战斗中被敌人击中之后,有1%的机会对攻击者造成105到175点暗影伤害。
67 | 16559,击中时可能:使施法者被火焰之盾保护15秒,并对附近的所有敌人造成130到170点伤害。
68 | 19409,装备:在战斗中被敌人击中之后有3%的几率以白骨保护施法者,使其护甲提高150点,持续20秒。
69 | 18097,装备:被击中之后有1%的几率使你获得荆棘之盾,对攻击者造成3点自然伤害,并使你的自然抗性提高50点,持续30秒。
70 | 18816,装备:在战斗中被击中之后有1%的几率对你身边的所有目标造成75到125点火焰伤害。
71 | 17506,击中时可能:令目标每3秒损失12点生命值和法力值,持续30秒。
72 | 23605,击中时可能:使敌人的法术抗性降低60点,持续5秒。
73 | 22850,击中时可能:激活之后,佩戴者可以获得13点防御值和300点护甲值,持续10秒。
74 | 21919,击中时可能:使你的下次攻击变为两次连续攻击。
75 | 15494,击中时可能:使你的下次攻击获得2次额外的攻击机会。
76 | 18278,击中时可能:使一个目标沉默,在6秒内不能施法。
77 | 16908,击中时可能:驱散敌方目标身上的一个魔法效果。
78 | 21152,击中时可能:将附近所有的敌人击倒3秒。
79 | 17500,击中时可能:将目标打傻2秒,使你的力量提高50点,持续30秒。
80 | 56,击中时可能:使目标昏迷3秒。
81 | 15283,击中时可能:使目标昏迷8秒。
82 | 24241,装备:有一定几率在近战攻击命中目标后使其瘫痪,造成452到676点伤害。
83 | 16927,击中时可能:目标的移动速度降低到普通速度的30%,攻击速度降低20%。持续5秒。
84 | 22639,击中时可能:使敌人的移动速度降低60%,并在接下来的30秒内不断流血,承受总计150点伤害。
85 | 17331,击中时可能:使目标的施法速度、近战和远程攻击速度都降低10%,持续10秒。
86 | 23719,击中时可能:力量提高300点,持续8秒。
87 | 16916,击中时可能:为自己回复270到450点生命值,并使力量提高120点,持续30秒。
88 | 15602,击中时可能:攻击强度提高50点,持续30秒。
89 | 16928,击中时可能:敌人的护甲值降低200点,可叠加3次。
90 | 21153,击中时可能:使目标的护甲降低700点,持续10秒。
91 | 21165,击中时可能:使你的攻击速度提高20%,持续10秒。
92 | 13533,击中时可能:使你的攻击速度提高30%,持续10秒。
93 | 12686,击中时可能:使你对目标造成的伤害提高20点,攻击速度提高5%,持续15秒。
94 | 13534,击中时可能:使目标在10秒内无法使用武器作战。
95 | 9800,击中时可能:以神圣护盾保护施法者。
96 | 13752,击中时可能:使目标的护甲降低100点,持续30秒。在效果持续期间,目标无法潜行或隐形。
97 | 13532,击中时可能:以雷霆震击附近的敌人,使它们的攻击速度降低10%,持续10秒,并对它们造成7点自然伤害。最多可影响4个目标。
98 | 17196,击中时可能:使施法者身边半径8码范围内的敌人的所有属性降低,每3秒对它们造成20点自然伤害,持续30秒。
99 | 16921,击中时可能:对最多3个目标造成105到145点自然伤害。
100 | 21949,击中时可能:使目标的伤口不断流血,在30秒内造成累计230点伤害。
101 | 18656,击中时可能:腐蚀目标,在3秒内造成累计210点伤害。
102 | 16551,击中时可能:下3秒的所有攻击都一定命中,并且一定是致命一击。
103 | 10373,击中时可能:使目标遭到重创,对其造成250到350点伤害。
104 | 16549,击中时可能:对目标造成324到540点伤害。
105 | 9796,击中时可能:使目标感染疾病,对其造成50点自然伤害,并在接下来的1分钟内造成总计180点额外伤害。
106 | 17148,击中时可能:对目标造成200到300点伤害,并使它们的智力值降低25点,持续30秒。
107 | 17407,击中时可能:对目标造成50到150点伤害,并在接下来的25秒内每1秒造成6点伤害。
108 | 18086,击中时可能:冲击目标,对其造成150点火焰伤害。
109 | 19260,击中时可能:冲击目标,对其造成160到250点冰霜伤害。
110 | 18091,击中时可能:冲击目标,对其造成85点奥术伤害。
111 | 18104,击中时可能:冲击目标,对其造成90到126点自然伤害。
112 | 16898,击中时可能:在30秒内对目标造成总计100点伤害。
113 | 23686,装备:有一定几率对你的近战目标造成200到300点自然伤害。
114 | 7721,装备:为你的武器攻击附加4点火焰伤害。
115 | 16615,装备:为你的武器攻击附加3点闪电伤害。
116 | 18799,装备:被击中之后有1%的几率对攻击者造成50点冰霜伤害,并使其被冻结,持续5秒。
117 | 16415,击中时可能:发射一枚火球攻击目标,对其造成180到220点火焰伤害,并在8秒内造成额外的36点伤害。
118 | 18211,击中时可能:向目标射出一支暗影箭,对其造成125到275点暗影伤害。
119 | 17483,击中时可能:向目标射出一支暗影箭,对其造成150点暗影伤害,并在接下来的30秒内每2秒造成8点伤害。
120 | 2521151,击中时可能:向敌人发射一支暗影箭,对其造成75点暗影伤害,并使所有属性降低
121 | 13439,击中时可能:向目标射出一支寒冰箭,对其造成20到30点冰霜伤害并使其移动速度降低50%,持续5秒。
122 | 13049,击中时可能:召唤翡翠雏龙,在短时间内为你作战。
123 | 16602,击中时可能:召唤沙赫拉姆的灵魂。
124 | 21170,击中时可能:吸取敌人100到180点生命值,并将其转移给施法者。
125 | 23729,装备:使你的法术击中敌人的几率提高2%。
126 | 18382,装备:使你的法术造成致命一击的几率提高2%。
127 | 23701,装备:使携带者有10%的几率复活,生命值和法力值回复20%。
128 | 21641,装备:每5秒回复14点法力值。
129 | 23212,装备:每5秒回复16点法力值。
130 | 23210,装备:每5秒恢复16点生命值。(拉格纳罗斯)
131 | 23688,装备:在成功施放法术之后有2%的几率在施法时可继续保持法力值回复,持续15秒。
132 | 24392,装备:你的寒冰箭法术有6%的几率在施放时为你恢复50点法力值。
133 | 23728,装备:提高所有法术和魔法效果所造成的伤害和治疗效果,最多84点。
134 | 21509,装备:提高神圣法术和效果所造成的伤害,最多16点。
135 | 17829,装备:提高奥术法术和效果所造成的伤害,最多34点。
136 | 17878,装备:提高火焰法术和效果所造成的伤害,最多43点。
137 | 17901,装备:提高冰霜法术和效果所造成的伤害,最多40点。
138 | 23265装备:增加暗影魔法和效果的伤害69点。
139 | 17997,装备:提高自然法术和效果所造成的伤害,最多40点。
140 | 23593,装备:提高法术所造成的治疗效果,最多92点。
141 | 23929,装备:每5秒恢复10点法力值
142 | 23929,装备:增加法术所造成的伤害及治疗效果,最多113点
143 | 6084召唤黑豹
144 | 17490,使用:召唤一个骷髅为你作战,持续1分钟。
145 | 11840,使用:召唤艾丹娜·邪爪。
146 | 6251,使用:召唤一门火炮,对前方正在攻击你的敌人开火。
147 | 18307,使用:召唤巴罗夫家族的3个仆人为你战斗、做饭和打扫。
148 | 14530,使用:使你的奔跑速度提高40%,持续10.00秒。
149 | 8892,使用:这双看起来就很危险的靴子可以使你的速度提高70,持续20秒。但是它们很可能突然爆炸,所以请小心使用。
150 | 12438,使用:使你的坠落速度减缓10秒。
151 | 13237,使用:对半径5码范围内的所有敌人造成383到517点火焰伤害,并使它们昏迷,持续3秒。
152 | 22641,使用:向目标冲锋,将其打傻30秒。这个技能也会使你被击倒并在短时间内昏迷。任何伤害都会唤醒目标。
153 | 13278,使用:这件设备可以将你的生命能量以强力冲击波的形式发射出去,攻击你的敌人。
154 | 13120,使用:使目标被困在网中,持续10秒。这张网带有许多倒钩,不过有时候会令使用者自己倒霉……
155 | 13234,使用:制造一个力场,替你在接下来的10分钟内吸收500点伤害。警告:力场有可能因受到冲击而过载,并暂时将佩戴者转移到另一个维度。
156 | 13141,使用:这双靴子可以显著提高你的移动速度,持续20秒。警告:能源系统和传动系统并非总是运转正常。
157 | 23442,使用:穿透空间限制,将你传送到冬泉谷的永望镇。虽然有些时候可能会发生技术故障,但这难道不是地精工程学的最大亮点吗?
158 | 23453,使用:将你安全地传送到塔纳利斯的加基森。非常非常安全!没错,你完全不必有任何担心!
159 | 19630,萨弗拉斯,炎魔拉格纳罗斯之手
160 | 20007,使用:为自己恢复75到125点生命值,并使力量提高100点,持续15秒。
161 | 22689,使用:每2秒对敌人造成200点伤害,并使其移动速度降到普通速度的50%。持续20秒。
162 | 24658,使用:使你的法术伤害效果提高最多200点,法术治疗效果提高最多400点,持续20秒。你每施放一次法术,此增益的效果就降低25点伤害和50点治疗效果。
163 | 24574,使用:使你的护甲值提高2000点,防御技能提高30点。持续20秒。但你每受到一次近战或远程伤害,这些附加的属性就会降低200点护甲值和3点防御值。
164 | 24661,使用:使你所能造成的近战和远程伤害提高40点,持续20秒。你每击中一次目标,这个数字就减少2点。
165 | 24833,使用:击碎神圣力量之石,在对亡灵作战时获得300点攻击强度的加成,神圣法术伤害提高最多400点。持续10分钟。
166 | 23780,使用:护甲值提高500点,每次受到近战或远程攻击时回复35点生命值,持续20秒。
167 | 23734,使用:使萨满祭司与大自然结盟,法术伤害提高20%,治疗效果提高20%,法力消耗提高20%。效果持续20秒。
168 | 23733,使用:使圣骑士被光芒笼罩,近战攻击速度和施法速度提高25%,持续20秒。
169 | 23726,使用:使敌人感染盗贼毒药的几率提高30%,持续20秒。
170 | 23725,使用:为你回复15%的生命值,并使你的生命值上限提高15%,持续20秒。
171 | 23724,使用:使德鲁伊的所有变形法术所消耗的法力值降低100%,持续20秒。
172 | 23723,使用:使法师的施法速度提高25%,持续20秒。
173 | 23720,使用:强化你的宠物,使其所造成的伤害提高100%,护甲值提高100%,持续30秒。只对小鬼、魅魔、虚空行者或地狱猎犬有效。
174 | 23721,使用:向你灌输奥术能量,使你在10秒内施放的下一次奥术射击在目标身上爆炸,对其身边的敌人造成185到215点伤害。
175 | 21180,使用:将暗影之击转化为雷霆之击。
176 | 18820,使用:减少你在10秒内所施放的下一个法术所消耗的法力值,最多500点。
177 | 13744,使用:使火焰抗性提高50点,受到火焰系攻击时所承受的伤害降低最多25点,持续15秒。
178 | 9774,使用:移除已有的定身法术,并使你在5秒内对定身免疫。
179 | 10578,使用:发射一枚火球攻击目标,对其造成286到376点火焰伤害,并在8秒内造成额外的40点伤害。
180 | 10618,使用:吸收600点魔法伤害,持续2分钟。
181 | 5405,使用:恢复375到425点法力值。
182 | 13494,使用:使你的攻击速度提高50%,持续30秒。
183 | 11826,使用:对施法者面前的所有敌人造成147到167点自然伤害。施法者被闪电护盾保护,持续10分钟。
184 | 12733,使用:护甲值提高50点,所有抗性提高10点,免疫恐惧,持续30秒。
185 | 12766,使用:召唤一朵毒云,每5秒钟对半径8码范围内的敌人造成50点自然伤害。持续45秒。
186 | 12561,使用:吸收300到500点火焰伤害,持续1分钟。
187 | 17447,使用:每1秒将75点生命值转化为法力值,持续10秒。
188 | 15604,使用:每1秒恢复30点法力值,持续10秒。
189 | 15646,使用:使所有法术的法力值消耗减少100点,持续10秒。
190 | 15712,使用:向目标投掷神奇的回旋镖,对其造成113到187点伤害,有一定几率使其昏迷或被缴械。
191 | 17252,使用:保护性的法力护盾环绕施法者,可吸收500点伤害。护盾存在时,法力值的回复速度提高每5秒22点,持续30分钟。
192 | 17275,使用:火焰抗性提高20点,并对任何使用近战武器击中你的敌人造成20点火焰伤害。
193 | 2139,使用:反制敌人的法术,使其在10秒内无法施放任何与该法术属于同一类别的法术。产生很高的威胁值。
194 | 17639,使用:使敌人攻击时的命中几率降低10%,持续12秒。
195 | 17668,使用:以闪电的能量击倒你附近的所有敌人,对它们造成200点自然伤害。
196 | 18264,使用:使半径30码范围内的小队成员的智力提高20点。
197 | 23271,使用:提高所有法术和魔法效果所造成的伤害和治疗效果,最多175点。效果持续15秒。
198 | 5579,使用:解除一切魅惑、恐惧和变形效果。
199 | 24610,使用:使你的法术命中目标的几率提高10%,持续15秒。
200 | 24352,使用:使你的攻击强度提高150点,击中敌人的几率提高2%。这个效果可以持续20秒。
201 | 24389,使用:恢复1到500点法力值,并使你的下一个火焰法术对敌人的伤害提高最多100点。效果持续1分钟。
202 | 24865,使用:使你的近战武器和法术造成致命一击的几率提高3%,持续25秒。
203 | 21978,使用:有一定几率在伤害性法术命中敌人时对其造成100点暗影伤害,并为你回复100点法力值。
--------------------------------------------------------------------------------
/WowItemMaker/SetConn.resx:
--------------------------------------------------------------------------------
1 |
2 |
3 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 |
100 |
101 |
102 |
103 |
104 |
105 |
106 |
107 |
108 |
109 | text/microsoft-resx
110 |
111 |
112 | 2.0
113 |
114 |
115 | System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
116 |
117 |
118 | System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
119 |
120 |
121 |
122 |
123 | AAABAAEAEBAAAAEAIABoBAAAFgAAACgAAAAQAAAAIAAAAAEAIAAAAAAAQAQAAAAAAAAAAAAAAAAAAAAA
124 | AAAAAAAAmais/wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
125 | AAAAAAAAAAAAAJ+Pm/9rhZf/XYKV/0p2jP80bYv/PGyM/4t9jf8AAAAAAAAAAAAAAAAAAAAAAAAAAAAA
126 | AAAAAAAAAAAAAHyDlP9Rr9D/g9Tn/6Dq9f9z4/7/JL3y/wOe3f8Uir3/X2qC/wAAAAAAAAAAAAAAAAAA
127 | AAAAAAAAAAAAAAAAAABTjqn/Tdb+/4/p+f+g6vX/cdjz/yS78f8Bpuf/A5vZ/ypjg/8AAAAAAAAAAAAA
128 | AAAAAAAAAAAAAAAAAAAAAAAAVJCt/0zR+f+M4/X/oOr1/3DW8v8kuO7/Aabn/wOb2f8sZYX/XYKV/0p2
129 | jP80bYv/PGyM/4t9jf8AAAAAAAAAAFeUr/9O0fn/jOPz/6Dq9f9w1vH/JLjt/wGm5/8Dm9n/L2iH/6Dq
130 | 9f9z4/7/JL3y/wOe3f8Uir3/X2qC/wAAAABZmLT/T9D6/43j9P+g6vX/cNbx/yS47f8Bpuf/A5vZ/zBr
131 | if+g6vX/cdjz/yS78f8Bpuf/A5vZ/ypjg/8AAAAAXJq2/0/P+P+M4vT/oOr1/3LY8f8kuO3/Aabn/wOb
132 | 2f8ybYz/oOr1/3DW8v8kuO7/Aabn/wOb2f8sZYX/AAAAAF6duf9Nz/j/jOLz/6Dq9f9v1vH/H7bt/wGm
133 | 5/8Dm9n/NG+O/6Dq9f9w1vH/JLjt/wGm5/8Dm9n/L2iH/wAAAABfobv/R832/4ri8/+g6vX/btXx/x+2
134 | 7f8Bpuf/A5vZ/zFwkf+g6vX/cNbx/yS47f8Bpuf/A5vZ/zBrif8AAAAAa6i//1bT+f+b6/n/qu75/6Xs
135 | 9/+T5vf/cdj1/zy86P9DfJb/oOr1/3LY8f8kuO3/Aabn/wOb2f8ybYz/AAAAAICyxP+a3er/xPj8/8T4
136 | /P/E+Pz/xPj8/8T4/P+f3un/ZpCh/6Dq9f9v1vH/H7bt/wGm5/8Dm9n/NG+O/wAAAADiubz/n6q2/3aq
137 | uf9worL/bJyu/2uarf9vobP/bKnA/4HK3P+g6vX/btXx/x+27f8Bpuf/A5vZ/zFwkf8AAAAAAAAAAAAA
138 | AAAAAAAAAAAAAAAAAAAAAAAAa6i//1bT+f+b6/n/qu75/6Xs9/+T5vf/cdj1/zy86P9DfJb/AAAAAAAA
139 | AAAAAAAAAAAAAAAAAAAAAAAAAAAAAICyxP+a3er/xPj8/8T4/P/E+Pz/xPj8/8T4/P+f3un/ZpCh/wAA
140 | AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADiubz/n6q2/3aquf9worL/bJyu/2uarf9vobP/kp2p/9qx
141 | tP8AAAAAv/8AAID/AAAAfwAAAH8AAAADAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAPwB
142 | AAD8AQAA/AEAAA==
143 |
144 |
145 |
--------------------------------------------------------------------------------
/WowItemMaker/Data/spellid.txt.bak:
--------------------------------------------------------------------------------
1 | 28347,装备:使你的近战和远程攻击强度提高600点。
2 | 24243,装备:提高法术伤害840使所有法术和魔法效果所造成的伤害和治疗效果提高最多840点。
3 | 35830,装备:提高法术伤害642使所有法术和魔法效果所造成的伤害和治疗效果提高最多642点。
4 | 35832,装备:提高法术伤害683使所有法术和魔法效果所造成的伤害和治疗效果提高最多683点。
5 | 35835,装备:提高法术伤害934使所有法术和魔法效果所造成的伤害和治疗效果提高最多934点。
6 | 35842,装备:提高法术伤害700使所有法术和魔法效果所造成的伤害和治疗效果提高最多700点。
7 | 35844,装备:提高法术伤害959使所有法术和魔法效果所造成的伤害和治疗效果提高最多959点。
8 | 35854,装备:提高法术伤害698使所有法术和魔法效果所造成的伤害和治疗效果提高最多698点。
9 | 35855,装备:提高法术伤害954使所有法术和魔法效果所造成的伤害和治疗效果提高最多954点。
10 | 35902,装备:提高法术伤害907使所有法术和魔法效果所造成的伤害和治疗效果提高最多907点。
11 | 36479,击中时可能:使你的移动速度提高50%,近战攻击速度提高20%,持续30秒。
12 | 46699,装备:索利达尔在弓弦张开时会自动制造魔法箭,无须额外配备箭矢。
13 | 43219,装备:你的攻击无视目标的112点护甲值。
14 | 11789,装备:使你可以在水下呼吸。
15 | 13587,装备:坐骑速度提高3%。
16 | 17625,装备:移动速度和生命值回复速度提高。
17 | 16620,装备:有5%的几率在被击中之后完全不受物理攻击的伤害,持续3秒。这种效果每30秒只能激活一次。
18 | 21185,装备:在杀死一个敌人并获得经验值之后获得150点法力值或者20点怒气值。此效果每10秒钟内最多出现一次。
19 | 7219,装备:免疫缴械。
20 | 15874,装备:斧类武器技能提高7点。
21 | 7546,装备:锤类武器技能提高2点。
22 | 7578,装备:匕首技能提高7点。
23 | 7527,装备:剑类武器技能提高7点。
24 | 7560,装备:双手锤技能提高7点。
25 | 15771,装备:双手剑技能提高8点。
26 | 15768,装备:双手斧技能提高10点。
27 | 7569,装备:弓箭技能提高4点。
28 | 22188,装备:弩技能提高4点。
29 | 18196,装备:防御技能提高15点。
30 | 23719,装备:+98攻击强度
31 | 21462,装备:+91远程攻击强度。
32 | 18198,装备:对亡灵的攻击强度提高66点。
33 | 17352,击中时可能:对亡灵的攻击强度提高200点,持续10秒。
34 | 18076,装备:对野兽的攻击强度提高72点。
35 | 14098,装备:对恶魔的攻击强度提高117点。
36 | 24994,装备:在猎豹、熊或巨熊形态下的攻击强度提高154点。
37 | 15600,装备:击中目标后有2%的几率获得1次额外的攻击机会。
38 | 13667,装备:使你招架攻击的几率提高2%。
39 | 7598,装备:提高你的攻击造成致命一击的几率2%
40 | 9405,装备:使你造成致命一击的几率提高5%
41 | 15465,装备:使你击中目标的几率提高2%。
42 | 13670,装备:使你躲闪攻击的几率提高2%。
43 | 23689,装备:在攻击敌人时有可能为使用者回复120到180点生命值。
44 | 21958,装备:使你抵抗昏迷和恐惧效果的几率提高1%。
45 | 21485,装备:使你用盾牌格挡攻击的几率提高5%。
46 | 23562,装备:使你的盾牌的格挡值提高30点。
47 | 22618,装备:成功格挡之后,盾牌会释放电荷,对附近的所有敌人造成伤害。同时也有一定几率损坏盾牌。
48 | 22620,装备:被击中之后有1%的几率使所有队友的护甲值提高250点,持续30秒。
49 | 12956,装备:防御值提高3点,暗影抗性提高10点,生命值恢复速度提高。
50 | 15594,装备:被击中之后有1%的几率使你受到的所有伤害减少25点,持续10秒。
51 | 17495,装备:每次成功格挡都会对攻击者造成5到35点伤害。
52 | 8397,装备:有2%的几率在被击中后使你被一层神圣护盾保护。
53 | 9778,装备:在战斗中被击中之后有3%的几率回复60到100点生命值。
54 | 15438,装备:在被击中之后对攻击者造成3点奥术伤害。
55 | 21142,装备:对使用近战武器攻击你的敌人造成5点火焰伤害。
56 | 23266,装备:被击中之后对攻击者造成13点火焰伤害。
57 | 16550,装备:当你受到致命一击时,对攻击者造成60到90点伤害。
58 | 16611,装备:被击中之后有3%的几率在4秒内从攻击者身上偷取120点生命值。
59 | 13959,装备:在战斗中被敌人击中之后,有5%的机会对攻击者造成35到65点暗影伤害。
60 | 7619,装备:在战斗中被敌人击中之后,有1%的机会对攻击者造成105到175点暗影伤害。
61 | 16559,击中时可能:使施法者被火焰之盾保护15秒,并对附近的所有敌人造成130到170点伤害。
62 | 19409,装备:在战斗中被敌人击中之后有3%的几率以白骨保护施法者,使其护甲提高150点,持续20秒。
63 | 18097,装备:被击中之后有1%的几率使你获得荆棘之盾,对攻击者造成3点自然伤害,并使你的自然抗性提高50点,持续30秒。
64 | 18816,装备:在战斗中被击中之后有1%的几率对你身边的所有目标造成75到125点火焰伤害。
65 | 17506,击中时可能:令目标每3秒损失12点生命值和法力值,持续30秒。
66 | 23605,击中时可能:使敌人的法术抗性降低60点,持续5秒。
67 | 22850,击中时可能:激活之后,佩戴者可以获得13点防御值和300点护甲值,持续10秒。
68 | 21919,击中时可能:使你的下次攻击变为两次连续攻击。
69 | 15494,击中时可能:使你的下次攻击获得2次额外的攻击机会。
70 | 18278,击中时可能:使一个目标沉默,在6秒内不能施法。
71 | 16908,击中时可能:驱散敌方目标身上的一个魔法效果。
72 | 21152,击中时可能:将附近所有的敌人击倒3秒。
73 | 17500,击中时可能:将目标打傻2秒,使你的力量提高50点,持续30秒。
74 | 56,击中时可能:使目标昏迷3秒。
75 | 15283,击中时可能:使目标昏迷8秒。
76 | 24241,装备:有一定几率在近战攻击命中目标后使其瘫痪,造成452到676点伤害。
77 | 16927,击中时可能:目标的移动速度降低到普通速度的30%,攻击速度降低20%。持续5秒。
78 | 22639,击中时可能:使敌人的移动速度降低60%,并在接下来的30秒内不断流血,承受总计150点伤害。
79 | 17331,击中时可能:使目标的施法速度、近战和远程攻击速度都降低10%,持续10秒。
80 | 23719,击中时可能:力量提高300点,持续8秒。
81 | 16916,击中时可能:为自己回复270到450点生命值,并使力量提高120点,持续30秒。
82 | 15602,击中时可能:攻击强度提高50点,持续30秒。
83 | 16928,击中时可能:敌人的护甲值降低200点,可叠加3次。
84 | 21153,击中时可能:使目标的护甲降低700点,持续10秒。
85 | 21165,击中时可能:使你的攻击速度提高20%,持续10秒。
86 | 13533,击中时可能:使你的攻击速度提高30%,持续10秒。
87 | 12686,击中时可能:使你对目标造成的伤害提高20点,攻击速度提高5%,持续15秒。
88 | 13534,击中时可能:使目标在10秒内无法使用武器作战。
89 | 9800,击中时可能:以神圣护盾保护施法者。
90 | 13752,击中时可能:使目标的护甲降低100点,持续30秒。在效果持续期间,目标无法潜行或隐形。
91 | 13532,击中时可能:以雷霆震击附近的敌人,使它们的攻击速度降低10%,持续10秒,并对它们造成7点自然伤害。最多可影响4个目标。
92 | 17196,击中时可能:使施法者身边半径8码范围内的敌人的所有属性降低,每3秒对它们造成20点自然伤害,持续30秒。
93 | 16921,击中时可能:对最多3个目标造成105到145点自然伤害。
94 | 21949,击中时可能:使目标的伤口不断流血,在30秒内造成累计230点伤害。
95 | 18656,击中时可能:腐蚀目标,在3秒内造成累计210点伤害。
96 | 16551,击中时可能:下3秒的所有攻击都一定命中,并且一定是致命一击。
97 | 10373,击中时可能:使目标遭到重创,对其造成250到350点伤害。
98 | 16549,击中时可能:对目标造成324到540点伤害。
99 | 9796,击中时可能:使目标感染疾病,对其造成50点自然伤害,并在接下来的1分钟内造成总计180点额外伤害。
100 | 17148,击中时可能:对目标造成200到300点伤害,并使它们的智力值降低25点,持续30秒。
101 | 17407,击中时可能:对目标造成50到150点伤害,并在接下来的25秒内每1秒造成6点伤害。
102 | 18086,击中时可能:冲击目标,对其造成150点火焰伤害。
103 | 19260,击中时可能:冲击目标,对其造成160到250点冰霜伤害。
104 | 18091,击中时可能:冲击目标,对其造成85点奥术伤害。
105 | 18104,击中时可能:冲击目标,对其造成90到126点自然伤害。
106 | 16898,击中时可能:在30秒内对目标造成总计100点伤害。
107 | 23686,装备:有一定几率对你的近战目标造成200到300点自然伤害。
108 | 7721,装备:为你的武器攻击附加4点火焰伤害。
109 | 16615,装备:为你的武器攻击附加3点闪电伤害。
110 | 18799,装备:被击中之后有1%的几率对攻击者造成50点冰霜伤害,并使其被冻结,持续5秒。
111 | 16415,击中时可能:发射一枚火球攻击目标,对其造成180到220点火焰伤害,并在8秒内造成额外的36点伤害。
112 | 18211,击中时可能:向目标射出一支暗影箭,对其造成125到275点暗影伤害。
113 | 17483,击中时可能:向目标射出一支暗影箭,对其造成150点暗影伤害,并在接下来的30秒内每2秒造成8点伤害。
114 | 2521151,击中时可能:向敌人发射一支暗影箭,对其造成75点暗影伤害,并使所有属性降低
115 | 13439,击中时可能:向目标射出一支寒冰箭,对其造成20到30点冰霜伤害并使其移动速度降低50%,持续5秒。
116 | 13049,击中时可能:召唤翡翠雏龙,在短时间内为你作战。
117 | 16602,击中时可能:召唤沙赫拉姆的灵魂。
118 | 21170,击中时可能:吸取敌人100到180点生命值,并将其转移给施法者。
119 | 23729,装备:使你的法术击中敌人的几率提高2%。
120 | 18382,装备:使你的法术造成致命一击的几率提高2%。
121 | 23701,装备:使携带者有10%的几率复活,生命值和法力值回复20%。
122 | 21641,装备:每5秒回复14点法力值。
123 | 23212,装备:每5秒回复16点法力值。
124 | 23210,装备:每5秒恢复16点生命值。(拉格纳罗斯)
125 | 23688,装备:在成功施放法术之后有2%的几率在施法时可继续保持法力值回复,持续15秒。
126 | 24392,装备:你的寒冰箭法术有6%的几率在施放时为你恢复50点法力值。
127 | 23728,装备:提高所有法术和魔法效果所造成的伤害和治疗效果,最多84点。
128 | 21509,装备:提高神圣法术和效果所造成的伤害,最多16点。
129 | 17829,装备:提高奥术法术和效果所造成的伤害,最多34点。
130 | 17878,装备:提高火焰法术和效果所造成的伤害,最多43点。
131 | 17901,装备:提高冰霜法术和效果所造成的伤害,最多40点。
132 | 23265装备:增加暗影魔法和效果的伤害69点。
133 | 17997,装备:提高自然法术和效果所造成的伤害,最多40点。
134 | 23593,装备:提高法术所造成的治疗效果,最多92点。
135 | 23929,装备:每5秒恢复10点法力值
136 | 23929,装备:增加法术所造成的伤害及治疗效果,最多113点
137 | 6084召唤黑豹
138 | 17490,使用:召唤一个骷髅为你作战,持续1分钟。
139 | 11840,使用:召唤艾丹娜·邪爪。
140 | 6251,使用:召唤一门火炮,对前方正在攻击你的敌人开火。
141 | 18307,使用:召唤巴罗夫家族的3个仆人为你战斗、做饭和打扫。
142 | 14530,使用:使你的奔跑速度提高40%,持续10.00秒。
143 | 8892,使用:这双看起来就很危险的靴子可以使你的速度提高70,持续20秒。但是它们很可能突然爆炸,所以请小心使用。
144 | 12438,使用:使你的坠落速度减缓10秒。
145 | 13237,使用:对半径5码范围内的所有敌人造成383到517点火焰伤害,并使它们昏迷,持续3秒。
146 | 22641,使用:向目标冲锋,将其打傻30秒。这个技能也会使你被击倒并在短时间内昏迷。任何伤害都会唤醒目标。
147 | 13278,使用:这件设备可以将你的生命能量以强力冲击波的形式发射出去,攻击你的敌人。
148 | 13120,使用:使目标被困在网中,持续10秒。这张网带有许多倒钩,不过有时候会令使用者自己倒霉……
149 | 13234,使用:制造一个力场,替你在接下来的10分钟内吸收500点伤害。警告:力场有可能因受到冲击而过载,并暂时将佩戴者转移到另一个维度。
150 | 13141,使用:这双靴子可以显著提高你的移动速度,持续20秒。警告:能源系统和传动系统并非总是运转正常。
151 | 23442,使用:穿透空间限制,将你传送到冬泉谷的永望镇。虽然有些时候可能会发生技术故障,但这难道不是地精工程学的最大亮点吗?
152 | 23453,使用:将你安全地传送到塔纳利斯的加基森。非常非常安全!没错,你完全不必有任何担心!
153 | 19630,萨弗拉斯,炎魔拉格纳罗斯之手
154 | 20007,使用:为自己恢复75到125点生命值,并使力量提高100点,持续15秒。
155 | 22689,使用:每2秒对敌人造成200点伤害,并使其移动速度降到普通速度的50%。持续20秒。
156 | 24658,使用:使你的法术伤害效果提高最多200点,法术治疗效果提高最多400点,持续20秒。你每施放一次法术,此增益的效果就降低25点伤害和50点治疗效果。
157 | 24574,使用:使你的护甲值提高2000点,防御技能提高30点。持续20秒。但你每受到一次近战或远程伤害,这些附加的属性就会降低200点护甲值和3点防御值。
158 | 24661,使用:使你所能造成的近战和远程伤害提高40点,持续20秒。你每击中一次目标,这个数字就减少2点。
159 | 24833,使用:击碎神圣力量之石,在对亡灵作战时获得300点攻击强度的加成,神圣法术伤害提高最多400点。持续10分钟。
160 | 23780,使用:护甲值提高500点,每次受到近战或远程攻击时回复35点生命值,持续20秒。
161 | 23734,使用:使萨满祭司与大自然结盟,法术伤害提高20%,治疗效果提高20%,法力消耗提高20%。效果持续20秒。
162 | 23733,使用:使圣骑士被光芒笼罩,近战攻击速度和施法速度提高25%,持续20秒。
163 | 23726,使用:使敌人感染盗贼毒药的几率提高30%,持续20秒。
164 | 23725,使用:为你回复15%的生命值,并使你的生命值上限提高15%,持续20秒。
165 | 23724,使用:使德鲁伊的所有变形法术所消耗的法力值降低100%,持续20秒。
166 | 23723,使用:使法师的施法速度提高25%,持续20秒。
167 | 23720,使用:强化你的宠物,使其所造成的伤害提高100%,护甲值提高100%,持续30秒。只对小鬼、魅魔、虚空行者或地狱猎犬有效。
168 | 23721,使用:向你灌输奥术能量,使你在10秒内施放的下一次奥术射击在目标身上爆炸,对其身边的敌人造成185到215点伤害。
169 | 21180,使用:将暗影之击转化为雷霆之击。
170 | 18820,使用:减少你在10秒内所施放的下一个法术所消耗的法力值,最多500点。
171 | 13744,使用:使火焰抗性提高50点,受到火焰系攻击时所承受的伤害降低最多25点,持续15秒。
172 | 9774,使用:移除已有的定身法术,并使你在5秒内对定身免疫。
173 | 10578,使用:发射一枚火球攻击目标,对其造成286到376点火焰伤害,并在8秒内造成额外的40点伤害。
174 | 10618,使用:吸收600点魔法伤害,持续2分钟。
175 | 5405,使用:恢复375到425点法力值。
176 | 13494,使用:使你的攻击速度提高50%,持续30秒。
177 | 11826,使用:对施法者面前的所有敌人造成147到167点自然伤害。施法者被闪电护盾保护,持续10分钟。
178 | 12733,使用:护甲值提高50点,所有抗性提高10点,免疫恐惧,持续30秒。
179 | 12766,使用:召唤一朵毒云,每5秒钟对半径8码范围内的敌人造成50点自然伤害。持续45秒。
180 | 12561,使用:吸收300到500点火焰伤害,持续1分钟。
181 | 17447,使用:每1秒将75点生命值转化为法力值,持续10秒。
182 | 15604,使用:每1秒恢复30点法力值,持续10秒。
183 | 15646,使用:使所有法术的法力值消耗减少100点,持续10秒。
184 | 15712,使用:向目标投掷神奇的回旋镖,对其造成113到187点伤害,有一定几率使其昏迷或被缴械。
185 | 17252,使用:保护性的法力护盾环绕施法者,可吸收500点伤害。护盾存在时,法力值的回复速度提高每5秒22点,持续30分钟。
186 | 17275,使用:火焰抗性提高20点,并对任何使用近战武器击中你的敌人造成20点火焰伤害。
187 | 2139,使用:反制敌人的法术,使其在10秒内无法施放任何与该法术属于同一类别的法术。产生很高的威胁值。
188 | 17639,使用:使敌人攻击时的命中几率降低10%,持续12秒。
189 | 17668,使用:以闪电的能量击倒你附近的所有敌人,对它们造成200点自然伤害。
190 | 18264,使用:使半径30码范围内的小队成员的智力提高20点。
191 | 23271,使用:提高所有法术和魔法效果所造成的伤害和治疗效果,最多175点。效果持续15秒。
192 | 5579,使用:解除一切魅惑、恐惧和变形效果。
193 | 24610,使用:使你的法术命中目标的几率提高10%,持续15秒。
194 | 24352,使用:使你的攻击强度提高150点,击中敌人的几率提高2%。这个效果可以持续20秒。
195 | 24389,使用:恢复1到500点法力值,并使你的下一个火焰法术对敌人的伤害提高最多100点。效果持续1分钟。
196 | 24865,使用:使你的近战武器和法术造成致命一击的几率提高3%,持续25秒。
197 | 21978,使用:有一定几率在伤害性法术命中敌人时对其造成100点暗影伤害,并为你回复100点法力值。
--------------------------------------------------------------------------------
/WowItemMaker/SearchItemsFormcs.Designer.cs:
--------------------------------------------------------------------------------
1 | namespace WOWItemMaker
2 | {
3 | partial class SearchItemsFormcs
4 | {
5 | ///
6 | /// Required designer variable.
7 | ///
8 | private System.ComponentModel.IContainer components = null;
9 |
10 | ///
11 | /// Clean up any resources being used.
12 | ///
13 | /// true if managed resources should be disposed; otherwise, false.
14 | protected override void Dispose(bool disposing)
15 | {
16 | if (disposing && (components != null))
17 | {
18 | components.Dispose();
19 | }
20 | base.Dispose(disposing);
21 | }
22 |
23 | #region Windows Form Designer generated code
24 |
25 | ///
26 | /// Required method for Designer support - do not modify
27 | /// the contents of this method with the code editor.
28 | ///
29 | private void InitializeComponent()
30 | {
31 | this.Mail_SelectAllBtn = new System.Windows.Forms.Button();
32 | this.Mail_SearchItemsDataGridView = new System.Windows.Forms.DataGridView();
33 | this.Mail_AddItemsToListBtn = new System.Windows.Forms.Button();
34 | this.Mail_SearchItemsStrTextBox = new System.Windows.Forms.TextBox();
35 | this.Mail_SearchItemsTypeList = new System.Windows.Forms.ComboBox();
36 | this.label1 = new System.Windows.Forms.Label();
37 | this.Mail_SearchItemsBtn = new System.Windows.Forms.Button();
38 | ((System.ComponentModel.ISupportInitialize)(this.Mail_SearchItemsDataGridView)).BeginInit();
39 | this.SuspendLayout();
40 | //
41 | // Mail_SelectAllBtn
42 | //
43 | this.Mail_SelectAllBtn.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
44 | this.Mail_SelectAllBtn.Location = new System.Drawing.Point(14, 229);
45 | this.Mail_SelectAllBtn.Name = "Mail_SelectAllBtn";
46 | this.Mail_SelectAllBtn.Size = new System.Drawing.Size(40, 23);
47 | this.Mail_SelectAllBtn.TabIndex = 13;
48 | this.Mail_SelectAllBtn.Text = "全选";
49 | this.Mail_SelectAllBtn.UseVisualStyleBackColor = true;
50 | this.Mail_SelectAllBtn.Click += new System.EventHandler(this.Mail_SelectAllBtn_Click);
51 | //
52 | // Mail_SearchItemsDataGridView
53 | //
54 | this.Mail_SearchItemsDataGridView.AllowUserToAddRows = false;
55 | this.Mail_SearchItemsDataGridView.AllowUserToDeleteRows = false;
56 | this.Mail_SearchItemsDataGridView.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
57 | | System.Windows.Forms.AnchorStyles.Left)
58 | | System.Windows.Forms.AnchorStyles.Right)));
59 | this.Mail_SearchItemsDataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
60 | this.Mail_SearchItemsDataGridView.Location = new System.Drawing.Point(14, 55);
61 | this.Mail_SearchItemsDataGridView.Name = "Mail_SearchItemsDataGridView";
62 | this.Mail_SearchItemsDataGridView.RowTemplate.Height = 23;
63 | this.Mail_SearchItemsDataGridView.Size = new System.Drawing.Size(358, 168);
64 | this.Mail_SearchItemsDataGridView.TabIndex = 12;
65 | //
66 | // Mail_AddItemsToListBtn
67 | //
68 | this.Mail_AddItemsToListBtn.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
69 | this.Mail_AddItemsToListBtn.Location = new System.Drawing.Point(297, 229);
70 | this.Mail_AddItemsToListBtn.Name = "Mail_AddItemsToListBtn";
71 | this.Mail_AddItemsToListBtn.Size = new System.Drawing.Size(75, 23);
72 | this.Mail_AddItemsToListBtn.TabIndex = 10;
73 | this.Mail_AddItemsToListBtn.Text = "添加";
74 | this.Mail_AddItemsToListBtn.UseVisualStyleBackColor = true;
75 | this.Mail_AddItemsToListBtn.Click += new System.EventHandler(this.Mail_AddItemsToListBtn_Click);
76 | //
77 | // Mail_SearchItemsStrTextBox
78 | //
79 | this.Mail_SearchItemsStrTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
80 | | System.Windows.Forms.AnchorStyles.Right)));
81 | this.Mail_SearchItemsStrTextBox.Location = new System.Drawing.Point(95, 28);
82 | this.Mail_SearchItemsStrTextBox.Name = "Mail_SearchItemsStrTextBox";
83 | this.Mail_SearchItemsStrTextBox.Size = new System.Drawing.Size(277, 21);
84 | this.Mail_SearchItemsStrTextBox.TabIndex = 9;
85 | this.Mail_SearchItemsStrTextBox.TextChanged += new System.EventHandler(this.Mail_SearchItemsStrTextBox_TextChanged);
86 | //
87 | // Mail_SearchItemsTypeList
88 | //
89 | this.Mail_SearchItemsTypeList.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
90 | this.Mail_SearchItemsTypeList.FormattingEnabled = true;
91 | this.Mail_SearchItemsTypeList.Items.AddRange(new object[] {
92 | "物品ID",
93 | "物品名称"});
94 | this.Mail_SearchItemsTypeList.Location = new System.Drawing.Point(14, 28);
95 | this.Mail_SearchItemsTypeList.Name = "Mail_SearchItemsTypeList";
96 | this.Mail_SearchItemsTypeList.Size = new System.Drawing.Size(72, 20);
97 | this.Mail_SearchItemsTypeList.TabIndex = 8;
98 | this.Mail_SearchItemsTypeList.SelectedIndexChanged += new System.EventHandler(this.Mail_SearchItemsTypeList_SelectedIndexChanged);
99 | //
100 | // label1
101 | //
102 | this.label1.AutoSize = true;
103 | this.label1.Location = new System.Drawing.Point(12, 9);
104 | this.label1.Name = "label1";
105 | this.label1.Size = new System.Drawing.Size(41, 12);
106 | this.label1.TabIndex = 7;
107 | this.label1.Text = "过滤:";
108 | //
109 | // Mail_SearchItemsBtn
110 | //
111 | this.Mail_SearchItemsBtn.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
112 | this.Mail_SearchItemsBtn.Location = new System.Drawing.Point(216, 229);
113 | this.Mail_SearchItemsBtn.Name = "Mail_SearchItemsBtn";
114 | this.Mail_SearchItemsBtn.Size = new System.Drawing.Size(75, 23);
115 | this.Mail_SearchItemsBtn.TabIndex = 14;
116 | this.Mail_SearchItemsBtn.Text = "刷新";
117 | this.Mail_SearchItemsBtn.UseVisualStyleBackColor = true;
118 | this.Mail_SearchItemsBtn.Click += new System.EventHandler(this.Mail_SearchItemsBtn_Click);
119 | //
120 | // SearchItemsFormcs
121 | //
122 | this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
123 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
124 | this.ClientSize = new System.Drawing.Size(384, 264);
125 | this.Controls.Add(this.Mail_SearchItemsBtn);
126 | this.Controls.Add(this.Mail_SelectAllBtn);
127 | this.Controls.Add(this.Mail_SearchItemsDataGridView);
128 | this.Controls.Add(this.Mail_AddItemsToListBtn);
129 | this.Controls.Add(this.Mail_SearchItemsStrTextBox);
130 | this.Controls.Add(this.Mail_SearchItemsTypeList);
131 | this.Controls.Add(this.label1);
132 | this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.SizableToolWindow;
133 | this.Name = "SearchItemsFormcs";
134 | this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
135 | this.Text = "SearchItemsFormcs";
136 | this.Load += new System.EventHandler(this.SearchItemsFormcs_Load);
137 | ((System.ComponentModel.ISupportInitialize)(this.Mail_SearchItemsDataGridView)).EndInit();
138 | this.ResumeLayout(false);
139 | this.PerformLayout();
140 |
141 | }
142 |
143 | #endregion
144 |
145 | private System.Windows.Forms.Button Mail_SelectAllBtn;
146 | private System.Windows.Forms.DataGridView Mail_SearchItemsDataGridView;
147 | private System.Windows.Forms.Button Mail_AddItemsToListBtn;
148 | private System.Windows.Forms.TextBox Mail_SearchItemsStrTextBox;
149 | private System.Windows.Forms.ComboBox Mail_SearchItemsTypeList;
150 | private System.Windows.Forms.Label label1;
151 | private System.Windows.Forms.Button Mail_SearchItemsBtn;
152 | }
153 | }
--------------------------------------------------------------------------------
/WowItemMaker/AboutForm.Designer.cs:
--------------------------------------------------------------------------------
1 | namespace WOWItemMaker
2 | {
3 | partial class AboutForm
4 | {
5 | ///
6 | /// Required designer variable.
7 | ///
8 | private System.ComponentModel.IContainer components = null;
9 |
10 | ///
11 | /// Clean up any resources being used.
12 | ///
13 | /// true if managed resources should be disposed; otherwise, false.
14 | protected override void Dispose(bool disposing)
15 | {
16 | if (disposing && (components != null))
17 | {
18 | components.Dispose();
19 | }
20 | base.Dispose(disposing);
21 | }
22 |
23 | #region Windows Form Designer generated code
24 |
25 | ///
26 | /// Required method for Designer support - do not modify
27 | /// the contents of this method with the code editor.
28 | ///
29 | private void InitializeComponent()
30 | {
31 | this.components = new System.ComponentModel.Container();
32 | System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(AboutForm));
33 | this.label1 = new System.Windows.Forms.Label();
34 | this.label2 = new System.Windows.Forms.Label();
35 | this.label3 = new System.Windows.Forms.Label();
36 | this.label5 = new System.Windows.Forms.Label();
37 | this.CloseBtn = new System.Windows.Forms.Button();
38 | this.label6 = new System.Windows.Forms.Label();
39 | this.MailToLink = new System.Windows.Forms.LinkLabel();
40 | this.label7 = new System.Windows.Forms.Label();
41 | this.label8 = new System.Windows.Forms.Label();
42 | this.linkLabel1 = new System.Windows.Forms.LinkLabel();
43 | this.toolTip1 = new System.Windows.Forms.ToolTip(this.components);
44 | this.timer1 = new System.Windows.Forms.Timer(this.components);
45 | this.SuspendLayout();
46 | //
47 | // label1
48 | //
49 | this.label1.AutoSize = true;
50 | this.label1.Font = new System.Drawing.Font("华文琥珀", 18F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
51 | this.label1.Location = new System.Drawing.Point(12, 16);
52 | this.label1.Name = "label1";
53 | this.label1.Size = new System.Drawing.Size(195, 25);
54 | this.label1.TabIndex = 0;
55 | this.label1.Text = "WOW Item Maker";
56 | //
57 | // label2
58 | //
59 | this.label2.AutoSize = true;
60 | this.label2.Location = new System.Drawing.Point(34, 69);
61 | this.label2.Name = "label2";
62 | this.label2.Size = new System.Drawing.Size(41, 12);
63 | this.label2.TabIndex = 1;
64 | this.label2.Text = "作者:";
65 | //
66 | // label3
67 | //
68 | this.label3.AutoSize = true;
69 | this.label3.Location = new System.Drawing.Point(46, 86);
70 | this.label3.Name = "label3";
71 | this.label3.Size = new System.Drawing.Size(29, 12);
72 | this.label3.TabIndex = 2;
73 | this.label3.Text = "QQ:";
74 | //
75 | // label5
76 | //
77 | this.label5.AutoSize = true;
78 | this.label5.Location = new System.Drawing.Point(81, 86);
79 | this.label5.Name = "label5";
80 | this.label5.Size = new System.Drawing.Size(59, 12);
81 | this.label5.TabIndex = 4;
82 | this.label5.Text = "317323134";
83 | //
84 | // CloseBtn
85 | //
86 | this.CloseBtn.Location = new System.Drawing.Point(94, 127);
87 | this.CloseBtn.Name = "CloseBtn";
88 | this.CloseBtn.Size = new System.Drawing.Size(75, 23);
89 | this.CloseBtn.TabIndex = 5;
90 | this.CloseBtn.Text = "确定";
91 | this.CloseBtn.UseVisualStyleBackColor = true;
92 | this.CloseBtn.Click += new System.EventHandler(this.CloseBtn_Click);
93 | //
94 | // label6
95 | //
96 | this.label6.AutoSize = true;
97 | this.label6.Location = new System.Drawing.Point(22, 103);
98 | this.label6.Name = "label6";
99 | this.label6.Size = new System.Drawing.Size(53, 12);
100 | this.label6.TabIndex = 6;
101 | this.label6.Text = "E-MAIL:";
102 | //
103 | // MailToLink
104 | //
105 | this.MailToLink.AutoSize = true;
106 | this.MailToLink.LinkBehavior = System.Windows.Forms.LinkBehavior.HoverUnderline;
107 | this.MailToLink.Location = new System.Drawing.Point(81, 103);
108 | this.MailToLink.Name = "MailToLink";
109 | this.MailToLink.Size = new System.Drawing.Size(107, 12);
110 | this.MailToLink.TabIndex = 7;
111 | this.MailToLink.TabStop = true;
112 | this.MailToLink.Text = "ggkk0818@sina.com";
113 | this.MailToLink.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.MailToLink_LinkClicked);
114 | //
115 | // label7
116 | //
117 | this.label7.AutoSize = true;
118 | this.label7.Location = new System.Drawing.Point(34, 52);
119 | this.label7.Name = "label7";
120 | this.label7.Size = new System.Drawing.Size(41, 12);
121 | this.label7.TabIndex = 8;
122 | this.label7.Text = "版本:";
123 | //
124 | // label8
125 | //
126 | this.label8.AutoSize = true;
127 | this.label8.Location = new System.Drawing.Point(81, 52);
128 | this.label8.Name = "label8";
129 | this.label8.Size = new System.Drawing.Size(29, 12);
130 | this.label8.TabIndex = 9;
131 | this.label8.Text = "1.41";
132 | this.label8.MouseMove += new System.Windows.Forms.MouseEventHandler(this.label8_MouseMove);
133 | //
134 | // linkLabel1
135 | //
136 | this.linkLabel1.AutoSize = true;
137 | this.linkLabel1.LinkBehavior = System.Windows.Forms.LinkBehavior.HoverUnderline;
138 | this.linkLabel1.Location = new System.Drawing.Point(81, 69);
139 | this.linkLabel1.Name = "linkLabel1";
140 | this.linkLabel1.Size = new System.Drawing.Size(53, 12);
141 | this.linkLabel1.TabIndex = 10;
142 | this.linkLabel1.TabStop = true;
143 | this.linkLabel1.Text = "ggkk0818";
144 | this.linkLabel1.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel1_LinkClicked);
145 | //
146 | // toolTip1
147 | //
148 | this.toolTip1.ShowAlways = true;
149 | //
150 | // timer1
151 | //
152 | this.timer1.Tick += new System.EventHandler(this.timer1_Tick);
153 | //
154 | // AboutForm
155 | //
156 | this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
157 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
158 | this.ClientSize = new System.Drawing.Size(265, 160);
159 | this.ControlBox = false;
160 | this.Controls.Add(this.linkLabel1);
161 | this.Controls.Add(this.label8);
162 | this.Controls.Add(this.label7);
163 | this.Controls.Add(this.MailToLink);
164 | this.Controls.Add(this.label6);
165 | this.Controls.Add(this.CloseBtn);
166 | this.Controls.Add(this.label5);
167 | this.Controls.Add(this.label3);
168 | this.Controls.Add(this.label2);
169 | this.Controls.Add(this.label1);
170 | this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
171 | this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
172 | this.Name = "AboutForm";
173 | this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
174 | this.Text = "关于";
175 | this.Load += new System.EventHandler(this.AboutForm_Load);
176 | this.ResumeLayout(false);
177 | this.PerformLayout();
178 |
179 | }
180 |
181 | #endregion
182 |
183 | private System.Windows.Forms.Label label1;
184 | private System.Windows.Forms.Label label2;
185 | private System.Windows.Forms.Label label3;
186 | private System.Windows.Forms.Label label5;
187 | private System.Windows.Forms.Button CloseBtn;
188 | private System.Windows.Forms.Label label6;
189 | private System.Windows.Forms.LinkLabel MailToLink;
190 | private System.Windows.Forms.Label label7;
191 | private System.Windows.Forms.Label label8;
192 | private System.Windows.Forms.LinkLabel linkLabel1;
193 | private System.Windows.Forms.ToolTip toolTip1;
194 | private System.Windows.Forms.Timer timer1;
195 | }
196 | }
--------------------------------------------------------------------------------