MUSHClient 3.25 Doesn't Save Port

Posted by Kelston on Sat 07 Sep 2002 05:23 PM — 6 posts, 20,476 views.

#0
My MUSHClient v3.25 seems to refuse to save the port address on any world if the port address is greater than 4 digits.

I have to manually type in the port everytime to connect to 204.176.33.70:34283 (Dragon's Gate).
Australia Forum Administrator #1
I'll fix that in the next version - I think I limited it to 9999.
Australia Forum Administrator #2
The problem is actually that the port number is greater than 32767, the maximum for a signed integer.

It was writing it to the world file as:

port="-31253"

You could edit your world file (with a text editor) and change that line to:

port="34283"

Unfortunately that change will be lost if you save the world again, however that might be a short-term workaround.

It will be fixed in 3.27 to write it out correctly.
USA #3
I am using Mush 3.26 now, and I am having the same trouble on my Laptop, with the port being reset to 4000 every time i save it (i turned off autosave on exit), but my PC at home doesnt have this problem at all, running the same version. It's set to autosave on exit, plus i save it several times per session just because i am OCD like that, and it always remains the same. Incidentally, i am playing the same game as Kelston; it's that same port 34283.

The laptop is running WinXpPro, and the PC is WinME, i can't think of any other major differences between the two. The world files are identical on the two machines.

-Brian

PS - Heya Kel
Australia Forum Administrator #4
It should definitely fail in 3.26 - since it saves it as a negative number it will revert to the default of 4000. I can't explain why it works on one PC but not the other, the only explanation being that maybe if the world file hasn't changed it isn't really being saved.
USA #5
Terribly sorry to post bad info, but indeed i do have the same problem on the PC. I only recently upgraded to 3.26 from 3.17 so maybe i just hadnt saved the world on it yet.

PS - Is it possible to change one's PW for this forum?

-Brian