Page 1 of 2

eAthena on Windows?

Posted: 13 Dec 2008, 13:17
by Lavia
It's possible to run eAthena on windows? How do I compile it?
:roll:

Re: eAthena on Windows?

Posted: 13 Dec 2008, 13:34
by Crush
The old version worked well on windows using cygwin.

I did not try to compile the hacked up version yet.

Re: eAthena on Windows?

Posted: 13 Dec 2008, 13:56
by Quiche_on_a_leash
The way I do it is via Cygwin, with the base packages and gcc and git installed through it. (I think that is all I have.)

Start up cygwin and navigate out to where you want to have everything cloned too.
I have my mana world stuff in C:\the mana world\. (cd "../../cygdrive/c/the mana world")

Then I clone eathena with (this checks it out to new folder called ea):
git clone git://gitorious.org/tmw-eathena/mainline.git ea
(If you already have cloned it then just do a git pull to make sure you're up to date.)

Move to the ea directory (With cd ea)

Then type make.

Next you'll need the server data, which you can get with (cd out of the ea dir first with cd ..):
git clone git://gitorious.org/tmw-eathena-data/mainline.git eadata
(Again if you've already cloned it then just do a git pull.)

Okay you can close Cygwin now.

Now back in explorer to go to your mana world folder and make a new folder.
(We don't really want to start chucking files into our checked out git repository's that's just messy.)
From your cygwin/bin folder copy crygwin1.dll and cygz.dll in to it.
From the ea folder copy the the exe's.
From the eadata folder copy everything besides the .git folder.

Configure the server (look and edit the files in conf) and forward the correct ports if needed (defaults: 6901, 5122, 6122.) and you should be good to go.

I hope that makes sense and is helpful.
I could do a zip of the binaries if needed (aka you cant be bothered with the whole cygwin stuff), then all you'll need to do is use msysgit to clone the server data and configure the server.

Re: eAthena on Windows?

Posted: 13 Dec 2008, 15:47
by Jaxad0127
More details on configuring eAthena: http://wiki.themanaworld.org/index.php/ ... up_eAthena.

Re: eAthena on Windows?

Posted: 13 Dec 2008, 17:45
by Lavia
Thanks to all :D.

Now I'm having problems to run char-server.
Attempt to connect to login-server...
Can not connect to login-server.
The server communication passwords (default s1/p1) is probably invalid.
Also, please make sure your accounts file (default: accounts.txt) has those values present.
If you changed the communication passwords, change them back at map_athena.conf and char_athena.conf

Re: eAthena on Windows?

Posted: 13 Dec 2008, 17:58
by Crush
Do what the error message tells you ;)

Re: eAthena on Windows?

Posted: 13 Dec 2008, 18:03
by Lavia
Crush wrote:Do what the error message tells you ;)
yes, I know it's sounds stupid. But I've all correctly configured :shock:

Re: eAthena on Windows?

Posted: 13 Dec 2008, 18:17
by Crush
Did you change the IP addresses in the server configuration files so that they point to your server? It is possible that they try to connect to the official server.

Re: eAthena on Windows?

Posted: 13 Dec 2008, 18:32
by Lavia
I check it again. It's all on 127.0.0.1, and the passwd on all files is "p1". :evil:

Re: eAthena on Windows?

Posted: 13 Dec 2008, 18:53
by Jaxad0127
Are all the user names s1? Make sure that accounts.txt has s1/p1 as account 0.

Re: eAthena on Windows?

Posted: 14 Dec 2008, 01:54
by Lavia
In save/account.txt I've this
0 s1 p1 2008-12-13 23:53:06.928 F 1 0 a@a.com - 0 127.0.0.1 - 0

Re: eAthena on Windows?

Posted: 14 Dec 2008, 02:15
by Jaxad0127
And char_local.conf has s1 p1?

Re: eAthena on Windows?

Posted: 14 Dec 2008, 03:32
by Lavia
// Athena Character local configuration file.

// Server Communication username and password.
userid: s1
passwd: p1

// Server name, use alternative character such as ASCII 160 for spaces.
server_name: The Mana World

// Wisp name for server: used to send wisp from server to players (between 4 to 23 characters)
wisp_server_name: Server

// Login Server IP
login_ip:127.0.0.1
// Login Server Port
login_port: 6901

// Character Server IP
char_ip:127.0.0.1
// Character Server Port
char_port: 6122
Edit: maybe It'll be better just wait the release of tmwserv :P

Re: eAthena on Windows?

Posted: 15 Dec 2008, 14:14
by Quiche_on_a_leash
Have you tried deleting your account.txt and then renaming the example file (account.txt.example) to account.txt?

Re: eAthena on Windows?

Posted: 10 Jan 2009, 21:53
by lollo
I know