Front Office Football Central  

Go Back   Front Office Football Central > Archives > FOFC Archive
Register FAQ Members List Calendar Mark Forums Read Statistics

Reply
 
Thread Tools
Old 11-19-2003, 09:40 PM   #1
wbonnell
College Prospect
 
Join Date: Oct 2000
Location: Round Rock TX
odd repaint issue

If while simulating games in FOF I move another application to the foreground, FOF appears to hang. According to task manager, it is in a "not responding" state. However, if I wait a bit (approximately the amount of time it would take to complete the simulation), control eventually returns to FOF. Not a bug per se, but certainly unexpected and odd behavior. Here are my specs:

-Windows XP Pro, Service Pack 1 and all windows update patches
-512MB PC2700 DDR Ram
-Amd Athlon 2500+ Barton
-Geforce 4mx, 64MB (detonator driver version 52.16)
-Maxtor 80MB , 7200RPM, 8MB cache hard drive
(anything else you need to know?)

None of my other programs exhibit this behavior. Any ideas?

wbonnell is offline   Reply With Quote
Old 11-19-2003, 09:43 PM   #2
fof playa
Banned
 
Join Date: Dec 2000
Location: Duluth
I've lived with this forever but I hava aslow-ass computer. y53s3-,
fof playa is offline   Reply With Quote
Old 11-19-2003, 09:45 PM   #3
RendeR
Coordinator
 
Join Date: Aug 2001
Location: Buffalo, NY
Actually I've had this problem with fof2001, 2002, and fof4, even TCY does this from time to time. SOmething happens in the video translation while you're running simulations.


I get it most often when I am simming an entire season quickly, if I go back and forthe between windows my FOF window will go blank or partially blank, the program returns to normal once the simulation completes. I just have to be patient and let it finish. My machine is slower than yours, but I'm thinking its a matter of open RAM during long simulations.
RendeR is offline   Reply With Quote
Old 11-19-2003, 09:47 PM   #4
wbonnell
College Prospect
 
Join Date: Oct 2000
Location: Round Rock TX
Quote:
Originally posted by RendeR
Actually I've had this problem with fof2001, 2002, and fof4, even TCY does this from time to time. SOmething happens in the video translation while you're running simulations.


I get it most often when I am simming an entire season quickly, if I go back and forthe between windows my FOF window will go blank or partially blank, the program returns to normal once the simulation completes. I just have to be patient and let it finish. My machine is slower than yours, but I'm thinking its a matter of open RAM during long simulations.


From what I can tell, FOF never uses more than about 45MB or ram. And I can assure you that I have plenty of available main (not swap) memory.

I find it interesting that you experienced this problem in 2001; I've never noticed it before...
wbonnell is offline   Reply With Quote
Old 11-19-2003, 09:48 PM   #5
fof playa
Banned
 
Join Date: Dec 2000
Location: Duluth
Quote:
Originally posted by fof playa
I've lived with this forever but I hava aslow-ass computer. y53s3-,


Anyone ever gotten so pissed off at their own typing and seen this before?
fof playa is offline   Reply With Quote
Old 11-19-2003, 10:01 PM   #6
Surtt
College Benchwarmer
 
Join Date: Nov 2003
If you have a program doing a cpu intense operation such as compiling a program, recalculating a spread sheet, or simulating a NFL season, it will be to busy to respond to your operating system. The operating system will then report it as "not responding." Once the operation is complete it will start responding again and the operating system will remove the tag.

There are not a lot of cpu intense programs commonly used so you don't see it much. Normally this is a sign that a program has ether entered an endless loop or has called a corrupt routine and is waiting for a response that will never come, i.e. crashed.
__________________
“The greatest dangers to liberty lurk in insidious encroachment by men of zeal, well-meaning but without understanding.”

United States Supreme Court Justice
Louis D. Brandeis
Surtt is offline   Reply With Quote
Old 11-19-2003, 10:07 PM   #7
wbonnell
College Prospect
 
Join Date: Oct 2000
Location: Round Rock TX
Quote:
Originally posted by Surtt
If you have a program doing a cpu intense operation such as compiling a program, recalculating a spread sheet, or simulating a NFL season, it will be to busy to respond to your operating system. The operating system will then report it as "not responding." Once the operation is complete it will start responding again and the operating system will remove the tag.

There are not a lot of cpu intense programs commonly used so you don't see it much. Normally this is a sign that a program has ether entered an endless loop or has called a corrupt routine and is waiting for a response that will never come, i.e. crashed.


True, but I run CPU intensive applications all the time (ie compilers) and they don't exhibit this behavior.

I don't know how the GDI works in win32, but in Swing, there is an AWT thread that handles UI updates (among other things). If you monopolize that thread (ie run the simulation on it), the entire application blocks. Therefore, if you wish to provide some useful user interface feedback, you ought to do your CPU intensive stuff on a separate thread.

Last edited by wbonnell : 11-19-2003 at 10:14 PM.
wbonnell is offline   Reply With Quote
Old 11-19-2003, 10:32 PM   #8
Surtt
College Benchwarmer
 
Join Date: Nov 2003
I'm running w2k. If I bring up the task manager I can watch the game peg my cpu usage and be reported as not responding while simming a season or if I "skip remaining stages" of a free agency period. Afterward it goes back to normal.

In win32 a message (invalidate window) is passed to the program and the program is responsible for repainting itself.
Unless there is code to check for this message during the sim it won't be handled until the program returns from the routine.
And windows will report it as not responding.

I'm just throwing this out there,
I have no idea of how Jim has programmed FOF.
__________________
“The greatest dangers to liberty lurk in insidious encroachment by men of zeal, well-meaning but without understanding.”

United States Supreme Court Justice
Louis D. Brandeis
Surtt is offline   Reply With Quote
Old 11-19-2003, 10:50 PM   #9
wbonnell
College Prospect
 
Join Date: Oct 2000
Location: Round Rock TX
Quote:
Originally posted by Surtt

In win32 a message (invalidate window) is passed to the program and the program is responsible for repainting itself.
Unless there is code to check for this message during the sim it won't be handled until the program returns from the routine.
And windows will report it as not responding.


And that thread won't have an opportunity to dequeue the event if it's busy crunching numbers. Thus, a separate thread should be spawned specifically for the number crunching. If you don't want the user interacting with the application in the meantime, you can display a modal dialog.

Anyway, I think we've geeked out enough. Clearly this isn't a bug, but it could be handled relatively easily.
wbonnell is offline   Reply With Quote
Old 11-19-2003, 10:54 PM   #10
Surtt
College Benchwarmer
 
Join Date: Nov 2003
Agreed
__________________
“The greatest dangers to liberty lurk in insidious encroachment by men of zeal, well-meaning but without understanding.”

United States Supreme Court Justice
Louis D. Brandeis
Surtt is offline   Reply With Quote
Reply


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

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

vB 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 08:43 AM.



Powered by vBulletin Version 3.6.0
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.