PDA

View Full Version : How to use GM commands?


Marratook
10-25-2004, 09:18 AM
Boy i feel pretty stupid now :)

I did the world.exe flag username 200, but when i logg in with the
username account i cant use GM commands, do i enter em wrong or did i feck something up?

I press enter so i can write an input, entering this syntax - #summonitem 1004 also tryed #summonitem [1004]
tryed the #heal command to, really sorry if i posting a stupid noob question and not sure if im in right forum section.

/peace

Thx in advance

Marratook

RangerDown
10-25-2004, 10:20 AM
You didn't do the world.exe flag username 200 correctly then.

And you are using your account name in place of username, right?

Marratook
10-25-2004, 10:58 AM
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corporation

C:\>cd eqemu

C:\eqemu>world.exe flag someusername 200
[Status] CURRENT_WORLD_VERSION:EQEMu 0.6.0-DR1
Account being GM Flagged:someusername, Level: 200
Account flagged: Username='someusername', status=200

C:\eqemu>

That is the one i did, and i logg in with someusername, i have tryed it a few times, perhaps that broke it?

Marratook
10-25-2004, 06:17 PM
Where does this setting stores?

/cheers

Marratook

Derision
10-25-2004, 09:01 PM
Where does this setting stores?

The user's status is stored in the 'status' column of the account table. Using MySQL, to see the status of all the accounts in your database, do:
select name,status from account ;
or you can do it for just one account:
select name,status from account where name='someusername';
You can change the status in MySQL as well, e.g.:
update account set status=250 where name='someusername';

Marratook
10-26-2004, 02:00 AM
Sweet thx, i will try this when i get home :)

Marratook
10-26-2004, 04:38 AM
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corporation

C:\Documents and Settings\Administrator>cd..

C:\Documents and Settings>cd..

C:\>cd mysql

C:\mysql>cd bin

C:\mysql\bin>mysql -u fimpa
ERROR 1045: Access denied for user: 'fimpa@localhost' (Using password: NO)

C:\mysql\bin>mysql -u fimpa -p
Enter password: *****
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 19 to server version: 4.0.21-nt

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql> use eq;
Database changed
mysql> update account set status=250 where name='fimpa';
Query OK, 0 rows affected (0.00 sec)
Rows matched: 1 Changed: 0 Warnings: 0

mysql> select name,status from account;
+-------+--------+
| name | status |
+-------+--------+
| fimpa | 250 |
+-------+--------+
1 row in set (0.01 sec)

mysql>

Still cant use GM commands, do i write it correct when i hit enter and write #summonitem 1004?


Perhaps i should remake the database? or just an new account?

Thx in advance

Marratook

scaerick
10-26-2004, 05:11 AM
If your default chat isn't 'say' in the chat window, the commands won't work (at least they don't if the default is 'guild').

Muuss
10-26-2004, 06:43 AM
You should describe what happens when you try to execute a # command. Do you get an answer saying you don't have the needed rights ? nothing happens ?
If nothing happens, you may follow Scaerick advise, if you get an error message, post it here !

Marratook
10-26-2004, 06:13 PM
It was the say thing, i choose say as default channel and now it works lol :oops:

Thx alot for the help guys

/cheers

Marratook