Hello World

吞风吻雨葬落日 欺山赶海踏雪径

0%

AzerothCore 安装Mod

AzerothCore 安装以下模块 mod-anticheat mod-eluna mod-transmog mod-ah-bot
官网地址 https://github.com/azerothcore

通用安装步骤

mod 放入modules目录下,重新执行cmake

分别点击 Configure -> Generate -> Open Project

右击 ALL_BUILD 重新开始编译

mod-anticheat

反作弊mod
https://github.com/azerothcore/mod-anticheat/wiki

github
https://github.com/azerothcore/mod-anticheat

gitee
https://gitee.com/forgkan/mod-anticheat

安装

azerothcore-wotlk\modules

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
1) Simply place the module under the modules folder of your AzerothCore source folder.

You can do clone it via git under the azerothcore/modules directory:

cd path/to/azerothcore/modules

git clone https://github.com/azerothcore/mod-anticheat.git

or you can manually download the module, unzip and place it under the azerothcore/modules directory.
2) Re-run cmake and launch a clean build of AzerothCore
3) Execute the included \sql\characters\base\charactersdb_anticheat.sql file on your characters database and excute \sql\world\Acore_strings.sql on your world datase. This creates the necessary tables for this module.

That's it.
(Optional) Edit module configuration

If you need to change the module configuration, go to your server configuration folder (e.g. etc), copy Anticheat.conf.dist to Anticheat.conf and edit it as you prefer.

数据库变更

acore_characters

创建表

  • players_reports_status
    当前活动会话的防作弊记录

  • daily_players_reports
    作弊帐号的长期记录,直到GM使用 .anticheat purge

acore_world

表数据变更

  • acore_string
  • command

GM命令

.anticheat global Informs you if anticheat is turned on
.anticheat player Tells you current auto reports
.anticheat delete PLAYERNAME Deletes reports on player from anticheat system
.anticheat purge completely clears the player_daily_reports table
.anticheat jail Sends Player to gm jail which then shackles them and hearthstone binds them to gm jail.
.anticheat parole Recommended to be used in gm jail, teles to faction capital and rebinds hearthstone there while clearing their reports and their deserter auras.
.anticheat warn Sends player warning message that they are being monitored

配置文件

单独记录日志文件

1
2
3
# Anticheat mod 输出配置
Appender.Anticheat=2,4,15,anticheat.log,a
Logger.anticheat.module=4, Anticheat

mod-eluna

Eluna Lua Engine © 是嵌入到魔兽世界模拟器中的lua引擎。 Eluna支持MaNGOS,CMaNGOS,TrinityCore和AzerothCore。

https://github.com/azerothcore/mod-eluna/blob/master/README_CN.md

github
https://github.com/azerothcore/mod-eluna

gitee
https://gitee.com/forgkan/mod-eluna

安装

modules 目录中

1
git clone https://github.com/azerothcore/mod-eluna.git mod-eluna

重新cmake编译。

mod-transmog

幻化模块

github
https://github.com/azerothcore/mod-transmog

gitee
https://gitee.com/forgkan/mod-transmog

安装

modules 同上

数据库

acore_characters

创建表

  • custom_transmogrification
  • custom_transmogrification_sets
  • custom_unlocked_appearances

acore_world

text:

  • npc_text
    插入id 601083,601084
  • acore_string
    插入entry 11100~11116
  • command
    • transmog
    • transmog add
    • transmog sync
    • transmog add set

npc:

  • creature_template
    新增 npc 190010

新增NPC

1
.npc add 190010

mod-ah-bot

github
https://github.com/azerothcore/mod-ah-bot

gitee
https://gitee.com/forgkan/mod-ah-bot

数据库

acore_world

新建表

  • mod_auctionhousebot
  • mod_auctionhousebot_disabled_items

mod-money-for-kills

github
https://github.com/azerothcore/mod-money-for-kills

杀死玩家或怪物会根据等级奖励金币。

这个mod 安装比较简单,直接放入 modules 目录即可,没有SQL。

mod-weekend-xp

github
https://github.com/azerothcore/mod-weekend-xp

周末双倍经验MOD。

数据库

只是添加了 acore_world.acore_stringacore_world.command表数据。

mod-item-level-up

github https://github.com/azerothcore/mod-item-level-up

创建了一个ID 为 701001的物品,使用物品角色直接升级。

数据库

acore_world.item_template 表中增加了一件物品。

1
2
INSERT INTO `item_template` VALUES
(701001, 0, 0, -1, 'Level-Up Token', 46787, 6, 0, 0, 1, 0, 0, 0, -1, -1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1000, 0, 0, 18282, 0, 0, 0, 8000, 0, -1, 0, 0, 0, 0, -1, 0, -1, 0, 0, 0, 0, -1, 0, -1, 0, 0, 0, 0, -1, 0, -1, 0, 0, 0, 0, -1, 0, -1, 0, '|cff00FF00Use: Instantly levels your character to the next level.|r', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, 0, 0, 0, 0, 'LevelItem', 0, 0, 0, 0, 0, -4);

mod-autobalance

github https://github.com/azerothcore/mod-autobalance

根据玩家人数动态调整BOSS的血量、魔法、伤害。此MOD也没有脚本。

mod-random-enchants-master

github https://github.com/Darkon47/mod-random-enchants-master

随机附魔

数据库

创建 acore_world.item_enchantment_random_tiers 表,并添加了一系列数据。

源码修改

因为新版本的API有所改动,需要修改一下源码,C++语言的,照抄着其他的Mod源码改。
https://gitee.com/forgkan/mod-random-enchants-master/commit/535bd9cc75f34ff77b62d7766806717a55a60c59