Log in

View Full Version : Elimenating Acces violations


CelL
Aug 5, 2001, 03:23 AM
!ATENTION! This is at your own risk! Doing this might damage your Jazz2 .exe file! It would be wise too backup!



If you`re geting sick of geting acces violations, those errors in wich you have too hit enter about 80 times, then follow the these steps:





1: Download a hex editor.



2: Open the file Jazz2.exe.



3: Search for this string: "Application Error" Make sure you type this, or else it won`t be found!



4: Delete this intire string, and the, say, 5 next strings.



5: Save and start playing



If you did all these things corectly, at the poin where you would normaly get an Application Error- Acces Violation, you will instead get only one eror mesahe, and ofcourse, have too restart Jazz2.



I`m not sure this is the right way to do this.

If it is`nt, please tell me.

CelL
Aug 5, 2001, 03:34 AM
Tip: Download a FREE hex editor at this adress:

http://www.chmaas.handshake.de/delphi/freeware/xvi32/xvi32.htm





_________________

In total darkness, where nothing is visible, Cell lurks, silently stalking his next victem.

<img scrn=file///C:Mijn%documenten/cj_fire.gif>

-Cell, the man with the stinger on his back.

$tilettø
Aug 5, 2001, 03:36 AM
Overlord Maked a Patch For these Things

Download it at His Site.



oh and Which Adress?

CelL
Aug 5, 2001, 03:43 AM
Yeah, but overlords patch only works for 1.23. This works for all versions.

Kaz
Aug 5, 2001, 06:19 PM
hmm... there's a reason for access violation...



But if it still crashes the same only once then it's okay.

$tilettø
Aug 5, 2001, 10:59 PM
in TSF u wont get Much Acces Violation`s

The B.B.C.
Aug 5, 2001, 11:05 PM
U will when testing levels with MCEs http://jazz2.nagcentral.com/forum/images/smiles/icon_smile.gif



-Thats all for me, goodnight!

Michael
Aug 6, 2001, 04:14 AM
Why exactly are there less access violeations in TSF?

CelL
Aug 6, 2001, 04:20 AM
/me wonders that too...



_________________

In total darkness, where nothing is visible, Cell lurks, silently stalking his next victem.

<img scrn=http://www.planetnamek.com/cgi-bin/imageFolio/cgi?action=view&link=Scans&image=s0180.jpg&img=176&tt>

-Cell, the man with the stinger on his back.

Violet CLM
Aug 6, 2001, 01:28 PM
Maybe because they fixed some of the reasons? http://jazz2.nagcentral.com/forum/images/smiles/icon_razz.gif

Wazz Wackrabbit
Aug 8, 2001, 10:34 AM
Kinda works, but no idea how

to erase all the 6 strings (the Fatal Application Error and the rest)...

"Delete" is disabled...

CelL
Aug 8, 2001, 11:05 AM
Just press space till the`re all gone.

Kaz
Aug 8, 2001, 11:46 AM
That won't work...



I think TSF doesn't take as much time to crash considering it takes up more memory?

Newspaz
Aug 8, 2001, 12:16 PM
Wrong forum.

Wazz Wackrabbit
Aug 8, 2001, 10:12 PM
Whew!

Sorry.. the tip doesn't worked.

My Jazz2.exe (new) crashed while loading.

I had to bring my backup on...

Aiko
Aug 9, 2001, 09:28 AM
LOL, sorry but that "tip" sounds quite crazy (if it really works, you can slap me :-). It's like: if the engine of your car doesn't run anymore, remove the engine and it'll work fine :-)

F!re
Aug 9, 2001, 09:42 AM
ive heard people trying this and they failed and had to reinstall the whole game

not such a great tip if you ask me

Cpp
Aug 11, 2001, 11:09 AM
This looks like a job for OVERLORD!

I'll make a TSF anti-AV patch.

Just give me some time...

Cpp
Aug 12, 2001, 01:13 PM
I made the patch in 5 min!

Just need to upload it.

Check S:J when uptated...

CelL
Aug 13, 2001, 03:57 AM
(if it really works, you can slap me http://jazz2.nagcentral.com/forum/images/smiles/icon_smile.gif.

*Slaps Aiko*

It worked fine for me!

Cpp
Aug 13, 2001, 09:55 AM
The patch is on my site and can be downloaded now...

Kaz
Aug 13, 2001, 03:45 PM
Wouldn't eliminating the custom access violation for Jazz2 have a negative affect of jazz2 actually accessing other program's memory and screwing them up? I mean, there has to be a reason it's customized like that....

Cpp
Aug 16, 2001, 11:07 AM
Access violations happen because Jazz2.exe wants to access the next address to FFFFFFFF (which doesn't exist - FFFFFFFF is the ending of windows memory) Every program in win32 has its own process ID which is between 00000000 and FFFFFFFF. I think there is some kind of "while" or "for" command in Jazz2.exe that searches process ID for something. But in this case it fails to find it so it continues to search 'till it reaches the end of the memory. Then it wants to access something that doesn't exist. That's my explanation for access violations but I still don't know why they appear so many times. Possible that there are so many "while" or "for" commands or something like that...



O yeah. On the AV window it says FFFFFFFFh. FFFFFFFF is a number and h means it's hexadecimal.



FFFFFFFF = 4294967295

Kaz
Aug 16, 2001, 05:49 PM
No, as I recall from reading up on windows, a program would be considered crashed because it would write in another program's territory... considered as ffffffff, but actually, not all programs even crash there, some at 80000000h, 90000000h, there's a reason for access violation, I suggest you keep it.

Nightshade
Aug 24, 2001, 01:24 PM
The patch didn't work on mine.

Kaz
Sep 3, 2001, 07:59 AM
Good.

Kaz
Sep 3, 2001, 08:15 AM
Hmm, I tried out this patch becuase I kept running into crashing... but now that I've tried it, the access violations didn't come (it actually semi works) but now windows calls a crash (that's good but bad in this case).



So congrats on the patch that got rid of jj2 access violations, but failed in jj2 not crashing =D.