Cydh Ramdh 20588abcd8 Merge pull request #987 from rathena/feature/exp_max_level
EXP on Max Level
* Fixed #942
* 'Last' EXP for max base level is 99,999,999 and 999,999,999 for Job EXP on max job level.
* Player still obtains EXP on max level (of course until both base & job reach 100%).
* This behavior is used for Base EXP check for:
  * Super Novice's Explosion Spirit.
  * Royal Guard's Inspiration.
  * High Priest's Redemptio.
* Added config `death_penalty_maxlv`, default is set to 0. Player on max level, never loss EXP by death penalty.
* On EXP lost by death penalty. EXP will be shown as negative value.
* Fixed check for EXP value on packet `0x07f6`. EXP is limited to INT_MIN until INT_MAX by client (so don't expect client to displays value more than this!)
* Added EXP gained/lost message by `@showexp` on death penalty too.	
* Fixed PR_REDEMPTIO and LG_INSPIRATION requirement  …
  * Only charge the Base EXP.
  * Lost EXP will be displayed
2016-02-29 21:05:45 +07:00
2014-12-23 04:03:24 -05:00
2016-02-23 21:58:30 +01:00
2016-02-20 00:26:45 +01:00
2016-02-02 09:16:57 -05:00
2016-02-02 09:16:57 -05:00
2016-02-02 09:16:57 -05:00
2016-02-02 09:16:57 -05:00
2015-11-29 14:19:39 +01:00
2015-03-11 10:10:05 -04:00
2014-02-04 21:35:36 -05:00
2014-09-10 17:46:11 -04:00
2013-11-27 21:27:39 -05:00
2016-01-03 16:26:29 -05:00
2015-01-04 20:47:20 -05:00
2012-05-31 04:27:27 +00:00
2015-11-29 14:18:42 +01:00
2015-10-21 01:59:32 -04:00
2016-01-03 16:26:29 -05:00
2012-05-31 04:24:46 +00:00

rAthena

Build Status: Build Status

Table of Contents

  1. What is rAthena?

  2. Prerequisites

  3. Installation

  4. Troubleshooting

  5. Helpful Links

  6. More Documentation

  7. What is rAthena?


rAthena is a collaborative software development project revolving around the creation of a robust massively multiplayer online role playing game (MMORPG) server package. Written in C, the program is very versatile and provides NPCs, warps and modifications. The project is jointly managed by a group of volunteers located around the world as well as a tremendous community providing QA and support. rAthena is a continuation of the eAthena project.

  1. Prerequisites

Before installing rAthena there are certain tools and applications you will need. This differs between the varying operating systems available, so the following is broken down into Windows and Linux prerequisites.

  1. Installation

This section is a very brief set of installation instructions. For more concise guides relevant to your Operation System, please refer to the Wiki (links at the end of this file).

  • 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
          rpm -Uvhhttp://repo.webtatic.com/yum/centos/5/latest.rpm
          yum install --enablerepo=webtatic git-all
          yum install --enablerepo=webtatic --disableexcludes=main git-all
        
      • (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. Troubleshooting

If you're having problems with starting your server, the first thing you should do is check what's happening on your consoles. More often that not, all support issues can be solved simply by looking at the error messages given.

Examples:

  • You get an error on your map-server that looks something like this:

      	[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=
    

    If you look at the error, it's telling you that you're missing (or have an extra) TAB. This is easily fixed by looking at this part of the error:

      		* 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. Helpful Links

  1. More Documentation

rAthena has a large collection of help files and sample NPC scripts located in the /doc/ directory. These include detailed explanations of NPC script commands, atcommands (@), group permissions, item bonuses, and packet structures, among many other topics. We recommend that all users take the time to look over this directory before asking for assistance elsewhere.

Languages
C++ 98%
Perl 0.6%
CMake 0.4%
M4 0.3%
Makefile 0.2%
Other 0.2%