eAthena on Windows?

Ask for help regarding any technical issue or report any bug or OS independent issues.
Lavia
Peon
Peon
Posts: 12
Joined: 11 Dec 2008, 02:53

eAthena on Windows?

Post by Lavia » 13 Dec 2008, 14:17

It's possible to run eAthena on windows? How do I compile it?
:roll:
User avatar
Crush
TMW Adviser
TMW Adviser
Posts: 8046
Joined: 25 Aug 2005, 17:08
Location: Germany

Re: eAthena on Windows?

Post by Crush » 13 Dec 2008, 14:34

The old version worked well on windows using cygwin.

I did not try to compile the hacked up version yet.
  • former Manasource Programmer
  • former TMW Pixel artist
  • NOT a game master

Please do not send me any inquiries regarding player accounts on TMW.


You might have heard a certain rumor about me. This rumor is completely false. You might also have heard the other rumor about me. This rumor is 100% accurate.
Quiche_on_a_leash
Novice
Novice
Posts: 221
Joined: 20 Oct 2006, 17:44

Re: eAthena on Windows?

Post by Quiche_on_a_leash » 13 Dec 2008, 14:56

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.
User avatar
Jaxad0127
TMW Adviser
TMW Adviser
Posts: 4209
Joined: 01 Nov 2007, 18:35
Location: Internet

Re: eAthena on Windows?

Post by Jaxad0127 » 13 Dec 2008, 16:47

More details on configuring eAthena: http://wiki.themanaworld.org/index.php/ ... up_eAthena.
Image
Lavia
Peon
Peon
Posts: 12
Joined: 11 Dec 2008, 02:53

Re: eAthena on Windows?

Post by Lavia » 13 Dec 2008, 18:45

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
User avatar
Crush
TMW Adviser
TMW Adviser
Posts: 8046
Joined: 25 Aug 2005, 17:08
Location: Germany

Re: eAthena on Windows?

Post by Crush » 13 Dec 2008, 18:58

Do what the error message tells you ;)
  • former Manasource Programmer
  • former TMW Pixel artist
  • NOT a game master

Please do not send me any inquiries regarding player accounts on TMW.


You might have heard a certain rumor about me. This rumor is completely false. You might also have heard the other rumor about me. This rumor is 100% accurate.
Lavia
Peon
Peon
Posts: 12
Joined: 11 Dec 2008, 02:53

Re: eAthena on Windows?

Post by Lavia » 13 Dec 2008, 19:03

Crush wrote:Do what the error message tells you ;)
yes, I know it's sounds stupid. But I've all correctly configured :shock:
User avatar
Crush
TMW Adviser
TMW Adviser
Posts: 8046
Joined: 25 Aug 2005, 17:08
Location: Germany

Re: eAthena on Windows?

Post by Crush » 13 Dec 2008, 19:17

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.
  • former Manasource Programmer
  • former TMW Pixel artist
  • NOT a game master

Please do not send me any inquiries regarding player accounts on TMW.


You might have heard a certain rumor about me. This rumor is completely false. You might also have heard the other rumor about me. This rumor is 100% accurate.
Lavia
Peon
Peon
Posts: 12
Joined: 11 Dec 2008, 02:53

Re: eAthena on Windows?

Post by Lavia » 13 Dec 2008, 19:32

I check it again. It's all on 127.0.0.1, and the passwd on all files is "p1". :evil:
User avatar
Jaxad0127
TMW Adviser
TMW Adviser
Posts: 4209
Joined: 01 Nov 2007, 18:35
Location: Internet

Re: eAthena on Windows?

Post by Jaxad0127 » 13 Dec 2008, 19:53

Are all the user names s1? Make sure that accounts.txt has s1/p1 as account 0.
Image
Lavia
Peon
Peon
Posts: 12
Joined: 11 Dec 2008, 02:53

Re: eAthena on Windows?

Post by Lavia » 14 Dec 2008, 02:54

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
User avatar
Jaxad0127
TMW Adviser
TMW Adviser
Posts: 4209
Joined: 01 Nov 2007, 18:35
Location: Internet

Re: eAthena on Windows?

Post by Jaxad0127 » 14 Dec 2008, 03:15

And char_local.conf has s1 p1?
Image
Lavia
Peon
Peon
Posts: 12
Joined: 11 Dec 2008, 02:53

Re: eAthena on Windows?

Post by Lavia » 14 Dec 2008, 04:32

// 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
Quiche_on_a_leash
Novice
Novice
Posts: 221
Joined: 20 Oct 2006, 17:44

Re: eAthena on Windows?

Post by Quiche_on_a_leash » 15 Dec 2008, 15:14

Have you tried deleting your account.txt and then renaming the example file (account.txt.example) to account.txt?
User avatar
lollo
Peon
Peon
Posts: 5
Joined: 10 Jan 2009, 22:47

Re: eAthena on Windows?

Post by lollo » 10 Jan 2009, 22:53

I know
Post Reply