魔兽数据库 php,aowow: 基于魔兽世界335继续开发的酷炫的魔兽数据库网站可惜劳资不知道咋个安装 演示地址:https://db.rising-gods.de/...

AoWoW是一个基于魔兽世界3.3.5的数据库工具,重新编写了2008年的PHP服务器端代码和更新了客户端JavaScript。本文档介绍了安装AoWoW所需的环境、步骤,包括Web服务器需求、数据库准备、客户端文件提取、音频文件转码等,并提供了常见问题的解决方案。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

b9cdc5b04de145343b8426506fff70c3.png

Build Status

fuck-it-ship-it.svg

Introduction

AoWoW is a Database tool for World of Warcraft v3.3.5 (build 12340)

It is based upon the other famous Database tool for WoW, featuring the red smiling rocket.

While the first releases can be found as early as 2008, today it is impossible to say who created this project.

This is a complete rewrite of the serverside php code and update to the clientside javascripts from 2008 to something 2013ish.

I myself take no credit for the clientside scripting, design and layout that these php-scripts cater to.

Also, this project is not meant to be used for commercial puposes of any kind!

Requirements

Webserver running PHP ≥ 7.1 including extensions:

SimpleXML

GD

Mysqli

mbString

MySQL ≥ 5.5.30

Tools require cmake: Please refer to the individual repositories for detailed information

WIN users may find it easier to use these alternatives

audio processing may require lame or vorbis-tools (which may require libvorbis (which may require libogg))

Highly Recommended

setting the following configuration values on your TrintyCore server will greatly increase the accuracy of spawn points

Calculate.Creature.Zone.Area.Data = 1

Calculate.Gameoject.Zone.Area.Data = 1

Install

1. Acquire the required repositories

git clone git@github.com:Sarjuuk/aowow.git aowow

git clone git@github.com:Sarjuuk/MPQExtractor.git MPQExtractor

2. Prepare the database

Ensure that the account you are going to use has full access on the database AoWoW is going to occupy and ideally only read access on the world database you are going to reference.

Import setup/db_structure.sql into the AoWoW database mysql -p {your-db-here} < setup/db_structure.sql

3. Server created files

See to it, that the web server is able to write the following directories and their children. If they are missing, the setup will create them with appropriate permissions

cache/

config/

static/download/

static/widgets/

static/js/

static/uploads/

static/images/wow/

datasets/

4. Extract the client archives (MPQs)

Extract the following directories from the client archives into setup/mpqdata/, while maintaining patch order (base mpq -> patch-mpq: 1 -> 9 -> A -> Z). The required paths are scattered across the archives. Overwrite older files if asked to.

.. for every locale you are going to use:

/DBFilesClient/

/Interface/WorldMap/

/Interface/FrameXML/GlobalStrings.lua

.. once is enough (still apply the localeCode though):

/Interface/TalentFrame/

/Interface/Glues/Credits/

/Interface/Icons/

/Interface/Spellbook/

/Interface/PaperDoll/

/Interface/GLUES/CHARACTERCREATE/

/Interface/Pictures

/Interface/PvPRankBadges

/Interface/FlavorImages

/Interface/Calendar/Holidays/

/Sound/

.. optionaly (not used in AoWoW):

/Interface/GLUES/LOADINGSCREENS/

5. Reencode the audio files

WAV-files need to be reencoded as ogg/vorbis and some MP3s may identify themselves as application/octet-stream instead of audio/mpeg.

6. Run the initial setup from the CLI

php aowow --firstrun.

This should guide you through with minimal input required from your end, but will take some time though, especially compiling the zone-images. Use it to familiarize yourself with the other functions this setup has. Yes, I'm dead serious: Go read the code! It will help you understand how to configure AoWoW and keep it in sync with your world database.

When you've created your admin account you are done.

Troubleshooting

Q: The Page appears white, without any styles.

A: The static content is not being displayed. You are either using SSL and AoWoW is unable to detect it or STATIC_HOST is not defined poperly. Either way this can be fixed via config php aowow --siteconfig

Q: Fatal error: Can't inherit abstract function (previously declared abstract in ) in

A: You are using cache optimization modules for php, that are in confict with each other. (Zend OPcache, XCache, ..) Disable all but one.

Q: Some generated images appear distorted or have alpha-channel issues.

A: Image compression is beyond my understanding, so i am unable to fix these issues within the blpReader.

BUT you can convert the affected blp file into a png file in the same directory, using the provided BLPConverter.

AoWoW will priorize png files over blp files.

Q: How can i get the modelviewer to work?

A: You can't anymore. Wowhead switched from Flash to WebGL (as they should) and moved or deleted the old files in the process.

Q: I'm getting random javascript errors!

A: Some server configurations or external services (like Cloudflare) come with modules, that automaticly minify js and css files. Sometimes they break in the process. Disable the module in this case.

Q: Some search results within the profiler act rather strange. How does it work?

A: Whenever you try to view a new character, AoWoW needs to fetch it first. Since the data is structured for the needs of TrinityCore and not for easy viewing, AoWoW needs to save and restructure it locally. To this end, every char request is placed in a queue. While the queue is not empty, a single instance of prQueue is run in the background as not to overwhelm the characters database with requests. This also means, some more exotic search queries can't be run agains the characters database and have to use the incomplete/outdated cached profiles of AoWoW.

Thanks

@mix: for providing the php-script to parse .blp and .dbc into usable images and tables

@LordJZ: the wrapper-class for DBSimple; the basic idea for the user-class

@kliver: basic implementation of screenshot uploads

Special Thanks

Said website with the red smiling rocket, for providing this beautifull website!

Please do not reagard this project as blatant rip-off, rather as "We do really liked your presentation, but since time and content progresses, you are sadly no longer supplying the data we need".

uses-badges.svg

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值