以前写过一篇"魔兽世界私服服务器端模拟器",今天才发现浏览量已经达到3000多人次,今天又去了WDDG看了看,哈哈,又出新版本了.现在的模拟器可以支持1.4.2
下载地址一
下载地址二
下载地址三
此版本仅适合英文版本(因为中文版本没有1.4.2)
由于以前日志没有写功略,喜欢玩单机的朋友可以参照下面这个1.3.1看下,我看了下,1.4.2设置比起来还要更简单一些.
安装过程:
1.安装过程中自动打开序列号网页选择右下或左下的 Your Ad 弹出个网页,不管它。这时候应该在序列号页出现序列号了。
2. 一路 NEXT 安装完成。然后到你安装的目录下新建个accounts目录。然后再到maps目录中,运行BatCreator.exe文件。选择你安装好的魔兽的目录。点Create自动生成提取地图的匹处理文件。然后再点run吧。这时候就等待下了,等地图提取完。
PS:运行BatCreator.exe的时候选择目录不必指到DATA目录,只用指到魔兽世界的安装目录就可以了.
EX:魔兽世界安装在 D:Word of warcraft 那么只到这就可以了
3.WDDG WoW Emu 目录分析
假设安装目录为:D:WDDG Database
Documentation 模拟器的相关说明
icons 模拟器用的图标
accounts 帐号存放目录(一个角色对应一个文件名 需要自己建立)
logs 模拟器记录的存放目录
maps 地图文件(里面有执行文件自动生成地图文件)
saves 世界存盘目录(保存角色、物品、等级、世界记录等等)
scripts 模拟器脚本区(这才是这个模拟器最精华的部分)
Uninstall 反安装用到文件
www 模拟器自己带的网页注册程序(如果你要对外开放直接修改就可以用了)
4.可执行文件
Account Creator.exe 模拟器自带的帐号管理工具(包括修改功能)
IP-Configuration.exe 模拟器服务器配置修改工具(其实就是修改 Scipts 下的 emu.conf 文件)
maps.exe 从魔兽世界安装好后提出去地图后批量改名的文件(这就是为什么提出文件中看
到的文件名字和模拟器目录中的不同的原因,模拟器器的地图文件对应的列表不是用的原文件名,而是改名后的)
mpq.exe 提取MPQ文件的工具
TrayWoWemu.exe 模拟器系统图标栏启动方式的程序
WoWemu.exe 模拟器正常窗口方式运行程序
wowlauncher.exe 魔兽世界启动程序(可以不用,直接修改魔兽世界下的 realmlist.wtf 文件内容,然后用Wow.exe启动即可)
PS:这时候模拟器应该已经可以运行了,你可以自己运行试下。修改魔兽世界安装目录下的realmlist.wtf文件改成自己的IP,启动模拟器(需要等待加载地图)然后运行WoW.exe记得在这之前用帐号工具做个帐号出来
其它一些WOW资料:
运行 WoWemu.exe 后模拟器会从 Script 调用的文件:
defines.scp 预定义文件(定义了各职业等等许多东西)
emu.conf 服务器相关配置文件
items.scp 道具定义文件(所有道具的价格、功能等等都在这定义的)
classes.scp 各职业出生定义文件(各职业出生地、坐标、技能、身上携带的物品等等都在这定义)
gameobjects.scp 动作的定义(定义了游戏中各种动作的动作、声音、类型)
creatures.scp 模型定义(定义了游戏中所有NPC的模型、类型等等)
Spell.dbc 技能设置(定义各个技能的CD时间、需求等等)
WorldSafeLocs.dbc 复活地设置(定义了各个复活点的坐标)
WorldMapArea.dbc 阵营地图设置(定义了世界地图上各地方的阵营所属中立或其他)
spellcost.scp 技能学习的定义(定义了游戏中可以学习的技能价格和需求)
areatriggers.scp 地区定义(定义了游戏中各地区的范围、坐标、阵营所属等等)
Talent.dbc 传送位置(定义了各传送地点的位置)
TaxiNodes.dbc 好象是传送的时候的说的话
TaxiPath.dbc 传送路径(定义从A到B的坐标)
quests.scp 任务定义(定义了任务的限制级别限制和互相关联等等)
EmotesText.dbc 动作的文字(定义 /命令 后显示的文本)
Faction.dbc 作用不详
FactionTemplate.dbc 作用不详
pages.scp NPC的一些对话
预读基本上到这就结束了加载文件了,再就是加载数据库、设置表、地图等等。。。。
Script 目录下的 TCL 目录简单分析:
先提出个观点:TCL文件可以看成是动作的脚本或是一种编程语言
打开TCL目录就会发现里面有好多目录,这些目录对应的就是游戏中的地区名字。再进去,就会发现这里面有各个NPC的名字了。里面定义了各个NPC的说话动作、任务等等,和 Script 文件内有对应的哦。
一点点心得:
1 ndb.def 文件 里面是NPC的位置、类型(守卫、训练师等等)、名字、可以接到的任务编号
2 qdb.def 文件 里面是任务的编号、名称、接任务的等级需求、后继任务等等
汉化的时候请注意这几个文件,也需要同时修改下的.
记得保存文件的时候选则 UTF8 否则游戏中无法显示中文的
Q:物品代码和NPC查询
A:物品的名称和代码可以在 Script 目录下 Items.scp 文件中查找到。例如任务物品:Water Pitcher可以用任意文本编辑器查找 name=Water Pitcher 后找到,查找格式为 name=物品名称 ,这时候相上看有 [item xxxx] xxxx即为物品代码 Water Pitcher [item 4755],这的4755就是你在当 GM 的时候可以用 .add 4755 加入自己包中的物品代码。至于各个NPC就查找就不大好办了。因为在WOW中NPC能教的任务是用的代码的形式,你直接打开文件可能看不明白的。但这时候还有个其他的办法来找到我们要找的人。进如 TCL 目录,找到你人所在的区域的地方名字的目录。进入,里面会有很多的NPC的名字的哦,嘿嘿,打开看看吧。看看对话就知道了
需要知道的几个问题:
设置问题:
单机玩:
修改魔兽世界根目录下的realmlist这个文件(用记事本打开),将里面的改为 set realmlist 127.0.0.1
局域网的联机:
首先修改emu.conf把HOST后IP全改成你内网的IP,一般是192.168.0.XX或172.168.0.XX(当然也有可能不同),然后让你的朋友(也就是想要加入你的游戏的人)修改reallist.wtf将原先的127.0.0.1修改为你内网的IP即可.
公网联机:
如果是公网的则比较麻烦,首先你需要申请一个动态域名,www.meidu.com可以申请免费动态域名
然后修改EMU.conf 内的http_host=你的公网IP(或者动态域名)http_port=8080 rs_host=你的公网IP(或者动态域名)rs_port=3724 ws_host=你的公网IP(或者动态域名)ws_port=8085 rs_host=你的公网IP(或者动态域名)
rs_port=3724然后进入C:WINDOWSsystem32driversetc,用记事本打开host 在文件的末端添加如下语句Lan IP 动态域名例如:192.0.0.6 aabbcc.2mydns.com,Internet客户端修改realmlist 为你的Wan ip 或者 动态域名
如果使用路由接入WWW的用户需要映射 8080 8085 以及 3724端口到本地
DB的设置:
首先打开DB的安装目录(例如C:/......./WDDG LANSERVER)
我们要用到的有两个文件 Account Creator 建立账号用的 wowemu 启动模拟器用的
建立账号: 执行 Account Creator 就可以建立账号,输入账号密码之后点击creae注册,可以选择普通账号或GM账号,注意申请成功是没有提示的...
执行wowemu模拟器,等会儿 ,别关了wowemu ,我们就可以开始游戏了(最好在执行wowemu之前先进一下WOW,不然可能会提示找不到客户端),如果你想更好的游戏,请你继续往下看~
emu.conf文件的设置问题:
用记事本打开script目录下的emu.conf文件(在DB的安装目录下))
[game]
linger=20
npc_corpse_delay=60
autosave_time_minutes=3(存盘时间)(就是3分钟存一次盘~不过不建议用这种方法存盘,以下我会说明~~) health_growing_rate=2(HP恢复速度)
mana_growing_rate=2(MP恢复速度)
energy_growing_rate=2(恢复速度)
WAD的设置: (没用过WAD,请用过的兄弟补充,不过大体都差不多
3.游戏问题:
经过以上的设置我们就可以开始WOW了,首先用你刚才申请的账号进入~如果密码或账号出错就会提示连接不到服务器~ 输入账号密码之后,选择一个服务器(也就这么一个服务器),这时候你就可以创建人物进入游戏了,如果你没有下人类的补丁就不能选择人族进入游戏(自动跳出),人族补丁,下载后直接覆盖到你的WOW安装目录下就可以了.....
下面来说说GM命令问题:
如果你用GM账号进入游戏就可以使用GM命令了,还有,GM可以看见NPC或素、刷怪点的小人,
如果你杀死了那个小人,NPC也会消失,刷怪的话也会停止刷怪...
GM命令的格式: 在游戏中按回车键,出现对话框,然后打入: .+命令+空格+代码
. usr hp : 改变HP选择的用户唯一.
.usr mana : 改变选择的用户mana .
.usr gold : 改变选择的用户金钱.
.usr lvl : 改变选择的用户的标准.
.usr speed : 改变选择的用户的speed.
.usr wspeed : 改变选择的用户的wspeed.
.usr scale : 改变选择的用户的 scale.
.usr mount : 改变选择的用户的登入.
.usr exp : 改变选择的用户的EXP.
.usr aura : 改变选择的用户的aura.
.usr spell :增加一个咒语 .
.usr skin : 改变选择的用户的Skin.
.usr talentxp : 增加天分点.
.gm pass : 改变您真正的通行证为帐户lvl .
.gm off : 取消显示用户
.gm on : 增加显示用户
.gm kick : 踢命名的用户.
.gm save : 保存.
.gm announce : 寄发一则消息到世界.
.move where : 移动您给的座标.
.move there : 移动到命名的用户.
.move here : 移动命名的用户到您着.
.move fast :向您座标移动.
.move world :向您座标移动和地图.
.move town : 移动您键入的镇.
.move prog : 移动您向程序员小岛.
.move isle :移动您向管理员小岛.
.npc info :显示信息在选择的npc .
.npc mobs : 产生NPC在你的位置.
.npc taxi : 增加一辆出租汽车.
.npc spell :增加一个咒语来教练员NPC .
.npc rmvspell :从教练员取消咒语NPC .
.npc item :增加一个项目来教练员NPC .
.npc rmvitem :从教练员去除项目NPC .
.npc itemmove : 搬入项目贩卖者NPC .
.npc delete :删除NPC.
.npc level : 改变选择的NPC 的标准.
.npc skin : 改变选择的NPC 皮肤.
.npc faction :改变选择的NPC 的派别.
.npc name :更改选择的NPC 的名字.
.npc flag : 改变选择的NPC 旗子.
.npc animfreq : 改变选择的NPC 频率.
.npc random :集合任意开关选择的NPC .
.npc addmove :增加一个小站或设置NPC.
.npc run : 设置奔跑开关选择的NPC .
.npc state :设置如果选择的NPC NPC 意志自动攻击.
.npc scale :选择的NPC集合scale.
.npc hpmin : 设置选择的NPC最小HP .
.npc hpmax : 设置选择的NPC最大HP .
.admin ban :禁令命名的用户从服务器
.admin lvl :改变命名的用户lvl 帐户.
.admin addspirit : 增加一种Spirit来世界.
.admin die :使用户死
.admin revive :使用户复活
.admin update : 更新Opcodes
.addgo : 在你的坐标添加游戏对象
.add : 添加项目到你的背包中.
.addnpc : 添加NPC到游戏.
.del : 删除目标NPC
.setlevel : 设置个人或NPC的等级
.setmodel : 给NPC或个人设置模型数量.
.learn : 学习魔法的数目
.save : 保存文件.
.rehash : 改写目标.
.flag1 : 设置有毛病的标记.
.ppon : 打开pp系统.
.ppoff :关闭pp系统.
.turn : 转动NPC面朝你.
.come : NPC来到你的位置.
.go : 去世界坐标.
.gotrigger: 进入世界范围的位置,参数: trigger_number
.kill : 杀死选择的NPC或个人.
.killallnpc : 杀死所有的NPC的形象.
.resurrect : 复活选择的个人.
.setsize : 设置NPC的大小.
.setspeed : 设置NPC或个人的速度
.setflags : 设置NPC或O.G的面具. 参数:
.addspawn : 添加大量的点到你的位置. 参数 : [] []
.setnpcspawn : 添加条目和数目作成大量NPC到大量的点
.setnpcgo : 设置条目由于大量游戏目标到大量点
.setspawndist : 设置小和大距离到大量
.setspawntime : 设置小和大的时间到大量.
.setxp : 设置经验到个人.
.paralyse : 不动和动到个人或NPC.
.setaura : 设置预兆数目
.exploration : 打开你地图的位置.
.dismount : 卸下你.
.listsp :列出你的魔法.
.listsk :列出你的技能.
.delsp : 忘记魔法
.delsk : 忘记技能.
.info : 附近NPC的信息.
.online : 显示在线玩家数目
.goname : 移动到输入名字的个人或NPC.
.goguid : 移动到行会.
.targetgo : 尝试移动到最近的玩家(定位最近的object)
.targetlink : 尝试到连接目标OF选择目标
.move :传送目标.
.retcl : 重装TCL
.rescp : 重装 SCP.
.clearqflags : 清楚寻找标记
.bytes : for debug
.pingmm : 制造点在你的地图
.adddyn : 测试到竞技
.gotrigger(空格)XXX 这里XXX是
部分地区的代码XXX
45 红色修道院 SM副本入口
78 死亡矿井 副本入口
196 荆棘谷地图某地
220 暗夜精灵主城附近
230 某传送点之一
302 某哨卡
422 科多拉兽坟场地图上面 就是半人马任务那里
523 某副本
542 精灵主城附近地区
682 赤脊山湖畔镇 偏人类联盟重要地点之一
702或704 暴风城魔法师塔里面或外面
707 暮色森林里面的镇子 人类联盟重要地点之一
713 wetland 湿地 这里是联盟从东大陆坐船到西大陆地点之一
1105 某副本
1326 某神庙
1387南部XX
1506 燃烧之地
用GM的帐号可以向自己背包里面加入各种物品
命令如下
.add(空格)XXX 这里XXX是一些数字
没钱怎么办呢,你可以添加些物品,然后卖给NPC 物品代码见下:
大家可能都发现换了装备看不出效果 ,其实只要先退到人物选择画面再进入就行了..如果想给自己调级最好用增加经验: 注意了!!!!!!!!改经验之前 先用鼠标点一下左上角你自己的人物角色
.setxp XXXXX(如: .setxp 500000 )
Z代表紫色装备..L代表蓝色装备..V代表绿色装备..B代表白色装备
940 法袍 Z ,, 942 法师戒指 Z ,, 943 法仗 Z ,, 937 法仗 L ,, 936 单手锤 L ,,
935 单手剑 L ,, 934 单手斧 L ,, 933 十格容器 ,, 929 回血药水 ,, 928 法仗 B ,,
927 单手斧 B ,, 926 双手斧 B ,, 925 主手锤 B ,, 924 主手锤 B ,, 923 单手剑 B ,,
922 双手剑 B ,, 920 主手锤 B ,, 918 十格容器 ,, 914 锁甲 V ,, 913 双手剑 V ,,
911 双手锤 V ,, 897 布手 V ,, 892 布手 V ,, 890 法仗 L ,, 899 匕首 V ,,
888 布手 L ,, 886 主手剑 V ,, 885 主手斧 V ,, 880 法仗 V ,, 873 法仗 Z ,,
871 单手斧 Z ,, 870 双手斧 Z ,, 869 主手剑 Z ,, 868 主手锤 Z ,, 867 皮手 Z ,,
866 法仗 V ,, 865 主手锤 V ,, 864 单手剑 V ,, 863 单手斧 V ,, 862 戒指 L ,,
861 皮甲 B ,, 858 回血药 ,, 857 十格容器 ,, 856 八格容器 ,, 854 法仗 B ,,
853 单手斧 B ,, 852 单手斧 B ,, 851 单手剑 B ,, 850 锁手 B ,, 849 锁脚 B ,,
848 锁腿 B ,, 847 锁胸 B ,, 820 匕首 V ,, 821 皮胸 V ,, 826 主手斧 V ,,
827 主手锤 V ,, 828 六格容器 ,, 816 匕首 V ,, 812 法仗 Z ,, 811 主手斧 Z ,,
810 主手锤 Z ,, 809 主手剑 Z ,, 805 六格容器 ,, 804 十格容器 ,, 799~792 皮甲一套 B ,,
791 法仗 L ,, 790 主手斧 V ,, 789 主手锤 V ,, 781 主手锤 B ,, 778 主手斧 B ,,
17780 匕首 Z ,, 17779 板肩 V ,, 17778 皮腰 V ,, 17777 锁胸 V ,, 17776 皮头 V ,,
17775 皮胸 V ,, 17774 饰品 V ,, 17773 项链 V ,, 17772 项链 V ,, 17770 板手 V ,,
17768 戒指 V ,, 17767 锁头 L ,, 17766 双手锤 L ,, 17759 饰品 ? ,, 17755 布腰 L ,,
17754 锁腿 L ,, 17753 弓 L ,, 17752 匕首 L ,, 17751 皮腿 V ,, 17750 皮腰 V ,,
17749 皮肩 L ,, 17748 皮脚 L ,, 17746 板手 L ,, 17745 魔杖 L ,, 17744 饰品 L ,,
17743 法仗 L ,, 17742 皮胸 L ,, 17741 皮胸 L ,, 17740 皮头 L ,, 17739 披风 L ,,
17738 徒手 L ,, 17737 法球 L ,, 17736 锁手 L ,, 17734 板头 L ,, 17733 主手锤 L ,,
17732 布肩 L ,, 17730 双手斧 L ,, 17728 皮脚 L ,, 17721 皮手 L ,, 17719 单手剑 L ,,
17718 盾 L ,, 17717 枪械 L ,, 17714 锁腕 L ,, 17713 戒指 L ,, 17711 板腿 L ,,
17710 匕首 L ,, 17708 回魔药 ,, 17707 项链 L ,, 17705 单手剑 L ,, 17704 主手斧 V ,,
4.存盘问题:
当要退出游戏时使用GM指令.save来保存游戏,然后退出游戏后不要直接关闭模拟器而是利用ctrl+c来关闭模拟器(要按2次)这样即可正常保存(把存盘时间设置成60或更高....)我比较推荐这个方法,这样你可以在冒险前或打BOSS前先保存一下,如果不幸牺牲了,你可以重新进游戏load回冒险前或打BOSS前的场景和状态,而不必因为死亡又要再跑一大段路了
注意:
下载了"WDDG_Armageddon_v1.4.2.rar"请注意看setup.txt中的安装注意事项,这里是原版的文件,为了安装成功,所有的步骤请按照原版说明操作"
After installation follow these steps to successfully install and run your WoW server.
1. open the file batcreator.exe ( you can find this file inside the emulator/maps directory). when this file is open you can point it to your world of warcraft directory, then click on create, and then on run. it will now extract all maps from wow that are needed by the server. the dos box that appears will ask you twice y/n , first time you choose yes, second time no.
2. open the file account creator.exe, this file can be found in the emulator directory. click on create account and enter the log on details you want to use.remember this is case sensitive, so if you use a capital letter then you have to use that same capital letter when you log into the game.DO NOT CHOOSE GM WHEN CREATING AN ACCOUNT. only choose gm if you are going to be developing.
3. open the file IP Configuration.exe, this file can be found in the emulator directory. now there are two ways of using this program. you can enter your lan ip for home networking, or your internet ip for lanning over the internet.it is your choice.
don't know what your ip is?? go to start / run type cmd, then pucsh enter...a dos box will appear, inside type ipconfig and press enter. this will show a list of your current ip addresses.this will not allways show your internet ip, if it does not then just go to this webpage : http://www.myipaddress.com this page will display your current internet ip.
4. ok now that you have setup your server ip, you need to setup your realmlist, this is easy.run the wowlauncher.exe file, this can be found inside the emulator directory. a box will popup, there will be two buttons in it labeled "enable" click on both. (if it only has one "repair button" then do not stress, just ignore and close ) now create a new text file on the desktop, open it up and type in your ip address inside, the same ip address you used for the server. eg: if your ip address is 127.0.0.1 then the only thing inside the text box will be 127.0.0.1 ok once you have done this save and close the file. now rename the file to "wow on lan.wow" it is essential that you change the extension of the file from .txt to .wow,( this will allow wowlauncher to use the file to startup world of warcraft using your ip as a realmlist.)
-------------------------------------------------------------------
-------------------------------------------------------------------
以上是安装完毕继续下面操作,中文介绍这里很少,这很重要!
Now you need to setup your unique emulator key:
----------------------------------------------
ok follow these steps to make a successfull key:
-------------------------------------------------------
step 1:
-------
Delete the already existing "wowemu.key" in emulator root directory.
Step 2:
--------
open "example.txt" file and edit it like this:
----------------------------------
[host]
keyver=1
user=WDDG User
copyright=Copyright ?2004/2005 by WoWEmu team, contact:wad@inbox.lv
counter=http://wad.eclub.lv/~wad/wowemu/counter.php?ver=
server_name=WDDG Armageddon 1.4.0
ws_host= ( add_your_ip_here )/255.255.255.255
ws_port=8085 ^
I
I
---------- Where it says add_Your_IP_Here
replace that part with your ip adress. for example if your ip address is 192.168.0.1 then the file should look like this:
--------------------------------------
[host]
keyver=1
user=WDDG User
copyright=Copyright ?2004/2005 by WoWEmu team, contact:wad@inbox.lv
counter=http://wad.eclub.lv/~wad/wowemu/counter.php?ver=
server_name=WDDG Armageddon 1.4.0
ws_host=192.168.0.1/255.255.255.255
ws_port=8085
-----------------------------------------
once you have done this save and close the "example.txt" file.
Step 3:
--------
open the "keymaker.exe" file, it will open a dos box. inside it type the following:
Enter input file: example.txt
hit the enter button, it will make a new file called "wowemu.key" in the emulator directory.
--------------------------
now you are done......
now start the server with wowemu.exe and once it has fully loaded double click on the "wow on lan.wow" file you made on the desktop, enter your username and password and enjoy the game...
there are shortcuts to the following in the start menu too:
BatCreator.exe
Account Creator.exe
IP Configurator.exe
WowLauncher.exe
Wowemu.exe
traywowemu.exe ( same as wowemu, but minimises to tray instead.)
that was not so bad....so now all you ever have to do when you want to play wddg database is start server, then open the wow on lan file...that is it...
hope you enjoy and if you have problems, please post them on our forum.
http://www.wddg-online.com
WDDG Group.
下载地址一
下载地址二
下载地址三
此版本仅适合英文版本(因为中文版本没有1.4.2)
由于以前日志没有写功略,喜欢玩单机的朋友可以参照下面这个1.3.1看下,我看了下,1.4.2设置比起来还要更简单一些.
安装过程:
1.安装过程中自动打开序列号网页选择右下或左下的 Your Ad 弹出个网页,不管它。这时候应该在序列号页出现序列号了。
2. 一路 NEXT 安装完成。然后到你安装的目录下新建个accounts目录。然后再到maps目录中,运行BatCreator.exe文件。选择你安装好的魔兽的目录。点Create自动生成提取地图的匹处理文件。然后再点run吧。这时候就等待下了,等地图提取完。
PS:运行BatCreator.exe的时候选择目录不必指到DATA目录,只用指到魔兽世界的安装目录就可以了.
EX:魔兽世界安装在 D:Word of warcraft 那么只到这就可以了
3.WDDG WoW Emu 目录分析
假设安装目录为:D:WDDG Database
Documentation 模拟器的相关说明
icons 模拟器用的图标
accounts 帐号存放目录(一个角色对应一个文件名 需要自己建立)
logs 模拟器记录的存放目录
maps 地图文件(里面有执行文件自动生成地图文件)
saves 世界存盘目录(保存角色、物品、等级、世界记录等等)
scripts 模拟器脚本区(这才是这个模拟器最精华的部分)
Uninstall 反安装用到文件
www 模拟器自己带的网页注册程序(如果你要对外开放直接修改就可以用了)
4.可执行文件
Account Creator.exe 模拟器自带的帐号管理工具(包括修改功能)
IP-Configuration.exe 模拟器服务器配置修改工具(其实就是修改 Scipts 下的 emu.conf 文件)
maps.exe 从魔兽世界安装好后提出去地图后批量改名的文件(这就是为什么提出文件中看
到的文件名字和模拟器目录中的不同的原因,模拟器器的地图文件对应的列表不是用的原文件名,而是改名后的)
mpq.exe 提取MPQ文件的工具
TrayWoWemu.exe 模拟器系统图标栏启动方式的程序
WoWemu.exe 模拟器正常窗口方式运行程序
wowlauncher.exe 魔兽世界启动程序(可以不用,直接修改魔兽世界下的 realmlist.wtf 文件内容,然后用Wow.exe启动即可)
PS:这时候模拟器应该已经可以运行了,你可以自己运行试下。修改魔兽世界安装目录下的realmlist.wtf文件改成自己的IP,启动模拟器(需要等待加载地图)然后运行WoW.exe记得在这之前用帐号工具做个帐号出来
其它一些WOW资料:
运行 WoWemu.exe 后模拟器会从 Script 调用的文件:
defines.scp 预定义文件(定义了各职业等等许多东西)
emu.conf 服务器相关配置文件
items.scp 道具定义文件(所有道具的价格、功能等等都在这定义的)
classes.scp 各职业出生定义文件(各职业出生地、坐标、技能、身上携带的物品等等都在这定义)
gameobjects.scp 动作的定义(定义了游戏中各种动作的动作、声音、类型)
creatures.scp 模型定义(定义了游戏中所有NPC的模型、类型等等)
Spell.dbc 技能设置(定义各个技能的CD时间、需求等等)
WorldSafeLocs.dbc 复活地设置(定义了各个复活点的坐标)
WorldMapArea.dbc 阵营地图设置(定义了世界地图上各地方的阵营所属中立或其他)
spellcost.scp 技能学习的定义(定义了游戏中可以学习的技能价格和需求)
areatriggers.scp 地区定义(定义了游戏中各地区的范围、坐标、阵营所属等等)
Talent.dbc 传送位置(定义了各传送地点的位置)
TaxiNodes.dbc 好象是传送的时候的说的话
TaxiPath.dbc 传送路径(定义从A到B的坐标)
quests.scp 任务定义(定义了任务的限制级别限制和互相关联等等)
EmotesText.dbc 动作的文字(定义 /命令 后显示的文本)
Faction.dbc 作用不详
FactionTemplate.dbc 作用不详
pages.scp NPC的一些对话
预读基本上到这就结束了加载文件了,再就是加载数据库、设置表、地图等等。。。。
Script 目录下的 TCL 目录简单分析:
先提出个观点:TCL文件可以看成是动作的脚本或是一种编程语言
打开TCL目录就会发现里面有好多目录,这些目录对应的就是游戏中的地区名字。再进去,就会发现这里面有各个NPC的名字了。里面定义了各个NPC的说话动作、任务等等,和 Script 文件内有对应的哦。
一点点心得:
1 ndb.def 文件 里面是NPC的位置、类型(守卫、训练师等等)、名字、可以接到的任务编号
2 qdb.def 文件 里面是任务的编号、名称、接任务的等级需求、后继任务等等
汉化的时候请注意这几个文件,也需要同时修改下的.
记得保存文件的时候选则 UTF8 否则游戏中无法显示中文的
Q:物品代码和NPC查询
A:物品的名称和代码可以在 Script 目录下 Items.scp 文件中查找到。例如任务物品:Water Pitcher可以用任意文本编辑器查找 name=Water Pitcher 后找到,查找格式为 name=物品名称 ,这时候相上看有 [item xxxx] xxxx即为物品代码 Water Pitcher [item 4755],这的4755就是你在当 GM 的时候可以用 .add 4755 加入自己包中的物品代码。至于各个NPC就查找就不大好办了。因为在WOW中NPC能教的任务是用的代码的形式,你直接打开文件可能看不明白的。但这时候还有个其他的办法来找到我们要找的人。进如 TCL 目录,找到你人所在的区域的地方名字的目录。进入,里面会有很多的NPC的名字的哦,嘿嘿,打开看看吧。看看对话就知道了
需要知道的几个问题:
设置问题:
单机玩:
修改魔兽世界根目录下的realmlist这个文件(用记事本打开),将里面的改为 set realmlist 127.0.0.1
局域网的联机:
首先修改emu.conf把HOST后IP全改成你内网的IP,一般是192.168.0.XX或172.168.0.XX(当然也有可能不同),然后让你的朋友(也就是想要加入你的游戏的人)修改reallist.wtf将原先的127.0.0.1修改为你内网的IP即可.
公网联机:
如果是公网的则比较麻烦,首先你需要申请一个动态域名,www.meidu.com可以申请免费动态域名
然后修改EMU.conf 内的http_host=你的公网IP(或者动态域名)http_port=8080 rs_host=你的公网IP(或者动态域名)rs_port=3724 ws_host=你的公网IP(或者动态域名)ws_port=8085 rs_host=你的公网IP(或者动态域名)
rs_port=3724然后进入C:WINDOWSsystem32driversetc,用记事本打开host 在文件的末端添加如下语句Lan IP 动态域名例如:192.0.0.6 aabbcc.2mydns.com,Internet客户端修改realmlist 为你的Wan ip 或者 动态域名
如果使用路由接入WWW的用户需要映射 8080 8085 以及 3724端口到本地
DB的设置:
首先打开DB的安装目录(例如C:/......./WDDG LANSERVER)
我们要用到的有两个文件 Account Creator 建立账号用的 wowemu 启动模拟器用的
建立账号: 执行 Account Creator 就可以建立账号,输入账号密码之后点击creae注册,可以选择普通账号或GM账号,注意申请成功是没有提示的...
执行wowemu模拟器,等会儿 ,别关了wowemu ,我们就可以开始游戏了(最好在执行wowemu之前先进一下WOW,不然可能会提示找不到客户端),如果你想更好的游戏,请你继续往下看~
emu.conf文件的设置问题:
用记事本打开script目录下的emu.conf文件(在DB的安装目录下))
[game]
linger=20
npc_corpse_delay=60
autosave_time_minutes=3(存盘时间)(就是3分钟存一次盘~不过不建议用这种方法存盘,以下我会说明~~) health_growing_rate=2(HP恢复速度)
mana_growing_rate=2(MP恢复速度)
energy_growing_rate=2(恢复速度)
WAD的设置: (没用过WAD,请用过的兄弟补充,不过大体都差不多
3.游戏问题:
经过以上的设置我们就可以开始WOW了,首先用你刚才申请的账号进入~如果密码或账号出错就会提示连接不到服务器~ 输入账号密码之后,选择一个服务器(也就这么一个服务器),这时候你就可以创建人物进入游戏了,如果你没有下人类的补丁就不能选择人族进入游戏(自动跳出),人族补丁,下载后直接覆盖到你的WOW安装目录下就可以了.....
下面来说说GM命令问题:
如果你用GM账号进入游戏就可以使用GM命令了,还有,GM可以看见NPC或素、刷怪点的小人,
如果你杀死了那个小人,NPC也会消失,刷怪的话也会停止刷怪...
GM命令的格式: 在游戏中按回车键,出现对话框,然后打入: .+命令+空格+代码
. usr hp
.usr mana
.usr gold
.usr lvl
.usr speed
.usr wspeed
.usr scale
.usr mount
.usr exp
.usr aura
.usr spell
.usr skin
.usr talentxp
.gm pass
.gm off : 取消显示
.gm on : 增加显示
.gm kick
.gm save : 保存.
.gm announce
.move where : 移动您给的座标.
.move there
.move here
.move fast
.move world
.move town
.move prog : 移动您向程序员小岛.
.move isle :移动您向管理员小岛.
.npc info :显示信息在选择的npc .
.npc mobs
.npc taxi : 增加一辆出租汽车.
.npc spell
.npc rmvspell
.npc item
.npc rmvitem
.npc itemmove
.npc delete :删除NPC.
.npc level
.npc skin
.npc faction
.npc name
.npc flag
.npc animfreq
.npc random
.npc addmove :增加一个小站或设置NPC.
.npc run
.npc state
.npc scale
.npc hpmin
.npc hpmax
.admin ban
.admin lvl
.admin addspirit : 增加一种Spirit来世界.
.admin die :使用户死
.admin revive :使用户复活
.admin update
.addgo : 在你的坐标添加游戏对象
.add : 添加项目到你的背包中.
.addnpc : 添加NPC到游戏.
.del : 删除目标NPC
.setlevel : 设置个人或NPC的等级
.setmodel : 给NPC或个人设置模型数量.
.learn : 学习魔法的数目
.save : 保存文件.
.rehash : 改写目标.
.flag1 : 设置有毛病的标记.
.ppon : 打开pp系统.
.ppoff :关闭pp系统.
.turn : 转动NPC面朝你.
.come : NPC来到你的位置.
.go : 去世界坐标.
.gotrigger: 进入世界范围的位置,参数: trigger_number
.kill : 杀死选择的NPC或个人.
.killallnpc : 杀死所有的NPC的形象.
.resurrect : 复活选择的个人.
.setsize : 设置NPC的大小.
.setspeed : 设置NPC或个人的速度
.setflags : 设置NPC或O.G的面具. 参数:
.addspawn : 添加大量的点到你的位置. 参数 : [
.setnpcspawn : 添加条目和数目作成大量NPC到大量的点
.setnpcgo : 设置条目由于大量游戏目标到大量点
.setspawndist : 设置小和大距离到大量
.setspawntime : 设置小和大的时间到大量.
.setxp : 设置经验到个人.
.paralyse : 不动和动到个人或NPC.
.setaura : 设置预兆数目
.exploration : 打开你地图的位置.
.dismount : 卸下你.
.listsp :列出你的魔法.
.listsk :列出你的技能.
.delsp : 忘记魔法
.delsk : 忘记技能.
.info : 附近NPC的信息.
.online : 显示在线玩家数目
.goname : 移动到输入名字的个人或NPC.
.goguid : 移动到行会.
.targetgo : 尝试移动到最近的玩家(定位最近的object)
.targetlink : 尝试到连接目标OF选择目标
.move :传送目标.
.retcl : 重装TCL
.rescp : 重装 SCP.
.clearqflags : 清楚寻找标记
.bytes : for debug
.pingmm : 制造点在你的地图
.adddyn : 测试到竞技
.gotrigger(空格)XXX 这里XXX是
部分地区的代码XXX
45 红色修道院 SM副本入口
78 死亡矿井 副本入口
196 荆棘谷地图某地
220 暗夜精灵主城附近
230 某传送点之一
302 某哨卡
422 科多拉兽坟场地图上面 就是半人马任务那里
523 某副本
542 精灵主城附近地区
682 赤脊山湖畔镇 偏人类联盟重要地点之一
702或704 暴风城魔法师塔里面或外面
707 暮色森林里面的镇子 人类联盟重要地点之一
713 wetland 湿地 这里是联盟从东大陆坐船到西大陆地点之一
1105 某副本
1326 某神庙
1387南部XX
1506 燃烧之地
用GM的帐号可以向自己背包里面加入各种物品
命令如下
.add(空格)XXX 这里XXX是一些数字
没钱怎么办呢,你可以添加些物品,然后卖给NPC 物品代码见下:
大家可能都发现换了装备看不出效果 ,其实只要先退到人物选择画面再进入就行了..如果想给自己调级最好用增加经验: 注意了!!!!!!!!改经验之前 先用鼠标点一下左上角你自己的人物角色
.setxp XXXXX(如: .setxp 500000 )
Z代表紫色装备..L代表蓝色装备..V代表绿色装备..B代表白色装备
940 法袍 Z ,, 942 法师戒指 Z ,, 943 法仗 Z ,, 937 法仗 L ,, 936 单手锤 L ,,
935 单手剑 L ,, 934 单手斧 L ,, 933 十格容器 ,, 929 回血药水 ,, 928 法仗 B ,,
927 单手斧 B ,, 926 双手斧 B ,, 925 主手锤 B ,, 924 主手锤 B ,, 923 单手剑 B ,,
922 双手剑 B ,, 920 主手锤 B ,, 918 十格容器 ,, 914 锁甲 V ,, 913 双手剑 V ,,
911 双手锤 V ,, 897 布手 V ,, 892 布手 V ,, 890 法仗 L ,, 899 匕首 V ,,
888 布手 L ,, 886 主手剑 V ,, 885 主手斧 V ,, 880 法仗 V ,, 873 法仗 Z ,,
871 单手斧 Z ,, 870 双手斧 Z ,, 869 主手剑 Z ,, 868 主手锤 Z ,, 867 皮手 Z ,,
866 法仗 V ,, 865 主手锤 V ,, 864 单手剑 V ,, 863 单手斧 V ,, 862 戒指 L ,,
861 皮甲 B ,, 858 回血药 ,, 857 十格容器 ,, 856 八格容器 ,, 854 法仗 B ,,
853 单手斧 B ,, 852 单手斧 B ,, 851 单手剑 B ,, 850 锁手 B ,, 849 锁脚 B ,,
848 锁腿 B ,, 847 锁胸 B ,, 820 匕首 V ,, 821 皮胸 V ,, 826 主手斧 V ,,
827 主手锤 V ,, 828 六格容器 ,, 816 匕首 V ,, 812 法仗 Z ,, 811 主手斧 Z ,,
810 主手锤 Z ,, 809 主手剑 Z ,, 805 六格容器 ,, 804 十格容器 ,, 799~792 皮甲一套 B ,,
791 法仗 L ,, 790 主手斧 V ,, 789 主手锤 V ,, 781 主手锤 B ,, 778 主手斧 B ,,
17780 匕首 Z ,, 17779 板肩 V ,, 17778 皮腰 V ,, 17777 锁胸 V ,, 17776 皮头 V ,,
17775 皮胸 V ,, 17774 饰品 V ,, 17773 项链 V ,, 17772 项链 V ,, 17770 板手 V ,,
17768 戒指 V ,, 17767 锁头 L ,, 17766 双手锤 L ,, 17759 饰品 ? ,, 17755 布腰 L ,,
17754 锁腿 L ,, 17753 弓 L ,, 17752 匕首 L ,, 17751 皮腿 V ,, 17750 皮腰 V ,,
17749 皮肩 L ,, 17748 皮脚 L ,, 17746 板手 L ,, 17745 魔杖 L ,, 17744 饰品 L ,,
17743 法仗 L ,, 17742 皮胸 L ,, 17741 皮胸 L ,, 17740 皮头 L ,, 17739 披风 L ,,
17738 徒手 L ,, 17737 法球 L ,, 17736 锁手 L ,, 17734 板头 L ,, 17733 主手锤 L ,,
17732 布肩 L ,, 17730 双手斧 L ,, 17728 皮脚 L ,, 17721 皮手 L ,, 17719 单手剑 L ,,
17718 盾 L ,, 17717 枪械 L ,, 17714 锁腕 L ,, 17713 戒指 L ,, 17711 板腿 L ,,
17710 匕首 L ,, 17708 回魔药 ,, 17707 项链 L ,, 17705 单手剑 L ,, 17704 主手斧 V ,,
4.存盘问题:
当要退出游戏时使用GM指令.save来保存游戏,然后退出游戏后不要直接关闭模拟器而是利用ctrl+c来关闭模拟器(要按2次)这样即可正常保存(把存盘时间设置成60或更高....)我比较推荐这个方法,这样你可以在冒险前或打BOSS前先保存一下,如果不幸牺牲了,你可以重新进游戏load回冒险前或打BOSS前的场景和状态,而不必因为死亡又要再跑一大段路了
注意:
下载了"WDDG_Armageddon_v1.4.2.rar"请注意看setup.txt中的安装注意事项,这里是原版的文件,为了安装成功,所有的步骤请按照原版说明操作"
After installation follow these steps to successfully install and run your WoW server.
1. open the file batcreator.exe ( you can find this file inside the emulator/maps directory). when this file is open you can point it to your world of warcraft directory, then click on create, and then on run. it will now extract all maps from wow that are needed by the server. the dos box that appears will ask you twice y/n , first time you choose yes, second time no.
2. open the file account creator.exe, this file can be found in the emulator directory. click on create account and enter the log on details you want to use.remember this is case sensitive, so if you use a capital letter then you have to use that same capital letter when you log into the game.DO NOT CHOOSE GM WHEN CREATING AN ACCOUNT. only choose gm if you are going to be developing.
3. open the file IP Configuration.exe, this file can be found in the emulator directory. now there are two ways of using this program. you can enter your lan ip for home networking, or your internet ip for lanning over the internet.it is your choice.
don't know what your ip is?? go to start / run type cmd, then pucsh enter...a dos box will appear, inside type ipconfig and press enter. this will show a list of your current ip addresses.this will not allways show your internet ip, if it does not then just go to this webpage : http://www.myipaddress.com this page will display your current internet ip.
4. ok now that you have setup your server ip, you need to setup your realmlist, this is easy.run the wowlauncher.exe file, this can be found inside the emulator directory. a box will popup, there will be two buttons in it labeled "enable" click on both. (if it only has one "repair button" then do not stress, just ignore and close ) now create a new text file on the desktop, open it up and type in your ip address inside, the same ip address you used for the server. eg: if your ip address is 127.0.0.1 then the only thing inside the text box will be 127.0.0.1 ok once you have done this save and close the file. now rename the file to "wow on lan.wow" it is essential that you change the extension of the file from .txt to .wow,( this will allow wowlauncher to use the file to startup world of warcraft using your ip as a realmlist.)
-------------------------------------------------------------------
-------------------------------------------------------------------
以上是安装完毕继续下面操作,中文介绍这里很少,这很重要!
Now you need to setup your unique emulator key:
----------------------------------------------
ok follow these steps to make a successfull key:
-------------------------------------------------------
step 1:
-------
Delete the already existing "wowemu.key" in emulator root directory.
Step 2:
--------
open "example.txt" file and edit it like this:
----------------------------------
[host]
keyver=1
user=WDDG User
copyright=Copyright ?2004/2005 by WoWEmu team, contact:wad@inbox.lv
counter=http://wad.eclub.lv/~wad/wowemu/counter.php?ver=
server_name=WDDG Armageddon 1.4.0
ws_host= ( add_your_ip_here )/255.255.255.255
ws_port=8085 ^
I
I
---------- Where it says add_Your_IP_Here
replace that part with your ip adress. for example if your ip address is 192.168.0.1 then the file should look like this:
--------------------------------------
[host]
keyver=1
user=WDDG User
copyright=Copyright ?2004/2005 by WoWEmu team, contact:wad@inbox.lv
counter=http://wad.eclub.lv/~wad/wowemu/counter.php?ver=
server_name=WDDG Armageddon 1.4.0
ws_host=192.168.0.1/255.255.255.255
ws_port=8085
-----------------------------------------
once you have done this save and close the "example.txt" file.
Step 3:
--------
open the "keymaker.exe" file, it will open a dos box. inside it type the following:
Enter input file: example.txt
hit the enter button, it will make a new file called "wowemu.key" in the emulator directory.
--------------------------
now you are done......
now start the server with wowemu.exe and once it has fully loaded double click on the "wow on lan.wow" file you made on the desktop, enter your username and password and enjoy the game...
there are shortcuts to the following in the start menu too:
BatCreator.exe
Account Creator.exe
IP Configurator.exe
WowLauncher.exe
Wowemu.exe
traywowemu.exe ( same as wowemu, but minimises to tray instead.)
that was not so bad....so now all you ever have to do when you want to play wddg database is start server, then open the wow on lan file...that is it...
hope you enjoy and if you have problems, please post them on our forum.
http://www.wddg-online.com
WDDG Group.
Google G1解锁、黑莓解锁、三星解锁、摩托罗拉解锁,任意GSM网络手机解锁
联系QQ:621815789
淘宝旺旺: 小鱼王子
淘宝店铺:http://shop33625588.taobao.com



收获很大,谢了朋友