Adding/Editing Ancient Items


Published:   Comment: No Comments

游戏设置

编辑以下文件:

ItemSetOption.bmd
客户端
ItemSetType.bmd

服务器
ItemSetOption.txt
ItemSetType.txt

要开始使用,请选择项目。我举个例子:Phoenix Helm, Armor, Pants。
打开 item.bmd 并搜索项目,根据版本,它将有一个数字。按名称查找和查看这些名称之前的数字更容易,例如:

头盔编号为 3601
盔甲编号为 4113 裤子
编号为 4625

然后将这些值转换为十六进
制 头盔为 E11
盔甲为 1011
裤子为 1211

然后将值分为 2 组
头盔为 E-11
盔甲为 11-10
裤子是 12-11

所以 将第二组翻译成 DEC
头盔是 11 => 17
盔甲是 11 => 17
裤子是 11 => 17

然后打开itemsetoption.txt(服务器)并创建新行。

我将使用此服务器的 itemsetoption.txt 作为示例

法典:
//========================================================================================================================================================================================================================================================================================================================================================================
//Nº Name Opt Value Opt Value Opt Value Opt Value Opt Value Opt Value Opt Value Opt Value Opt Value Opt Value Opt Value Opt Value Opt Value Opt Value Full Value Full Value Full Value Full Value Full Value Dw/Sm Dk/Bk Elf/Me Dl Mg
//Ancient 2-1 2-2 3-1 3-2 4-1 4-2 5-1 5-2 6-1 6-2 7-1 7-2 8 9 1 2 3 4 5 Gm Bm He Le Dm
//========================================================================================================================================================================================================================================================================================================================================================================
1 "Warrior's" 0 10 -1 -1 19 10 -1 -1 13 20 -1 -1 14 5 -1 -1 10 20 -1 -1 1 10 -1 -1 -1 -1 -1 -1 15 5 17 5 0 25 -1 -1 -1 -1 0 0 0 0 0 0 0
1 = Set 编号(或 “Line”,如果在底部添加 2 意味着创建另一个旧 Set)

“Warrior's” = Set 名称,即使作为示例也需要用引号括起来:添加一行并键入 2,然后键入 “Test”,因为如果只是 Test,它会出现问题...

0 = 选项 2-1,装备套装中的 2 件物品时添加第一个选项。
0 = 增加力量
10 = 值,这将得到 10 点 d 力量

-1 = 选项 2-2 = 装备套装中的 2 件物品时的第二个附加选项。
-1 = 没有意义
的选项 -1 = 表示没有值,最好将 X-2 选项保留为 -1 (1-2, 2-2...)

现在,每次装备套装的一部分时,您最多可以添加 9 个选项,但最好有大约 4 或 5 个,否则它可以滑行,在某些套装中最多可以添加 7 个选项而不会出现问题,例如战士套装可以做到这一点。

全套
15 = 全套 1,这是装备全套远古套装时添加的第一个选项。
15 = 暴击
伤害率 5 = 值,它将增加 5%

暴击伤害率 17 = 满 2,这将是装备全套远古套装时要添加的第二个选项。
17 = 极好的
伤害率 5 = 值,将增加 5%

的 exc 伤害率,依此类推,装备全套时最多可以添加 5 个选项。

选项

的含义 0 - 增加力量
1 - 增加敏捷
2 - 增加能量
3 - 增加耐力
5 - 增加最小攻击伤害
6 - 增加最大攻击伤害
7 - 增加魔法伤害
8 - 增加最小和最大伤害
9 - 增加攻击成功率
10 - 增加防御技能
11 - 增加最大生命
值 12 - 增加最大魔法值
13 - 增加最大生命值
14 - 增加生命值
15 - 暴击率
16 - 增加暴击伤害
17 - 极速伤害
18 - 增加极速伤害
19 - 增加技能伤害
20 - 双倍伤害率
21 - 无视能量的防御技能
22 - 增加盾牌的防御
力23 - 增加伤害 双手武器

之后,您需要在服务器上编辑itemsettype.txt文件,然后根据组添加项目(7 个头盔、8 个盔甲、9 个裤子、.....)

ItemSetOption.txt会有一部分需要输入ItemSetType.txt集合的编号,下面是一个例子:
法典:
//Swords & Gloves
//=====================================
//Item Ancient Ancient Ancient Ancient
//Type Type 1 Type 2 Type 3 Type 4
//=====================================
0
2 21 0 0 0 //Rapier

end
ItemType = 物品的组,如果是 0 = 剑,要添加其他的,只需查看item.txt或 item(new).txt
2 = 物品,在这种情况下,细剑是剑
组中的第 2 项 Ancient Type1 = 第一长老,在我的服务器中,Ancient 21 的类型是集合 Ceto
Ancient Type2 = 第二长老, 如果我想添加 Hyon 套装,那将是 2 型
Ancientist
你最多可以为每个项目添加 4 个 Ancientistic 套装。itemsettype 表示该项目是某个集合的一部分,并且哪些集合使用该项目。

