Reversing Indoor Camera mod FPS issues. [SOLVED]

User avatar
LS09God
Posts: 295
Joined: Sat Jul 09, 2011 10:38 am
Location: Netherlands.

Reversing Indoor Camera mod FPS issues. [SOLVED]

Post by LS09God »

Hey guys, I found out that the Reversing Indoor Camera mod is working ok when in cab, 60 fps all around, but outside cam is lagging as crazy. Remove the mod and all is well. Needs a little TLC from the author. Awesome mod though, love the way it works. *thumbsup*

EDIT:
Problem solved AND overall mod improved. WOW....
Holy smokes Batman, you did it. No, really, this is awesome dude. Thanks for the quick response. The camera works like a charm. *thumbsup*
This is a perfect realism add-on. Thanks a million. 🥇🥇🥇

For fix, download the updated mod from the hub.

To mod'; If there's nothing else to say by anyone, lock may be applied.
Last edited by LS09God on Wed May 06, 2020 6:11 pm, edited 4 times in total.
Specs:
ASUS ROG Strix X570-E mobo.
AMD Ryzen 5 2600 processor.
Corsair 32Gb DDR4 internal mem.
Sandisk 1Tb SSD as boot and game drive.
Samsung 1Tb hdd for general storage.
Gigabyte RTX2070 super graphics card.
Razer Naga Chroma mouse.
Logitech G27, G13. Saiteck HOTAS pro.
Razer BlackWidow Keyboard.
Fiber connection.
kenny456
Posts: 49
Joined: Tue Aug 28, 2018 7:00 pm

Re: Reversing Indoor Camera mod FPS issues.

Post by kenny456 »

LS09God wrote: Thu Apr 23, 2020 11:24 pm Hey guys, I found out that the Reversing Indoor Camera mod is working ok when in cab, 60 fps all around, but outside cam is lagging as crazy. Remove the mod and all is well. Needs a little TLC from the author. Awesome mod though, love the way it works. *thumbsup*
Hi, do you have any errors in your log file? Is it in SP or MP?
kenny456
Posts: 49
Joined: Tue Aug 28, 2018 7:00 pm

Re: Reversing Indoor Camera mod FPS issues.

Post by kenny456 »

kenny456 wrote: Fri Apr 24, 2020 9:01 am
LS09God wrote: Thu Apr 23, 2020 11:24 pm Hey guys, I found out that the Reversing Indoor Camera mod is working ok when in cab, 60 fps all around, but outside cam is lagging as crazy. Remove the mod and all is well. Needs a little TLC from the author. Awesome mod though, love the way it works. *thumbsup*
Hi, do you have any errors in your log file? Is it in SP or MP?
Problem is with mod Vehicle Control Addon (some incompatibility with my mod). FPS drops everytime i use the Outdoor cam. It seems that FPS return back after switch Shuttle On / Off or change transmission type in VCA setting menu. But after exit and enter vehicle again FPS drops again. I have to look at this more deeper...
User avatar
LS09God
Posts: 295
Joined: Sat Jul 09, 2011 10:38 am
Location: Netherlands.

Re: Reversing Indoor Camera mod FPS issues.

Post by LS09God »

Hi, thanks for answering. No, nothing in the log and game is running with no errors at all. It is the frame drops that are noticeably present.
But we all trust you'll find a solution. :wink3:
And I also use that VCA mod, removed that and put yours back in and no fps drops. Seems to make your assumption legit.
Enjoy your search for the culprit code, seems there isn't much else to do a this time while being locked up at home.

Stay safe, stay healthy...... :hi:
Specs:
ASUS ROG Strix X570-E mobo.
AMD Ryzen 5 2600 processor.
Corsair 32Gb DDR4 internal mem.
Sandisk 1Tb SSD as boot and game drive.
Samsung 1Tb hdd for general storage.
Gigabyte RTX2070 super graphics card.
Razer Naga Chroma mouse.
Logitech G27, G13. Saiteck HOTAS pro.
Razer BlackWidow Keyboard.
Fiber connection.
kenny456
Posts: 49
Joined: Tue Aug 28, 2018 7:00 pm

Re: Reversing Indoor Camera mod FPS issues.

Post by kenny456 »

Finally, i found solution. I will fix it in next version soon but it takes some time until Giants upload my new version. For those, who want to enjoy my mod together with Vehicle Control Addon without fps drop, here is a little trick:

Open file "ReversingCamera.lua" from my zip archive in text editor (notepad++) and simply delete lines 638 and 639.

If you have other questions or issues, let me know.

