Re: Basic AFK system. [1.5]
First of all thanks, second thing I suggest for people to make the time less than 3 minutes on DuelMatch!
Re: Basic AFK system. [1.5]
Thanks for all, this is good because people how are in TDM in other team, and there is someone AFK, the other team dont want to kick him because they win EXP, and this is the solution :love:
Re: Basic AFK system. [1.5]
Quote:
Originally Posted by
qet123
First of all thanks, second thing I suggest for people to make the time less than 3 minutes on DuelMatch!
Code:
if(ZGetGame()->m_pMyCharacter->LastKeyTime + ((ZGetGame()->GetMatch()->GetMatchType() != MMATCH_GAMETYPE_DUEL || ZGetGame()->GetMatch()->GetMatchType() != MMATCH_GAMETYPE_DUELTOURNAMENT) ? 300000 : 180000) < timeGetTime())
ZApplication::GetGameInterface()->ReserveLeaveBattle();
Re: Basic AFK system. [1.5]
Thanks!
If i see those awesome releases i am really starting to think of 1.5...
Re: Basic AFK system. [1.5]
Will improve it a bit when I get time to. I do realize that throwing it in the OnDamaged is a bad idea, but I couldn't think of a constantly used void..
Posted via Mobile Device
Re: Basic AFK system. [1.5]
Awesome release!!! Thanks vusion <3.
I can't give thanks via mobile :S
Posted via Mobile Device
Re: Basic AFK system. [1.5]
Good Job hhh no more free exp
Re: Basic AFK system. [1.5]
Edited it to automatically check without needing to shoot the afk person!
Thanks to Mark.
Re: Basic AFK system. [1.5]
Automatically shows the "You will left bla bla" when you enter a room (Without 5 minutes elapsed), and don't quits.
Re: Basic AFK system. [1.5]
At least zchatout some text if somebody is kicked for being afk
Re: Basic AFK system. [1.5]
Quote:
Originally Posted by
ForceGFX
At least zchatout some text if somebody is kicked for being afk
It's bugged... I will update soon the right code.
Re: Basic AFK system. [1.5]
Quote:
Originally Posted by
qet123
It's bugged... I will update soon the right code.
how long is that gonna take you? a week? it's kinda simple.
also Vusion your code is 100% flawed, you do know that the waiting time is only 300 milliseconds? or in the case of duel match it is 180 milliseconds.
And you claim to be a good dev, roflmfao
Re: Basic AFK system. [1.5]
Quote:
Originally Posted by
Mr_Troy
how long is that gonna take you? a week? it's kinda simple.
also Vusion your code is 100% flawed, you do know that the waiting time is only 300 milliseconds? or in the case of duel match it is 180 milliseconds.
And you claim to be a good dev, roflmfao
says you.
thanks for pointing me out to that, I'll have it fixed in a bit.
And what have you done? An FPS counter?
For god's sakes, you can't even manage to get Duel Tournament working.
Updated codes.
Quote:
Originally Posted by
ForceGFX
At least zchatout some text if somebody is kicked for being afk
It's a /basic/ AFK system.
Re: Basic AFK system. [1.5]
Quote:
Originally Posted by
Vusion
says you.
thanks for pointing me out to that, I'll have it fixed in a bit.
And what have you done? An FPS counter?
For god's sakes, you can't even manage to get Duel Tournament working.
Updated codes.
It's a /basic/ AFK system.
and if you doing H&S event ?