Go Back   Novahq.net Forum > Novahq.net Specific > News

News News and comment posting for the main page. Use this forum to submit your news.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 12-30-2017, 04:39 PM
Scott is offline Scott
Scott's Avatar
AKA. Panther

Join Date: Sep 2001
Location: Minneapolis, MN
Posts: 10,919

DF2 UN-FREEZE fix official release

So, with help from a dude who I only know as Frank, I’ve made a patch that allows you to unfreeze your DF2 game. With this patch, when your game freezes, simply press the INSERT key on your keyboard the game should resume like normal. After you download it, replace all the files in your games folder with the contents of the "DF2Fixes" folder. PLEASE read the readme.txt for help or post here. Again, when you appear to freeze while playing DF2, if you have this patch installed, you can simply press the INSERT key on your keyboard and the game will resume like normal. You’ll keep your score and everything.

This fix is compatible with any server, including DF2 EVO servers. As well as all COOP and Single Player! Literally any DF2 server or game. Press the INSERT key to unfreeze your game when it appears frozen.

DOWNLOAD THE PATCH HERE: http://novahq.net/files.php?ID=540
Attached Thumbnails
Click image for larger version

Name:	DF2.jpg
Views:	35629
Size:	500.0 KB
ID:	3825  
__________________

04' Dodge SRT-4, Mopar Stage 3, 406whp/436wtq
Reply With Quote
  #2  
Old 12-30-2017, 08:26 PM
Sil is offline Sil
Sil's Avatar
Registered User

Join Date: Aug 2003
Posts: 102

Top work Scott (as always) and the elusive Freeza

I tried to find you a while ago, to no avail, for assistance with a DF1 32 player patch.

Scott forwarded your patch the other week and it works perfectly
__________________
Reply With Quote
  #3  
Old 12-31-2017, 03:37 AM
Scott is offline Scott
Scott's Avatar
AKA. Panther

Join Date: Sep 2001
Location: Minneapolis, MN
Posts: 10,919

That's right I have to post that patch as well. I updated the heartbeat dll to work with it already and will do the same to the host tool soon. Awesome work! Wish I had that sort of knowledge! Maybe one day
__________________

04' Dodge SRT-4, Mopar Stage 3, 406whp/436wtq
Reply With Quote
  #4  
Old 12-31-2017, 02:08 PM
--BulletMagnet-- is offline --BulletMagnet--
--BulletMagnet--'s Avatar
DF2 Forever

Join Date: Jun 2005
Location: USA
Posts: 718

Send a message via MSN to --BulletMagnet--
I have to ask. How?

As a programmer, I'm usually leery of 3rd party freeze/crash fixers as it's probably best to let the game/app crash naturally. That applies more to SP games with a save system, though. I bet it's fine for DF2 multiplayer.
Reply With Quote
  #5  
Old 12-31-2017, 02:33 PM
Scott is offline Scott
Scott's Avatar
AKA. Panther

Join Date: Sep 2001
Location: Minneapolis, MN
Posts: 10,919

My guess is the game gets stuck in an infinite loop while rendering some graphics / specific parts of objects. This patch basically ends the loop which allows the game to continue as normal.

The way my patch works, when the game is frozen, pressing the inert key changes a few bytes in the games memory. Then as soon as it's unfrozen, changes the bytes back to what they were before the freeze so there are no lasting effects. Otherwise, you'd get some serious graphics issues. I don't think freeze is the right word, but it's what everyone has called it because it always appeared frozen, when really it was just stuck in a loop.
__________________

04' Dodge SRT-4, Mopar Stage 3, 406whp/436wtq
Reply With Quote
  #6  
Old 12-31-2017, 05:02 PM
Steve is offline Steve
Steve's Avatar
Administrator

Join Date: Sep 2001
Location: 2077
Posts: 21,552

Send a message via ICQ to Steve
nice
Reply With Quote
  #7  
Old 01-02-2018, 01:49 PM
Guest001 is offline Guest001
Registered User

Join Date: Aug 2008
Posts: 4,971

Quote:
Originally Posted by Scott View Post
My guess is the game gets stuck in an infinite loop while rendering some graphics / specific parts of objects. This patch basically ends the loop which allows the game to continue as normal.

