• 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Suggestion] AFK System in O:MP
#1
Will you add the AFK sys?in O:MP as it is added in SA-MP or delete as it make MTA?? I think you should remove this due bugs and lags. I hate the moments when players go AFK for avoiding different situations as crashing with another cars and etc.



As an alternative, I can offer to remake?AFK system by reducing its intervention in player synchronization with the server to zero, but at the same time having the opportunity to find out when player is?AFK by the?function or a callback (OnPlayerAFK) to further implement its own AFK system programmatically
  Reply
#2
"find out when player is AFK by the function or a callback" -?the fastest method.

Code:
if(NetStats_MessagesRecvPerSecond(playerid) == 1)
{
//Player is AFK.
}
  Reply
#3
(2019-04-15, 11:39 AM)Natsu Wrote: "find out when player is AFK by the function or a callback" -?the fastest method.

Code:
if(NetStats_MessagesRecvPerSecond(playerid) == 1)
{
//Player is AFK.
}
I am not want only find?out, i am want know what?about cancelling server desync in O:MP?when player in AFK, as it done?in?MTA, but with callback that show that player now is?AFK,?for opportunity to write your self AFK system for players. I mean when player pressing ESC, he don't must "get stucked"?on server, but it should be tracked
[Image: images?q=tbn:ANd9GcS-kXWq9BAEEcbuJGqrhQ_...SmXLgxj3KA]
[Image: aWbv5wm.gif]

  Reply
#4
Mark2 actually has a point there. One of the few things I liked about MTA over SA:MP was that going into the game's menu doesn't pause the game and desyncs the player. I always imagined having a transparent overlay so players could manage their game settings while simultaneously being able to see what happens ingame. If scripters choose to toggle the damage while a player is in the menu, a callback "OnPlayerPaused" could be provided.
  Reply
#5
(2019-04-15, 02:34 PM)Manyula Wrote: Mark2 actually has a point there. One of the few things I liked about MTA over SA:MP was that going into the game's menu doesn't pause the game and desyncs the player. I always imagined having a transparent overlay so players could manage their game settings while simultaneously being able to see what happens ingame. If scripters choose to toggle the damage while a player is in the menu, a callback "OnPlayerPaused" could be provided.



Something like this would be nice!



[Image: hqdefault.jpg]



Also those buttons 'start new game', 'stats', 'brief' could be removed from menu.
  Reply
#6
You can do that already with the SAMP Plus addon (https://forum.sa-mp.com/showthread.php?t=520666) and the SAMP Addon https://gtaforums.com/topic/760017-samp-addon/ , the menu is transparent and you dont pause. So I guess it can be done easily :D , the problem is when the player alt-tab from the game.
  Reply
#7
(2019-04-15, 02:43 PM)Godfather Wrote: [Image: hqdefault.jpg]



Also those buttons 'start new game', 'stats', 'brief' could be removed from menu.



This looks fucking dope. And yes, there's no need to have the options of starting a new game or loading savegames.
  Reply
#8
SAMP addon has some good functions like that one above.
  Reply
#9
I like it.
  Reply
#10
Implementing a reliable AFK Sync system to others would be one of the achievements to make O:MP standout, not including MTA. Taking the problems we already know and focusing on fixing them. Then implementing newer suggestions while also patching prior bugs/those to circumvent as things move along. We stay dedicated and soon anything can happen. If O:MP succeeds, I' got plans for it.
  Reply


Forum Jump: