Log in

View Full Version : Access Violation (of course) When Editing Character


Slyone
Oct 5, 2007, 09:28 AM
Alright so I get the dreaded access violation whenever I hit the customize character button before I join a game to make myself less... default.

And of course the game crashes. Any suggestions or possible fixes?

I never had this problem before I updated Windows XP to SP2 (was using pre-SP before), but currently I do not have the option to downgrade it.


EDIT: Okay scratch that, it crashes when I try to do ANYTHING game related, aside from the main menu. Any ideas?

Dermo
Oct 5, 2007, 10:18 AM
Post a screenshot please. That would really help us give you some ideas.

Black Ninja
Oct 6, 2007, 10:32 AM
It sounds to me like all the symptoms I get when I badly modify the JJ2 .exe or other core game files. Are you using any modified JJ2 .exe? For example, Overlord's exe that doesn't give access violations, Alberto's exe that always finds the right list server, etc...

Cpp
Oct 6, 2007, 02:30 PM
Haha, how did you come up with that exe, BN? ;) Boy, is that the lousiest fix I've ever made! I simply inserted random code into the function that was supposed to display access violations so instead of getting like 100 errors it simply crashed. =/

Ricerind
Oct 6, 2007, 03:40 PM
Haha, how did you come up with that exe, BN? ;) Boy, is that the lousiest fix I've ever made! I simply inserted random code into the function that was supposed to display access violations so instead of getting like 100 errors it simply crashed. =/

Not a patch so much as artful-buggery :p

Black Ninja
Oct 10, 2007, 10:20 PM
Haha, how did you come up with that exe, BN? ;) Boy, is that the lousiest fix I've ever made! I simply inserted random code into the function that was supposed to display access violations so instead of getting like 100 errors it simply crashed. =/
While it may be kind of a lame fix, Overlord, I still use it today. ;p

However, more on-topic, it appears that the original topic creator has fixed the problem, because he evidently doesn't care about it enough to reply to our attempts to help. ;p

Slyone
Oct 19, 2007, 08:20 PM
Actually, I just went on vacation to Cali for a while.

Anyway, definitely no fix. What sort of a screenshot were you looking for? Did you just want one of the error? It's rather generic.
http://www.vortexmud.com/jj2crash.PNG

Also, no, I am not using any modified exe's for the game.

Cpp
Oct 19, 2007, 11:08 PM
Are you sure you get that error at the character edit screen (by editing the character or something) or when you actually leave the character screen to join/host a game?

Neobeo
Oct 20, 2007, 03:57 AM
I haven't had time to do a detailed analysis, but I'd guess it has to do with the particular level. Does it still crash if you use some other level instead?

Birdie
Oct 20, 2007, 07:38 AM
I believe that I know the problem, it's happened to me on many occasions. The control mode is probably -1 or something instead of keyboard. So you should use regedit to change it back to keyboard (0)

Slyone
Nov 3, 2007, 11:14 AM
Keyboard setting appears to be fine after checking.

And this happens when I attempt to enter ANY level, or hit the button to modify my character.


...Yeah. I have no ideas.

Dermo
Nov 3, 2007, 11:18 AM
I'll help you later though when I actually feel like disassembling and fixing jj2's flaws.

Slyone
Nov 3, 2007, 11:57 AM
I'll help you later though when I actually feel like disassembling and fixing jj2's flaws.

Sounds like a plan.

Cpp
Nov 3, 2007, 12:22 PM
Hmm, what if you disable MMX?

Birdie
Nov 3, 2007, 05:01 PM
Keyboard setting appears to be fine after checking.

How would you know if you cant modify your character?

Slyone
Nov 4, 2007, 07:15 AM
How would you know if you cant modify your character?
Those 3rd party configuration programs.

Hmm, what if you disable MMX?
Nope, still crashes.

Cpp
Nov 4, 2007, 08:22 AM
Well I've failed to reproduce the crash by editing the character. There is one more thing I would like to ask. You said the game crashes when (A) you try to enter a level and (B) when you try to modify the character. Could you please check if the error message you get at point (A) matches the one at point (B)? Compare the registers or maybe post both errors here. I just want to confirm that these are two different crashes.