The way my patch works, when the game is frozen, pressing the inert key changes a few bytes in the games memory. Then as soon as it's unfrozen, changes the bytes back to what they were before the freeze so there are no lasting effects. Otherwise, you'd get some serious graphics issues. I don't think freeze is the right word, but it's what everyone has called it because it always appeared frozen, when really it was just stuck in a loop.
There's a scenario where the activated loop is faster than the script can be read and so it misses the return or command to read next line.

Your fix may give it time to do so.
Reply With Quote
  #8  
Old 01-05-2018, 05:13 AM
Seahawk is offline Seahawk
Seahawk's Avatar
Registered User

Join Date: Mar 2017
Location: Navi Mumbai, Bharat
Posts: 218

Good patch! My DF2 crash is very usual.
__________________
-Seahawk
Join Warthunder:
http://warthunder.com/en/registratio...nvite_29943171
Reply With Quote
  #9  
Old 01-19-2018, 10:15 PM
Bustin is offline Bustin
Bustin's Avatar
DF2 Forever

Join Date: Jun 2002
Location: Massachusetts
Posts: 1,596

Patch works wonders.
__________________
DF2 Forever!



Reply With Quote
  #10  
Old 02-05-2018, 10:30 PM
Hambone is offline Hambone
Registered User

Join Date: Feb 2018
Posts: 3

UnFreeze, yes please

Just installed the DF2Patch files and it did make the lobby text clearer and created a new startup screen, but pressing the Insert button when game froze up did nothing on 3 different computers. I even loaded these files on the Host computer. These freeze ups are so frustrating, this would be such a great feature to have. Any ideas, and thanks in advance.
Reply With Quote
  #11  
Old 02-07-2018, 08:46 AM
Scott is offline Scott
Scott's Avatar
AKA. Panther

Join Date: Sep 2001
Location: Minneapolis, MN
Posts: 10,919

Quote:
Originally Posted by Hambone View Post
Just installed the DF2Patch files and it did make the lobby text clearer and created a new startup screen, but pressing the Insert button when game froze up did nothing on 3 different computers. I even loaded these files on the Host computer. These freeze ups are so frustrating, this would be such a great feature to have. Any ideas, and thanks in advance.
Download the game from here: http://novahq.net/files.php?ID=581

This is the full game with EVO mod. All you need to do is download it, unzip it to your desktop and click df2.exe to play. Try playing with that version of the game to see if you can unfreeze pressing the insert key. Not had any complaints about it not working like that yet.
__________________

04' Dodge SRT-4, Mopar Stage 3, 406whp/436wtq
Reply With Quote
  #12  
Old 02-08-2018, 03:31 PM
JZL is offline JZL
Registered User

Join Date: Feb 2018
Posts: 5

Whats the behaviour of mouse gestures and keys pressed during freeze? Is that locked or could you 'invisibly' move as a freezer?
Reply With Quote
  #13  
Old 02-08-2018, 04:17 PM
FrankyTheTank is offline FrankyTheTank
Registered User

Join Date: Dec 2017
Posts: 86

i think it unlocks where delta force 2 got stuck this had to be done in the right way it then can continue

the error is not fully known but the part is in a draw function

i think the problem was that we could not make the error happen so we could deeper look what it is (that solution is old)

since the code doesnt crash it doesnt leave a sysdump.txt
but that could be done if we make a error if it apears maybe we find some time at some point
Reply With Quote
  #14  
Old 02-12-2018, 06:47 PM
Hambone is offline Hambone
Registered User

Join Date: Feb 2018
Posts: 3

Tried downloading from the link and df2 still froze. No mouse movements, no keyboard, just my poor 'frozen in time' screen. Have go to Task Manager and end task.

I did not load this version on the server, so i will try that next. Thanks for your help, it would be awesome to eliminate these freezes.
Reply With Quote
  #15  
Old 02-12-2018, 09:23 PM
FrankyTheTank is offline FrankyTheTank
Registered User

Join Date: Dec 2017
Posts: 86

did you push the hotkey ? or was the dll loaded ?
if i can scott on teamviewer we gonna look for a better solution
Reply With Quote
  #16  
