• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

How can I change player/tutor/gamemaster ID to 1/2/3 etc?

Zackvor

Member
Joined
Jan 19, 2009
Messages
294
Reaction score
12
I'm sure it's a simple question but my brain won't work anymore as of today. Do anyone know where I can change the ID's of player, god, gamemaster, tutor, senior tutor.... whatever. Where and how? Premanently.

Thank you.
 
1 of two places.....

If you have a group file in xml folder. E.g. groups.xml. you'll find it in there...

Or its a manual job in phpmyadmin
 
1 of two places.....

If you have a group file in xml folder. E.g. groups.xml. you'll find it in there...

Or its a manual job in phpmyadmin

It is a MySQL database, so pma. I know I should find it in database > groups table, but I can't find it in there..
 
Hmm i don't know much about it in the database, but i have both with my server, yet there is an xml file in my xml folder called groups.xml. Just check if you have one, this will be alot easier.

In the event that its in the database, i can't really help without seeing, post your groups table? :3
Sorry
 
Hmm i don't know much about it in the database, but i have both with my server, yet there is an xml file in my xml folder called groups.xml. Just check if you have one, this will be alot easier.

In the event that its in the database, i can't really help without seeing, post your groups table? :3
Sorry

Nope, I do not have a groups.xml file... but this is a screeny of my groups table on mysql:
ImageShack? - Online Photo and Video Hosting
 
go to the table "players" search for the player that you want to promote/demote select it, click on it, and change the group id.
 
localhost/phpmyadmin > sql
to select all players with group id XX
Code:
select * from `players` where `group_id` = 'XX'
to Select A Player
Code:
select * from `players` where `name` = 'PLAYER_NAME_HERE'
to Change Group_id of Player
Code:
UPDATE `players` SET `group_id` = 'XX' WHERE `name` = 'PLAYER_NAME_HERE'
 
go to the table "players" search for the player that you want to promote/demote select it, click on it, and change the group id.

The problem is that I can not create a character/account at all.

Error over AAC:
Code:
Fatal error: Uncaught exception 'ClassException'
Message: Player::Create() Group #1 does not exist. Check your database and config file.
Online help: More Info
File: player.php on line: 250
Script was terminated because something unexpected happened. You can report this, if you think it's a bug.

Debug Backtrace:Disabled

Error over phpmyadmin SQL Query:
Code:
Error
SQL query: 

#---------------------------------------------------
INSERT INTO accounts(  `id` ,  `password` ,  `type` ,  `group_id` ) 
VALUES (

@acc , @pass , 5, (

SELECT  `id` 
FROM groups
WHERE  `name` =  'a god'
)
);

MySQL said: 

#1054 - Unknown column 'type' in 'field list'
 
Back
Top