Jzz Posted May 26, 2012 Posted May 26, 2012 When creating a character gm level 0 right? How to change it to gm 1? Quote
Jzz Posted May 26, 2012 Author Posted May 26, 2012 Login Table? Where? I mean I want newbie or new character will become gm lvl 1 when creating a new account. Quote
Jzz Posted May 26, 2012 Author Posted May 26, 2012 Hmm Is there anyway? Hmm btw Im going to add OnPCLoginEvent which change their level. Quote
Aksl Posted May 26, 2012 Posted May 26, 2012 You want this : If the account is level 0, put him level 1 ? Quote
Brian Posted May 26, 2012 Posted May 26, 2012 (edited) I mean I want newbie or new character will become gm lvl 1 when creating a new account. You can use this SQL query to make group_id default to 1. ALTER TABLE `login` CHANGE `group_id` `group_id` TINYINT(3) DEFAULT 1 NOT NULL; That should be compatible with most CPs because they insert new accounts with NULL for group_id, causing it to take the default defined in the SQL table. PS: why not just give all the @commands to group_id 0, if all normal players are going to be in the same group? Edited May 26, 2012 by Brian Quote
jedwynne Posted May 26, 2012 Posted May 26, 2012 PS: why not just give all the @commands to group_id 0, if all normal players are going to be in the same group? I agree! You can configure @commands on conf/groups.conf Quote
Question
Jzz
When creating a character gm level 0 right?
How to change it to gm 1?
7 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.