Noob needs help with tmwserv

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.

Post Reply
Diggity
Peon
Peon
Posts: 4
Joined: 14 May 2008, 03:50

Noob needs help with tmwserv

Post by Diggity »

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: 25 Aug 2005, 16:08
Location: Germany

Re: Noob needs help with tmwserv

Post by Crush »

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.
Diggity
Peon
Peon
Posts: 4
Joined: 14 May 2008, 03:50

Re: Noob needs help with tmwserv

Post by Diggity »

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: 25 Aug 2005, 16:08
Location: Germany

Re: Noob needs help with tmwserv

Post by Crush »

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: 25 Nov 2007, 16:04

Re: Noob needs help with tmwserv

Post by Habari »

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: 25 Aug 2005, 16:08
Location: Germany

Re: Noob needs help with tmwserv

Post by Crush »

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