Jump to content

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

[1.2.3] WDMods - Creepers, sneak and chat.


  • Please log in to reply
2332 replies to this topic

#1

wd1966
    wd1966

    Stone Miner

  • Members
  • 71 posts

Posted 10 January 2011 - 06:18 PM

*
POPULAR

A little bunch of mods I hope you will like.

- Neutral Creeper:
Don't touch him and he won't touch you.
Version 1.2.3
Old versions:
Version 1.8.1
Version Beta 1.7.(2|3)
Version Beta 1.6.6
Version Beta 1.5(_01)

- Careful Creeper:
Creepers explosion doesn't damage the world.
Version 1.2.3
Old versions:
Version 1.9_4
Version 1.8.1
Version 1.7.3
Version 1.7.2
Version Beta 1.6.6
Version Beta 1.5(_01)
Version Beta 1.4_01
Version Beta 1.4
Version Beta 1.3_01
Version Beta 1.2(_01,_02)
Version Beta 1.1_02

- Peaceful Creeper:
You can finally hug a Creeper without the fear that he will explode in your face.
Version 1.2.3
Old versions:
Version 1.8.1
Version 1.7.(2|3)
Version 1.6.6
Version Beta 1.5(_01)
Version Beta 1.4_01
Version Beta 1.4
Version Beta 1.3_01
Version Beta 1.2(_01,_02)
Version Beta 1.1_02
This is updated version of this mod

- Thoughtful Enderman:
Enderman still picks up the blocks, but without damaging the world.
Version 1.2.3

- Improved chat: Improved Chat 2.5.1 for 1.2.3
Features:
Movable cursor - move through typed text with left and right arrow(if you hold ctrl you'll skip words)
Copy and Paste - use ctrl-C, ctrl-V to copy and paste text
Browse past commands - use up and down arrow keys to pass through past messages
Scroll chat history - using pageUp, pageDown or mouse wheel allows you to scroll through the chat history
Clear chat history - ~clear
Disable and re-enable chat - type ~stop and ~start respectively
Change color and opacity of the chat box:
~bgColor color color can be red, blue,  green ,yellow, gold,..
(read .minecraft->mods->wd1966->colors.txt for more and edit it if you know what are you doing).
~bgOpacity val val is between 0 and 100.
Bind text(commands) to keys - usage: ~bind <ctrl-><shift->Key text
This simply binds a line of text to a button, so when you press that button you will send that line to server.
If last character in line is \, text will appear in chat box so you can edit it.
Make variables ~var <name> <regex>
You can now make variables to be used in your chat.
To make a variable you simple type ~var <name> <regex> where regex is a regular expression.
Improved chat will scan the incoming text for regex and if it finds it that value will be stored in the variable.
You can later use that variable by typing $ before variable's name or if you wish to make a binding that will automatically replace variable use apostrophe. Example: ~bind r ~(/msg '$playerMsg' )\
Use constants - You use them the same way you would variables but they can not be changed and the are read from vars.txt file in .minecraft directory.
Text prefix ~(prefix)text
If your text will break in more lines prefix will appear in the beginning of all that lines.
Line processing (rules)
You can now process incoming, outgoing and displayed lines.
Format: ~input, output, display <regex>\n<repl> where regex is a regular expression to be searched and repl is replacement string.
Colors in text &c<n> where n is in 0-9 or a-f
While you can not send colored messages, you can color incoming and displayed lines.
Color end tag: /&c
Run scripts: ~script <scriptName>
List variables, input, output and display rules or key bindings ~list type
Delete variable, input, output and display rule or key binding ~delete type id
Move rules ~move type from to
[*]Translate ~translate lang1->lang2

Change Log:
Spoiler:

Note: I know that most people don't know how to use regular expressions so i will keep a list of useful commands in post that is two posts down.

Old versions:
Improved Chat 2.4.8 for 1.8.1
Improved Chat 2.4.7 for Beta 1.7.3
Improved Chat 2.4.6 for Beta 1.6.6
Improved Chat 2.4.4 for Beta 1.5(_01)
Improved Chat 2.4.3 for Beta 1.4_01
Improved Chat 2.4.1 for Beta 1.4
Improved Chat 2.3.5 for Beta 1.3_01
Improved Chat 2.2.0 for Beta 1.2(_01,_02)
Version Beta 1.2_01
Version Beta 1.1_02

Original idea is by TyrOvC

- Chat Logger:
Config file is .minecraft->mods->wd1966->ChatLogger.conf
Parameter destination should contain path to a log file.
Parameter format describes the way the line should be formated before appending them to log file.
Examples:
line is <Username> Hello World
    [*:2bn8y5tj]H:mm a '-' $line'\n' = 8:54 am - <Username> Hello World
    [*:2bn8y5tj]H:mm a '-' $line'\r\n' same as above but with linebreaking for windows.
    [*:2bn8y5tj]EEE, d MMM yyyy HH:mm:ss Z: $line'\r\n' = Wed, 4 Jul 2001 12:08:56 -0700: <Username> Hello World
Version Beta 1.5
Version Beta 1.4(_01)
Version Beta 1.3_01
Version Beta 1.2(_01,_02)
Version Beta 1.1_02
By installing it all chat will be logged into the chatlog.txt

IV - Toggle-able Sneak:
This enables you to toggle sneak mode by pressing the sneak button so you don't have to keep it pressed.
Version 1.2.3
Old versions:
Version Bera 1.8.1
Version 1.7.(2|3)
Version 1.6.6
Version Beta 1.5(_01)
Version Beta 1.4(_01)
Version Beta 1.3_01
Version Beta 1.2(_01,_02)
Version Beta 1.1_02

Have fun.

Register or log in to remove.

#2

ClowneN
    ClowneN

    Carpenter

  • Members
  • 58 posts

Posted 10 January 2011 - 08:28 PM

It doesn't seems to work with Zan's minimap?

#3

wd1966
    wd1966

    Stone Miner

  • Members
  • 71 posts

Posted 10 January 2011 - 08:40 PM

Some examples to be used with Improved chat:

To add > to beginning of lines(there is a space at the end):
~display ^\n>
Or if you are a linux lover:
~display ^\n$

To open text chat with starting tilde:
~bind grave ~\
To open text chat with starting slash:
~bind slash /\

How-to make quick replay button
I. Scan the incoming line for player name:
    [*:m3x9nw7m]if format of the incoming message is like: (MSG) Message
    use:~var playerMsg (?<=^\(MSG\) <).*?(?=>)
    [*:m3x9nw7m]if format of the incoming message is like: [ -> Me] Message
    use: ~var playerMsg (?<=^\[).*?(?= -> Me])
II. Make a key binding that will open chat boc with that player name:
    [*:m3x9nw7m]Simplest solution: ~bind r /msg $playerMsg \
    [*:m3x9nw7m]If you wish to see the name automatically:  ~bind r /msg '$playerMsg' \
    [*:m3x9nw7m]If you think your message will be too long:  ~bind r ~(/msg '$playerMsg' )\

To make important words display with red color in incoming chat.
~input \bword\b\n&c4word\\&c

#4

wd1966
    wd1966

    Stone Miner

  • Members
  • 71 posts

Posted 10 January 2011 - 09:23 PM

Made it "compatible" with Zan's minimap mod.
And on the side note in this mod there is also included the ability to toggle F3(debug) Key.

#5

birjolaxew
    birjolaxew

    Forum/Wiki Sponsor

  • Members
  • 1583 posts

Posted 10 January 2011 - 09:59 PM

I am very interested in knowing exactly what files you modded to achieve such a result. I attempted to make a similar mod myself, but without success.

Posted Image


Posted Image


Posted Image


Mega Bear said:

Not really a game... just a mass suicide you're inviting people to take part in.

What is this, I don't even

Posted Image

#6

Ilsyde
    Ilsyde

    Iron Miner

  • Members
  • 335 posts
  • Location: UK

Posted 11 January 2011 - 05:06 AM

This is the only way I was able to make this work with Zan's minimap:
1) install this chat mod first
2) install the ModLoader fix using Zan's installer
3) install Zan's minimap
Everthing else results in Minecraft not loading.

However once in-game, shortcuts don't work (mouse wheel, page up/down etc.) and the game freezes after a few seconds:
java.lang.IllegalAccessError: tried to access field ob.e from class dy
	at dy.a(dy.java:192)
	at kr.b(SourceFile:331)
	at net.minecraft.client.Minecraft.run(SourceFile:704)
	at java.lang.Thread.run(Unknown Source)
Hope this helps. Can't wait for a fix :Diamond: Also, please make your mod log/save chat into an expanding text file. Thanks!

#7

wd1966
    wd1966

    Stone Miner

  • Members
  • 71 posts

Posted 11 January 2011 - 01:01 PM

Improved compatibility with ModLoader and Zan's minimap. You'll have to install this mod after them.

#8

Bannanas
    Bannanas

    Redstone Miner

  • Members
  • 632 posts

Posted 11 January 2011 - 01:48 PM

Please tell WHAT DOES IT DO.

-CHEERS!

#9

Pythros
    Pythros

    Gold Miner

  • Members
  • 475 posts
  • Minecraft: pythros

Posted 11 January 2011 - 05:16 PM

I. Love. You. - In a none homo way.


THANK YOU VERY MUCH

Here are 20 internets for you.

Oh a some  :)  :Logs^:  :Logs^:  :Logs^:  :Logs^:  :stone:  :stone:  :stone:
Come join us! We are a fun and family friendly community.
-Owner of ChiRho Entertainment-Posted Image

#10

Ilsyde
    Ilsyde

    Iron Miner

  • Members
  • 335 posts
  • Location: UK

Posted 11 January 2011 - 05:58 PM

Brilliant mod. You're a life saver!

Don't forget to list all the features in your first post, for example the ability to move the cursor while typing using the left or right buttons on the keyboard or that you can copy and paste text to the chat from outside of the game.

#11

wd1966
    wd1966

    Stone Miner

  • Members
  • 71 posts

Posted 12 January 2011 - 06:00 PM

Updated Improved Chat.
Now you can bind commands to keys.
Also line breaking is a little nicer.

#12

Gallion
    Gallion

    Tree Puncher

  • Members
  • 23 posts

Posted 12 January 2011 - 07:38 PM

Link, WAI U NO WORK?
(= Link is broken)

#13

Gallion
    Gallion

    Tree Puncher

  • Members
  • 23 posts

Posted 12 January 2011 - 07:38 PM

Link, WAI U NO WORK?
(= Link is broken)

#14

wd1966
    wd1966

    Stone Miner

  • Members
  • 71 posts

Posted 12 January 2011 - 08:01 PM

Gallion said:

Link, WAI U NO WORK?
(= Link is broken)
You sure? All links seem to be working.

#15

Gallion
    Gallion

    Tree Puncher

  • Members
  • 23 posts

Posted 12 January 2011 - 08:07 PM

Well it's weird. Yes it works. Mediafire was telling me that the URL was wrong.

#16

Gallion
    Gallion

    Tree Puncher

  • Members
  • 23 posts

Posted 12 January 2011 - 09:23 PM

Is it possible to bind function keys or key combinations?

This mod is almighty by the way, thank you very much :cobblestone:

#17

wd1966
    wd1966

    Stone Miner

  • Members
  • 71 posts

Posted 12 January 2011 - 09:35 PM

Gallion said:

Is it possible to bind function keys or key combinations?

This mod is almighty by the way, thank you very much :Notch:

You can bind function keys by entering their name, F4 for instance.
You can also bind text to Home, End, Numpad0, Numpadcomma,...
In short you should be able to bind it to any key.
Key combinations will come in of future releases.

#18

Gallion
    Gallion

    Tree Puncher

  • Members
  • 23 posts

Posted 12 January 2011 - 09:38 PM

Is it possible to bind many commands/text lines to one key? I guess I would have to insert a carriage return or something?

#19

wd1966
    wd1966

    Stone Miner

  • Members
  • 71 posts

Posted 12 January 2011 - 10:01 PM

New version of Improved chat released.
You can now unbind commands.
Color of the message will remain even if it spills in more lines.

Gallion said:

Is it possible to bind many commands/text lines to one key? I guess I would have to insert a carriage return or something?
I don't think it will work, but I haven't tested it.
I will look into that tomorrow.

#20

googie2149
    googie2149

    Lapis Lazuli Collector

  • Members
  • 1056 posts
  • Location: Why do you need to know where I live, STALKER! By the way, where do you live?
  • Minecraft: Googie2149

Posted 12 January 2011 - 10:11 PM

Yeah, I'm pretty sure I'm going to like this.
I don't see a signature here... Nope.