Errors now when exiting the game

If you find a bug within PR:BF2 (including PRSP), please report it here.
Locked
DazzUK
Posts: 5
Joined: 2006-05-18 19:21

Errors now when exiting the game

Post by DazzUK »

Hi,
When ever I exit the game I get 2 errors listed below.

D:\Games\Battlefield 2\aphrodite\bf2_1.4\code\bf2\renddxp\renddx9init.cpp
and
D:\Games\Battlefield 2\aphrodite\bf2_1.4\code\bf2\core\eventmanager.cpp

Any ideas what these are?

I have uninstalled BF2 and PR 0.6 and reinstalled both but am still getting the same errors. This did not happen with 0.5.

OS: Vista Ultimate
Vid: ATI X1950 Pro 512mb
Mem: 2gb
Ghostrider
Retired PR Developer
Posts: 2585
Joined: 2006-01-04 02:56

Post by Ghostrider »

Windows Vista and Battlefield 2 are not officially compatible, I'm sorry to say. Those exceptions you're getting there dont seem to be ours. Those files are from BF2.

But still, does the same happen if when you exit BF2, or is it just when you exit PR?

I'm using WinXP Pro, and I've never had any of those errors. I normally see those kinds of weird things on Vista machines :o


-Ghost
geogob
Posts: 294
Joined: 2007-03-07 16:36

Post by geogob »

Vista is evil. Work on mac. Play on XP.
Image

Image
Ghostrider
Retired PR Developer
Posts: 2585
Joined: 2006-01-04 02:56

Post by Ghostrider »

The main problem is that Vista is not that good at backwards compatibility for games that were designed to run in XP.

Hell, even Visual Studio.NET 2005 (with the 'service' pack) crashes from time to time in Vista, something that I've never experienced in XP in years of using the IDE.


-Ghost
DazzUK
Posts: 5
Joined: 2006-05-18 19:21

Post by DazzUK »

Hi,
Thanks for getting back to me.

I understand that BF2 is not officially supported under Vista and I get the warning when I install it, but BF2 does not crash when exiting the game, only PR 0.6. As I said in my original post I never had this with PR 0.5 so it must be something that's been introduced with 0.6

PR still runs OK with no lag etc. Its just annoying to have these errors every time I come out of PR.

I have reinstalled PR 0.5 and all is good, as soon as I put 0.6 back on then the errors come back.

Are there any error log files that I need to look at, not that I would understand them anyway. :lol:

Thanks again
Image
bdu.se
Posts: 6
Joined: 2006-05-15 08:21

Post by bdu.se »

I get the same error when exiting the game.
Also running on Vista ultimate (32)
Our server(win2003 server) just crashed with similar error.
Got no error logs :/
Communist
Posts: 17
Joined: 2007-07-24 11:16

Post by Communist »

I'm having no errors with Vista home premium 32-bit. And there is nothing wrong with Vista guys, just the applications that don't work properly with it :p

Try running PR in compatibility mode for XP (right-click on .exe > properties > compatibility).
Ghostrider
Retired PR Developer
Posts: 2585
Joined: 2006-01-04 02:56

Post by Ghostrider »

DazzUK wrote:Hi,
Thanks for getting back to me.

I understand that BF2 is not officially supported under Vista and I get the warning when I install it, but BF2 does not crash when exiting the game, only PR 0.6. As I said in my original post I never had this with PR 0.5 so it must be something that's been introduced with 0.6

Its a bit difficult accepting that its something that was introduced in PR 0.6 because, like yourself, I am running the same client. I've never experienced any errors. The difference between you and me is that you have Vista, and I have XP. Another thing to mention is that those files (the .cpp) are only 'touched' by DICE, not us. Our file extensions are .py , .pyc but no .cpp


-Ghost
bdu.se
Posts: 6
Joined: 2006-05-15 08:21

Post by bdu.se »

I know u haven't touched those corefiles.
Maybe u have something in your pythoncode that calls some procedure that doesn't work in the original code.

These are the errrors i get on my computer:
http://img105.imageshack.us/my.php?image=bug1wd9.jpg
and when i click continue:
http://img105.imageshack.us/my.php?image=bug2nc6.jpg
and:
Image
(finally got [img] right)

Hope it helps.
DazzUK
Posts: 5
Joined: 2006-05-18 19:21

Post by DazzUK »

I have tried compatibility mode and i get the same errors.
Originally Posted by DazzUK
Its a bit difficult accepting that its something that was introduced in PR 0.6 because, like yourself, I am running the same client. I've never experienced any errors. The difference between you and me is that you have Vista, and I have XP. Another thing to mention is that those files (the .cpp) are only 'touched' by DICE, not us. Our file extensions are .py , .pyc but no .cpp
The reason i say this is because I had and still have no issues with 0.5 and I have been running that version since it was released and on Vista since its release.

I have no problems with vanilla BF2, this runs perfectly, its just the 0.6 mod that has introduced these errors.
Image
Ghostrider
Retired PR Developer
Posts: 2585
Joined: 2006-01-04 02:56

Post by Ghostrider »

Well, the 'introduction' of these errors you guys are getting must be because you are using Windows Vista. There is no problem/error/etc.. from players using WinXP.

Players running on windows Vista will find problems sooner or later because Battlefield 2 was not designed to run in Windows Vista.

Now, I'm sorry that you guys are getting these problems, but it is NOT our fault that some things in BF2 (and hence PR being a derived work) do not work well in windows Vista 100% of the time.

A possible explanation for why vBF2 is running fine but not PR v0.6 could be, like you said, because of some stuff we did. The problem is that the 'stuff' we do is working fine (if not WinXP players would be experiencing the same problems). The only players that report problems with PR (as with many other applications) seem to be Vista-related problems.

There're vBF2-related problems that show up in WinXP as well, but uninstalling and re-installing normally fixes those. Like I said, when you run applications that are for WinXP in WinVista, you will find problems sooner or later..

Take this for example. I have Jane's F/A-18. The game ran perfectly fine in my PC
AMD Athlon XP 2600+
1GB RAM PC-3200
GeForce 5200 128MBs
WinXP

I changed the video card to a GeForce 6800 GT (which is a better video card by any standards) and the game stopped working. That's the only change, and it stopped working 100%. Unfortunately, its that simple..


-Ghost
Last edited by Ghostrider on 2007-07-29 20:29, edited 1 time in total.
Communist
Posts: 17
Joined: 2007-07-24 11:16

Post by Communist »

That doesn't make sense. You can't blame Vista if vanilla works fine. Did you guys not test or fix issues with Vista? "Use XP" is not a fix at all if vanilla works fine on the same system.
Ghostrider
Retired PR Developer
Posts: 2585
Joined: 2006-01-04 02:56

Post by Ghostrider »

Communist wrote:That doesn't make sense. You can't blame Vista if vanilla works fine. Did you guys not test or fix issues with Vista? "Use XP" is not a fix at all if vanilla works fine on the same system.
I'm sorry if it doesnt make sense to you, but in computers you design (and write) a program to work on a target operating system and hardware. You change any of those and there is no guarantee that the program will work fine, or at all.

Its true that there're known issues in PR but none of them make it unplayable to anyone running in the BF2's target OS/hardware. You should educate yourself on the topic before comming in and making such a, rather uninformed, claim.

Another note, we do not need to test on vista because there're issues that are very likely for us not to be able to solve anyways due to the above explanation. Windows Vista is not officially compatible with BF2 because it was designed for XP. It works for some, and it doesnt work for others.


-Ghost
Communist
Posts: 17
Joined: 2007-07-24 11:16

Post by Communist »

I don't think you get what I'm saying. You must have changed something in PR to make it crash to desktop. Battlefield 2 does not crash to desktop, PR does. You do know more about it than I do, but it's just logical that something must have changed between BF2 and PR to make one of them not work with Vista. Surely there are some error logs or something you can check to narrow down exactly what the problem is?
KingofCamelot
Retired PR Developer
Posts: 2365
Joined: 2006-01-07 18:17

Post by KingofCamelot »

Heh. I think what Ghostrider is trying to say is that there is no error unless you're running Vista.

Hate to tell you but no, we do not test the mod on Vista. Hell, as far as I know none of the Devs even have Vista. So, you can go on about it all you want, but theres not much we can do when we don't get the error. ;)

Those errors deal with the graphics rendering part of the engine, so its fair to say that Vista has a problem on something that we've done in PR relating to graphics. However, as far as we are concerned there is no error, and with an error message like the one you are getting there is really nothing we can do to diagnose the Vista issues.
Ruthless Executioner of 280 SpamBots
Image
Retired Lead Coder for Project Reality - 0.25 through 0.4
CareBear
Posts: 4036
Joined: 2007-04-19 17:41

Post by CareBear »

way to get riod of error and all errors, get rid of that new virus called vista, all problems solved :P
Image
Communist
Posts: 17
Joined: 2007-07-24 11:16

Post by Communist »

Ok, so there is not solution to the problem until one of the developers gets Vista. I suppose I'll have to put up with the crashing until then, but with most new computers now having Vista pre-loaded, it is being used more and more frequently, so the number of PR players encountering problems is not going to diminish or go away (it'll probably increase). So try not to shove it off lightly, as "don't use Vista" is NOT an acceptable fix :)
CareBear
Posts: 4036
Joined: 2007-04-19 17:41

Post by CareBear »

ok does it effect ur playin in anyway, if it occur after the game is closed ?, most likely not, so whats the big deal about it?
Image
Ghostrider
Retired PR Developer
Posts: 2585
Joined: 2006-01-04 02:56

Post by Ghostrider »

Communist wrote:Ok, so there is not solution to the problem until one of the developers gets Vista. I suppose I'll have to put up with the crashing until then, but with most new computers now having Vista pre-loaded, it is being used more and more frequently, so the number of PR players encountering problems is not going to diminish or go away (it'll probably increase). So try not to shove it off lightly, as "don't use Vista" is NOT an acceptable fix :)
Whine all you want about it. No one said it is some sort of fix. Following your logic, I could go and argue with a company about the boat I bought that refuses to run on land. Battlefield 2 was designed to run in Windows XP. We will continue to develop PR in Windows XP.

If you have further complaints about compatibility issues regarding BF2, PR or any work derived from the BF2 platform (mod) we can't help you. We dont get those errors, and even if we did there is no guarantee that it could get fixed because of fundamental differences between how Vista and XP work. If it works for XP, then thats it. We're not going to make the XP version crash in order to try Vista fixes.


Locked.


-Ghost
Locked

Return to “PR:BF2 Bugs”