![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
|
|||||||||
![]() |
|
|
Thread Tools | Display Modes |
|
|
04-22-11, 03:45 AM
|
#1 |
|
Admiral
![]() |
please describe the "lazy helmsman bug".....
|
|
|
04-22-11, 04:18 AM
|
#2 |
|
Hellas
![]() |
hello H.Sie ,
i think he means this time delay that officers have at executing orders. would be very nice (if it is easy 'fix') to make them execute immediatelly (especially the rudders orders time delay is very annoying) also, have a look , (if it easy to find out) to make the boat turning at the ordered new course (it is ending with 1 to 1,5 degrees off most of the times)
__________________
Knowledge is the only thing that nobody can ever take from you... ![]() Mediafire page:http://www.mediafire.com/folder/da50.../Makman94_Mods |
|
|
04-22-11, 05:23 AM
|
#3 | ||
|
Chief
![]() Join Date: Apr 2007
Location: ger
Posts: 313
Downloads: 25
Uploads: 0
|
Quote:
http://www.subsim.com/radioroom/showthread.php?t=182071 Quote:
|
||
|
|
04-22-11, 11:20 AM
|
#4 | |
|
Silent Hunter
![]() Join Date: Dec 2004
Location: AN9771
Posts: 4,839
Downloads: 309
Uploads: 0
|
Quote:
[EDIT] Warning, feature creep! With improvements based on experience!?!
__________________
My site downloads: https://ricojansen.nl/downloads Last edited by Pisces; 04-22-11 at 11:31 AM. |
|
|
|
04-22-11, 03:30 PM
|
#5 |
|
Chief
![]() Join Date: Apr 2007
Location: ger
Posts: 313
Downloads: 25
Uploads: 0
|
I think I came across a problem with the new restrictions on external reloading. Riding a IXC I got a bug when I wanted to load external torpedos inside, similar to this old one: http://www.subsim.com/radioroom/show...ernal+torpedos
The torpedos didn't appear in the externals anymore but they weren't loaded inside either. One of them became all black, the other one stayed in the greyish color, and I could drag both around the screen. Also, the weapon screen appeared a tone darker than normal, as if there was an extra "layer" above it. I remember someone once adviced to just submerge and surface again to get rid of such behaviour - but that wasn't possible with the bugfix because it forbids diving. But I couldn't abort the loading either, maybe because it never had started correctly. So there I was, forced to stay surfaced making 5 knots. I tried to save and reload the game to see if that helps - but of course the game crashed to desktop. However, this was the first time this happened to me, a lot of external torpedo reloading went well before. The only special thing this time was that I was sitting near a harbor and the game kept popping up "merchant sighted"-messages when I wanted to load the external torpedos inside. Maybe that caused the trouble. |
|
|
04-22-11, 04:01 PM
|
#6 |
|
Chief of the Boat
|
That bug was fixed in GWX2.0
|
|
|
04-22-11, 04:03 PM
|
#7 |
|
Chief
![]() Join Date: Apr 2007
Location: ger
Posts: 313
Downloads: 25
Uploads: 0
|
|
|
|
04-22-11, 08:33 AM
|
#8 |
|
Admiral
![]() |
I not seldom get requests via PM to mod some graphical stuff and my answer is NO. In order to give you an impression how hard this would be in assembler, I decided to post the assembler sources that are necessary for a simple graphical fix: Move the Watch Officer up to the bridge when surfacing. Maybe you understand now why I'm not cooperative.
//--------------------------------------------------------------- // Patch 7: // Automatically move 1WO on bridge when surfacing //--------------------------------------------------------------- patch7: cmp byte ptr [Move1WO_Switch],0FF // Test Patch ON/OFF switch jne patch7_ende // Local Definitions / Pointers define(Bridge_Status,05f6270) define(Bridge_Data,05f6238) define(BowQuarters_Status,05f6990) define(BowQuarters_Data,05f6958) define(SternQuarters_Status,05f6a74) define(SternQuarters_Data,05f6a3c) // Check if Officer-Slot on the bridge changes from invisible // to visible. Only in this case: Try to move 1WO to the bridge mov eax,[5449B0] // Prepare ptr to OfficerSlotBridgeVisible mov eax,[eax+100] // Prepare ptr to OfficerSlotBridgeVisible mov eax,[eax+1D38] // Prepare ptr to OfficerSlotBridgeVisible mov bh,[eax+8C] // Load OfficerSlotBridgeVisible -> BH mov bl,[OfficerSlotBridgeVisible_Old] // Load old value -> BL mov [OfficerSlotBridgeVisible_Old],bh // Save current value as old value cmp bx,0100 // Change from invisible to visible ?? jne patch7_ende // If not: exit patch // OfficerSlotBridgeVisible changed from invisible to visible. // First test if Officer Slot on bridge is empty. cmp [Bridge_Status],(int)-1 // Is Officer Slot on bridge is empty? jne patch7_ende // If not: exit patch // Check if Turm damage is < 0.9 (Observations showed that Turm damage can // be accessed via one of the following 2 pointers: // Ptr1: Static=5547D4 Offsets: 4,14,14 OR // Ptr2: Static=5547D4 Offsets: 14,14. // If the difference of the 2 addresses referenced by these 2 pointers is // smaller that 0x1000, then (according to observations), Ptr1 is the // correct pointer, otherwise Ptr2. mov eax,[5547D4] // Prepare Ptr1 and Ptr2 mov ebx,[eax+4] // Prepare Ptr1 mov ebx,[ebx+14] // Now [ebx+14] holds 1st possible address of Turm damage (Ptr1) mov ecx,[eax+14] // Now [ecx+14] holds 2nd possible address of Turm damage (Ptr2) // Now calculate eax = abs(ptr1-ptr2) = abs([ebx+14]-[ecx+14]) = abs(ebx-ecx) mov edx,ecx mov eax,ebx sub eax,edx cdq xor eax,edx // now eax = abs(ptr1-ptr2) // compare abs(ptr1-ptr2) with 0x1000 cmp eax,01000 jb short patch7_continue mov ebx,ecx // Use Ptr2 instead of Ptr1 patch7_continue: // [ebx+14] now holds the correct address of turm damage fld dword ptr [ebx+14] // Load Turm Damage -> FPU mov [esp-04],(float)0.9 // Load 0,9 for comparison fcomp dword ptr [esp-04] // Compare with 0,9 fstsw ax sahf jae patch7_ende // If Turm damage >= 0,9 : exit patch // Now: Officer Slot on bridge is empty and Turm Damage < 0,9 // Check if Bow Quarters contains an Officer cmp [BowQuarters_Status],(int)-1 // If there is no Officer in Bow Quarters je short Test_SternQuarters // Check if Stern Quarters contains Officer // Bow Quarters contains Officer. Move him to the bridge. mov esi,BowQuarters_Data // ptr to data transfer source -> ESI mov edi,Bridge_Data // ptr to data transfer destination -> EDI mov ecx,039 // 0x39 DWORDS to transfer cld // Increment ESI and EDI after each transfer repe movsd // Execute data transfer mov [BowQuarters_Status],(int)-1 // Set Bow Quarters status to "No Officer" mov [Bridge_Status],0 // Set Bridge status to "Officer present" jmp short Refresh_Crew_Screen // Refresh Crew Screen if necessary // Check if Stern Quarters contains an Officer Test_SternQuarters: cmp [SternQuarters_Status],(int)-1 // If there is no Officer in stern Quarters: je short patch7_ende // ... -> exit patch // Stern Quarters contains Officer. Move him to the bridge. mov esi,SternQuarters_Data // ptr to data transfer source -> ESI mov edi,Bridge_Data // ptr to data transfer destination -> EDI mov ecx,039 // 0x39 DWORDS to transfer cld // Increment ESI and EDI after each transfer repe movsd // Execute data transfer mov [SternQuarters_Status],(int)-1 // Set Stern Quarters status to "No Officer" mov [Bridge_Status],0 // Set Bridge status to "Officer present" jmp short Refresh_Crew_Screen // Refresh Crew Screen if necessary // Refresh Crew Screen if necessary Refresh_Crew_Screen: mov eax,[6307BC] // Prepare ptr to current screen ID cmp [eax+50],030 // Is Crew/Damage Screen visible jne short patch7_ende // If not: No refresh necessary. Exit // Crew Screen is visible. Do a refresh by changing to NavMap screen // and immediately switch back to Crew Screen mov ecx,[6307BC] // Prepare "Change Screen" call push 0 // Prepare "Change Screen" call push 0 // Prepare "Change Screen" call push 040024 // Choose "NavMap" call 50fef0 // call "Change Screen" mov ecx,[6307BC] // Prepare "Change Screen" call push 0 // Prepare "Change Screen" call push 0 // Prepare "Change Screen" call push 040030 // Choose "Crew Screen" call 50fef0 // call "Change Screen" patch7_ende: |
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
