Luffy 14 Posted March 29, 2020 [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] Quote Share this post Link to post Share on other sites
0 4144 364 Posted March 29, 2020 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. Quote Share this post Link to post Share on other sites
0 Luffy 14 Posted March 29, 2020 hmmmm hi 4144., i dunno but i've search the SC 271 and it leads to SC_KSPROTECTED Quote Share this post Link to post Share on other sites
0 X-EcutiOnner 6 Posted March 29, 2020 3 hours ago, Luffy said: [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 SC_KSPROTECTED: { Flags: { NoClearanceReset: true Buff: true } Icon: "SI_ANGEL_PROTECT" } Quote Share this post Link to post Share on other sites
0 Luffy 14 Posted March 29, 2020 Hey bro, okay lemme try. is this already patch on latest revision? i think i updated mine like last 2 weeks ago . Quote Share this post Link to post Share on other sites
0 Kenpachi 65 Posted March 30, 2020 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: Quote Fiction 18.03.2020 I don't know if this is a bug, but some mobs spam the map-server with an errorhttps://prnt.sc/rin813 From PM: Quote [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 Quote Share this post Link to post Share on other sites
0 4144 364 Posted March 30, 2020 this pr look like not changed timers Quote Share this post Link to post Share on other sites
0 Kenpachi 65 Posted March 30, 2020 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: 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: ud->walktimer = timer->add(tick+i,unit->walktoxy_timer,id,i); To: 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 Quote Share this post Link to post Share on other sites
0 4144 364 Posted March 30, 2020 error give any issue except spam in log? Quote Share this post Link to post Share on other sites
0 Kenpachi 65 Posted March 30, 2020 From what I've been told, there's no in-game error. It's just spamming the server console. ~Kenpachi Quote Share this post Link to post Share on other sites
[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]
Share this post
Link to post
Share on other sites