Old 02-13-2018, 07:02 AM
FrankyTheTank is offline FrankyTheTank
Registered User

Join Date: Dec 2017
Posts: 86

i was trying to make it happen like 3 hours but it did not (win7 64x without services packs) (DF1) DF2 then soon

i need like a trigger to make it happen

is there a sign when it happens like often ? like how many time i have to play ? or on what map it happens very much ? does it requie to turn and run or is turn enough ? are other players needed (multiplayer or single player) ? do it happen if you play windowed mode (this is like important if i have to know i have to switch back to a resolution) ?

in the past i remember it happend like 1 time a day while playing 8 hours or so DF1 i dont remember it much but on that day it happend once but i could not go back to the resolution settings so i could turn on a debugger
Reply With Quote
  #17  
Old 02-13-2018, 09:16 AM
Scott is offline Scott
Scott's Avatar
AKA. Panther

Join Date: Sep 2001
Location: Minneapolis, MN
Posts: 10,919

Quote:
Originally Posted by FrankyTheTank View Post
i was trying to make it happen like 3 hours but it did not (win7 64x without services packs) (DF1) DF2 then soon

i need like a trigger to make it happen

is there a sign when it happens like often ?
Near almost any object, but more so near sandbags, walls and bunkers

like how many time i have to play ?
I've frozen within 3 seconds of joining

or on what map it happens very much ?
More items and proximity to objects cause it

does it requie to turn and run or is turn enough ?
Any movement

are other players needed (multiplayer or single player) ?
Both

do it happen if you play windowed mode (this is like important if i have to know i have to switch back to a resolution) ?
Yes it still happens in Windowed Mode

in the past i remember it happend like 1 time a day while playing 8 hours or so DF1 i dont remember it much but on that day it happend once but i could not go back to the resolution settings so i could turn on a debugger
It's more rare in DF1 but last weekend I froze 3 times which is unusual. In Df2, it's much more common.

I have a VM setup, I'm going to make sure I can freeze in it and then we'll do some more testing.
__________________

04' Dodge SRT-4, Mopar Stage 3, 406whp/436wtq
Reply With Quote
  #18  
Old 02-14-2018, 05:34 AM
FrankyTheTank is offline FrankyTheTank
Registered User

Join Date: Dec 2017
Posts: 86

do amd users have this a lot less ? it could be related to new intel cpu

shrd command could be involved intel stays a bit different here since x64

shrd cnt, src, dest
shrd dest, src, cnt

i gave it other try 4:30 hours (amd) 2 maps loaded move left (screen) permanently on , map : CTFMACE
Reply With Quote
  #19  
Old 02-14-2018, 05:49 AM
FrankyTheTank is offline FrankyTheTank
Registered User

Join Date: Dec 2017
Posts: 86

Also, Intel's manual[1] states that the results are undefined when cnt is greater than the operand size, but at least for 32- and 64-bit data sizes it has been observed that shift operations are performed by (cnt mod n), with n being the data size.

i noticed in that ctfmaze that there if i change relevant things a drawing problem apears but on some others maps it almost not doing that, this can happen when the calclations related to the src command are either to be done or not

if thats so its a challange :-) its hardware based but can be fixed in rewriting the entire function software based

sounds interesting at least :-)

but i still could make no freez
Reply With Quote
  #20  
Old 02-14-2018, 08:01 AM
Scott is offline Scott
Scott's Avatar
AKA. Panther

Join Date: Sep 2001
Location: Minneapolis, MN
Posts: 10,919

Quote:
Originally Posted by FrankyTheTank View Post
do amd users have this a lot less ? it could be related to new intel cpu

shrd command could be involved intel stays a bit different here since x64

shrd cnt, src, dest
shrd dest, src, cnt

i gave it other try 4:30 hours (amd) 2 maps loaded move left (screen) permanently on , map : CTFMACE
I'm not sure it's an intel thing, I use AMD and I freeze all the time. About as much as anyone else.

It's common to freeze a lot on the CTF XMaze map
__________________

04' Dodge SRT-4, Mopar Stage 3, 406whp/436wtq
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -5. The time now is 12:26 AM.




Powered by vBulletin®