Join Helbreath
Would you like to react to this message? Create an account in a few clicks or log in to continue.


An essential info site for anyone learning the game. Great community and often very insightful posts.
 
HomeUseful information for Helbreath beginnersPlay, discover, and broadcast your Helbreath moments for free.Statistics overviewSearchMemberlistRulesRegisterLog in
 

 Consulta

Go down 
AuthorMessage
Centuu.-
‏‏‎ ‎‏‏‎ ‎
‏‏‎ ‎‏‏‎ ‎
Centuu.-

Posts : 230

Consulta Empty
PostSubject: Consulta   Consulta 999103/22/2017, 11:47 pm

Buenas, una consulta.

Estoy queriendo hacer que, cuando un item llega a Endurance = 0, se muestre en la esquina inferior derecha de la pantalla la imagen del item roto..

Estoy teniendo problemas con el envío de datos del HG al Cliente para mostrar la imagen...

El cálculo lo hace directamente el HG, al llegar a Endurance = 0 se ejecuta la función CGame::ReleaseItemHandler, y ahí me perdí xD

Quería saber si me podían dar una mano. :gracias: :
Back to top Go down
LifeX
‏‏‎ ‎‏‏‎ ‎
‏‏‎ ‎‏‏‎ ‎
LifeX

Posts : 219

Consulta Empty
PostSubject: Re: Consulta   Consulta 999103/23/2017, 1:30 pm

Wht I could think of is, most servers out there, do not have real time endurance display. The real time endurance is only displayed when relog.

I've coded a real time endurance minus display. You can use that senddata when endurance real time display once it hits 0, send the same data to the client, with the same case, and the client receive the data based on the EQUIPOS and display the image.


Wouldn't be to hard.


LifeX
Back to top Go down
Centuu.-
‏‏‎ ‎‏‏‎ ‎
‏‏‎ ‎‏‏‎ ‎
Centuu.-

Posts : 230

Consulta Empty
PostSubject: Re: Consulta   Consulta 999103/23/2017, 10:29 pm

Thanks for the reply.

I'm going to try to code real time endurance and send data to the client!


binarydata » Wed Apr 06, 2005 8:14 pm wrote:
hb dead anyways
Back to top Go down
LifeX
‏‏‎ ‎‏‏‎ ‎
‏‏‎ ‎‏‏‎ ‎
LifeX

Posts : 219

Consulta Empty
PostSubject: Re: Consulta   Consulta 999103/25/2017, 12:42 pm

alright. good luck


LifeX
Back to top Go down
Centuu.-
‏‏‎ ‎‏‏‎ ‎
‏‏‎ ‎‏‏‎ ‎
Centuu.-

Posts : 230

Consulta Empty
PostSubject: Re: Consulta   Consulta 999104/6/2017, 8:31 pm

Didn't do anything :callado: 

I was thinking to use the UpdateScreen_OnGame() to check the equiped items' endu and display a yellow image of item if Endu <= 100 to warn the player.. and for a broken items check the bag.. if endu == 0 show in Red the image.. a short way to code it..  :lopensare:

As i said.. i was only thinking... later i'm gonna try and show results.


binarydata » Wed Apr 06, 2005 8:14 pm wrote:
hb dead anyways
Back to top Go down
Centuu.-
‏‏‎ ‎‏‏‎ ‎
‏‏‎ ‎‏‏‎ ‎
Centuu.-

Posts : 230

Consulta Empty
PostSubject: Re: Consulta   Consulta 9991011/14/2019, 10:52 am

I totally forgot about this... gonna work on it !
Back to top Go down
 
Consulta
Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
Join Helbreath :: Interaction :: Ask the Community-
Jump to: