Jump to content
  • 0
Sign in to follow this  
stiflerxx

Erros com Diff do Harmony compativel com Hercules

Question

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.

 

Share this post


Link to post
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.