Edit - if you delete that lines, FPS drop dissapear but there are errors in log file...
Last edited by kenny456 on Fri Apr 24, 2020 8:35 pm, edited 2 times in total.
kenny456
Posts: 49
Joined: Tue Aug 28, 2018 7:00 pm

Re: Reversing Indoor Camera mod FPS issues.

Post by kenny456 »

Also if you have any other problem with this mod, write it here so i can fix it before new version comes.
Moosey
Posts: 33
Joined: Mon Oct 28, 2019 9:45 am

Re: Reversing Indoor Camera mod FPS issues.

Post by Moosey »

Hi, really like your mod and would like to ask if it is possible to add a snap 45 degrees left and right finctions? Just like in "Quick Camera".
I also get FPS drops but I do not have the Vehicle Controls Addon installed. I did try it out but deleted it afterwards and still get FPS drops. Will test your solution and let you know how it goes. Thank you for such a quick fix on FPS drop. You are awesome!
Moosey
Posts: 33
Joined: Mon Oct 28, 2019 9:45 am

Re: Reversing Indoor Camera mod FPS issues.

Post by Moosey »

Tried your solution but along with fixing the FPS it also destroyed almost all functions of the mod. As far as I see the only function I got left is peek out of the left window. Is it the same for everyone?
Maybe I deleted the wrong lines? These are the lines I deleted:

function ReversingCamera:onDraw()
end
kenny456
Posts: 49
Joined: Tue Aug 28, 2018 7:00 pm

Re: Reversing Indoor Camera mod FPS issues.

Post by kenny456 »

You deleted right lines. My solution was bad. I only checked fps drop but nothing else. I will look at it tomorrow, now its a beer time :biggrin2:
kenny456
Posts: 49
Joined: Tue Aug 28, 2018 7:00 pm

Re: Reversing Indoor Camera mod FPS issues.

Post by kenny456 »

I am working on FPS drop problem and it seems good to me. I already fix this other error:

Error: Running LUA method 'update'. ReversingCamera.lua:629: attempt to index a nil value

It appears in client-host MP game when client try to enter vehicle.
Do you have any other errors or issues with this mod? If so, write it here please before i release new version.
Moosey
Posts: 33
Joined: Mon Oct 28, 2019 9:45 am

Re: Reversing Indoor Camera mod FPS issues.

Post by Moosey »

Did not find any other bugs, but I'm not actually using the mod. FPS drops to 20 for me... Old PC. Other ppl might also be in the same situation.
User avatar
LS09God
Posts: 295
Joined: Sat Jul 09, 2011 10:38 am
Location: Netherlands.

Re: Reversing Indoor Camera mod FPS issues.

Post by LS09God »

kenny456 wrote: Fri Apr 24, 2020 7:03 pm Finally, i found solution. I will fix it in next version soon but it takes some time until Giants upload my new version. For those, who want to enjoy my mod together with Vehicle Control Addon without fps drop, here is a little trick:

Open file "ReversingCamera.lua" from my zip archive in text editor (notepad++) and simply delete lines 638 and 639.

If you have other questions or issues, let me know.

Edit - if you delete that lines, FPS drop dissapear but there are errors in log file...
Awesome, the trick you suggest can wait. I'll be using the new version when you get that done and released.
Nice to see you jumping on it so quickly.... *thumbsup*
Specs:
ASUS ROG Strix X570-E mobo.
AMD Ryzen 5 2600 processor.
Corsair 32Gb DDR4 internal mem.
Sandisk 1Tb SSD as boot and game drive.
Samsung 1Tb hdd for general storage.
Gigabyte RTX2070 super graphics card.
Razer Naga Chroma mouse.
Logitech G27, G13. Saiteck HOTAS pro.
Razer BlackWidow Keyboard.
Fiber connection.
User avatar
LS09God
Posts: 295
Joined: Sat Jul 09, 2011 10:38 am
Location: Netherlands.

Re: Reversing Indoor Camera mod FPS issues. [SOLVED]

Post by LS09God »

O.P. Edited...

Again thanks dude, this was quick.... *thumbsup*
Specs:
ASUS ROG Strix X570-E mobo.
AMD Ryzen 5 2600 processor.
Corsair 32Gb DDR4 internal mem.
Sandisk 1Tb SSD as boot and game drive.
Samsung 1Tb hdd for general storage.
Gigabyte RTX2070 super graphics card.
Razer Naga Chroma mouse.
Logitech G27, G13. Saiteck HOTAS pro.
Razer BlackWidow Keyboard.
Fiber connection.
Post Reply