Mob BUG

jaiko23

New member
Messages
94
Points
0
Hi guys, im just wondering, why is that a monster suddenly stop moving at one cell, its stuck and not moving at all, and when i go near that monster, it will attack me, the when i move away, he stops again, i have attached a reply taken for your reference, can anyone tell me what to do to fix this problem? thank you !

View attachment bandicam_2020-03-26_18-23-38-826.mp4

 
Last edited by a moderator:
Try to change this in

src/map/unit.c and find this line of codes

if (unit->walk_toxy_sub(bl) == 0 && (flag & 2) != 0) {
set_mobstate(bl);
return 1;
}


then change this into

if (unit->walk_toxy_sub(bl) == 0) {
if ((flag & 2) != 0)
set_mobstate(bl);
return 1;
}


then compile

 
Here we encounter new error messages after ver.v2020.03.08+2.

[Error]: --- failed assertion --------------------------------------------
[Error]: C:\Herculas\src\common\timer.c:398: '0' in function `unknown'
[Error]: --- end failed assertion ----------------------------------------
[Error]: timer_do_delete error : function mismatch [22]008F2C80(npc_timerev
!= 00AFE4B0(unit_walk_toxy_timer)
[Error]: --- failed assertion --------------------------------------------
[Error]: C:\Herculas\src\common\timer.c:398: '0' in function `unknown'
[Error]: --- end failed assertion ----------------------------------------
[Error]: timer_do_delete error : function mismatch [100]00892B10(map_remove
timer) != 00AFE4B0(unit_walk_toxy_timer)
[Error]: --- failed assertion --------------------------------------------
[Error]: C:\Herculas\src\common\timer.c:398: '0' in function `unknown'
[Error]: --- end failed assertion ----------------------------------------
[Error]: timer_do_delete error : function mismatch [231]00ACAD00(status_cha
imer) != 00AFE4B0(unit_walk_toxy_timer)
[Error]: --- failed assertion --------------------------------------------
[Error]: C:\Herculas\src\common\timer.c:398: '0' in function `unknown'
[Error]: --- end failed assertion ----------------------------------------

 
please provide your git version so that we can find a solution
I think you mean about the TortoiseGit.

TortoiseGit 2.10.0.0 (D:\WIN7\Program Files\TortoiseGit\bin)
git version 2.25.1.windows.1 (d:\win7\Program Files\Git\bin; d:\win7\Program Files\Git\mingw64\; d:\win7\Program Files\Git\etc\gitconfig)

I had tested with OpenKore xkore 3,

The coordinates  of monsters shifted weirly. That is, monster's coordinates are not send to client correctly.

 
Last edited by a moderator:
I think you mean about the TortoiseGit.

TortoiseGit 2.10.0.0 (D:\WIN7\Program Files\TortoiseGit\bin)
git version 2.25.1.windows.1 (d:\win7\Program Files\Git\bin; d:\win7\Program Files\Git\mingw64\; d:\win7\Program Files\Git\etc\gitconfig)

I had tested with OpenKore xkore 3,

The coordinates  of monsters shifted weirly. That is, monster's coordinates are not send to client correctly.
git version is the version of the hercules emulator you used.

 
Back
Top