Gamers SENA Server & Spanish

Content and general development discussion, including maps, quests, and server code from the development team.
Post Reply
Andresv87
Peon
Peon
Posts: 3
Joined: Sat Oct 17, 2009 11:10 pm

Gamers SENA Server & Spanish

Post by Andresv87 » Sat Oct 17, 2009 11:21 pm

Hi,

Im admin from http://gamers.sena.edu.co, this is a community for gamers from Colombia, we wanna teach abilities from games like work in group, leadership...and others....

So i do this:

*I create a server TMW-eathena
*A update server
*Im translating all the server to spanish, and the client (i know there is a client in spanish but the translation is horrible!, so i fix that and now is ready)
*I fix the problem with the map 001-4 the omars house, and release a patch for the update server, that was easy.
*I have a compiled and client with installer with a tmw-opengl on and off
*I have a php module. this create accounts from the website and the client dont allow that. http://gamers.sena.edu.co/index.php?opt ... Itemid=273
*I have another php module. This show whos online but in a pretty way. http://gamers.sena.edu.co/index.php?opt ... Itemid=279

I have a DB mysql with all the accounts, characters and people online, from there i create thw .txt files for the server. That was easy and is much better for the server. the game really need a DBsql.

ok if some one need help with something just tell me, and thank you for this game, is very good!
User avatar
Bjørn
TMW Adviser
TMW Adviser
Posts: 1430
Joined: Thu Dec 09, 2004 7:50 pm
Location: North Rhine-Westphalia, Germany
Contact:

Re: Gamers SENA Server & Spanish

Post by Bjørn » Sun Oct 18, 2009 10:17 am

Most of the things you did, like improving the Spanish translation of the client, fixing issues with the content (like map 001-4) and the PHP module to create accounts from the website would be really great to contribute back to this project.

* The Spanish translation of the client can be fixed on Launchpad (https://translations.launchpad.net/tmw/ ... ts/tmw/es/), or just submit a patch against the .po file when you find this easier.
* Content fix would be best to contribute back as a git patch against tmwdata.
* It would be awesome if you could show us the source code of the PHP module you wrote to be able to create accounts.

So far we're still using the .txt database supported by eAthena, but of course moving to MySQL would be better. I thought the version of eAthena we're using doesn't properly support a MySQL database though. How did you manage your setup?
Andresv87
Peon
Peon
Posts: 3
Joined: Sat Oct 17, 2009 11:10 pm

Re: Gamers SENA Server & Spanish

Post by Andresv87 » Tue Oct 20, 2009 11:34 pm

Hi,

* The Spanish translation of the client can be fixed on Launchpad (https://translations.launchpad.net/tmw/ ... ts/tmw/es/), or just submit a patch against the .po file when you find this easier.

A/= I have the po file fixed, but i dont have a patch for the original file, i can give you the .mo or the .po.

* Content fix would be best to contribute back as a git patch against tmwdata.

A/= I dont know how you do that, but the first step is fix your update server, the server eathena have the map 001-4 but the client dont have this, i have a file http://gamers.sena.edu.co/tmw_update/maps.zip in my own update server, with this file http://gamers.sena.edu.co/tmw_update/resources2.txt in the bottom is the file with the hash.

Just update that in your server, thats all.

* It would be awesome if you could show us the source code of the PHP module you wrote to be able to create accounts.

A/=The module create a row in the db with any new user, and create a new file acount.txt with all the user from de DB in the web server, in another server i have the eathena server with a batch .bat. thats have a loop and this bat shutdown the login-server, copy the account.txt from the web server to the /save folder in the eathena server and start again the login-server. And repeat this loop every 15 minutes. The php never read the original account.txt and im closing the login server because this protect the file. this loop takes 3 seconds. So the login server is offline 3 seconds every 15 minutes.

My online users module, is similar, the eathena server save the online.txt file in the web server and php read the file and save the data in the DB. if one user watch for online users the php file read the txt file, but if the second user watch for online user before 20 secs the php dont read the txt file, just show the data in the db. thast for performance in the server.


If you wanna help or something just tell me, do you have a great game with a big future, im a engineer of systems, designer 2d & 3d.
User avatar
Jaxad0127
TMW Adviser
TMW Adviser
Posts: 4209
Joined: Thu Nov 01, 2007 6:35 pm
Location: Internet

Re: Gamers SENA Server & Spanish

Post by Jaxad0127 » Tue Oct 20, 2009 11:42 pm

Andresv87 wrote:* Content fix would be best to contribute back as a git patch against tmwdata.

A/= I dont know how you do that, but the first step is fix your update server, the server eathena have the map 001-4 but the client dont have this, i have a file http://gamers.sena.edu.co/tmw_update/maps.zip in my own update server, with this file http://gamers.sena.edu.co/tmw_update/resources2.txt in the bottom is the file with the hash.

Just update that in your server, thats all.
What exactly is wrong with what we have?
Andresv87 wrote:* It would be awesome if you could show us the source code of the PHP module you wrote to be able to create accounts.

A/=The module create a row in the db with any new user, and create a new file acount.txt with all the user from de DB in the web server, in another server i have the eathena server with a batch .bat. thats have a loop and this bat shutdown the login-server, copy the account.txt from the web server to the /save folder in the eathena server and start again the login-server. And repeat this loop every 15 minutes. The php never read the original account.txt and im closing the login server because this protect the file. this loop takes 3 seconds. So the login server is offline 3 seconds every 15 minutes.

My online users module, is similar, the eathena server save the online.txt file in the web server and php read the file and save the data in the DB. if one user watch for online users the php file read the txt file, but if the second user watch for online user before 20 secs the php dont read the txt file, just show the data in the db. thast for performance in the server.


If you wanna help or something just tell me, do you have a great game with a big future, im a engineer of systems, designer 2d & 3d.
It's in here: http://gitorious.org/tmw/website.
Image
Andresv87
Peon
Peon
Posts: 3
Joined: Sat Oct 17, 2009 11:10 pm

Re: Gamers SENA Server & Spanish

Post by Andresv87 » Wed Oct 21, 2009 1:20 pm

your file maps-0df921c.zip dont have the file 001-4.tmx but the server have the file 001-4.gat, thats the problem. 001-4 is the omars house.

My file map.zip have the 001-4.tmx, just release a update whit this file or fix de maps-0df921c.zip adding the missing file.
User avatar
Jaxad0127
TMW Adviser
TMW Adviser
Posts: 4209
Joined: Thu Nov 01, 2007 6:35 pm
Location: Internet

Re: Gamers SENA Server & Spanish

Post by Jaxad0127 » Wed Oct 21, 2009 1:32 pm

That will be released in the next update.
Image
Post Reply