Hooks

A Forum dedicated to the Suggestion, Creation and Editing of XWA Dynamic Link Library Files

Moderators: Darksaber, General_Trageton, Forceflow, JeremyaFr, DTM

Post Reply

Re: Hooks

JeremyaFr
Lieutenant Commander
XWAU Member
Posts: 1802
Joined: Mon Jan 18, 2010 5:52 pm
Contact:

Post by JeremyaFr » Sat Jan 11, 2020 8:26 pm

I don't know why the game crashes.

I think it is not related to the ddraw dll.

User avatar
Red_Leader
Ensign
Rebel Alliance
Posts: 384
Joined: Fri Mar 08, 2002 12:01 am
Contact:

Post by Red_Leader » Sat Jan 11, 2020 8:31 pm

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:
"I want my sanity back." - Wedge Antilles
https://www.freewebs.com/redleaderxwa/

JeremyaFr
Lieutenant Commander
XWAU Member
Posts: 1802
Joined: Mon Jan 18, 2010 5:52 pm
Contact:

Post by JeremyaFr » Sat Jan 11, 2020 8:34 pm

This one looks like a known issue.
It probably means that the game has run out of memory.

User avatar
Red_Leader
Ensign
Rebel Alliance
Posts: 384
Joined: Fri Mar 08, 2002 12:01 am
Contact:

Post by Red_Leader » Sat Jan 11, 2020 8:38 pm

Damn.. are there any known fixes by any chance?
"I want my sanity back." - Wedge Antilles
https://www.freewebs.com/redleaderxwa/

JeremyaFr
Lieutenant Commander
XWAU Member
Posts: 1802
Joined: Mon Jan 18, 2010 5:52 pm
Contact:

Post by JeremyaFr » Sat Jan 11, 2020 8:51 pm

Except cheking that the game runs with a dedicated GPU, no.

JeremyaFr
Lieutenant Commander
XWAU Member
Posts: 1802
Joined: Mon Jan 18, 2010 5:52 pm
Contact:

Post by JeremyaFr » Sat Jan 11, 2020 8:57 pm

Does the game crashes with any other craft than the Space Colony 1?

User avatar
Red_Leader
Ensign
Rebel Alliance
Posts: 384
Joined: Fri Mar 08, 2002 12:01 am
Contact:

Post by Red_Leader » Sat Jan 11, 2020 9:01 pm

Besides Space Colony 1, just the casino so far.
"I want my sanity back." - Wedge Antilles
https://www.freewebs.com/redleaderxwa/

User avatar
keiranhalcyon7
Ensign
Posts: 362
Joined: Tue Jan 02, 2018 6:41 am

Post by keiranhalcyon7 » Sun Jan 12, 2020 12:27 am

Have you tried downloading and re-installing just those craft?

User avatar
Red_Leader
Ensign
Rebel Alliance
Posts: 384
Joined: Fri Mar 08, 2002 12:01 am
Contact:

Post by Red_Leader » Tue Jan 14, 2020 1:24 am

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.
"I want my sanity back." - Wedge Antilles
https://www.freewebs.com/redleaderxwa/

User avatar
keiranhalcyon7
Ensign
Posts: 362
Joined: Tue Jan 02, 2018 6:41 am

Post by keiranhalcyon7 » 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.

User avatar
Red_Leader
Ensign
Rebel Alliance
Posts: 384
Joined: Fri Mar 08, 2002 12:01 am
Contact:

Post by Red_Leader » Wed Jan 15, 2020 1:05 am

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.
"I want my sanity back." - Wedge Antilles
https://www.freewebs.com/redleaderxwa/

JeremyaFr
Lieutenant Commander
XWAU Member
Posts: 1802
Joined: Mon Jan 18, 2010 5:52 pm
Contact:

Post by JeremyaFr » Sat Feb 01, 2020 1:29 pm

UPDATE

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

JeremyaFr
Lieutenant Commander
XWAU Member
Posts: 1802
Joined: Mon Jan 18, 2010 5:52 pm
Contact:

Post by JeremyaFr » Sat Feb 22, 2020 1:22 pm

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.

Post Reply