Erros com Diff do Harmony compativel com Hercules

stiflerxx

New member
Messages
125
Points
0
olá eu baixei o emulador e botei o diff deste topico>>> http://herc.ws/board/topic/3267-harmony-patch-3312-30-mai/

o emulador ta ligando normal e estou logando normal mais tem alguns erros como

se eu por @at e depois desligar o emulador quando vou tentar ligar de novo ele da os arros e dca cache no map-server:

[Debug]: at loginlog_sql.c:81 - self is NULL
[Error]: timer_do_delete error : function mismatch (nil)(unknown timer function) != 0x40f360(ipban_cleanup)
[Debug]: at ipban_sql.c:259 - self is NULL

[Fatal Error]: map_setipport : received info that this map-server SHOULD have map 'alb_ship', but it is not loaded.

[Fatal Error]: map_setipport : received info that this map-server SHOULD have map 'alb_ship', but it is not loaded.
lembrando que alb_ship não e mapa custom! e um mapa que já vem com o emulador.

at loginlog_sql linha 61 a 82(onde ta o 1° erro toda função):

/*=============================================
* Records an event in the login log
*---------------------------------------------*/
void login_log(uint32 ip, const char* username, int rcode, const char* message, const char* mac)
{
char esc_username[NAME_LENGTH*2+1];
char esc_message[255*2+1];
int retcode;

if( !enabled )
return;

SQL->EscapeStringLen(sql_handle, esc_username, username, strnlen(username, NAME_LENGTH));
SQL->EscapeStringLen(sql_handle, esc_message, message, strnlen(message, 255));

retcode = SQL->Query(sql_handle,
"INSERT INTO `%s`(`time`,`ip`,`user`,`rcode`,`log`,`mac`) VALUES (NOW(), '%s', '%s', '%d', '%s', '%s')",
log_login_db, ip2str(ip,NULL), esc_username, rcode, esc_message, mac);

if( retcode != SQL_SUCCESS )
Sql_ShowDebug(sql_handle);
}

at login/ipban_sql.c linhas 253 a 262

// remove expired bans
int ipban_cleanup(int tid, int64 tick, int id, intptr_t data) {
if( !login_config.ipban )
return 0;// ipban disabled

if( SQL_ERROR == SQL->Query(sql_handle, "DELETE FROM `%s` WHERE `rtime` <= NOW()", ipban_table) )
Sql_ShowDebug(sql_handle);

return 0;
}


tenha um bom dia e obg a todos.

 
Back
Top