Jump to content
  • 0

Question

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 !

 

 

Edited by jaiko23

Share this post


Link to post
Share on other sites

7 answers to this question

Recommended Posts

  • 0

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

Share this post


Link to post
Share on other sites
  • 0

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

 

 

Quote

[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 ----------------------------------------

 

Share this post


Link to post
Share on other sites
  • 0
3 hours ago, Robert415 said:

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

 

 

 

please provide your git version so that we can find a solution

Share this post


Link to post
Share on other sites
  • 0

 

4 hours ago, Zhao Chow said:

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.

Edited by Robert415

Share this post


Link to post
Share on other sites
  • 0
18 hours ago, Robert415 said:

 

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.

Share this post


Link to post
Share on other sites

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...

×
×
  • Create New...

Important Information

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