fluffos Logo
Fluffos
    • 项目资源
    • 官网网址
    • 下载
    • 工具
    • 下载PDF(开发中)
    • 下载Html压缩包(开发中)
    • 编辑
    • 编辑当前页面

      编辑当前页面内容
    • 创建新页面

      添加创建当前页面内容
    • 更新
    • 创建时间:2019-01-04 13:09:57
    • 创建者:final
    • 最后更新:2020-02-13 14:02:48
    • 最后更新者:final
    • 项目列表(逐步完善中)
    • Evennia 中文文档
    • Fluffos 中文文档
    • Ldmud 中文文档
    • Muddery 中文文档
    • Mudos文档(官方停止更新-同Fluffos)
    • (管理者项目开发中)
    • 0 创建编辑文档列表
    • 个人设置
    • 锁定屏幕
    • 登出

Fluffos 中文文档

  1. 首页
Fluffos 中文文档

高性能的Mud Driver


网站重新编写中,本站非官网,本站仅个人爱好为广大初学者提供文档平台.
Fluffos 官网 Fluffos Git Fluffos Git 国内镜像 Fluffos 官方论坛 QQ群:451819151
中文文档正在翻译中 2020年2月13日.

v2019编译指南

v2019支持在Ubuntu18.04或WSL(Windows子系统)或OSX最新版本MSYS2/mingw64上构建。
v2019 主要更新:
UTF-8支持.
Websocket支持.

v2019至少需要gcc 版本7以上

如果需要使用jemalloc 请自行编译
wget https://github.com/jemalloc/jemalloc/releases/download/5.0.1/jemalloc-5.0.1.tar.bz2
tar -jxvf jemalloc-5.0.1.tar.bz2
cd jemalloc-5.0.1
sudo apt-get install autogen autoconf

./autogen.sh
make -j2
sudo make install
sudo ldconfig

安装所用的库(非新手请自行过滤)

sudo apt install build-essential bison libevent-dev libmysqlclient-dev libpcre3-dev libpq-dev libsqlite3-dev libssl-dev libz-dev libjemalloc-dev libicu-dev openssl pcre mysqlclient

安装升级cmake

sudo pip install --upgrade cmake

下载源码

git clone https://gitee.com/mudcn/fluffos.git
cd fluffos
git checkout v2019

开始编译

mkdir build
cd build
cmake ..
make install

编译完成

<br/>

常见问题

-- Looking for C++ include sys/stat.h
CMake Error in /mnt/f/mud/fluffos/fluffos/build/CMakeFiles/CMakeTmp/CMakeLists.txt:
  Target "cmTC_ab390" requires the language dialect "CXX17" , but CMake does
  not know the compile flags to use to enable it.


CMake Error at /usr/share/cmake-3.10/Modules/CheckIncludeFileCXX.cmake:55 (try_compile):
  Failed to generate test project build system.
Call Stack (most recent call first):
  src/CMakeLists.txt:201 (CHECK_INCLUDE_FILE_CXX)


-- Configuring incomplete, errors occurred!

说明你gcc版本太低.请升级gcc

sudo apt install g++-7
sudo apt install g++7
sudo apt install gcc-7

#然后根据你得配置进行 
ln -s gcc-7 gcc
-- Found Libevent: /usr/lib/x86_64-linux-gnu/libevent.so (found suitable version "2.1.8-stable", minimum required is "2.0") found components:  libevent pthreads -- The following ICU libraries were not found:
--   uc (required)
--   dt (required)
CMake Error at /usr/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
  Failed to find all ICU components (missing: ICU_INCLUDE_DIR ICU_LIBRARY
  _ICU_REQUIRED_LIBS_FOUND)
Call Stack (most recent call first):
  /usr/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
  /usr/share/cmake-3.10/Modules/FindICU.cmake:298 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  src/CMakeLists.txt:225 (find_package)

缺少对应库 执行

sudo apt-get install libicu-dev

解决

以下是老的

修复移动端手机浏览器显示bug 2019/01/28
修复几个页面bug 现在可以在线编辑和创建了

现在有v2017和v2019两个版本,稍后进行补充内容

3.x开发测试版本 2.x稳定版本
最后更新版本3.0-alpha7.4
简介 详情请查看更新日志.

  • 向后兼容MudOS
  • 修复大量BUG
  • 支持最新常见的Linux版本(CentOS,Ubuntu等)
  • 64位LPC支持,LPC int总是64位整数,float是C double
  • MXP, GMCP, ZLIB, Websocket support (测试). (可选)
  • IPv6支持(可选)
  • iconv支持UTF-8,编码,输出动态翻译(可选)(中文支持经测试不是很稳定)
  • 严禁的类型检查(可选)
  • libevent集成等,详情请阅读文档
  • 官方许可
    License

This game, LPmud, is copyright by Lars Pensj|, 1990, 1991.

Source code herein refers to the source code, and any executables created from the same source code.

All rights reserved. Permission is granted to extend and modify the source code provided subject to the restriction that the source code may not be used in any way whatsoever for monetary gain.

The name MudOS is copyright 1991-1992 by Erik Kay, Adam Beeman, Stephan Iannce and John Garnett. LPmud copyright restrictions still apply.

In addition, the entire package is copyright 1995 by Tim Hollebeek.

FluffOS is a range of patches to MudOS distributed as the patched source tree for convenience. LPmud and MudOS copyright restrictions still apply.

友情声明
2019年逐步更新
本站资料大部分来源于网络,站长是爱好者不懂英文,只是希望多一些资料让大家了解而已,勿喷。

感谢以下人员

Sunyc(Fluffos主要维护人员)

Spock @ FF 97
发现号(Find@tx)
Naihe@sz等诸多为中文MUD付出的人们。

温馨提示

当前页面内容可随意编辑. 但是需要管理员人工审核.

fluffos logo

Fluffos 中文文档

高性能的Mud Driver
  • 目录索引
  • 更新日志
  • 编译
    • Lunix编译
    • Windows编译
  • API文档
    • 互动函数(interactive)
    • 字符串(strings)
    • 套接字(sockets)
    • 物件(objects)
    • 数字(numbers)
    • Mudlib(mudlib)
    • 映射(mappings)
    • 内部处理(internals)
    • 常规(general)
    • 函数(functions)
    • 浮点数(floats)
    • 文件处理(filesystem)
    • 数据库(dbase)
    • 编译(compile)
    • 调用(calls)
    • 缓冲区(buffers)
    • 阵列(arrays)
    • 系统(system)
  • 其他
    • 配置 options.h
最后编辑:final 最后更新时间:2020-02-13 14:02:48
最后编辑:final 最后更新时间:2020-02-13 14:02:48

© 2019 Final开发维护 邮箱:finalcn#126.com