Jump to content

  • Curse Sites
Become a Premium Member! Help
Latest News Article

[1.4.6] Durability Warning


  • Please log in to reply
88 replies to this topic

#1

Sunlis
    Sunlis

    Carpenter

  • Members
  • 54 posts
  • Minecraft: Sunlis
  • Xbox:Sunlis

Posted 21 October 2011 - 11:17 AM

DOWNLOAD
v2.4.6 (for MC 1.4.6)
Download (Mediafire)


Keep forgetting to look into the font size thing, but I did find this mod. They've done the hit number thing way better than I have, so I recommend you guys check it out. The only downside is that it requires Forge.
If you want to use his numbers, then use the second download link (No add-on) to get just the main mod (chat messages) without the hit numbers.



SUMMARY
This mod will spam your chat when your current tool is about to break, so that you can repair it and save materials. This mod does not require modloader, and it works in SSP as well as SMP.


CONFIG
The configuration file (durabilitywarning.txt) is fairly simple, here's the default file:
Spoiler:

Tool types are pretty self-explanatory.
A false multiline will give you a 1-line warning instead of a 3-line warning.
Warnings! =D You can specify warning points (5, 75%) and warning ranges (10-5, 50%-40%). These must be separated by a comma. Spaces don't matter, they're ignored anyway.


EXTENSIONS
Note: Since 2.2.5, add-on(s) will be packaged with the main mod.


OTHER
NOTE: This mod does not, in any way, modify the durability of your tools. It is simply a warning system for those of us on auto-pilot when digging/mining/etc.

Previous Versions:
Spoiler:


Register or log in to remove.

#2

Operative2259

Posted 21 October 2011 - 11:24 AM

Thanks for the mod.  Effective and simple.

#3

TheColorMan
  • Minecraft: TheColorMan

Posted 21 October 2011 - 11:26 AM

Now this is a modification!

Nice work making that can work for any situation!
Ich spreche keinen Deutsch! :<

#4

SeptimusH

Posted 21 October 2011 - 11:39 AM

You can't repair yet... Only in 1.9
Posted Image

#5

Punchyfist

Posted 13 November 2011 - 02:35 AM

Servers with the McMMO plugin don't work, when you go to repair a tool, the game crashes... :/

#6

Sunlis
    Sunlis

    Carpenter

  • Members
  • 54 posts
  • Minecraft: Sunlis
  • Xbox:Sunlis

Posted 13 November 2011 - 04:49 AM

Odd... I play on a MCMMO server. Oo

Could you PM me any details?

#7

Neon_ColorsFTW22
  • Minecraft: NeonColorsAero

Posted 13 November 2011 - 07:09 AM

When i try to edit the durabilitywarning (config file) thats in the .minecraft folder the line

# line colours. does not show up bug maybe?

Posted Image


#8

Disturbed0ne
  • Location: PA, USA
  • Minecraft: Disturbed0ne

Posted 13 November 2011 - 07:19 AM

View PostSeptimusH, on 21 October 2011 - 11:39 AM, said:

You can't repair yet... Only in 1.9

I repair my tools all the time in 1.8.1 Posted Image

You don't know how to do it?!?

#9

Sunlis
    Sunlis

    Carpenter

  • Members
  • 54 posts
  • Minecraft: Sunlis
  • Xbox:Sunlis

Posted 13 November 2011 - 07:53 AM

View PostNeon_ColorsFTW22, on 13 November 2011 - 07:09 AM, said:

When i try to edit the durabilitywarning (config file) thats in the .minecraft folder the line

# line colours. does not show up bug maybe?

Any line that starts with a # is a comment, which is ignored by my parser. Those are just there for your benefit.
Do the other lines ("welcome", "loaded", etc.) show up?

It's not a huge deal, since they all default to white even if you don't have those lines in the config file.


I should really document that file better....

#10

The Benolds
  • Minecraft: The Benolds

Posted 13 November 2011 - 08:19 AM

Looks like a great mod, brilliantly simple

Installation? Do we just Drag+drop into the .jar?

Oh, and could you code it to include Armour as well?
That would be the next step for it :)

Great work so far!

Posted Image


#11

SirPigman

Posted 13 November 2011 - 08:41 AM

Great mod! But as The Benolds said, you should do it for armor as well!

#12

Neon_ColorsFTW22
  • Minecraft: NeonColorsAero

Posted 14 November 2011 - 04:30 AM

View PostSunlis, on 13 November 2011 - 07:53 AM, said:

