Jump to content
b33

client src vs 2003 -> 2022 (Issues)

Recommended Posts

Hello everyone,

i've been working trying to upgrade the CO Srcs from 2003 to 2022, i've completed server side which runs normally.
I also did upgrade the client side aswell and the solution builds successfully in vs 2022 (release mode)

the main issue is that the client-game doesn't start, somehow it closes silently after clicking startgame.bat

(I'm using the files as is, haven't done any changes to client or files yet)
(The game starts and runs normally if built in vs 2003 but fails to launch if its built in vs 2022, even tho the built is successfull without errors & warnings as i fixed them)

Anyone have any suggestion, idea or maybe had the same issue before? who might want to help?
 

Share this post


Link to post
Share on other sites

Still trying to figure out why the game closes silently after trying to launch

here's some more info about it:
My built tool architecture is 32-bit (x86) and i already set it into the Solution project to make sure the Project targets 32-bit system dll's instead of 64-bit

as i said the project builts successfully

i tried checking through Event Viewer why the app is crashing:
 

Log Name:      Application
Source:        Application Error
Date:          3/5/2025 2:04:56 PM
Event ID:      1000
Task Category: Application Crashing Events
Level:         Error
Keywords:      
User:          Admin\adm
Computer:      Admin
Description:
Faulting application name: Game.exe, version: 0.0.0.0, time stamp: 0x67c8a014
Faulting module name: Game.exe, version: 0.0.0.0, time stamp: 0x67c8a014
Exception code: 0xc0000005
Fault offset: 0x00284089
Faulting process id: 0x6228
Faulting application start time: 0x1DB8E017B5B1461
Faulting application path: C:\Client\system\Game.exe
Faulting module path: C:\Client\system\Game.exe
Report Id: 021bda6a-2b82-4e56-ac2a-badb797e168d
Faulting package full name: 
Faulting package-relative application ID: 
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Application Error" Guid="{a0e9b465-b939-57d7-b27d-95d8e925ff57}" />
    <EventID>1000</EventID>
    <Version>0</Version>
    <Level>2</Level>
    <Task>100</Task>
    <Opcode>0</Opcode>
    <Keywords>0x8000000000000000</Keywords>
    <TimeCreated SystemTime="2025-03-05T19:04:56.5184846Z" />
    <EventRecordID>12939</EventRecordID>
    <Correlation />
    <Execution ProcessID="73692" ThreadID="7036" />
    <Channel>Application</Channel>
    <Computer>Admin</Computer>
    <Security UserID="S-1-5-21-2946260892-83004847-1066848515-1001" />
  </System>
  <EventData>
    <Data Name="AppName">Game.exe</Data>
    <Data Name="AppVersion">0.0.0.0</Data>
    <Data Name="AppTimeStamp">67c8a014</Data>
    <Data Name="ModuleName">Game.exe</Data>
    <Data Name="ModuleVersion">0.0.0.0</Data>
    <Data Name="ModuleTimeStamp">67c8a014</Data>
    <Data Name="ExceptionCode">c0000005</Data>
    <Data Name="FaultingOffset">00284089</Data>
    <Data Name="ProcessId">0x6228</Data>
    <Data Name="ProcessCreationTime">0x1db8e017b5b1461</Data>
    <Data Name="AppPath">C:\Client\system\Game.exe</Data>
    <Data Name="ModulePath">C:\Client\system\Game.exe</Data>
    <Data Name="IntegratorReportId">021bda6a-2b82-4e56-ac2a-badb797e168d</Data>
    <Data Name="PackageFullName">
    </Data>
    <Data Name="PackageRelativeAppId">
    </Data>
  </EventData>
</Event>


i also ran the client into Dependency Walker app to check if the game is missing any DLL's and somehow it says the game is using some x64-bit System DLL's while its supposed to use 32-bit, i already setup the project solution properties to aim for Machine x86 (32-bit), not sure why the game is using some x64 bit
Might be the main reason why the game is failing to launch and its closing silently

UP.. if anyone can give me any idea / suggestion please, looking forward to fix this.

Share this post


Link to post
Share on other sites
5 hours ago, b33 said:

Still trying to figure out why the game closes silently after trying to launch

