multitheftauto / mtasa-resources

This project maintains a list of up-to-date resources that come with Multi Theft Auto.
https://multitheftauto.com
MIT License
153 stars 156 forks source link

Camera Stuck Mid-air after Browsing Models #298

Closed Wirmaple73 closed 3 years ago

Wirmaple73 commented 3 years ago

Describe the bug

Hello, There's a bug with the Map Editor's Model Browser/Camera. sometimes when you Select an object with the Model Browser and you click on OK to place it, the Camera gets stuck Mid-air and doesn't move unless I disconnect from the Map Editor. I've reinstalled MTASA several times and tested with 1.5.7 and 1.5.8, but this still sometimes happens.

To reproduce

Steps to reproduce the behaviour:

  1. Open the Map Editor
  2. Browse for any Object and place it
  3. Keep placing until Camera gets stuck.
  4. Camera got stuck and you can't move it until you Disconnect from the Map Editor.

Expected behaviour

Model Browser should place objects, not Making the Camera stuck.

Screenshots

Video: https://i.imgur.com/J9CLYea.mp4

Version

Tested on 1.5.7 and 1.5.8 Windows 7 SP1 (No Wine or anything)

Additional context

If there are any solutions, please tell me. Thank you

stoneage-mta commented 3 years ago

cant reproduce

Wirmaple73 commented 3 years ago

cant reproduce

Hi, so why am I getting this Problem even though I reinstalled MTA SA several times? any solutions please? this is really annoying

P.S. I reinstalled GTASA too with no luck :(

Dutchman101 commented 3 years ago

any solutions please? this is really annoying

Please test the fix from PR #299 by opening your C:\Program Files (x86)\MTA San Andreas 1.5\server\mods\deathmatch\resources\[editor]\editor_gui\client > buttonclicked.lua and replacing the contents with the patched version: buttonclicked.lua @ PR #299

Let us know if that solves it @Wirmaple73

Wirmaple73 commented 3 years ago

any solutions please? this is really annoying

Please test the fix from PR #299 by opening your C:\Program Files (x86)\MTA San Andreas 1.5\server\mods\deathmatch\resources\[editor]\editor_gui\client > buttonclicked.lua and replacing the contents with the patched version: buttonclicked.lua @ PR #299

Let us know if that solves it @Wirmaple73

omg thank you so much @Dutchman101 and @andr0xy! I placed hundreds of Objects after replacing that LUA script and the Camera is still working perfectly, Thanks again :)

The Developers should replace the broken LUA with the Patched one

Dutchman101 commented 3 years ago

The Developers should replace the broken LUA with the Patched one

No problem and thanks for verifying the fix, we will do that as soon said PR gets reviewed.. until then, this issue can remain open.