Any line that starts with a # is a comment, which is ignored by my parser. Those are just there for your benefit.
Do the other lines ("welcome", "loaded", etc.) show up?

It's not a huge deal, since they all default to white even if you don't have those lines in the config file.


I should really document that file better....
No they do not show (welcome loaded and the other ones) it just shows's everything but not that

Posted Image


#13

Rishto
    Rishto

    Tree Puncher

  • Members
  • 26 posts

Posted 26 November 2011 - 03:53 PM

View PostPunchyfist, on 13 November 2011 - 02:35 AM, said:

Servers with the McMMO plugin don't work, when you go to repair a tool, the game crashes... :/


It's just you man :( Works fine for me
Posted Image

#14

GlobalStorm
  • Location: Germany

Posted 26 November 2011 - 04:01 PM

Nice mod. :)

#15

Cap
    Cap

    Stone Miner

  • Members
  • 80 posts

Posted 13 December 2011 - 06:59 PM

Just wanted to thank you for the effort that went into authoring the mod.  It works very well.

As a request for a future features, perhaps you could add some method of identifying the current number of available uses?  Perhaps an optional numeric display on the tool icon, or perhaps a key-press that announces the remaining uses on the currently wielded item.

Thanks!

#16

Sunlis
    Sunlis

    Carpenter

  • Members
  • 54 posts
  • Minecraft: Sunlis
  • Xbox:Sunlis

Posted 13 December 2011 - 07:40 PM

View PostCap, on 13 December 2011 - 06:59 PM, said:

Just wanted to thank you for the effort that went into authoring the mod.  It works very well.

As a request for a future features, perhaps you could add some method of identifying the current number of available uses?  Perhaps an optional numeric display on the tool icon, or perhaps a key-press that announces the remaining uses on the currently wielded item.

Thanks!

My main goal with this mod was to make it very compatible and low-impact. I believe I've done so by only modifying a single MC class, and only modifying two methods in that class. However, I've been considering adding additional functionality to it, such as a GUI or other things to make it easier to use in general. Your "hit indicator", as I will call it, would fit under that category as well.

I would like to try to add these as optional "expansions" - a class or two that you can substitute or (ideally) a toggle in the settings file to get that particular feature, while still modifying as few classes as possible (ideally, still just one). It's a task that I've wanted to try to tackle for a while now, and I'm hoping that I can find the time to do so soon - perhaps over the holiday break coming up in a few weeks.

All of that being said, I will surely see what I can do about implementing your feature requests. The button press option seems more compatible with my current system, but I would really like to see a hit indicator, as figuring that out would open a lot of doors for this and any other mods I decide to work on.

#17

Sunlis
    Sunlis

    Carpenter

  • Members
  • 54 posts
  • Minecraft: Sunlis
  • Xbox:Sunlis

Posted 14 December 2011 - 03:16 AM

(Whoops, double post!)

#18

Sunlis
    Sunlis

    Carpenter

  • Members
  • 54 posts
  • Minecraft: Sunlis
  • Xbox:Sunlis

Posted 14 December 2011 - 03:28 AM

DW: Hit Number
Posted Image
Adds a number showing hits remaining to your tools.
v0.1 - still a little ugly, I'm working on making it look nicer
Adf.ly (Mediafire)
Mediafire
Adf.ly (Ge.tt)
Ge.tt

#19

Cap
    Cap

    Stone Miner

  • Members
  • 80 posts

Posted 27 December 2011 - 09:38 PM

View PostSunlis, on 14 December 2011 - 03:28 AM, said:

DW: Hit Number
Posted Image
Adds a number showing hits remaining to your tools.
v0.1 - still a little ugly, I'm working on making it look nicer
Adf.ly (Mediafire)
Mediafire
Adf.ly (Ge.tt)
Ge.tt


Was doing my periodic update check and realized that I failed to post a thank you note for this additional functionality.  

It is working great.

Thanks again for your work!

#20

Sunlis
    Sunlis

    Carpenter

  • Members
  • 54 posts
  • Minecraft: Sunlis
  • Xbox:Sunlis

Posted 27 December 2011 - 09:42 PM

View PostCap, on 27 December 2011 - 09:38 PM, said:

Was doing my periodic update check and realized that I failed to post a thank you note for this additional functionality.  

It is working great.

Thanks again for your work!

If you set the updatenotify property in durabilitywarning.txt to true, then you'll get a message in MC when there's an update for the mod available. =)