Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 28/12/18 in all areas

  1. بدل كل هذا استخدم getDistanceBetweenPoints3D
    1 point
  2. Using cache="false" is definitely safer, as they cannot be downloaded directly via http://serverip:serverport/resourcename/path/to/file.lua (you'll get "This script is not client cacheable" return message), and the only way to hijack the source code would be via a hacked client or by wiretapping the connection with Wireshark or something and somehow breaking the encryption on it. On the other hand, without blocking caching, users can technically download the file (provided they know the path and its filename) without executing it, thus the file wouldn't be deleted via fileDelete. However, this also means if you're using a fast download external server to serve files, these files aren't cached or served by that external server, and instead, served directly from the game server. External servers like nginx can provide good compression to downloaded data, while MTA internal HTTP download server is very primitive and does not support compression or multiple client connections[source]. Now to answer the other questions: - Client scripts don't unload from memory except when restarting a resource or reconnecting to the server, in which case they're requested from the server again and downloaded (and saved if caching is enabled) and executed. - If you're using cache="false" there's no need to use fileDelete, and indeed it could risk revealing file paths unless you also check fileExists before, as errors in clientscript.log may reveal paths if the file is attempted to be deleted but does not exist.
    1 point
  3. Não se trata disso jovem, as vezes a galera não entende muito bem o que você esta pedindo, então é difícil ajudar.
    1 point
  4. Todas as contas criadas no servidor já possuem um ID, que não muda mesmo se algumas contas forem deletadas. Basta você usar getAccountID, que dai você obtém esses IDs. Os dados das contas ficam salvos no banco de dados internal.db
    1 point
  5. Open source and easy to install https://github.com/404rq/GTW-RPG
    1 point
  6. <3 تسلم حبيبي عقبال اوصل لـ العشق ================================================== > @MoDeR2014 @Default#^ @Abdul KariM @Mr.SAUD @KillerX @بويكا @LoOs ولي اعرفهم بالاسماء : جنتول , خالدالعمري , جوست بوي , كنق عبادي , الصراحة واجد الي نسيته يعذرني العشق : @سعد الغامدي
    0 points
×
×
  • Create New...