[ERROR] timer_do_delete error

Luffy

New member
Messages
303
Points
0
Location
#DDos
Emulator
[Error]: timer_do_delete error : function mismatch [269]008F3970(npc_timerevent) != 00AFFF10(unit_walk_toxy_timer)

i got this error. i dunno why. 

[Error]: UnknownStatusChange [271]
[Error]: UnknownStatusChange [271]
[Error]: UnknownStatusChange [271]
[Error]: UnknownStatusChange [271]
[Error]: UnknownStatusChange [271]
[Error]: UnknownStatusChange [271]
[Error]: UnknownStatusChange [271]
[Error]: UnknownStatusChange [271]
[Error]: UnknownStatusChange [271]
[Error]: UnknownStatusChange [271]
[Error]: UnknownStatusChange [271]
[Error]: UnknownStatusChange [271]

 
not sure what wrong with timer. you changed code or add any plugins?

About status effect, look like you have outdated at least constants.conf.

Try test for same issues on clean hercules.

 
hmmmm hi 4144., i dunno but i've search the SC 271 and it leads to SC_KSPROTECTED

 
[Error]: timer_do_delete error : function mismatch [269]008F3970(npc_timerevent) != 00AFFF10(unit_walk_toxy_timer)

i got this error. i dunno why. 

[Error]: UnknownStatusChange [271]
[Error]: UnknownStatusChange [271]
[Error]: UnknownStatusChange [271]
[Error]: UnknownStatusChange [271]
[Error]: UnknownStatusChange [271]
[Error]: UnknownStatusChange [271]
[Error]: UnknownStatusChange [271]
[Error]: UnknownStatusChange [271]
[Error]: UnknownStatusChange [271]
[Error]: UnknownStatusChange [271]
[Error]: UnknownStatusChange [271]
[Error]: UnknownStatusChange [271]
HI Bro, you can fix this by adding in db/sc_config.conf

Code:
SC_KSPROTECTED: {

    Flags: {

        NoClearanceReset: true

        Buff: true

    }

    Icon: "SI_ANGEL_PROTECT"

}
 
Hey bro, okay lemme try.
is this already patch on latest revision? i think i updated mine like last 2 weeks ago .

 
Hi.

@4144

The failed assertion for deleting unit_walk_toxy_timer timers was reported to me several times since https://github.com/HerculesWS/Hercules/pull/2546 was merged.
 

  • https://herc.ws/board/topic/18060-mob-bug/#comment-94997
     
  • From Discord:
    Fiction 18.03.2020

    I don't know if this is a bug, but some mobs spam the map-server with an error
    https://prnt.sc/rin813

  • From PM:
    Code:
    [Error]: timer_do_delete error : function mismatch [179](nil)(unknown timer function) != 0x5609b422dfc0(unit_walk_toxy_timer)
    [Error]: --- failed assertion --------------------------------------------
    [Error]: timer.c:398: '0' in function `timer_do_delete'
    [Error]: ./map-server(+0x24a8ef) [0x5609b42448ef]
    [Error]: ./map-server(+0x2560dc) [0x5609b42500dc]
    [Error]: ./map-server(+0x23bbfa) [0x5609b4235bfa]
    [Error]: ./map-server(+0x23847a) [0x5609b423247a]
    [Error]: ./map-server(+0x2392c9) [0x5609b42332c9]
    [Error]: ./map-server(+0xf7cd2) [0x5609b40f1cd2]
    [Error]: ./map-server(+0xf4e4e) [0x5609b40eee4e]
    [Error]: ./map-server(+0xfac26) [0x5609b40f4c26]
    [Error]: ./map-server(+0xf4528) [0x5609b40ee528]
    [Error]: ./map-server(+0xed7b7) [0x5609b40e77b7]
    [Error]: --- end failed assertion ----------------------------------------






~Kenpachi

 
Last edited by a moderator:
this pr look like not changed timers

 
The only timer related modification I found in this PR is that now 0 is passed for data when assigning ud->walktimer.

Prior to this PR, the amount of added ticks was passed.

  • From:
    ud->walktimer = timer->add(timer->gettick()+i,unit->walktoxy_timer,bl->id,i);
    To:

    Code:
    ud->walktimer = timer->add(timer->gettick() + timer_delay, unit->walk_toxy_timer, bl->id, 0); //TODO: check if unit->walk_toxy_timer uses any intptr data
  • From:
    Code:
    ud->walktimer = timer->add(tick+i,unit->walktoxy_timer,id,i);
    To:

    Code:
    ud->walktimer = timer->add(tick + timer_delay, unit->walk_toxy_timer, id, 0);





unit_walk_toxy_timer() doesn't use the data parameter, but at least unit_stop_walking() uses the TimerData->data field.

I can't tell if those changes are causing the error, yet. Unfortunately I'm unable to get that error popping up while debugging. 😥

~Kenpachi

 
error give any issue except spam in log?

 
From what I've been told, there's no in-game error. It's just spamming the server console.

~Kenpachi

 
Back
Top