Register FAQ Search Today's Posts Mark Forums Read
Go Back   JazzJackrabbit Community Forums » Open Forums » General Jazz Jackrabbit Talk

Elimenating Acces violations

CelL

JCF Member

Joined: Jul 2001

Posts: 781

CelL has disabled reputation

Aug 5, 2001, 03:23 AM
CelL is offline
Reply With Quote
!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.


__________________
BUT ENOUGH TALK.
CelL

JCF Member

Joined: Jul 2001

Posts: 781

CelL has disabled reputation

Aug 5, 2001, 03:34 AM
CelL is offline
Reply With Quote
Tip: Download a FREE hex editor at this adress:

http://www.chmaas.handshake.de/delph...vi32/xvi32.htm





_________________

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



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

$tilettø

JCF member

Joined: May 2001

Posts: 3,221

$tilettø has disabled reputation

Aug 5, 2001, 03:36 AM
$tilettø is offline
Reply With Quote
Overlord Maked a Patch For these Things

Download it at His Site.



oh and Which Adress?
CelL

JCF Member

Joined: Jul 2001

Posts: 781

CelL has disabled reputation

Aug 5, 2001, 03:43 AM
CelL is offline
Reply With Quote
Yeah, but overlords patch only works for 1.23. This works for all versions.
__________________
BUT ENOUGH TALK.
Kaz

JCF Member

Joined: Mar 2001

Posts: 3,793

Kaz has disabled reputation

Aug 5, 2001, 06:19 PM
Kaz is offline
Reply With Quote
hmm... there's a reason for access violation...



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

JCF member

Joined: May 2001

Posts: 3,221

$tilettø has disabled reputation

Aug 5, 2001, 10:59 PM
$tilettø is offline
Reply With Quote
in TSF u wont get Much Acces Violation`s
The B.B.C.

JCF Member

Joined: Jul 2001

Posts: 12

The B.B.C. is doing well so far

Aug 5, 2001, 11:05 PM
The B.B.C. is offline
Reply With Quote
U will when testing levels with MCEs



-Thats all for me, goodnight!
__________________
The B.B.C.

Brought to you by a earlier registered user, who`s name i am not permited to mention, because if i do, i`ll get sacked.
Michael Michael's Avatar

JCF Member

Joined: Apr 2001

Posts: 3,323

Michael is doing well so far

Aug 6, 2001, 04:14 AM
Michael is offline
Reply With Quote
Why exactly are there less access violeations in TSF?
CelL

JCF Member

Joined: Jul 2001

Posts: 781

CelL has disabled reputation

Aug 6, 2001, 04:20 AM
CelL is offline
Reply With Quote
/me wonders that too...



_________________

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



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

Violet CLM Violet CLM's Avatar

JCF Éminence Grise

Joined: Mar 2001

Posts: 11,042

Violet CLM has disabled reputation

Aug 6, 2001, 01:28 PM
Violet CLM is offline
Reply With Quote
Maybe because they fixed some of the reasons?
Wazz Wackrabbit

JCF Member

Joined: Jul 2001

Posts: 197

Wazz Wackrabbit is doing well so far

Aug 8, 2001, 10:34 AM
Wazz Wackrabbit is offline
Reply With Quote
Kinda works, but no idea how

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

"Delete" is disabled...
__________________
Wazz Wackrabbit

"Stupid Fighter.. must destroy..
evil is good...mmm, pie." ~Black Mage.
"Hellooooo Black Mage!" ~White Mage
"Mrph..Is that you pie?" ~BM
"No, silly. It's me. Woman of your dreams." ~WM
"A woman made entirely out of pie?" ~BM (This is from FF1 8-Bit Theatre comic)



>MY PICTURE IS INCOMING SOON<
Under Scarry Sarry's pen
CelL

JCF Member

Joined: Jul 2001

Posts: 781

CelL has disabled reputation

Aug 8, 2001, 11:05 AM
CelL is offline
Reply With Quote
Just press space till the`re all gone.
__________________
BUT ENOUGH TALK.
Kaz

JCF Member

Joined: Mar 2001

Posts: 3,793

Kaz has disabled reputation

Aug 8, 2001, 11:46 AM
Kaz is offline
Reply With Quote
That won't work...



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

JCF Member

Joined: Jan 2001

Posts: 2,678

Newspaz has disabled reputation

Aug 8, 2001, 12:16 PM
Newspaz is offline
Reply With Quote
Wrong forum.
Wazz Wackrabbit

JCF Member

Joined: Jul 2001

Posts: 197

Wazz Wackrabbit is doing well so far

Aug 8, 2001, 10:12 PM
Wazz Wackrabbit is offline
Reply With Quote
Whew!

