Jump to content
  • 0

Possibble Slots bug in MTA 1.4.1(windows)


LVM

Question

Hello,

Sometimes server stats showing the strange data with slots when it is full of players.

51/50 or 52/50

How it possible?

It's create a problem for me. My hosting checks data of MTA query and their system sometimes receive more players than possible. They stop the server.

This began to happen when i updated the server up to 1.4.1.

Server version: 1.4.1-9.07274.0 (Windows)

Somebody had such problem?

Link to comment

1 answer to this question

Recommended Posts

  • 0
  • MTA Anti-Cheat Team

It's a known bug that got introduced with 1.4.1 but far i know the cause remains unknown if that can be a reason they didn't fix it yet. See the bug report entry at http://bugs.mtasa.com/view.php?id=8744

Im afraid there's not so much you can do about it, other than resolving your case by using the script from mantis that kicks all players becoming bugged like that.

To put it simpler this is how you can solve the problem until it's actually fixed (serverside, and give the resource admin acl right):

EDIT: Bug fixed in latest 1.4.1 revision/1.5

  
function fixNetBug() 
    for k,v in ipairs(getElementsByType("player")) do 
        if not getNetworkStats ( v ) then 
            outputServerLog("Detected dead connection for player") 
            kickPlayer ( v ) 
        end 
    end 
end 
setTimer(fixNetBug,30000,0) 
  

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...