Following issue at https://sourceforge.net/tracker/index.php?func=detail&aid=3123963&group_id=1111&atid=101111 after the fix the character was indeed inactive. I've been trying to find where the character is activated. I thought something changed in the CharacterDAO create method but everything seems the same (looking at Stendhal code). Any hints on how to do this? I know the database needs to be updated somewhere, I just don't want to reinvent the wheel. Or is it a bug and characters should be created active?
You seem to have CSS turned off.
Please don't fill out this field.
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',
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?
> Should I open a bug then?
Filled bug https://sourceforge.net/tracker/?func=detail&aid=3136127&group_id=1111&atid=101111 as requested.
Sign up for the SourceForge newsletter: