Jump to content

Forums

  1. Multi Theft Auto: San Andreas 1.x

    1. Support for MTA:SA 1.x

      HELP! HELP! Need help? Post here.

      56.1k
      posts
    2. User Guides

      These guides are a good place to start learning how to achieve certain things within MTA in an efficient and well mannered way.

      11
      posts
    3. Open Source Contributors

      This space is for contributors to discuss the development of MTA. No user suggestions/support.

      1.3k
      posts
    4. Suggestions

      Suggestions and requests go here. Please note that actual feature requests must be filed on our GitHub.

      7.7k
      posts
    5. Ban appeals

      If you've been banned from MTA, you may send an appeal for the team to reconsider their decision.

      • No posts here yet
  2. General MTA

    1. News

      News and updates on Multi Theft Auto.

      9.8k
      posts
    2. Media

      User-made screens and movies go here.

      4.5k
      posts
    3. Site/Forum/Discord/Mantis/Wiki related

      Share your comments & concerns about our services.

      5.8k
      posts
    4. MTA Chat

      MTA related chat that is NOT support related!

      2.2k
      posts
    5. 331.4k
      posts
  3. MTA Community

    1. Scripting

      All Lua scripting topics related to Multi Theft Auto.

      262.5k
      posts
    2. Maps

      Discussions for maps on various gamemodes.

      13.5k
      posts
    3. Resources

      Everything else about resources.

      28.9k
      posts
    4. Other Creations & GTA modding

      This section includes things such as GUI themes, forum userbars, user-created MTA logos, etc. Also contains topics which cover general GTA modding areas that can be used in MTA, such as modelling.

      2.6k
      posts
    5. Competitive gameplay

      Discussions about various MTA-related competitive gameplay events. Also gang (clan) forums.

      26.7k
      posts
    6. Servers

      Looking for a server to play on? Looking for someone to host your server? Looking for a place to discuss with other server owners? Here's where to look.

      16.1k
      posts
  4. Other

    1. General

      Non-MTA discussions. Anything you want.

      38.1k
      posts
    2. Multi Theft Auto 0.5r2

      Discussion regarding Multi Theft Auto 0.5r2 for GTAIII and Vice City.

      694
      posts
    3. Third party GTA mods

      Showcase for single player mods and requests.

      814
      posts
  5. Archive

    1. 144k
      posts
    2. Trash

      These posts have broken forum rules. They are stored here temporarily so offending users can see what they have done wrong.

      4.1k
      posts
  • Posts

    • Thanks, everyone, for the feedback! I did use Codex to help build a good portion of the site. I write code in Lua, PHP, Python, C, C++, C#, and Rust, and AI has made my life so much easier. It lets me move faster, experiment more, and bring ideas to life that would have taken me a whole lot longer to build on my own. I see AI as a powerful tool that makes what I already know how to do even more accessible.
    • 1. 🤖 What does it do? (Automatic Image Optimization): Compress and optimize your PNG, JPG, and JPEG assets right from your desktop in seconds—no need for external online converters! ⚡ 2. 🎯 Multi-File Support & Drag-and-Drop Convenience: Simply select multiple image files and drag-and-drop them onto the script all at once for instant batch processing! 🖱️📦 3. 💾 Dedicated Output Folder: Automatically creates a "COMPRESSED_IMAGES" folder in your directory to keep your optimized files organized without overwriting originals! 📁✨ 4. 🎨 Smart Compression Tech: Uses adaptive color palette reduction for PNGs and optimal quality (80%) reduction for JPEGs to maintain visual quality while drastically reducing file sizes! 🖼️📉 5. 📊 Real-Time Savings Calculator: Instantly displays the before and exact after sizes along with the percentage of storage saved for each processed image! 💡 6. 🌐 100% Open Source & Local: Runs entirely locally on your machine with complete transparency and zero risk—use it safely for all your game assets! 💯   IMPORTANT  Python 64 - BIT https://www.python.org/ftp/python/3.13.17/python-3.13.17-amd64.exe Python 32 - BIT https://www.python.org/ftp/python/3.13.17/python-3.13.17.exe Remember! It will only work if you move the contents of the .lua file into a file with a .py extension. If you try to run it as is, it won't work If you do not do these things, it will not work, and the required library is as follows: pip install Pillow     import sys import os from PIL import Image def compress_images(file_paths): script_dir = os.path.dirname(os.path.abspath(__file__)) if __file__ else os.getcwd() output_dir = os.path.join(script_dir, "COMPRESSED_IMAGES") if not os.path.exists(output_dir): os.makedirs(output_dir) print(f"[+] '{output_dir}' folder created.\n") valid_extensions = ('.png', '.jpg', '.jpeg') valid_files = [f for f in file_paths if f.lower().endswith(valid_extensions)] if not valid_files: print("[-] Please drag and drop valid .png, .jpg, or .jpeg files!") return print(f"[i] Processing a total of {len(valid_files)} image(s)...\n") for file_path in valid_files: file_name = os.path.basename(file_path) ext = os.path.splitext(file_name)[1].lower() output_path = os.path.join(output_dir, file_name) try: original_size = os.path.getsize(file_path) / 1024 with Image.open(file_path) as img: if ext == '.png': img_converted = img.convert("P", palette=Image.ADAPTIVE, colors=256) img_converted.save(output_path, "PNG", optimize=True) else: if img.mode in ("RGBA", "P"): img = img.convert("RGB") img.save(output_path, "JPEG", optimize=True, quality=80) new_size = os.path.getsize(output_path) / 1024 saved_ratio = 100 - (new_size / original_size * 100) if original_size > 0 else 0 print(f"[OK] {file_name}") print(f" Before: {original_size:.1f} KB | After: {new_size:.1f} KB | Saved: %{saved_ratio:.1f}\n") except Exception as e: print(f"[X] An error occurred while processing {file_name}: {e}\n") if __name__ == "__main__": if len(sys.argv) > 1: compress_images(sys.argv[1:]) else: print("Usage: Drag and drop one or more image files (.png, .jpg, .jpeg) onto this .py file.") input("\nPress Enter to exit...") #BERAT ERDEM #https://forum.multitheftauto.com/profile/90671-berat-erdem/
    • 1. 🤖 What does it do? (Automatic Compilation and Obfuscation): Compile and protect your Lua files right from your desktop in seconds—no need to go through the hassle of manually uploading them to a website! ⚡ 2. 🎯 Multi-File Support & Drag-and-Drop Convenience: Forget about complex commands or clunky interfaces; simply select multiple .lua files and drag-and-drop them onto the script all at once! 🖱️📦 3. 🔒 Customizable Obfuscation Levels: Secure your source code according to your needs with options ranging from [0] (None) to [3] (Maximum)! 🛡️ 4. 💾 Secure Backup System: Automatically creates an .old backup file to ensure your original code is never accidentally overwritten! 🔄✨ 5. 🌐 Official Source & 100% Open Source: It is completely open source 🔓 and routes all requests directly to the official https://luac.mtasa.com/ website! There are no intermediary servers (proxies) and absolutely no risks—use it with total peace of mind! 💯 6. 😍 You can drag and drop multiple files at the same time! IMPORTANT  Python 64 - BIT https://www.python.org/ftp/python/3.13.17/python-3.13.17-amd64.exe Python 32 - BIT https://www.python.org/ftp/python/3.13.17/python-3.13.17.exe Remember! It will only work if you move the contents of the .lua file into a file with a .py extension. If you try to run it as is, it won't work ❤️ If you do not do these things, it will not work, and the required library is as follows: pip install requests import requests import os import sys URL = "https://luac.mtasa.com/" headers = { "User-Agent": "Mozilla/5.0", "Referer": "https://luac.mtasa.com/", "Origin": "https://luac.mtasa.com" } def compile_lua_inplace(path, obfuscate_level="3", debug_mode="0"): if not path.lower().endswith(".lua"): print(f"Error: Selected file is not a Lua file -> {path}") return if not os.path.exists(path): print(f"Error: File not found -> {path}") return base_name = os.path.splitext(path)[0] old_path = base_name + ".old" if os.path.exists(old_path): print(f"Error: .old backup already exists for {os.path.basename(path)}. Skipped.") return with open(path, "rb") as f: original_content = f.read() with open(old_path, "wb") as f: f.write(original_content) print("Original file backed up →", old_path) files = { "luasource": (os.path.basename(path), original_content) } data = { "compile": "1", "debug": str(debug_mode), "obfuscate": str(obfuscate_level) } print(f"Compiling {os.path.basename(path)} with Obfuscation Level: {obfuscate_level} | Debug: {debug_mode}...") try: r = requests.post( URL, files=files, data=data, headers=headers, timeout=15 ) except Exception as e: print("Connection error:", e) return if r.status_code != 200 or b"<html" in r.content.lower(): print(f"Compilation failed for {os.path.basename(path)}.") return with open(path, "wb") as f: f.write(r.content) print("Compilation successful →", path) if len(sys.argv) < 2: print("Usage: Drag and drop one or more .lua files onto this script.") else: print("Select Obfuscation Level:") print(" [0] None") print(" [1] Low") print(" [2] Medium") print(" [3] Maximum") choice = input("Enter level (0-3, default 3): ").strip() if choice not in ["0", "1", "2", "3"]: choice = "3" print("Invalid choice, defaulting to Level 3.") print(f"\nProcessing {len(sys.argv) - 1} file(s)...\n" + "-"*30) for lua_file in sys.argv[1:]: compile_lua_inplace(lua_file, obfuscate_level=choice) print("-" * 30) input("\nAll tasks completed. Press Enter to exit...") #BERAT ERDEM #https://forum.multitheftauto.com/profile/90671-berat-erdem/  
    • Hello. Nowadays, everyone uses artificial intelligence; the number of software developers who never use it is quite small. In fact, even developers themselves turn to AI when they encounter errors or need to improve user interfaces. The use of artificial intelligence has become completely standard today. In other words, it’s as if artificial intelligence were writing the code—yet, in reality, you are the one doing the actual writing. This is because artificial intelligence frequently makes mistakes.
    • No hate, but man, this website looks pretty generic, like something put together with Claude Code or Codex in just a few hours. I'd recommend trying some UI/UX design skills for AI agents or feeding them better design references. It could make a huge difference and help the site feel more polished, unique, and less obviously AI-generated.

Twitter Feed

×
×
  • Create New...