Page 10 of 15

Re: Hooks

Posted: Sat Jan 11, 2020 8:26 pm
by JeremyaFr
I don't know why the game crashes.

I think it is not related to the ddraw dll.

Re: Hooks

Posted: Sat Jan 11, 2020 8:31 pm
by Red_Leader
That's so weird. Here is an updated crash report.


Faulting application name: XWingAlliance.exe, version: 2.0.0.2, time stamp: 0x3765a9b7
Faulting module name: KERNELBASE.dll, version: 10.0.18362.535, time stamp: 0x5bd9df62
Exception code: 0xe06d7363
Fault offset: 0x001135d2
Faulting process id: 0x345c
Faulting application start time: 0x01d5c8bbdd6f900e
Faulting application path: C:\PROGRA~2\LUCASA~1\X-WING~1\XWingAlliance.exe
Faulting module path: C:\WINDOWS\System32\KERNELBASE.dll
Report Id: 19abe11e-8ba1-4a27-b5f5-dfa49a82d55f
Faulting package full name:
Faulting package-relative application ID:

Re: Hooks

Posted: Sat Jan 11, 2020 8:34 pm
by JeremyaFr
This one looks like a known issue.
It probably means that the game has run out of memory.

Re: Hooks

Posted: Sat Jan 11, 2020 8:38 pm
by Red_Leader
Damn.. are there any known fixes by any chance?

Re: Hooks

Posted: Sat Jan 11, 2020 8:51 pm
by JeremyaFr
Except cheking that the game runs with a dedicated GPU, no.

Re: Hooks

Posted: Sat Jan 11, 2020 8:57 pm
by JeremyaFr
Does the game crashes with any other craft than the Space Colony 1?

Re: Hooks

Posted: Sat Jan 11, 2020 9:01 pm
by Red_Leader
Besides Space Colony 1, just the casino so far.

Re: Hooks

Posted: Sun Jan 12, 2020 12:27 am
by keiranhalcyon7
Have you tried downloading and re-installing just those craft?

Re: Hooks

Posted: Tue Jan 14, 2020 1:24 am
by Red_Leader
keiranhalcyon7 wrote:
Sun Jan 12, 2020 12:27 am
Have you tried downloading and re-installing just those craft?
I have not. You think its worth a try?

Another crash happened tonight, this time with the sensor array (from Battle 1 Mission 7) when destroyed.

Re: Hooks

Posted: Tue Jan 14, 2020 5:15 am
by keiranhalcyon7
Red_Leader wrote:
Tue Jan 14, 2020 1:24 am
I have not. You think its worth a try?

Another crash happened tonight, this time with the sensor array (from Battle 1 Mission 7) when destroyed.
Reinstalling one of the craft (space colony 1, say) to see if it fixes the issue is relatively low-effort, so I'd say yeah. It briefly "smelled" like a crash bug I'd encountered before, which had to do with spawning space debris from destroyed craft; a (not terribly useful) workaround was to avoid looking at the spawned debris. You could try that, or perhaps turning space debris off outright. But the fault offset is in a very different section of the exe from that crash, so I now doubt they're related.

Re: Hooks

Posted: Wed Jan 15, 2020 1:05 am
by Red_Leader
keiranhalcyon7 wrote:
Tue Jan 14, 2020 5:15 am
Red_Leader wrote:
Tue Jan 14, 2020 1:24 am
I have not. You think its worth a try?

Another crash happened tonight, this time with the sensor array (from Battle 1 Mission 7) when destroyed.
Reinstalling one of the craft (space colony 1, say) to see if it fixes the issue is relatively low-effort, so I'd say yeah. It briefly "smelled" like a crash bug I'd encountered before, which had to do with spawning space debris from destroyed craft; a (not terribly useful) workaround was to avoid looking at the spawned debris. You could try that, or perhaps turning space debris off outright. But the fault offset is in a very different section of the exe from that crash, so I now doubt they're related.
I tried reinstalling Space Colony 1, same thing - it crashes when destroyed. I would even fly away from it, I wouldn't even target it and it would still result in a crash. I tried turning off space debris as well, no luck. Is this something to do with my system? I got my computer maybe 2008 or 2009-ish. I can post computer specs if need be.

Re: Hooks

Posted: Sat Feb 01, 2020 1:29 pm
by JeremyaFr
UPDATE

Hello,
I've improve performance of the main hook.

Re: Hooks

Posted: Sat Feb 22, 2020 1:22 pm
by JeremyaFr
UPDATE

Hello,
I've updated the main hook (DInput.dll).

When the game's exe ends, statistics about the hooks are written to OutputDebugString.

You can see the stats with DebugView.

Re: Hooks

Posted: Sun Mar 01, 2020 5:32 pm
by JeremyaFr
UPDATE

Hello,
I've fixed a crash in the mission objects hook.

The crash was related to the turrets and appears when you press the F key.

Re: Hooks

