Jump to content

AaroN⍩

Members
  • Posts

    70
  • Joined

  • Last visited

  • Days Won

    2

Posts posted by AaroN⍩

  1. Check that the windows firewall is not intervening the connection or the firewall of the router.
    Once that is reviewed, check that you have the UPnP option enabled on your router.
    If the same thing continues, I advise you to change the NAT type of your router.

  2. Test

    SELECT pSkin FROM users WHERE username = ?

    It would stay that way, I think:

     

       local skinID = exports.fs_sql:_QuerySingle("SELECT pSkin FROM users WHERE username = ?", username)
  3. Have you already set the server fps limit to 100?
    SetFPSLimit

    It can also be poor optimization of resources, textures, models, etc.

    As for the server, you can try increasing the priority of the Mtasa process to high to force more usage of cpu and other resources.

    • Like 1
  4. I have a problem, apparently I'm banned from the entire MTA for the reason "FFS-FLAME" Blackmail, I looked for information on the wiki about this but I didn't find anything I don't know that could be causing it.
    I installed a GTASA that apparently came modified with cleomods but mtasa himself told me that I could continue playing as long as there were no problems and I played for about 3 days but today it says that I am banned, I tried to install another clean GTASA but it tells me the same thing.

    My serial number is: 2011DF4109410D5C86A9B09B44CBDAF3

    Thanks

    Sin-t-tulo.png

  5. On 28/08/2020 at 09:37, Zango said:

    You can open a file handle on server.log and read it periodically. Move the pointer to end of file after opening it initially, and read from it at some interval (500ms should feel like realtime).

    Initially I did it like this, but it is not efficient since you have to count the lines of the server.log and then take the last 20 lines, for example, and do it every 5 seconds is 0 efficient.

  6. I had the same problem, surely it is a bad optimization of the scripts, temporarily you can use this command use crontab to execute it every 1 hour or depending on how fast it runs out of resources.

    this command will clean ram memory that mtasa has in cache (runs from time to time to clean)

    sudo echo 1 > /proc/sys/vm/drop_caches

     

×
×
  • Create New...