Log in

View Full Version : Carrotade and TSF...


critz
May 26, 2007, 12:02 PM
I have a problem with using Carrotade on 1.24 (The Secret Files) version. When I host a CTF map in CTF mode, and someone tries to grab the flag, jj2 terminates and Access Violation error window appears... :mad: It appears ONLY on 1.24 and ONLY in CTF mode. Someone know how to fix that?

blurredd
May 26, 2007, 06:21 PM
CTF indeed doesn't work on TSF with Carrotade, though, for whatever it's worth, you should be able to play regular Team Battle with no problems. It's something that somehow went unnoticed during beta-testing, and I would've uploaded a fix for it a while ago had I not started working on the merged 1.23+/Carrotade project.

Testing the same exact thing on 1.23 and then TSF gets so boring after a while...

critz
Jun 14, 2007, 03:44 AM
*Sigh*... hopefully you will make a patch later. CRT is only server tool I use.

Anyway, another good idea for patch is to add a mechanism that will make CRT standby when not hosting a server, and automatically activate when hosting. Why? Because I can make a script instead of shortcut, so CRT will always run with JJ2.

Dermo
Jun 14, 2007, 03:10 PM
give me the access violation you receive i'll make a patch really quick. Also tell me whether the access violation is in jazz2.exe or carrotade (because i haven't unpacked carrotade and i don't plan to but jazz jackrabbit 2's more fun to disassemble).

critz
Jun 15, 2007, 04:14 AM
Thanks, here is a screenshot:

http://critz.w.interia.pl/av.jpg

Error was made by JJ2.

cooba
Jun 15, 2007, 04:59 AM
give me the access violation you receive i'll make a patch really quickIf you make one, don't even bother trying to pack it with UPX :P

blurredd
Jun 15, 2007, 11:48 AM
I (finally) decided to make the fix, and the hard way (see signature).

Cpp
Jun 16, 2007, 06:05 AM
Blur, I think I found a possible bug. Sometimes when I try to join a server on TSF, I get booted to the jj2 exiting credits screen. I don't know whether this is really carrotade related, but it seems to happen mostly when Carrotade is running. Happened on the old version, haven't tested it on v1.2 yet.

cooba
Jun 16, 2007, 06:06 AM
Sometimes when I try to join a server on TSF, I get booted to the jj2 exiting credits screen.Is that perhaps because you press the F9 key when you're on the Downloading screen? It happens for me too (without Carrotade).

critz
Jun 16, 2007, 06:31 AM
*Sigh* Carrotade is a server tool, so you must unload it before joining any servers...

cooba
Jun 16, 2007, 06:32 AM
Overlord asked if that bug was caused by Carrotade loaded on the server he tried to join.

*Sigh* yourself.

Cpp
Jun 16, 2007, 06:36 AM
I don't recall hitting F9 key... at all.

critz
Jun 16, 2007, 08:21 AM
Ugh, I just saw another AV bugs on 1.2 ver (i don`t recall their apperance from 1.1 ver) - one when I tried to write something on chat, and another when tried to swap myself...

EDIT: Swap AV suddenly stopped appearing.

Cpp
Jun 17, 2007, 04:53 AM
Okay, heres how to reproduce it.

1) Load up carrotade while hosting a server
2) Close the server and join another existing server, but don't unload carrotade
3) You will get booted to the jj2 credits screen and jj2 will exit

blurredd
Jun 17, 2007, 10:31 AM
To Overlord: What critz said about having to unload it before joining servers is right. It sends JJ2 to the exit screen as a sort of cheap fix.

To critz: I haven't been able to reproduce any AVs yet (though honestly I wasn't trying particularly hard to get one).

Cpp
Jun 17, 2007, 10:40 AM
Oh so you deliberately coded it that way :s Why not make it unload instead?

blurredd
Jun 17, 2007, 11:13 AM
That would've required more work--or at least that's what I thought at the time. Basically it was a cheap fix I never got around to changing.

Cpp
Jun 17, 2007, 11:41 AM
Well glad to know why it happens. I thought it was caused by something else... like the server hacking my jj2 to kickban me out into the credits. I even loaded WPE Pro to capture any suspicious packets at one point and wondered why nothing was caught.

critz
Jun 17, 2007, 11:46 AM
Thanks, BlurreD. I really appreciate your concern. Here is a screenshot of chat AV caused by JJ2:

http://critz.w.interia.pl/AV2.jpg

I figured out I mistyped /swap1, so jj2 sent it as a text, and caused chat AV. If it is possible, make a 1.2b ver with this fixed.

By the way:
When you figure out this error, try to make client disabling mechanism, and another one, which allows to host multiversion (1.23 and TSF) server (ask Grytolle for it, it is already in his 1.23+. As far as I know, Grytolle is in CRT credits). Once you do, CRT will be the best server tool ever.

Dermo
Jun 20, 2007, 09:20 AM
(-) blurred i just finished a patch you noob!

EDIT: I didn't have time to code much of anything so I just used a Cheat Engine patch maker. For some reason whenever I use CE, it seems to come up saying that the file's a virus. Really it's not though. Anyway if you get anymore access violations let me know and i'll refine this patch. It was made in a matter of 12 minutes. I'll PM it.