Help gm permissions

09/07/2013 17:35 xyoyx#1
Hi all,

I have a problem, i have new p-serv and I attempt to be gm, so i go on charac table and change permission to 1. don't work.
After i see a table "Allowedcommandforpermission" but the table is empty, i search a little on the forum and i find that code :

but when i run the query write "0 Rows affected" so i don't know how i can be gm, help me please :3

bye and ty

ps:sorry for my bad english
09/07/2013 17:41 Player95#2
GM permission is 100.
09/07/2013 17:52 xyoyx#3
I have solved my problem, i will show you :

I use this code :

After i use that :


Ad finally i change my char permission to 100

and it works ;) byebye
09/07/2013 19:15 c1ph3r#4
Quote:
Originally Posted by xyoyx View Post
I have solved my problem, i will show you :

I use this code :

After i use that :


Ad finally i change my char permission to 100

and it works ;) byebye
Sorry to say that but you are doing it on a very difficult way. Let's check what your steps:

First you will delete your dbo.AllowedCommandsForPermission and fill it with all commands and permission 1

Then you will update dbo.AllowedCommandsForPermission permission column with permission 100 (instead of setting them to 100 in your first step)

At the end you will give permission 100 to your character.

BUT permission 100 is the internal adminpermission which will allow to execute all commands (even if your dbo.allowedcommandsforpermission table is empty)

That means the one and only step you have to do is to change your character permission to 100.