Svanhild
New member
I use to have this feature in rathena, but I lost and forgot the source mod for this. So I'm requesting another one.
if( sd->group_id > 0 && sd->group_id < 99 ) { if( SQL_ERROR == SQL->Query(inter->sql_handle, "SELECT 1 FROM `%s` WHERE `account_id` = '%d'", char_db, sd->account_id) ) Sql_ShowDebug(inter->sql_handle); if( SQL->NumRows(inter->sql_handle) >= 1 ) return -2; // character account limit exceeded }// check char slot if( sd->found_char[slot] != -1 ) return -2; /* character account limit exceeded */
int slot = RFIFOB(fd,2);
We use essential cookies to make this site work, and optional cookies to enhance your experience.