Sorry.. the tip doesn't worked.

My Jazz2.exe (new) crashed while loading.

I had to bring my backup on...
__________________
Wazz Wackrabbit

"Stupid Fighter.. must destroy..
evil is good...mmm, pie." ~Black Mage.
"Hellooooo Black Mage!" ~White Mage
"Mrph..Is that you pie?" ~BM
"No, silly. It's me. Woman of your dreams." ~WM
"A woman made entirely out of pie?" ~BM (This is from FF1 8-Bit Theatre comic)



>MY PICTURE IS INCOMING SOON<
Under Scarry Sarry's pen
Aiko

JCF Member

Joined: Mar 2001

Posts: 568

Aiko is doing well so far

Aug 9, 2001, 09:28 AM
Aiko is offline
Reply With Quote
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

JCF Member

Joined: May 2001

Posts: 223

F!re is doing well so far

Aug 9, 2001, 09:42 AM
F!re is offline
Reply With Quote
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 Cpp's Avatar

JCF Member

Joined: Mar 2001

Posts: 1,557

Cpp is doing well so far

Aug 11, 2001, 11:09 AM
Cpp is offline
Reply With Quote
This looks like a job for OVERLORD!

I'll make a TSF anti-AV patch.

Just give me some time...
__________________
<a href="http://nmap.org/"><img border="0" alt="Nmap Security Scanner" src="http://images.insecure.org/nmap/images/prop/nmap_bnr_matrix_pfos.gif"/></a>
Cpp Cpp's Avatar

JCF Member

Joined: Mar 2001

Posts: 1,557

Cpp is doing well so far

Aug 12, 2001, 01:13 PM
Cpp is offline
Reply With Quote
I made the patch in 5 min!

Just need to upload it.

Check S:J when uptated...
__________________
<a href="http://nmap.org/"><img border="0" alt="Nmap Security Scanner" src="http://images.insecure.org/nmap/images/prop/nmap_bnr_matrix_pfos.gif"/></a>
CelL

JCF Member

Joined: Jul 2001

Posts: 781

CelL has disabled reputation

Aug 13, 2001, 03:57 AM
CelL is offline
Reply With Quote
Quote:

(if it really works, you can slap me .
*Slaps Aiko*

It worked fine for me!
__________________
BUT ENOUGH TALK.
Cpp Cpp's Avatar

JCF Member

Joined: Mar 2001

Posts: 1,557

Cpp is doing well so far

Aug 13, 2001, 09:55 AM
Cpp is offline
Reply With Quote
The patch is on my site and can be downloaded now...
__________________
<a href="http://nmap.org/"><img border="0" alt="Nmap Security Scanner" src="http://images.insecure.org/nmap/images/prop/nmap_bnr_matrix_pfos.gif"/></a>
Kaz

JCF Member

Joined: Mar 2001

Posts: 3,793

Kaz has disabled reputation

Aug 13, 2001, 03:45 PM
Kaz is offline
Reply With Quote
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....
__________________
"We're like a human in a 13 billion lightyear universe." -Anaiyu
Cpp Cpp's Avatar

JCF Member

Joined: Mar 2001

Posts: 1,557

Cpp is doing well so far

Aug 16, 2001, 11:07 AM
Cpp is offline
Reply With Quote
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
__________________
<a href="http://nmap.org/"><img border="0" alt="Nmap Security Scanner" src="http://images.insecure.org/nmap/images/prop/nmap_bnr_matrix_pfos.gif"/></a>
Kaz

JCF Member

Joined: Mar 2001

Posts: 3,793

Kaz has disabled reputation

Aug 16, 2001, 05:49 PM
Kaz is offline
Reply With Quote
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.
__________________
"We're like a human in a 13 billion lightyear universe." -Anaiyu
Nightshade

JCF Member

Joined: May 2001

Posts: 220

Nightshade is doing well so far

Aug 24, 2001, 01:24 PM
Nightshade is offline
Reply With Quote
The patch didn't work on mine.
__________________
"I can do all things through Christ whom strengthens me." ~Phillipians 4:13



"Whatever." ~Coppertop



There's a fine line between Good and Evil. . .

read Conquests to find out why.



"Only Death keeps a secret. . . ."
-Zazz Darkfist
Kaz

JCF Member

Joined: Mar 2001

Posts: 3,793

Kaz has disabled reputation

Sep 3, 2001, 07:59 AM
Kaz is offline
Reply With Quote
Good.
Kaz

JCF Member

Joined: Mar 2001

Posts: 3,793

Kaz has disabled reputation

Sep 3, 2001, 08:15 AM
Kaz is offline
Reply With Quote
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.
Reply

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

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

Forum Jump

All times are GMT -8. The time now is 04:20 AM.