About Players HP-bar

03/23/2019 01:42 Kujiku#1
so Is it client side or server ? :confused:

and If client side is it by ollydbg or what ?
03/23/2019 02:38 Spirited#2
Quote:
Originally Posted by Kujiku View Post
so Is it client side or server ? :confused:

and If client side is it by ollydbg or what ?
Hitpoints are calculated on both the client and server. The client calculates maximum hitpoints, and the server needs to calculate both. What do you mean by ollydbg?
03/23/2019 03:10 Yupmoh#3
Most people do it through the client side using ollydbg, but there's a way to pull it off through packets alone.
03/23/2019 03:10 nTL3fTy#4
It is client-sided and yes it would require OllyDbg or something similar to inspect/debug the client. It is essentially extending the existing functionality of showing monster HP bars to include player HP bars. That's how we implemented it in ConquerPS anyway.
03/23/2019 04:20 Spirited#5
Quote:
Originally Posted by nTL3fTy View Post
It is client-sided and yes it would require OllyDbg or something similar to inspect/debug the client. It is essentially extending the existing functionality of showing monster HP bars to include player HP bars. That's how we implemented it in ConquerPS anyway.
Ahhhh, thank you for clarifying.
03/23/2019 13:06 teroareboss1#6
1. there is a constant 999999 to draw hp bar for players
2. you need to send packet 10017 for hitpoints
3. i maked this just for 5017.. there need to recaclulate the y postion .. if the player jump
4. there is one function to check user action .. like if jump.. flay... this return y postion
5. you need to rewrite the y postion with this function
03/23/2019 15:00 Kujiku#7
Quote:
Originally Posted by Spirited View Post
Hitpoints are calculated on both the client and server. The client calculates maximum hitpoints, and the server needs to calculate both. What do you mean by ollydbg?
I mean HP-bar that pro4never made it for Apex Conquer

Quote:
Originally Posted by nTL3fTy View Post
It is client-sided and yes it would require OllyDbg or something similar to inspect/debug the client. It is essentially extending the existing functionality of showing monster HP bars to include player HP bars. That's how we implemented it in ConquerPS anyway.
Thanks :D
why to start do that , if you can share

Quote:
Originally Posted by teroareboss1 View Post
1. there is a constant 999999 to draw hp bar for players
2. you need to send packet 10017 for hitpoints
3. i maked this just for 5017.. there need to recaclulate the y postion .. if the player jump
4. there is one function to check user action .. like if jump.. flay... this return y postion
5. you need to rewrite the y postion with this function
So you mean it's source side don`t client only
03/24/2019 00:10 iBotx#8
Quote:
Originally Posted by Kujiku View Post
So you mean it's source side don`t client only
That's client sided not source sided.
03/24/2019 01:23 Kujiku#9
Quote:
Originally Posted by iBotx View Post
That's client sided not source sided.
Aahh , I see