I want to help contribute.

Content and general development discussion, including quest scripts and server code. TMW Classic is a project comprising the Legacy tmwAthena server & the designated improved engine server based on evolHercules.


Forum rules

This forum houses many years of development, tracing back to some of the earliest posts that exist on the board.

Its current use is for the continued development of the server and game it has always served: TMW Classic.

User avatar
Immune
Peon
Peon
Posts: 36
Joined: 16 Dec 2011, 04:09

I want to help contribute.

Post by Immune »

How do I help? I want to script but I do not know where to start. Thanks in advance!
Image
User avatar
o11c
Grand Knight
Grand Knight
Posts: 2262
Joined: 20 Feb 2011, 21:09
Location: ^ ^

Re: I want to help contribute.

Post by o11c »

Moved
Former programmer for the TMWA server.
User avatar
Crush
TMW Adviser
TMW Adviser
Posts: 8046
Joined: 25 Aug 2005, 16:08
Location: Germany

Re: I want to help contribute.

Post 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
  • 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.
User avatar
Immune
Peon
Peon
Posts: 36
Joined: 16 Dec 2011, 04:09

Re: I want to help contribute.

Post 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.
Image
User avatar
mistergrey
TMW Adviser
TMW Adviser
Posts: 535
Joined: 03 Jan 2010, 21:39

Re: I want to help contribute.

Post 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 ;).
Tiana wrote: I apologize if I gave anyone the impression that BC is the troll-king of the GM's. That title is rightfully held by mrgrey :P
<Mistakes> you are too difficult to troll

<Frost> Germans have Chess Boxing. English have Cheese Racing.
<Frost> I'm slightly terrified what the Russians consider violent sport.
<o11c> chatroulette

<Jaxad0127> YOu can't grab yourself.
<Jaxad0127> Elenore explicitly prevents it.
<Mistakes> speak for yourself
User avatar
Immune
Peon
Peon
Posts: 36
Joined: 16 Dec 2011, 04:09

Re: I want to help contribute.

Post 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?
Image
User avatar
o11c
Grand Knight
Grand Knight
Posts: 2262
Joined: 20 Feb 2011, 21:09
Location: ^ ^

Re: I want to help contribute.

Post 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.
Former programmer for the TMWA server.
User avatar
Immune
Peon
Peon
Posts: 36
Joined: 16 Dec 2011, 04:09

Re: I want to help contribute.

Post by Immune »

What are the minimum requirements to run "tmwAthena"? HDD, memory, ect...
Image
User avatar
o11c
Grand Knight
Grand Knight
Posts: 2262
Joined: 20 Feb 2011, 21:09
Location: ^ ^

Re: I want to help contribute.

Post 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.
Former programmer for the TMWA server.
User avatar
Immune
Peon
Peon
Posts: 36
Joined: 16 Dec 2011, 04:09

Re: I want to help contribute.

Post by Immune »

The minimum does? I guess it would only be me connecting.
Image
Frost
TMW Adviser
TMW Adviser
Posts: 851
Joined: 09 Sep 2010, 06:20
Location: California, USA

Re: I want to help contribute.

Post 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.
You earn respect by how you live, not by what you demand.
-unknown
User avatar
Immune
Peon
Peon
Posts: 36
Joined: 16 Dec 2011, 04:09

Re: I want to help contribute.

Post 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
Image
User avatar
Immune
Peon
Peon
Posts: 36
Joined: 16 Dec 2011, 04:09

Re: I want to help contribute.

Post by Immune »

What can I help with and why does this help me?
Image
User avatar
o11c
Grand Knight
Grand Knight
Posts: 2262
Joined: 20 Feb 2011, 21:09
Location: ^ ^

Re: I want to help contribute.

Post 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)
Attachments

[The extension diff has been deactivated and can no longer be displayed.]

Former programmer for the TMWA server.
User avatar
Immune
Peon
Peon
Posts: 36
Joined: 16 Dec 2011, 04:09

Re: I want to help contribute.

Post 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".
Image
Post Reply