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 ➜ General ➜ Making a mud client with MUSHclient

Making a mud client with MUSHclient

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


Posted by Xavious   (41 posts)  Bio
Date Sun 28 Jun 2015 12:40 AM (UTC)
Message
Plugins are awesome for adding functionality for your specific mud in MUSHclient. I'm often surprised with how many added features are available with a little bit of imagination.

I'm interested in creating a custom client for a mud that I play. I would like to find a way to package it so that the user doesn't have to bother installing the plugins themselves. What I initially tried was d/ling a fresh copy of MUSHclient and adding plugins in one at a time and saving the state. I then uploaded it for d/l.

The problem is that it saves the directory address for my specific computer, so if someone else puts the folder in another place, the client will not find the plugins. Is there a way to package a client with the plugins built into it?

I tried searching for this, but didn't find any related forum posts.
Top

Posted by Nick Gammon   Australia  (23,133 posts)  Bio   Forum Administrator
Date Reply #1 on Sun 28 Jun 2015 01:03 AM (UTC)
Message
See: http://www.gammon.com.au/forum/?id=9662&reply=3#reply3

- Nick Gammon

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

Posted by Xavious   (41 posts)  Bio
Date Reply #2 on Sun 28 Jun 2015 04:02 PM (UTC)
Message
This is immensely helpful! Just what I was looking for.

Thanks Nick!
Top

Posted by Xavious   (41 posts)  Bio
Date Reply #3 on Mon 29 Jun 2015 11:26 PM (UTC)

Amended on Mon 29 Jun 2015 11:31 PM (UTC) by Xavious

Message
This worked well for the most part. I noticed that when you quit and save to world, however, it sets the detailed plugin path in the world file (.MCL). This is after modifying the database file like the thread explains.

It still allows me to distribute the client already loaded by going into the world file and changing each plugins location to a relative path (./directory/etc), then saving it. This works great on the first run, but if you save the world it will change that relative path to the full path name again.

I'm curious if there is a way to prevent this from happening. Even moving my client around from one computer to another I have had this issue before. Is there a way to keep it from saving plugins with the full path?

EDIT: Nevermind.. I managed to fix this once I put the plugins in the standard folder. Now it doesn't have a path at all, just the plugin name. I would delete this post, but I don't see the option.
Top

Posted by Nick Gammon   Australia  (23,133 posts)  Bio   Forum Administrator
Date Reply #4 on Tue 30 Jun 2015 02:26 AM (UTC)
Message
I think we took out post deleting because people deleted posts once their question was answered. :)

Never mind, your post might help others.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
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,268 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.