现在您需要编辑客户端。
打开 ItemSetOption.bmd 在第 2 位
添加新行(在示例中)
现在键入与服务器 itemsetoption 中相同的内容,但编辑 ItemsSetOption.bmd 略有不同。

首先:您需要为集合选择一个选项,以防在添加新项目时需要查看服务器的 itemset选项。

所以加上 set 值,问题是 high values 以不同的方式使用。
如果您需要添加小于 125 的内容,只需正常输入即可,例如:115。
如果您需要添加大于 125 的值,则必须将 256 减去所需的值。

例如:
值 250 = 256 - 6,因此在客户端上需要添加 -6,客户端将读取 250。
值 200 = 256 - 56,因此在客户端中它将为 -56。
值 175 = 256 - 81,将为 -81。

如果要添加百分比,它类似于小于 125 的选项,但您需要添加正确的选项。(例如:加上 15% 的额外辩护费,在客户端中我会加上 22,然后是 15,因为辩护费选项的值是 22,百分比会是 15)
这就是 “Full” 部分的全部内容。

现在,要使集合具有其“部分”,您需要编辑 ItemSetType.bmd
找到项目(在示例中:3601 = Phoenix Helm,或客户端用来判断哪个项目是哪个的任何其他项目和方法)并将其添加到组中(在示例中:2)

如果出现“文件损坏”,请在 OllyDbg 中打开主数据库。
右键单击 -> 搜索 -> 搜索 -> All referenced text strings。
右键单击 -> 搜索文本 -> “file corrupted”
//选择“整个范围” 找到它后,
在字符串上按 Enter
键查找 “JE SHORT .......”
将 JE 替换为 -> JMP
右键单击 -> 全选
右键单击 -> 复制到可执行文件
右键单击 -> 保存文件(但重命名main.exe !!!!)
就这样。

或者

使用另一个编辑器打开 bmd 并尝试保存 itemsetoption/itemsettype.bmd

如何获取项目
转到 MuMaker 文件夹,然后查看打开MuMaker.mdb
选择项目(例如:Phoenix Helm)并获取十六进制代码。

然后将标记为红色的数字添加到它们所在的位置。
在这种情况下,helm 的十六进制是: 11005062533F0000007000000000000000000

但要使其像 orcient一样,它需要看起来像这样: 0x11005062533F00000570000000000000

然后在 Query Analyser
中,在 SQL Query 中添加以下内容:

法典:
UPDATE warehouse SET Items =item_code WHERE AccountID = 'account'
然后按 F5

记住将数据库从 master 更改为 MuOnline。

将“帐户”更改为您在游戏中的帐户名称,然后复制该物品的十六进制代码并将其代替item_code
ItemSetOption.bmd
Client
ItemSetType.bmd

Server
ItemSetOption.txt
ItemSetType.txt

To get started, select the items. I'll use an example: Phoenix Helm, Armor, Pants.
Open item.bmd and search for the items, depending on the version, it will have a number. It's easier to locate by name and look by numbers before those names an example:

Helm number is 3601
Armor number is 4113
Number of pants is 4625

Then convert those values to HEX
Helm is E11
Armor is 1011
Pants are 1211

Then divide the values into 2 groups
Helm is E-11
Armor is 11-10
The pants are 12-11

So Translate the second group into DEC
Helm is 11 => 17
Armor is 11 => 17
The pants are 11 => 17

Then open itemsetoption.txt (server) and create a new line.

I'll use the itemsetoption.txt of this server as an example

Code:
//========================================================================================================================================================================================================================================================================================================================================================================
//Nº Name Opt Value Opt Value Opt Value Opt Value Opt Value Opt Value Opt Value Opt Value Opt Value Opt Value Opt Value Opt Value Opt Value Opt Value Full Value Full Value Full Value Full Value Full Value Dw/Sm Dk/Bk Elf/Me Dl Mg
//Ancient 2-1 2-2 3-1 3-2 4-1 4-2 5-1 5-2 6-1 6-2 7-1 7-2 8 9 1 2 3 4 5 Gm Bm He Le Dm
//========================================================================================================================================================================================================================================================================================================================================================================
1 "Warrior's" 0 10 -1 -1 19 10 -1 -1 13 20 -1 -1 14 5 -1 -1 10 20 -1 -1 1 10 -1 -1 -1 -1 -1 -1 15 5 17 5 0 25 -1 -1 -1 -1 0 0 0 0 0 0 0
1 = Set number (or the "Line", in case adding 2 at the bottom means creating another old Set)

"Warrior's" = Set name, it needs to be in quotation marks even as an example: add a line and type 2, then type "Test" because if it's just Test it will give problems...