here's some more info about it:
My built tool architecture is 32-bit (x86) and i already set it into the Solution project to make sure the Project targets 32-bit system dll's instead of 64-bit

as i said the project builts successfully

i tried checking through Event Viewer why the app is crashing:
 


Log Name:      Application
Source:        Application Error
Date:          3/5/2025 2:04:56 PM
Event ID:      1000
Task Category: Application Crashing Events
Level:         Error
Keywords:      
User:          Admin\adm
Computer:      Admin
Description:
Faulting application name: Game.exe, version: 0.0.0.0, time stamp: 0x67c8a014
Faulting module name: Game.exe, version: 0.0.0.0, time stamp: 0x67c8a014
Exception code: 0xc0000005
Fault offset: 0x00284089
Faulting process id: 0x6228
Faulting application start time: 0x1DB8E017B5B1461
Faulting application path: C:\Client\system\Game.exe
Faulting module path: C:\Client\system\Game.exe
Report Id: 021bda6a-2b82-4e56-ac2a-badb797e168d
Faulting package full name: 
Faulting package-relative application ID: 
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Application Error" Guid="{a0e9b465-b939-57d7-b27d-95d8e925ff57}" />
    <EventID>1000</EventID>
    <Version>0</Version>
    <Level>2</Level>
    <Task>100</Task>
    <Opcode>0</Opcode>
    <Keywords>0x8000000000000000</Keywords>
    <TimeCreated SystemTime="2025-03-05T19:04:56.5184846Z" />
    <EventRecordID>12939</EventRecordID>
    <Correlation />
    <Execution ProcessID="73692" ThreadID="7036" />
    <Channel>Application</Channel>
    <Computer>Admin</Computer>
    <Security UserID="S-1-5-21-2946260892-83004847-1066848515-1001" />
  </System>
  <EventData>
    <Data Name="AppName">Game.exe</Data>
    <Data Name="AppVersion">0.0.0.0</Data>
    <Data Name="AppTimeStamp">67c8a014</Data>
    <Data Name="ModuleName">Game.exe</Data>
    <Data Name="ModuleVersion">0.0.0.0</Data>
    <Data Name="ModuleTimeStamp">67c8a014</Data>
    <Data Name="ExceptionCode">c0000005</Data>
    <Data Name="FaultingOffset">00284089</Data>
    <Data Name="ProcessId">0x6228</Data>
    <Data Name="ProcessCreationTime">0x1db8e017b5b1461</Data>
    <Data Name="AppPath">C:\Client\system\Game.exe</Data>
    <Data Name="ModulePath">C:\Client\system\Game.exe</Data>
    <Data Name="IntegratorReportId">021bda6a-2b82-4e56-ac2a-badb797e168d</Data>
    <Data Name="PackageFullName">
    </Data>
    <Data Name="PackageRelativeAppId">
    </Data>
  </EventData>
</Event>


i also ran the client into Dependency Walker app to check if the game is missing any DLL's and somehow it says the game is using some x64-bit System DLL's while its supposed to use 32-bit, i already setup the project solution properties to aim for Machine x86 (32-bit), not sure why the game is using some x64 bit
Might be the main reason why the game is failing to launch and its closing silently

UP.. if anyone can give me any idea / suggestion please, looking forward to fix this.

What error do you get in the logs?

Share this post


Link to post
Share on other sites
On 3/5/2025 at 7:41 PM, dragontechi said:

What error do you get in the logs?

Theres no logs at game/client folder as the game crashes silently after clicking launch through startgame.bat

Share this post


Link to post
Share on other sites

Sometimes it may be some code that may cause a conflict, it may not be visible but it causes a conflict, I don't know much about compilations, I'm learning a lot of things but I still haven't managed to fix the error of the tree looking crazy, I've been told that it's in the animation lab but I have no idea how to do it.

I think it may be something in the codes because if the client doesn't start it may have a conflict, every time it starts it doesn't happen, open the task manager and see if something related to the open game appears.

or do the following, compile the server side in 2003 and compile the client side in 2022 and then vice versa and see if it will start.
server side 2003 client side 2022
server side 2022 client side 2003
it's possibly the client.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...