SUBSIM Radio Room Forums

SUBSIM Radio Room Forums (https://www.subsim.com/radioroom/index.php)
-   COLD WATERS (https://www.subsim.com/radioroom/forumdisplay.php?f=268)
-   -   Periscope zoom level bug found and fixed ! (https://www.subsim.com/radioroom/showthread.php?t=244117)

mich73b 03-08-20 04:19 PM

Periscope zoom level bug found and fixed !
 
Hi everybody, i'm mich73b , new here on subsim ,i've been playing sub command,dangerous waters, silent hunter 3 , and now i'm on Cold Waters...

i would like to share to everybody my first post , i'm pretty sure i found and solve a bug may be nobody notice:

currently periscope zoom magnification is up to x8 times max (i check on many submarines Seawolf,Permit,Han...),

i was playing a bit about possibility of modding the game , and when i take a look inside the code, there is a x16 times magnification level possible :

https://nsa40.casimages.com/img/2020...1909583889.jpg


but there was a bug on how zoom incrementation level was coded,so it cannot reach case 3 (zoom x16), that i solved it by fixing one parameter from 2 to 3 :

https://nsa40.casimages.com/img/2020...1909983879.jpg


so now the code is working and can go to case n°3 : zoom x16 ! , see screenshots below for comparison of zoom x8 and zoom x16

zoom x8
https://nsa40.casimages.com/img/2020...1918737815.jpg

zoom x16
https://nsa40.casimages.com/img/2020...1914758120.jpg


you can fix this bug easily if you know how to open a .dll with a NET debugger/assembly editor software , i don't know if i can share the fixed .dll here ?

hope you appreciate it !

Aktungbby 03-08-20 07:46 PM

Welcome aboard!
 
mich73b!:Kaleun_Salute:

adrians69 03-09-20 09:48 AM

Thanks for the info, which .dll are we looking at here?

mich73b 03-09-20 01:08 PM

Quote:

Originally Posted by adrians69 (Post 2653313)
Thanks for the info, which .dll are we looking at here?

it's Assembly-CSharp.dll , in the folder : \Cold Waters\ColdWaters_Data\Managed\
then inside Keybindmanager class , in function Update


All times are GMT -5. The time now is 05:23 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 1995- 2024 Subsim®
"Subsim" is a registered trademark, all rights reserved.