Noob needs help with tmwserv

Content and general development discussion, including maps, quests, and server code from the development team.
Post Reply
Diggity
Peon
Peon
Posts: 4
Joined: Wed May 14, 2008 4:50 am

Noob needs help with tmwserv

Post by Diggity » Wed May 14, 2008 4:51 am

I was wondering how to make a GM account on your server. I downloaded the TMWSERV pack and have no clue =( I can make characters and log onto my server ,But i need to know how to give him GM abilities. Any help would be much appreciated <3
User avatar
Crush
TMW Adviser
TMW Adviser
Posts: 8046
Joined: Thu Aug 25, 2005 5:08 pm
Location: Germany

Re: Noob needs help with tmwserv

Post by Crush » Wed May 14, 2008 11:05 am

The only way to do this is by manipulating the SQLite database manually. Get the command-line program for accessing and modifying SQLite databases from http://www.sqlite.org/download.html

Then open the file tmw.db with it (you'll find it in the same directory where you ran the server) and enter the following SQL command:

Code: Select all

UPDATE tmw_accounts SET level=99 WHERE username='YOUR_ACCOUNTNAME';
You can test if it was successful by running the following SQL querry:

Code: Select all

SELECT username, level FROM tmw_accounts;
It will list all accounts and their access level.
  • 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
ElvenProgrammer
TMW Adviser
TMW Adviser
Posts: 2526
Joined: Tue Apr 13, 2004 8:11 pm
Location: Italy
Contact:

Re: Noob needs help with tmwserv

Post by ElvenProgrammer » Wed May 14, 2008 11:29 am

Diggity
Peon
Peon
Posts: 4
Joined: Wed May 14, 2008 4:50 am

Re: Noob needs help with tmwserv

Post by Diggity » Wed May 14, 2008 4:05 pm

Thanks a bunch =D I was also wondering if the version of the TMWserver is up to date. I downloaded it from your How to create a server topic.
User avatar
Crush
TMW Adviser
TMW Adviser
Posts: 8046
Joined: Thu Aug 25, 2005 5:08 pm
Location: Germany

Re: Noob needs help with tmwserv

Post by Crush » Wed May 14, 2008 5:04 pm

You mean http://forums.themanaworld.org/viewtopic.php?f=2&t=1909 ?

That's not TMWServ (the new server) but eAthena (the current server). Setting a game master is completely different here.

1. Open save/accounts.txt
2. Copy the number in front of the account you want to be a gamemaster (the account ID)
3. Open conf/gm_account.txt
4. Add the number you've copied followed by a space and the desired GM level (99 for maximum rights)

When the account ID of the main administrator is 2000000 and you got two GMs with the IDs
2000023 and 2000042 the file would look like this:

Code: Select all

// <account ID> <level>
2000000 99
2000023 60
2000042 60
You can view and change the commands available on each GM level in conf/atcommand_athena.conf

When you want to try the new server (where the instructions in my first post apply): you can find a windows build on http://nightly.themanaworld.org/
  • 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.
Habari
Novice
Novice
Posts: 249
Joined: Sun Nov 25, 2007 5:04 pm

Re: Noob needs help with tmwserv

Post by Habari » Sun May 25, 2008 5:42 pm

When you want to try the new server (where the instructions in my first post apply): you can find a windows build on http://nightly.themanaworld.org/
in http://nightly.themanaworld.org there is only eathena server if im not wrong
User avatar
Crush
TMW Adviser
TMW Adviser
Posts: 8046
Joined: Thu Aug 25, 2005 5:08 pm
Location: Germany

Re: Noob needs help with tmwserv

Post by Crush » Sun May 25, 2008 5:55 pm

You are wrong. The file tmwserv-xxxx-win32.exe is a snapshot of TMWServ.
  • 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.
Post Reply