Posted: Thu Mar 12, 2020 1:49 pm
by Ramshu
Hi i want to report two "bugs"
-xwa_hook_normals: when it is active, the game does not exceed 15fps
-xwa_hook_d3d: When I activate it in the cfg, the game crashes after the loading screen before "fly"

SOLVED: Need update ddraw to 1.38+

Re: Hooks

Posted: Thu Mar 12, 2020 7:10 pm
by JeremyaFr
Hello,

To use the d3d hook, you need a modified DDraw dll.

My version has been updated in version 1.3.8.
blue_max is currently updating his version.

If you don't use an updated DDraw dll with support for the d3d hook, then the game will crash when enabling the d3d hook.

Re: Hooks

Posted: Thu Mar 12, 2020 7:35 pm
by Ramshu
JeremyaFr wrote:
Thu Mar 12, 2020 7:10 pm
Hello,

To use the d3d hook, you need a modified DDraw dll.

My version has been updated in version 1.3.8.
blue_max is currently updating his version.

If you don't use an updated DDraw dll with support for the d3d hook, then the game will crash when enabling the d3d hook.
Yeah just now i update ddraw to 1.38 and now working fine.

Thanks

Re: Hooks

Posted: Sun Mar 22, 2020 11:36 am
by JeremyaFr
UPDATE

Hello,
I've updated the opt limit hook.

I've added generating the "spec.rci" file.

Now, when the "spec.rci" file is missing, then it will be generated when you launch the game.

Re: Hooks

Posted: Sat Apr 04, 2020 8:04 am
by haui
Hi
i installed this mod (EffectsByBlueMaxv1.1.1) and it look really great.
But when i enable the dynamic cockpit the target HUD is not shown. So i can lock teh target but have no information of it.
You have an idea what i was doing wrong??

Ahh i think i found it. is it possible that Dynamic Cockpit is only working for X-Wing and A-Wing at the Moment??

Re: Hooks

Posted: Sat Apr 04, 2020 11:30 am
by Trevor
Wrong topic, post in the "EffectsByBlueMaxv1" topic.
However, you can re-enable the HUD by opening x-wing.dc file and removing "erase region"s
I beleve Blue is working on a simpler toggle for this.

Trev

Re: Hooks

Posted: Fri Apr 24, 2020 5:56 am
by keiranhalcyon7
JeremyaFr wrote:
Sun Mar 01, 2020 5:32 pm
UPDATE

Hello,
I've fixed a crash in the mission objects hook.

The crash was related to the turrets and appears when you press the F key.
This new version (dated 3/1/2020) is giving me a crash whenever I try to enter a turret with the G key (tested on the YT-1300 and YT-2000). The version dated 1/2/2019 does not crash. Installation order is: DSUCP2.6; hooks update to latest; Effects by Blue Max v1.1.2. Crash report:

Code: Select all

Faulting application name: XwingAlliance.exe, version: 2.0.0.2, time stamp: 0x3765a9b7
Faulting module name: Hook_Mission_Objects.dll, version: 1.0.0.1, time stamp: 0x5e5befca
Exception code: 0xc0000005
Fault offset: 0x00009044
Faulting process id: 0x30750
Faulting application start time: 0x01d619fb0468f71b
Faulting application path: G:\SteamLibrary\steamapps\common\Star Wars X-Wing Alliance DSUCP2.6 BMFX\XwingAlliance.exe
Faulting module path: G:\SteamLibrary\steamapps\common\Star Wars X-Wing Alliance DSUCP2.6 BMFX\Hook_Mission_Objects.dll
Report Id: 522b860d-85ee-11ea-92b0-6cf049546fd7

Re: Hooks

Posted: Fri Apr 24, 2020 9:02 am
by JeremyaFr
Hello,
Can you try previous versions to see in which version the crash appears?

EDIT: link removed

Re: Hooks

Posted: Fri Apr 24, 2020 10:48 am
by Ace Antilles
I had that crash too when entering a turret.
Got XWAUCP only. Must be that recent mission hook update.
Now I know which hook I can try to test.

Re: Hooks

Posted: Fri Apr 24, 2020 2:37 pm
by Ace Antilles
JeremyaFr wrote:
Fri Apr 24, 2020 9:02 am
Hello,
Can you try previous versions to see in which version the crash appears?
I occurs in the last hook_mission_tie WIP that you released. The one that adds Flightgroup stuff.
When you go to a gunner station it crashes.
I put back on the last version I had which would have been pretty recent and it's fine.
For less confusion I've added both to a zip file for you to check. Hope it helps.
FAULTY Hook.zip

I'm also using Hook_Mission_Objects
Ver 1.0.0.1 Dated: 1/3/2020 7.24pm
That works fine when pressing F also with the older working hook.

Re: Hooks

Posted: Fri Apr 24, 2020 2:51 pm
by JeremyaFr
I can reproduce the crash.

The faulty hook is not the mission object hook but the mission tie hook.

Thanks for reporting the crash.