Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

[GUIDE]Fixing The Auto GM

Status
Not open for further replies.
Banned
Banned
Joined
Apr 29, 2008
Messages
713
Reaction score
264
Here's a little fix to stop all players from being an admin when they create new characters.

PHP:
USE `newproject_db`;
ALTER TABLE `t_characters` 
MODIFY COLUMN `a_admin` tinyint(4) NOT NULL DEFAULT 0 AFTER `a_deletedelay`;

Or

Warmonger - [GUIDE]Fixing The Auto GM - RaGEZONE Forums


Warmonger - [GUIDE]Fixing The Auto GM - RaGEZONE Forums
 
Last edited by a moderator:
Experienced Elementalist
Joined
Mar 21, 2009
Messages
239
Reaction score
85
re: Fixing The Auto GM

how to use that code, do i have to use it in mysql ??
 
Banned
Banned
Joined
Apr 29, 2008
Messages
713
Reaction score
264
re: Fixing The Auto GM

Just paste it as a new query and execute it.
 
Experienced Elementalist
Joined
Jul 13, 2008
Messages
272
Reaction score
136
Re: Fixing The Auto GM

Its not a release also, but if i have to compare what its closest to then i would say its a guide since u are guiding in how to change the default value :p
 
Newbie Spellweaver
Joined
Aug 25, 2011
Messages
12
Reaction score
1
Re: Fixing The Auto GM

Can you give me a little more details on how to add this please. Sorry I like an extreme noob at this but I am a quick learner thanks :)
 
Newbie Spellweaver
Joined
Aug 18, 2011
Messages
31
Reaction score
1
Re: Fixing The Auto GM

I have put 4 in the table a_admin and it works, but when they create another Player it is 10.:S
 
Newbie Spellweaver
Joined
Sep 10, 2011
Messages
46
Reaction score
11
Re: Fixing The Auto GM

umm i gotta error

#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ALTER TABLE t_characters MODIFY COLUMN a_admin tinyint(4) NOT NULL DEFAULT 0 A' at line 2

What version of MYSQL should i be using ??

I'm using 5.5
 
Newbie Spellweaver
Joined
Aug 18, 2011
Messages
31
Reaction score
1
Re: Fixing The Auto GM

I'm using SQL of NEW data Pack Warmonger
 
Experienced Elementalist
Joined
Mar 21, 2009
Messages
239
Reaction score
85
Re: Fixing The Auto GM

maxiguti

try edit manually

go to navicat ---> newproject_db -------> t_characters

right click on t_characters then choose design table . in a_admin change the default value from 10 to 0 :D
 
Newbie Spellweaver
Joined
Sep 10, 2011
Messages
46
Reaction score
11
Re: Fixing The Auto GM

Code:
ALTER TABLE `t_characters` CHANGE `a_admin` `a_admin` TINYINT( 4 ) NOT NULL DEFAULT '0'

that worked for me :)
 
Status
Not open for further replies.
Back
Top