Burgershot
  • Home
  • Members
  • Team
  • Help
  • Search
  • Register
  • Login
  • Home
  • Members
  • Help
  • Search
Burgershot open.mp Questions and Suggestions [Suggestion] AFK System in O:MP

 
  • 1 Vote(s) - 5 Average
Suggestion AFK System in O:MP
Mark2
Offline

Burgershot Member
Posts: 8
Threads: 3
Joined: Apr 2019
Reputation: 0
Location: Belarus (Russian lang.)
#1
2019-04-15, 07:40 AM (This post was last modified: 2019-04-18, 09:10 AM by JustMichael. Edit Reason: Fixed font-size, it was too large )
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
Natsu
Offline

Burgershot Member
Posts: 3
Threads: 0
Joined: Apr 2019
Reputation: 0
#2
2019-04-15, 11:39 AM (This post was last modified: 2019-04-15, 11:40 AM by Natsu.)
"find out when player is AFK by the function or a callback" - the fastest method.

Code:
if(NetStats_MessagesRecvPerSecond(playerid) == 1)
{
//Player is AFK.
}
Mark2
Offline

Burgershot Member
Posts: 8
Threads: 3
Joined: Apr 2019
Reputation: 0
Location: Belarus (Russian lang.)
#3
2019-04-15, 12:08 PM (This post was last modified: 2019-04-15, 12:14 PM by Mark2.)
(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]
Manyula
Offline

Burgershot Member
Posts: 52
Threads: 5
Joined: Apr 2019
Reputation: 5
Location: Germany
#4
2019-04-15, 02:34 PM
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.
Godfather
Offline

Burgershot Member
Posts: 16
Threads: 4
Joined: Apr 2019
Reputation: 1
#5
2019-04-15, 02:43 PM
(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.
RenanMsV
Offline

!=Newbie
Posts: 15
Threads: 1
Joined: Apr 2019
Reputation: 1
#6
2019-04-15, 02:48 PM (This post was last modified: 2019-04-15, 02:51 PM by RenanMsV.)
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.
Manyula
Offline

Burgershot Member
Posts: 52
Threads: 5
Joined: Apr 2019
Reputation: 5
Location: Germany
#7
2019-04-15, 02:52 PM
(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.
TwisT3R
Offline

Underground
Posts: 16
Threads: 2
Joined: Apr 2019
Reputation: 2
Location: Hungary
#8
2019-04-15, 06:28 PM
SAMP addon has some good functions like that one above.
Zenitram
Offline

Featured user
Posts: 1
Threads: 0
Joined: Apr 2019
Reputation: 0
#9
2019-04-15, 06:45 PM
I like it.
AkiraR
Offline

Client Supporter | Retired Developer
Posts: 28
Threads: 4
Joined: Apr 2019
Reputation: 2
Location: United States
#10
2019-04-15, 07:25 PM
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.
« Next Oldest | Next Newest »



  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Burgershot - Powered by our Community and MyBB Original Theme by Emerald

Linear Mode
Threaded Mode