• Content Count

  • Joined

  • Last visited

Everything posted by MrDadosz

  1. MTA uses only 2 cores, which only one is for GTA SA. Even if you have 8 core CPU like me (8 cores, 16 threads, 4.3 GHz), stuttering and lower FPS can happen. You can try to disable 2 of your 4 cores to have higher CPU clock by Intel Boost and test your FPS. You have K processor so you should overclock it. GTA have problems with too many rendered vehicles - very high CPU usage.
  2. Hello. Some of players (like 1/20) on development server have crashes on Vinewood (there are no custom models) and some other places. Models are made by me and I think nothing is wrong about them - they work for most of players without crashes. Could someone check what's wrong? MTADiag from player that have crashes:
  3. Check your RAM usage. You can try to run MTA in windowed mode, it should fix this problem.
  4. Hello. One of the players from my server has problems with his game. We are using browser for login panel. His game shows error at startup with info like "can't run program, because there's no libcef.dll on your computer". He tried to copy libcef.dll from MTA/MTA to main MTA folder, but now he gets other error: He tried to download libcef.dll and move it to SYSWOW64 and to System32 and game is working, but MTA can't create web browser in game, like there's no function createGuiBrowser. There's his MTADiag log:
  5. I used example.lua file included with script. I tested it today and I have big lagspikes when I'm moving main window to the bottom of the screen (left - right, right - left, down - up works normally, but moving it from top to bottom causes lag spikes). Video:
  6. Nevermind, there were commented lines in meta.xml. Really nice, but my i5-6500 can't handle it. 100% core usage when I'm moving my mouse on GUI from this resource
  7. It looks much better than CEGUI on screenshots, but example file isn't working from same resource (0 errors in debug): + there's missing test.lua
  8. Everything is working now. 0 bluescreens.
  9. I know how to use a shaders, I'm using them for custom paintjobs on cars but these are physical elements so I can use onClientStreamIn (max. 250 MB usage of VRAM, it depends on count of cars streamed), standard GTA objects aren't physical. I created script for HD roads, but when you're travelling VRAM only go higher, every texture is always in VRAM after it's loaded. I can use setTimer to delete everything but that's not a solution.
  10. Hello. I'm wordering how to make a shader, that replaces almost every texture in the game. I unpacked txd's and I wrote a simple to download files from FTP without using meta.xml (cause I don't want to force players to download more than 500 MB). And now I have a problem - 100% VRAM usage of my 4 GB graphics card. I can't use onClientElementStreamIn because these objects were created by GTA:SA, not map editor. Any ideas?
  11. I got a bluescreen when my internet disconnected (FairPlayKD.sys). I'll test that build.
  12. There isn't too many informations, so... Everything happens only on Polish Real Life server (that's the name of it). IP I'm one of the administrators on this server. There's a lot of players who complain about bluescreens (10 players posted that problem within 3 hours). These crashes started from today I think. Mausner, please to do a MTADiag and send the results (How to do that: Pobierz i wypakuj MTADiag, podążaj za instrukcjami zawartymi w programie. Naciśnij 'n' kiedy program zapyta, czy MTA działa poprawnie. MTADiag skopiuje do schowka link do logów (dostępne pod PPM > wklej lub CTRL + V). Wyślij je w nowym poście. W celu poprawnego działania programu MTADiag wymagana jest intalacja Microsoft Visual 2012 (x86) ( ))
  14. When you're using 2 monitors, , MTA will show "Device selection" window at the start where you can change resolution etc. There is no MTA icon on the task bar. If you click on other program, this window will go under other programs and you don't know when the game will be ready to start. Video:
  15. Hello. One of players from my server has problems with his game. It's always freezes when he's nearby LS-LV runway. Pastebin: Dumps are empty. Video:
  16. Everything works now after we optimized our script for custom paintjobs. Thanks for help.
  17. I'm one of head admins on the server called "Polish Real Life". One of our players have crashes everytime (after downloading files) when he joins. Dumps:
  18. MrDadosz

    MTA GUI crashing

    Hello. One of our players has crashes when server shows GUI for him. He updated MTA to newest nightly, reinstalled game, MTADiag: Video:
  19. You can't do that without a script. Some commands like ban, kick etc. are hardcoded. If you have runcode running on this server use: run setPlayerMoney("your_name",value) example: run setPlayerMoney ("MrDadosz",100000) For health: run setElementHealth("your_name", value) example: run setElementHealth ("MrDadosz",75) List of functions:
  20. When I replace model with ID 5114 I'm falling trough 5174 model. Recreating model 5174 doen't fix collision. I need to replace collision to 5174 model and after that it's solid, but it's now working everytime. Replacing some of models causes problem with other models. My script: col = engineLoadCOL("5114.col") txd = engineLoadTXD("5114.txd") dff = engineLoadDFF("5114.dff", 0) engineReplaceCOL(col, 5114) engineImportTXD(txd, 5114) engineReplaceModel(dff, 5114, true) fix for model col = engineLoadCOL("5174.col") engineReplaceCOL(col, 5174) 1. Replace model 5114 2. Go far away from model 5174 3. Come back and model 5174 should be bugged Is there any solution to fix that without replacing collision?
  21. Hello, I need to use "window capture" in OBS. MTA only works when it's in "windowed mode" but I don't want to have a bar on the top. I tried to use "Borderless Gaming" program but MTA is glitching. I tried: MTA settings: windowed mode checkbox, problem: bar on the top, OBS can see MTA MTA settings: without a frame, but same resolution, problem: OBS can't see MTA MTA settings: without a frame, same problem as "without a frame, but same resolution" How can I do that?
  22. You can't use onClientVehicleDamage, proof: onClientVehicleCollision: onClientVehicleCollision will work but it may cause FPS drop for client. So this should work: addEventHandler("onClientVehicleCollision", getRootElement(), function() setState = getElementHealth(source) <= 250 and setVehicleDamageProof(source, true) or setVehicleDamageProof(source, false) end) addEventHandler("onClientVehicleDamage", getRootElement(), function() -- shooting to vehicles etc. setState = getElementHealth(source) <= 250 and setVehicleDamageProof(source, true) end)
  23. Too late, but if someone want this simple script: local function checkVehicleHPCollision() if getVehicleOccupant(source) then if getElementHealth(source) <= 250 then setVehicleDamageProof(source, true) else setVehicleDamageProof(source, false) end end end addEventHandler("onClientVehicleCollision", getRootElement(), checkVehicleHPCollision) local function checkVehicleHPDamage() if getVehicleOccupant(source) then if getElementHealth(source) <= 250 then setVehicleDamageProof(source, true) end end end addEventHandler("onClientVehicleDamage", getRootElement(), checkVehicleHPDamage) Should work better than loop on every vehicle
  24. Thanks for help, please close this thread.