-
Notifications
You must be signed in to change notification settings - Fork 625
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DMC & Ricochet - Memory access violation in Debug & mouse issues in Release #1622
Comments
I cannot comment on the crash atm, since I did not look enough into that yet. Regarding the mouse issues: |
Hello. Apparently the crash is a mistake in the code that has been fixed for Half-Life but not for DMC and Ricochet:
Question is if you want to make a pull request fixing it or if I should? However this re-raises a serious question that I already raised in issue #1557 - Is the code for DMC and ricochet really the code they used for their Steam builds, or did they check a wrong (old) version into github????!!!! |
Since you found the fix, I let you the honor to make the PR ^_^ I asked WinMerge to compare DMC 2.3 and DMC GitHub source codes, the report is there However, the only differences I've found out so far are:
|
Fixes crashes in sound.cpp for dmc and ricochet mods.
Ok, thank you, done :-) |
Deathmatch Classic and Ricochet's source codes have problems.
This is what I have done :
master
branch of this repository.projects.sln
in Visual Studio 2010.dmc
andricochet
game folders in myHalf-Life
folder.dmcmod
and my copiedricochet
asricochetmod
.game
key ofliblist.gam
ofdmcmod
&ricochetmod
, Steam now shows meDeathmatch Classic (Mod source code)
&Ricochet (Mod source code)
.dmc.dll
intodmcmod\dlls
,mp.dll
intoricochetmod\dlls
, etc...)And here are the results :
DMC & Ricochet Debug : crash at "Starting local game server...", WinDBG tells me there is a memory access violation at line 1509 in
dlls/sound.cpp
(if ( pMemFile[i] == '\n' )
)DMC & Ricochet Release : working but has issue #1546 except that it also happens when
m_rawinput
is 0The text was updated successfully, but these errors were encountered: