Traduction de rAthena en français.
|
пре 6 година | |
---|---|---|
.github | пре 7 година | |
3rdparty | пре 6 година | |
conf | пре 6 година | |
db | пре 6 година | |
doc | пре 6 година | |
npc | пре 6 година | |
sql-files | пре 6 година | |
src | пре 6 година | |
tools | пре 6 година | |
.editorconfig | пре 6 година | |
.gitattributes | пре 6 година | |
.gitignore | пре 6 година | |
.mailmap | пре 6 година | |
.travis.yml | пре 6 година | |
AUTHORS | пре 6 година | |
CMakeLists.txt | пре 7 година | |
LICENSE | пре 14 година | |
Makefile.in | пре 7 година | |
README.md | пре 6 година | |
appveyor.yml | пре 6 година | |
athena-start | пре 8 година | |
configure | пре 6 година | |
configure.in | пре 6 година | |
function.sh | пре 10 година | |
install.sh | пре 9 година | |
mac.rathena-start.scpt | пре 13 година | |
rAthena.sln | пре 6 година | |
uninstall.sh | пре 9 година |
How to Contribute
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.
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.
Windows
Linux (names of packages may require specific version numbers on certain distributions)
Windows
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 g++ make mysql mysql-devel mysql-server pcre-devel zlib-devel git
(For Debian)
apt-get install git make gcc g++ 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
Configure and compile (for Centos 64 bit with Maria DB):
./configure --enable-64bit --with-MYSQL_LIBS=/usr/lib64/libmysqlclient.so && make clean && make server
When you're ready, start the servers:
./athena-start start
Optional
If you want to have your own forked version but still get updates from the main rAthena repository
List the current configured remote repository for your fork:
git remote -v
Specify a new remote upstream repository that will be synced with your fork:
git remote add upstream https://github.com/rathena/rathena.git
Verify the new upstream repository you've specified for your fork:
git remote -v
You should see the main rAthena repository as well as your forked repository
Now, when you want to get updates from rAthena, simply do:
git pull upstream master
Remember that rAthena falls under GNU GPLv3.
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.
GIT Repository
Full Installation Instructions
rAthena Discord Chat https://rathena.org/discord
rAthena Wiki https://github.com/rathena/rathena/wiki
Fork and Pull Request Q&A https://rathena.org/board/topic/86913-pull-request-qa/
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.
Details on how to contribute to rAthena can be found in CONTRIBUTING.md!