0 = Opt 2-1, First option added when equipping 2 items in the set.
0 = increase strength
10 = value, this will give 10 pts d strength

-1 = Option2-2 = Second additional option when equipping 2 items in the set.
-1 = Option without meaning
-1 = Means no value, it is better to leave the X-2 Opts with -1 (1-2, 2-2...)

Now, you can add up to 9 options for each time you equip a part of the set, but it's better to have about 4 or 5 or else it can glide, you can add up to 7 options in some sets without problems, as an example the Warrior set can do this.

Full
set 15 = Full1, this is the first option to be added when equipping a full ancient set.
15 = Critical
Damage Rate 5 = Value, it will add 5%

Critical Damage Rate 17 = Full2, which will be the second option to be added when equipping a full Ancient set.
17 = excellent
damage rate 5 = value, will add the exc damage rate by 5%

and so on, you can add up to 5 Options when equipping a full set.

Meaning of Options

0 - increase strengh
1 - increase dexterity
2 - increase energy
3 - increase stamina
5 - increase minimum attack damage
6 - increase maximum attack damage
7 - increase magic damage
8 - increase min and max damage
9 - increase attack successfull rate
10 - increase defensive skill
11 - increase maximum HP
12 - increase maximum mana
13 - increase maximum AG
14 - increase AG
15 - critical damage rate
16 - increase critical damage
17 - excellent damage rate
18 - increase excellent damage
19 - increase skill damage
20 - double damage rate
21 - ignore enermy's defensive skill
22 - increase shield's defense
23 - increase damage two handed weapon

After that, you need to edit the itemsettype.txt file on the server, then add the items according to the group (7 helmets, 8 armor, 9 pants, .....)

In ItemSetOption.txt there will be a part that needs to be put the number of the set that is in ItemSetType.txt, here is an example:
Code:
//Swords & Gloves
//=====================================
//Item Ancient Ancient Ancient Ancient
//Type Type 1 Type 2 Type 3 Type 4
//=====================================
0
2 21 0 0 0 //Rapier

end
ItemType = the group of the item, in case 0 = swords, to add others just look at the item.txt or item(new).txt
2 = The item, in this case the rapier is item number 2 in the group of swords
Ancient Type1 = the first elder, in my server the type of ancient 21 is the set Ceto
Ancient Type2 = the second elder, in case if I wanted to add the Hyon set, it would be in the type 2
ancientist
you can add up to 4 ancientistic sets per item. The itemsettype is to say that the item is part of a set and which set(s) use that item.

Now you need to edit the client.
Open ItemSetOption.bmd
Add a new line at number 2 (in the example)
Now type the same as it is in the itemsetoption of the server but to edit the ItemsSetOption.bmd is a little different.

First: you need to choose an option for the set, in case you need to look at the itemsetoption of the server if you added a new item.

So add the set values, the problem is that high values are used in a different way of adding.
If you need to add something that's less than 125, just type it normally, example: 115.
If you need to add something that's greater than 125, you'll have to subtract 256 to a value that you want.

For example:
a value of 250 = 256 - 6, so on the client you will need to add -6, the client will read 250.
value of 200 = 256 - 56, so in the client it will be -56.
value of 175 = 256 - 81, will be -81.

If you want to add percentage, it's similar to options less than 125 but you need to add the correct option. (example: add 15% extra defense fee, in the client I will add 22 and then 15, because the value of the defense fee option is 22, and the percentage will be 15)
that's all in the "Full" part.

Now, to make the set have its "parts", you will need to edit the ItemSetType.bmd
Find the items (in the example: 3601 = Phoenix Helm, or any other item and method that the client uses to tell which item is which) and add it to the group (in the example: 2)

If "file corrupts" appears, open the main in OllyDbg.
Right-click -> search -> Search for -> All referenced text strings.
Right click -> Search for text -> "file corrupted"
//select "Entire scope" when you find it,
press enter
over a string look for "JE SHORT ......."
replace JE with -> JMP
Right click -> select all
Right click -> copy to executable
Right click -> Save file (but rename the main.exe !!!!)
That's all.

OR

open bmd with another editor and try to save itemsetoption/itemsettype.bmd

How to get the items
Go to the MuMaker folder and then look to open the MuMaker.mdb
Select the item (in example: Phoenix Helm) and get the hex code.

Then add the numbers marked in red exactly where they are.
in this case the helm's hex is: 11005062533F0000007000000000000000

but for it to be as ancient, it needs to look like this: 0x11005062533F00000570000000000000

Then in Query Analyser
add this in SQL Query:

Code:
UPDATE warehouse SET Items =item_code WHERE AccountID = 'account'
And press F5

Remember to change the DB's from master to MuOnline.

Change the 'account' to the name of your account in the game and then copy the hexadecimal code of the item and put it in place of item_code
Adding/Editing Ancient Items

none
Last Modified:2024-10-01 12:57:54

我有话说