Jump to content

Recommended Posts

 

While working on an auto hunt system, I came across an issue where the character would keep walking into a wall or object if the destination point was blocked. Instead of stopping, the character would just push endlessly against the obstacle.

I’ve implemented a fix so that now, if the destination is obstructed, the character will stop moving properly instead of continuing to push into it. This should make movement feel much more natural and prevent weird behavior during automated navigation.

 

Before the fix:

fd2abe4df21c860498552ff50aee4963.gif

After the fix:

0a900fd82a232bc01bfa0f0e21ea40e9.gif

 

This is the hidden content, please

Edited by Metin2 Dev International
Core X - External 2 Internal
  • Metin2 Dev 73
  • Eyes 1
  • Good 21
  • muscle 1
  • Love 2
  • Love 32
Link to comment
https://metin2.dev/topic/33810-small-fix-to-movement/
Share on other sites

54 minutes ago, Aemon said:

Well, you get stuck easily when you ride a mount. 

https://metin2.download/video/i57Aebn3ynQLUdQa1PWIqjA481OwNI6g/.mp4

I don't have this bug.. I can't reproduce

Link to comment
https://metin2.dev/topic/33810-small-fix-to-movement/#findComment-171285
Share on other sites

  • Contributor
20 hours ago, Aemon said:

Well, you get stuck easily when you ride a mount. 

https://metin2.download/video/i57Aebn3ynQLUdQa1PWIqjA481OwNI6g/.mp4

why would you use auto hunt system between walls 

  • Smile Tear 1

spacer.png

Full costume sets • Weapons • Mount and pets • And much more!

spacer.png

Link to comment
https://metin2.dev/topic/33810-small-fix-to-movement/#findComment-171291
Share on other sites

If you move manually through the object it looks like this - very bad, like tje character is stuck in time: 
https://metin2.download/video/h885ty06XF0M41aufmMTO4xIvTN9y6H6/.mp4

 

Also, the fix does not work for mounts:

https://metin2.download/video/WIFm0KpSCEsdIG1dpS1mKjW0UMStgp7B/.mp4


 

Edited by Metin2 Dev International
Core X - External 2 Internal
  • Smile Tear 1
  • Lmao 1
Link to comment
https://metin2.dev/topic/33810-small-fix-to-movement/#findComment-171331
Share on other sites

  • 1 month later...
  • Active Member
On 6/28/2025 at 6:30 PM, mmorse3399 said:

I don't have this bug.. I can't reproduce

It could be from mdatr of the object also, or from his mount system updating some data late, and syncing him in the wall.
This mdatr problem can also happen in beta map bayblacksand at the beach near the turtle bones objects (unless you put fixed mdatr from other client).

  • Good 1
Link to comment
https://metin2.dev/topic/33810-small-fix-to-movement/#findComment-172002
Share on other sites

  • 4 months later...
On 7/2/2025 at 7:05 PM, pellino5 said:

If you move manually through the object it looks like this - very bad, like tje character is stuck in time: 
https://metin2.download/video/h885ty06XF0M41aufmMTO4xIvTN9y6H6/.mp4

 

Also, the fix does not work for mounts:

https://metin2.download/video/WIFm0KpSCEsdIG1dpS1mKjW0UMStgp7B/.mp4


 

Did u tried push wall in real life? 😄 

Link to comment
https://metin2.dev/topic/33810-small-fix-to-movement/#findComment-173851
Share on other sites

Don't use any images from : imgur, turkmmop, freakgamers, inforge, hizliresim... Or your content will be deleted without notice...
Use : https://metin2.download/media/add/

Please use https://metin2.download/ when uploading files smaller than 100MB, otherwise the approval will take longer due to manual upload.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.