Git Product home page Git Product logo

rathenacn-1's Introduction

rAthenaCN 汉化项目组

构建状态: Build Status

目录

  1. 项目普及

  2. 获取准备

  3. 安装指南

  4. 解决方案

  5. 常用链接

  6. 更多文档

  7. 项目普及


rAthena是一个协作软件开发项目,围绕创建强大的大型多人在线角色扮演游戏(MMORPG)服务器包进行。 用C编写,该程序非常灵活,可以提供NPC修改。该项目由世界各地的一组志愿者共同管理, 以及提供质量保证和支持的巨大社区。rAthena是eAthena项目的延续。

  1. 获取准备

在安装rAthena之前,您将需要某些工具和应用程序。这在可用的不同操作系统之间有所不同,所以下面将分解为Windows和Linux的先决条件。

  1. 安装指南

本节是一组非常简短的安装说明。有关您的操作系统的更简明指南,请参阅Wiki (文末尾的链接)

  • Windows

    • Install prerequisites

    • Create a folder to download rAthena into (e.g. C:\rAthena)

    • Right click this folder and select "Git Clone"

    • Paste the GitHub URL into the box:

        	https://github.com/rathena/rathena.git
      
    • Open MySQL Workbench and create an instance to connect to your MySQL Server

    • Create a database (rathena), a user (rathena), give permissions (GRANT SELECT,INSERT,UPDATE,DELETE) and then login using the new user

    • Use MySQL Workbench to run the .sql files in /sql-files/ on the new rathena database

  • Linux

    • Type:

      • (For CentOS)

          yum install gcc make mysql mysql-devel mysql-server pcre-devel zlib-devel git
        
      • (For Debian)

          apt-get install git make gcc libmysqlclient-dev zlib1g-dev libpcre3-dev
        
    • Type:

        	mysql_secure_installation
      
    • Start your MySQL server

    • Setup a MySQL user:

        	CREATE USER 'rathena'@'localhost' IDENTIFIED BY 'password';
      
    • Assign permissions:

        	GRANT SELECT,INSERT,UPDATE,DELETE ON `rathena\_rag`.* TO 'rathena'@'localhost';
      
    • Clone a GIT repository:

        	git clone https://github.com/rathena/rathena.git ~/rathena
      
    • Insert SQL files:

        	mysql --user=root -p rathena_rag < trunk/sql-files/main.sql (and others)
      
    • Configure and compile:

        	./configure && make clean && make server
      
    • When you're ready, start the servers:

        	./athena-start start
      
  1. 解决方案

如果您在启动服务器时遇到问题,您应该做的第一件事是检查控制台上发生了什么。 更常见的情况不是,所有支持问题都可以通过查看给出的错误信息来解决。

例子:

  • 您的地图服务器上出现如下错误:

      	[Error]: npc_parsesrcfile: Unable to parse, probably a missing or extra TAB in 
      		file 'npc/custom/jobmaster.txt', line '17'. Skipping line...
      		* w1=prontera,153,193,6 script
      		* w2=Job Master
      		* w3=123,{
      		* w4=
    

    如果你看看这个错误,它会告诉你你错过了 (或者有一个额外的) TAB. 通过查看这部分错误可以很容易地解决这个问题:

      		* w1=prontera,153,193,6 script
    

    If there was a TAB where it's supposed to be, that line would have prontera,153,193,6 at w1 and 'script' at w2. As there's a space instead of a TAB, the two sections are read as a single parameter.

  • You have a default user/password warning similar to the following:

      	[Warning]: Using the default user/password s1/p1 is NOT RECOMMENDED.
      	[Notice]: Please edit your 'login' table to create a proper inter-server user/pa
      	ssword (gender 'S')
      	[Notice]: and then edit your user/password in conf/map_athena.conf (or conf/impo
      	rt/map_conf.txt)
    

    Relax. This is just indicating that you're using the default username and password. To fix this, check over the part in the installation instructions relevant to the login table.

  • Your map-server outputs the following:

      	[Error]: make_connection: connect failed (socket #2, error 10061: No connection
      	could be made because the target machine actively refused it.
      	)!
    

    If this shows up on the map server, it generally means that there is no Char Server available to accept the connection.

  1. 常用链接

  1. 更多文档

rAthena拥有大量的帮助文件和位于/ doc /目录中的示例NPC脚本。这些包括对NPC脚本命令,atcommands(@), 组权限,项目奖金和数据包结构以及许多其他主题的详细解释。我们建议所有用户花时间在其他地方寻求帮助之前查看此目录。

rathenacn-1's People

Contributors

rathenacn avatar panpanws avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.