Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ MUSHclient ➜ Bug reports ➜ MUSHClient 3.25 Doesn't Save Port

MUSHClient 3.25 Doesn't Save Port

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Kelston   (2 posts)  Bio
Date Sat 07 Sep 2002 05:23 PM (UTC)
Message
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).
Top

Posted by Nick Gammon   Australia  (23,158 posts)  Bio   Forum Administrator
Date Reply #1 on Tue 10 Sep 2002 05:40 AM (UTC)
Message
I'll fix that in the next version - I think I limited it to 9999.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Nick Gammon   Australia  (23,158 posts)  Bio   Forum Administrator
Date Reply #2 on Tue 10 Sep 2002 11:09 PM (UTC)
Message
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.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Morpheus   USA  (6 posts)  Bio
Date Reply #3 on Wed 11 Sep 2002 11:05 PM (UTC)
Message
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
Top

Posted by Nick Gammon   Australia  (23,158 posts)  Bio   Forum Administrator
Date Reply #4 on Wed 11 Sep 2002 11:17 PM (UTC)
Message
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.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Morpheus   USA  (6 posts)  Bio
Date Reply #5 on Mon 16 Sep 2002 03:07 AM (UTC)
Message
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
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


15,803 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.