Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Metin2
You last visited: Today at 17:10

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Help With SendCharacterStatePacket

Discussion on Help With SendCharacterStatePacket within the Metin2 forum part of the Popular Games category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Apr 2021
Posts: 74
Received Thanks: 6
Question Help With SendCharacterStatePacket

Edit : Fixed
macnn50 is offline  
Old 05/11/2021, 01:03   #2
 
MrCrisp's Avatar
 
elite*gold: 0
Join Date: Apr 2009
Posts: 747
Received Thanks: 184
Your range is too large. Make smaller steps.
MrCrisp is offline  
Old 05/11/2021, 01:05   #3
 
elite*gold: 0
Join Date: Apr 2021
Posts: 74
Received Thanks: 6
Quote:
Originally Posted by MrCrisp View Post
Your range is too large. Make smaller steps.
D2DVECTOR FakeCord;
FakeCord.x = playerCord.x+150;
FakeCord.y = abs(playerCord.y) + 150;
macnn50 is offline  
Old 05/11/2021, 14:15   #4
 
elite*gold: 0
Join Date: Dec 2020
Posts: 47
Received Thanks: 25
Quote:
Originally Posted by macnn50 View Post
D2DVECTOR FakeCord;
FakeCord.x = playerCord.x+150;
FakeCord.y = abs(playerCord.y) + 150;
Code:
inline float DISTANCE_SQRT(long dx, long dy)
{
    return ::sqrt((float)dx * dx + (float)dy * dy);
}
cant be larger then 40 on mount, 25 on foot - +150 +150 is a lot larger then +/- 25
ones-and-zer0es.mpeg is offline  
Old 05/11/2021, 21:38   #5
 
MrCrisp's Avatar
 
elite*gold: 0
Join Date: Apr 2009
Posts: 747
Received Thanks: 184
Quote:
Originally Posted by ones-and-zer0es.mpeg View Post
Code:
inline float DISTANCE_SQRT(long dx, long dy)
{
    return ::sqrt((float)dx * dx + (float)dy * dy);
}
cant be larger then 40 on mount, 25 on foot - +150 +150 is a lot larger then +/- 25
I think those are "PixelPositions". So you have to divide them by 100.0f to get the "real" coordinates.
MrCrisp is offline  
Reply


Similar Threads Similar Threads
[HELP]HELP HELP HELP[HELP]
09/23/2013 - Facebook - 3 Replies
GUYS ^^ THIS IS A HELP THREAD NOT REQUEST THREAD BUT YOU CAN CONSIDER IT AS REQUEST THREAD DOES ANYONE OF YOU KNOW THE AUTO SUBMIT PHP CODE? THANKS!
[HELP][HELP][HELP][HELP]!!
09/11/2009 - Soldier Front - 3 Replies
Microsoft Visual C++ Run time error! :(:( **HELP ME PLEASE!!***
help help help help help help
06/28/2009 - Say Hello - 0 Replies
how i can dowmload Mangos 6385 ??????????????????????????????????? please give me the limk i can't see that i know it is in www.elitepvpers.com/.../153716-release-mangos-relea ses-blackscorpian-win32-2-4-3-a.html - but give me link sent it to my email plz



All times are GMT +1. The time now is 17:11.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.