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 ➜ Plugins ➜ The Final Challenge Plugins

The Final Challenge Plugins

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


Posted by Wuggly   USA  (112 posts)  Bio
Date Sun 20 Mar 2016 07:47 AM (UTC)

Amended on Mon 04 Jul 2016 12:13 PM (UTC) by Wuggly

Message
Figured I might as well add what I have created so far.

Link to all my plugins:
https://wiki.tfcmud.com/index.php/Tools#Tools

Here is a list of the plugins I have created so far and am still currently working on and updating.

Auto door opener/unlocker
- Simple script to automatically open doors for you and if locked, tries unlocking them.

MSDP Prompt bars
- Draggable Live Health/Mana/Move/Enemy bars from the MSDP GUI.

MSDP Sidebar
- Has many features, see the plugins page for details.

TFC Maps (and TFC Maps patch for MSDP GUI plugin).
- View every map from the wiki in-game. Contains 137 maps. Keep in mind it does not have maps for every area, these are just the ones other players have taken the time to make and upload.

That is all for now.

UPDATE: Big half-update coming for the MSDP-Sidebar.
- New interactive settings menu.
- More customization options.
- New plugin updater.
Screenshot: http://prntscr.com/bomurr

Keep an eye out for v2.5
Top

Posted by Nick Gammon   Australia  (23,133 posts)  Bio   Forum Administrator
Date Reply #1 on Sun 20 Mar 2016 07:59 PM (UTC)
Message
Thanks for that. Just a suggestion: If you get a free GitHub account you can upload your code to that. It makes it easy for people to see if you make changes (and to suggest their own), and is a site that is less likely to go down.

You can make each plugin its own repository, or make one repository and put them all in it. The latter might be easier if you are just uploading from your plugins directory.

- Nick Gammon

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

Posted by Wuggly   USA  (112 posts)  Bio
Date Reply #2 on Sat 26 Mar 2016 02:45 PM (UTC)

Amended on Sat 26 Mar 2016 02:47 PM (UTC) by Wuggly

Message
I gave it a solid try with github, but I guess I'm just not willing to learn all that is required for that place.

Uploading the files were next to impossible on there for me. I figured out how to make folders and was uploading each file one at a time then renaming each file so I could move them into the appropriate folders, but that became very time consuming so I ended up deleting all of that.

Next I downloaded the github program, placed my projects into the github folder, made a repository called MUSHclient-Plugins, and placed all of my plugins into that and clicked publish. It created the folder with the .gitignore .gitattributes and a .git folder with other folders and files like hooks, info, logs, objects, etc.. but didn't upload any of my plugins.. or folders that I had inside the MUSHclient-Plugins folder.

It seems much easier just to upload them in a zip file like I have been doing. So major props to the people who use github effectively but it's just too much for me to figure out.

Before using github, I tried using dropbox, and that turned into a mess as well. When I installed dropbox, I was very careful to make sure I didn't install any kind of offers yet I still ended up getting ransomware installed onto my pc which I had to clean back out.

Know of any simpler sites? I would like to use something like github, just much less complicated because I would like to add an auto-updater into my plugins so players on this MUD would only have to download the plugins once.

I accomplished this with dropbox, but after that infection I'm not messing with that place anymore.

Basically what I did was adapt this plugin updater to my plugins.
https://dl.dropboxusercontent.com/u/65599194/html/Plugins_Updater_v2_plugin.html
Top

Posted by Nick Gammon   Australia  (23,133 posts)  Bio   Forum Administrator
Date Reply #3 on Sat 26 Mar 2016 09:03 PM (UTC)

Amended on Mon 28 Mar 2016 04:49 AM (UTC) by Nick Gammon

Message
It's very simple to use GitHub. I do it all the time when uploading a new plugin or code for the Arduino.

First, locally, you set up a repository. Using a "Git Bash Shell" you do this:


cd '/c/Program Files/MUSHclient/worlds/plugins/myplugins'
git init      # initialize Git in this folder
git add *.xml # add your plugin(s) 
git commit -m "Initial commit"


You get the Git Bash shell when you install Git for Windows.

The first time you try to commit you will probably be prompted to enter your name and email:


git config --global user.name "Your Name"
git config --global user.email yourname@your-email.com


Even if you don't use GitHub this is very useful to track changes. Now if you change anything in your plugin you can type:


git diff


And you will see what lines have changed. To commit those changes:


git commit -am "Bug fix"


The -a means "add changed files" and the "m" is for a commit message.

Now go to GitHub and create a new repository. They are free for public projects. Call it the same as your directory on your home PC.

Back to your command line on your Windows PC, you now type:


git remote add origin git@github.com:YOURNAME/myplugins.git
git push -u origin master


(GitHub actually suggests these lines with your username and repository name filled in for you).

Voila! Your code is now on GitHub! You can go back to the GitHub site and check.

In the future, when you make changes, after you commit them, you just type:


git push


And the changes are pushed to GitHub.

Example tutorial The Perfect Workflow, with Git, GitHub, and SSH

- Nick Gammon

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

Posted by Wuggly   USA  (112 posts)  Bio
Date Reply #4 on Sun 27 Mar 2016 09:10 AM (UTC)

Amended on Mon 28 Mar 2016 04:51 AM (UTC) by Nick Gammon

Message
Well, that was simple enough. Thanks for the clear instructions.

Only thing I didn't add to it was my Maps plugin as there are many images to upload and I'll have to do it in sections as my ISP likes to disconnect my internet for 10 minutes if I upload any more than 50 files at once and I have ran out of time for the day.

No idea why they do that, and yes it is very annoying, just one of the many, many downsides to using satellite internet. Ah how I miss living in the city having cable internet with unlimited bandwidth.

Here's where my github is:

https://github.com/TFC-Fumino
Top

Posted by Nick Gammon   Australia  (23,133 posts)  Bio   Forum Administrator
Date Reply #5 on Sun 27 Mar 2016 08:44 PM (UTC)
Message
Looks good. :)

- 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.


19,812 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.