How to activate Characters?

Developers
2010-12-03
2013-06-06
  • Characters are set to active by default according to the database schema definition.

    create table if not exists characters
      (
      id integer auto_increment not null,
      player_id integer not null,
      charname varchar(32) not null,
      object_id integer not null,
      timedate timestamp default CURRENT_TIMESTAMP,
      status char(8) not null default 'active',
      PRIMARY KEY(id)
      );

    But I guess the CharacterDAO should do that on insert, too, because it is very in the schema definition.

     
  • Should I open a bug then? I verified the MySQL database has the correct definition (with the default). Monitoring the engine I noticed that the login call in the client doesn't trigger the createCharacter routine in my RuleProcessor. The create account is. Any idea?

     


Anonymous


Cancel   Add attachments