zoukankan      html  css  js  c++  java
  • mangos搭建

    github地址:https://github.com/mangos/MaNGOS

    MaNGOS 是( Massive Network Game Object Server) 的缩写。由于暴雪公司对类似的开发小组采取过一些法律行动。为了避免麻烦,如同它的名字,mangos强调自己并非一个魔兽服务器模拟器,而是一个开源的 多人在线游戏服务器的软件。说到底是个网游的游戏引擎。Mangos开发小组强调其软件是用c++和C#编程语言,实现 的一个支持大型多人在线角色扮演游戏服务器的程序框架,在这个框架下,它理论上应该支持任何客户端的网络游戏,由于现在很多人使用魔兽世界来对它进行测 试,所以针对魔兽世界的脚本和数据库文件比较完善,很多人就利用这个开源项目来实现魔兽私服。而游戏的内容,例如故事情节,任务场景的脚本等都是由别的小 组独立开发的。 

    开发小组一再强调,这是个研究,教育性质的对怎样开发大型网游的服务器端有好处的项目,是一个技术细节毫无保留向公众开放的软件,是一件很有 意义的事情,如果你使用它作为盈利目的,那你本身就违反了软件的协议。所以任何利用mangos项目进行私服活动的组织和个人都违反了mangos的宗 旨,mangos项目也不会对它们负责。 

    mangos的技术细节上是这样的,核心部分是个和特定游戏没有关系的核心框架程序,主要是进行进程调度,创造世界,建立心跳机制,处理网络接入 等。数据库可以使用的开源数据库软件MySQL。至于游戏内容数据库,游戏人物,时间,世界脚本,都是由这个核心程序所支持的扩展 脚本来实现,所以有一些独立出来的项目专门模拟魔兽世界来开发支持mangos的核心程序。 

    ScriptDev2 
    安装MaNGOS 之后,我们的WOW没有任何NPC和怪物,那是因为MaNGOS只负责搭建游戏框架,并不负责构建游戏内容。因此有另一个项目叫做ScriptDev2(简称SD2),专门负责游戏内容的开发。
    https://github.com/mangosfour/scripts
    这是readme文件:
    criptDev2 is a script library, an extention of the scripting capabilities
    that comes with MaNGOS ( http://www.getmangos.co.uk ), written in C++ and is
    compatible with Windows and Linux. SQL needed for database support both
    MySQL and PostgreSQL.
    
    This script library provides unique scripts for NPCs, gameobjects, events
    and other that need unique implementation.
    
    Once ScriptDev2 is compiled it is automatically run by MaNGOS on server
    startup.
    一旦sd2被编译,他会自动被服务器mango自动运行。 For further information on ScriptDev2, please visit our project web site at http://www.scriptdev2.com/ Documentation on various development related topics can be found in the ../doc/ sub directory as well as on the web site. The required SQL files for creating the database backend are included in the ../sql/ sub directory. If you are updating from an older ScriptDev2 version, make sure to take a look at the SQL files provided in the ../sql/updates/ sub directory.
    数据库后台文件在../sql/sub目录下。


    ms@ubuntums:~/mangos/server$ git apply src/bindings/scripts/patches/MaNGOS-*-ScriptDev2.patch
    error: patch failed: src/bindings/CMakeLists.txt:16
    error: src/bindings/CMakeLists.txt: patch does not apply

    https://github.com/mangosfour/server

    https://github.com/mangoswiki/Wiki/wiki/Ubuntuinstall

    魔兽世界私服架设

    http://www.ownedcore.com/forums/world-of-warcraft/world-of-warcraft-emulator-servers/wow-emu-guides-tutorials/277131-linux-debian-server-setup-mangos-compile.html

    http://blog.sina.com.cn/s/blog_7278100c0100q5ke.html

    http://www.kaspersky-tribe.cn/forum.php?mod=viewthread&tid=264270

    http://www.cnblogs.com/linbc/archive/2009/11/20/1606493.html

    http://blog.csdn.net/smuggler_2003/article/details/5170839

  • 相关阅读:
    记忆的永恒
    放弃我是你的错
    献给我逝去的长辈们清明
    思维的局限,穷人为什么会穷?
    借我一生
    陪你到老
    风雨路途
    人生的十二大财富
    怀才不遇
    javascript变量
  • 原文地址:https://www.cnblogs.com/youxin/p/3679160.html
Copyright © 2011-2022 走看看