An essential info site for anyone learning the game. Great community and often very insightful posts.
 
HomeGet StartedSearchRulesRegisterLog in
Share
 

 Consulta

Go down 
AuthorMessage
Centuu.-
♡ Game Master
Centuu.-


Consulta Empty
PostSubject: Consulta   Consulta EmptyWed 22 Mar 2017, 10: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
♡ Game Master
LifeX


Consulta Empty
PostSubject: Re: Consulta   Consulta EmptyThu 23 Mar 2017, 12: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

[You must be registered and logged in to see this link.]
Back to top Go down
Centuu.-
♡ Game Master
Centuu.-


Consulta Empty
PostSubject: Re: Consulta   Consulta EmptyThu 23 Mar 2017, 9:29 pm

Thanks for the reply.

I'm going to try to code real time endurance and send data to the client!
Back to top Go down
LifeX
♡ Game Master
LifeX


Consulta Empty
PostSubject: Re: Consulta   Consulta EmptySat 25 Mar 2017, 11:42 am

alright. good luck


LifeX

[You must be registered and logged in to see this link.]
Back to top Go down
Centuu.-
♡ Game Master
Centuu.-


Consulta Empty
PostSubject: Re: Consulta   Consulta EmptyThu 06 Apr 2017, 7: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.
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 :: Main Boards :: Ask the Community-
Jump to: