Log in

View Full Version : Codename Blubberfish


DaPete10
Jun 13, 2006, 06:41 AM
As some of you may or may not know, I've started work on a program which I call Blubberfish. When it's complete, JJ2 will be able to run multiple servers through several instances, and will be able to serve while minimized.

When configured correctly, a server running the Blubberfish patch can use 20% to 44% CPU or less. So far the program supports:


The Blubberfish hack
Port switching


A patch is currently in progress for JJ2 1.23.1 that will allow access to servers running on different ports. It's been tested, I just need to fix up a byte-shift, and we're there.

jam
Jun 13, 2006, 07:06 AM
Good job dude!

Birdie
Jun 13, 2006, 08:26 AM
Yes, Good job UF.

R3ptile
Jun 13, 2006, 08:54 AM
Great job. Now finally quit crashing and everybody would forgive you and welcome you into the community again.

Cpp
Jun 13, 2006, 09:00 AM
I wonder how this patch turns out when finished.

DaPete10
Jun 13, 2006, 12:18 PM
The JJ2 patch is now complete. It now allows you to join servers running on different ports such as 666, which is what I use by default because 1337 is overused.

Proceed with caution (http://unknown.hcs64.com/bf/PortPatch.exe)

DaPete10
Jun 13, 2006, 05:20 PM
Alrighty, bug time.
There is one known bug so far.

When the level ends the game will not switch to the next level, it will just hang there. All clients will then get disconnected with a file download error, and the server can't get out of this loop until the level is skipped using Forest. I'm currently trying to fix this problem, and I will post when the problem is fixed.

Marijn
Jun 14, 2006, 03:43 AM
I hope that "port" switching path also let me play online with my speedtouch :'(

Grytolle
Jun 14, 2006, 06:16 AM
UF, does this allow clients to choose what port to connect with?

jam
Jun 14, 2006, 11:35 AM
I hope that "port" switching path also let me play online with my speedtouch :'(

No, it won't. Get a better modem or a router.

cooba
Jun 14, 2006, 11:57 AM
the server can't get out of this loop until the level is skipped using Forest...nice propaganda...

DaPete10
Jun 14, 2006, 01:22 PM
Two servers are up, both run the patch. One runs on port 10052, and the other on port 6600. The other computer is running a trial version of Windows XP, or at least that's what it thinks because I got the exact same copy with my Medion.

Also, the patch (as of now) just connects to servers running on different ports. It doesn't yet allow multiple servers. I'm going to be working on this later... much later.

Grytolle
Jun 14, 2006, 02:13 PM
No, it won't. Get a better modem or a router.It might if you can select ports yourself, yes.

DaPete10
Jun 14, 2006, 03:15 PM
Alright, portswitching program is now out until I manage to patch up the JJ2 exe so that it can host multiple servers.

Blubberfish.exe, without the Blubberfish hack. (http://unknown.hcs64.com/stupcarp/PortSwitcher.exe)

Also, screenshot of blubberfish:
http://unknown.hcs64.com/stupcarp/blubberfish.PNG

DaPete10
Jun 15, 2006, 06:12 PM
The Blubberfish patch has been deemed useless thanks to the new Carpfish patch, which allows servers to run while minimized. The project will still be called Codename Blubberfish.

The -CARPFISH- Instagib server is running the Carpfish patch at about 20% on the server, whereas the usual usage is 99%.

EvilMike
Jun 15, 2006, 09:42 PM
I joined the -CARPFISH- server and got an amnesia error. It also took an unusually long time to download the level (happy jungle). I was able to connect on my second attempt.

DaPete10
Jun 15, 2006, 09:53 PM
I forgot to mention that I also run various filesharing programs on my computer so it might be a bit laggy for the main server. Anyways, AB7CTF pack is now running on the server. I will be adding more packs tommorow since I have the time then.

Grytolle
Jun 16, 2006, 02:16 AM
Alright, portswitching program is now out until I manage to patch up the JJ2 exe so that it can host multiple servers.

Blubberfish.exe, without the Blubberfish hack. (http://unknown.hcs64.com/stupcarp/PortSwitcher.exe)

Also, screenshot of blubberfish:
http://unknown.hcs64.com/stupcarp/blubberfish.PNGI suggest you keep it as a 3rd party program, or make the patchs so they can be applied on top of Dizzy's future patchs

Grytolle
Jun 16, 2006, 02:41 AM
Btw UF, to complete your program:
alias hostport {
if $jj2ver == 1.23 {
if $1 == $null return $jj2read(4CD440)
else poke 4CD440 $1 | return Hosting port was changed to $1
}
if $jj2ver == 1.24 {
if $1 == $null return $jj2read(4C95E4)
else poke 4C95E4 $1 | return Hosting port was changed to $1
}
}

alias listconnectport {
if $jj2ver == 1.23 {
if $1 == $null return $jj2read(4CD444)
else poke 4CD440 $1 | return List connection port was changed to $1
}
if $jj2ver == 1.24 {
if $1 == $null return $jj2read(4C95E6)
else poke 4C95E6 $1 | return List connection was changed to $1
}
}

alias serveradditionport {
if $jj2ver == 1.23 {
if $1 == $null return $jj2read(4CD448)
else poke 4CD448 $1 | return Server addition port was changed to $1
}
if $jj2ver == 1.24 {
if $1 == $null return $jj2read(4C95E8)
else poke 4C95E8 $1 | return List connection was changed to $1
}
}

DaPete10
Jun 16, 2006, 01:49 PM
Blubberfish is now out. I decided to release it because I thought it would help servers from melting down while the game is running (e.g., Battle Server).

Fetchez la vache! (http://www.jazz2online.com/J2Ov2/downloads/info.php?levelID=4233)

DaPete10
Jun 27, 2006, 10:06 AM
IT'S BACK

Blubberfish v1.1 is now released!

New stuffles included in this release:

* A spiffy new icon (a parody of PC's)
* Download blocker! Because WPE filters are stupid.
* EXTREMELY EXPERIMENTAL AND UNSTABLE patch that allows joins/parts to be sent to the spy window. So far, every single test has resulted in the patch working, but JJ2 crashing. If anyone knows how to fix this let me know.

Get your copy here! (http://unknown.hcs64.com/bf/)

</cheesy salesman-like post>

DaPete10
Jul 19, 2006, 12:18 PM
1.2 is coming soon.

In addition to having mostly working online cooperative play, you can also have this:

http://jamclx.ath.cx/j2nsm/yabbfiles/Attachments/800x400.JPG

Sweeeeeeeet.

(1.2 is going to be the last version of Blubberfish. I'm going to be working on something else when it is complete.)

Camou
Jul 19, 2006, 12:54 PM
That's great =D

Pako
Jul 19, 2006, 01:18 PM
[image]
:eek:... *starts drooling* Is there a release date? (Apart from "When it's done")

DaPete10
Jul 19, 2006, 04:29 PM
Alrighty, here goes nothing.

The Resolution Fix makes JJ2 way past unstable, so I have to warn you now, it is likely going to be labled with a warning. The way I currently use it is to play Single Player mode, and it's pretty much impossible to have the game fully playable online, considering that the game crashes 5 seconds in. The advice I have is to patch out the glow effects, back up your registry and turn off textured backgrounds. The registry backup is needed as if JJ2 is shut down normally after tweaking the settings, the entire thing will die when the gameloop starts. If I do manage to fix these bugs, it's going to be hell.

The Coopfix that is currently in development along with the resfix isn't going to be released until every single boss in the game has its code patched. Also, it is impossible for the server to manage the hurt events that the other players suffer, so it is most likely going to require a hard-coded patch. C:B is all soft-coded patching, meaning that the patches clear once JJ2 restarts, but when it's hard-coded, you're stuck with it, bubba. Unlike the bosses and Area End fixes, the only thing that will be needed to hard-coded is the healthfix. I might decide to leave it out in the end. I guess you guys remember Tails from Sonic 2? Well, he can take all the damage he wants but he never suffers for it. Even when he dies.

Last but not least, personal attacks are the best way of insulting people. Because that's the only way you can do it.

Oh, I forgot the image of the latest build. So here it is!

http://unknown.hcs64.com/bf/BF_July19_20-32_2006.JPG

Pako
Jul 20, 2006, 01:06 AM
There must be an option for backing up the registry.

DaPete10
Jul 20, 2006, 05:57 AM
Sorry, this program is written in TMK, which is oh so limited. I'd port it over to C++, but I'm too lazy.

DaPete10
Jul 27, 2006, 01:43 PM
This project has been abandoned for reasons I cannot say here without avoiding the use of personal attacks.

TMK Final Build (http://unknown.hcs64.com/bf/CB_TMK.zip)
C++ Final Build (http://unknown.hcs64.com/bf/CB_C.zip)

Stijn: Link removed.

Speeza
Jul 27, 2006, 02:39 PM
:(.i thought this would be a solution for me to host.
now its abandoned :(

Derby: Filter bypass removal. Let the filter do its work.

DaPete10
Jul 27, 2006, 04:14 PM
I'd like to say now that the link removal was totally unneeded, stijn.

Stijn
Jul 27, 2006, 04:55 PM
I'd like to say not and have PM'ed you with the reason why.