Сообщений: 18
Тем: 5
Зарегистрирован: Nov 2016
Репутация:
0
How to differentiate the life of the characters (100 HP, 120 HP, among others ..) in UDP3?
I am working on UDP3 and I have not been able to figure out how to differentiate the characters' lives, since some characters have 120 HP, and if they use + life items too .. Can anyone help me?
Сообщений: 18
Тем: 5
Зарегистрирован: Nov 2016
Репутация:
0
I am already using this structure, however, when the server calculates the damage that the player will receive, for example in Head Hunter mode, if you shoot the body, and the player is 120, life should be lowered to 119, But how will I have the information that the player has a life above 100 HP?
For without this information, the server only understands that the maximum lifetime of the player is 100, so when he receives the damage, he will get 99 HP instead of 119.
Сообщений: 18
Тем: 5
Зарегистрирован: Nov 2016
Репутация:
0
But I need to know where there is information on which is the maximum HP that the player has. 120, 136, 105, 110, among others.
Сообщений: 18
Тем: 5
Зарегистрирован: Nov 2016
Репутация:
0
In the UDP3 packages I say, where will I find the values that indicate the maximum of HP.
Сообщений: 84
Тем: 15
Зарегистрирован: Oct 2016
Репутация:
16
gameserver user equipments ???
this info should be create by yourself, not user client, if it was done by client, your server is very easy to be hacked.