Page 1 of 3

I want to help contribute.

Posted: 17 Dec 2011, 03:21
by Immune
How do I help? I want to script but I do not know where to start. Thanks in advance!

Re: I want to help contribute.

Posted: 17 Dec 2011, 03:53
by o11c
Moved

Re: I want to help contribute.

Posted: 17 Dec 2011, 09:18
by Crush
When you want to create scripts, the first step should be to set up your own local server so you can test your scripts.

We have a tutorial for Windows:
http://wiki.themanaworld.org/index.php/ ... on_Windows

And two Tutorials for Linux:
http://wiki.themanaworld.org/index.php/ ... a_on_Linux
http://wiki.themanaworld.org/index.php/How_to_Develop

When you have any questions, a good place to ask for help are our IRC channels.
http://wiki.themanaworld.org/index.php/ ... channel.3F

Re: I want to help contribute.

Posted: 17 Dec 2011, 10:21
by Immune
I don't know how to use "IRC". I am on windows 7. The wiki page says "This article is outdated". Should I continue anyways? How much space does "cygwin" and "tmwAthena" or "eAthena" take? The wiki page " http://wiki.themanaworld.org/index.php/ ... on_Windows " is very confusing.

Re: I want to help contribute.

Posted: 17 Dec 2011, 10:45
by mistergrey
I agree - I use Windows 7, and was just asking in tmw-support about this. I tried making myself a server to test some things I was working on, and kept getting the same error message. I was told a number of things to try, but as of right now I haven't been successful.

This page probably needs a clear, working update at some point soon, if somebody with the knowledge would be so kind for the poor dummies, sitting on their thumbs hating Windows right now ;).

Re: I want to help contribute.

Posted: 17 Dec 2011, 14:43
by Immune
Ok my friend got me on IRC and showed me how to register but I had to eat and head out for the night. I still would like to know if I should do anything with the outdated information?

Re: I want to help contribute.

Posted: 17 Dec 2011, 19:11
by o11c
In the long run, cygwin is not a supportable environment - it would be more maintainable (and possibly faster) for windows users to set up a VM or a pseudo-VM like andLinux. We could use someone to write a wiki page on that.

Re: I want to help contribute.

Posted: 17 Dec 2011, 22:43
by Immune
What are the minimum requirements to run "tmwAthena"? HDD, memory, ect...

Re: I want to help contribute.

Posted: 17 Dec 2011, 23:43
by o11c
Immune wrote:What are the minimum requirements to run "tmwAthena"? HDD, memory, ect...
That depends entirely on how many users you have connecting.

Re: I want to help contribute.

Posted: 18 Dec 2011, 00:32
by Immune
The minimum does? I guess it would only be me connecting.

Re: I want to help contribute.

Posted: 18 Dec 2011, 03:47
by Frost
Up to 10 of us played on a tmwAthena server with 5GB hdd space used and 512MB RAM. The server ran a fairly basic installation of Redhat Linux (no GUI) and could have handled more players.
The limiting resource is RAM (for the map-server), not CPU speed, disk space, I/O performance, or network speed.

Re: I want to help contribute.

Posted: 19 Dec 2011, 04:26
by Immune
Ok I think I got everything working and I made myself a GM.
There were a few things that got confused when I tried to use the make command. lucky me, a friend helped me with this.
oh, I used this link http://wiki.themanaworld.org/index.php/ ... nistration It was more accurate.

The "mana -u -d ~/tmw-ea/tmwdata --server localhost --port 6901" will not work in cygwin. This is what my friend helped me come up with.

Open the file with your mana.exe and create a shortcut. Than open properties and put the following into the "Target" Address box.

C:\"target\to\mana.exe" --server localhost --port 6901 -u -d C:/cygwin/home/"your windows user name"/eathena-data/client-data
(Also see image below)

http://imagebin.org/189288
http://imagebin.org/189286

Re: I want to help contribute.

Posted: 19 Dec 2011, 04:31
by Immune
What can I help with and why does this help me?

Re: I want to help contribute.

Posted: 19 Dec 2011, 04:33
by o11c
Immune wrote:The "mana -u -d ~/tmw-ea/tmwdata --server localhost --port 6901" will not work in cygwin.
Hm, it might be better to add a 'mana' alias or shell script wrapper to your cygwin environment.

going from memory, but something like

Code: Select all

alias mana=/cygdrive/c/Program\ Files/wherever/mana.exe
then you can do mana -u -d ...
(I think)
Immune wrote:What can I help with and why does this help me?
Having a server set up is the necessary basis for *any* contribution to this project.

Edit: you could finish the attached patch. It's mere refactoring (for clarity, style, and efficiency), and it's mostly done.

To apply this, do: git apply wip.diff
(not git am since it's not a complete patch)

Re: I want to help contribute.

Posted: 19 Dec 2011, 04:53
by Immune
Edit: you could finish the attached patch. It's mere refactoring (for clarity, style, and efficiency), and it's mostly done.

To apply this, do: git apply wip.diff
(not git am since it's not a complete patch)
Where do I put it?

Edit: I placed it in my "eathena-data" folder and typed git apply wip.diff in cygwin. I don't know how to "finish the attached patch".