Jump to content

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

[MOD] McMod :: UPDATED TO 1.2_02 :: Scriptable mod framework


  • Please log in to reply
49 replies to this topic

#1

Tekkn0logik

Posted 08 January 2011 - 07:52 AM

Download the latest build (r74) of McMod here - now compatible with MC Beta 1.2_02!

Even newer: source code up at Google Code

Intro
McMod is a project that a friend and I have been working on for the past week or so. It's a 'mod', but not in the mold of already existing mods. Rather, it's a modified Minecraft loader that uses the ObjectWeb ASM bytecode manipulation framework to modify its classes at runtime (injecting 'get' and 'set' methods for identified fields), allowing custom modifications to be built using an easy-to-use API for end users.

Soo... in English please?
All this is powered by an auto-updater, which runs in seconds. So, mods that use our API will be instantly compatible with new Minecraft client versions. That is, if stuff doesn't break. Which it shouldn't. At least, I hope not.

What's implemented?
As of today, January 8 2011, we have the following mods implemented as base/test mods:

    [*:2lavgfuv]Item spawning and inventory clearing
    [*:2lavgfuv]Constant daytime (never turns night)
    [*:2lavgfuv]Flying and speed increase cheats
    [*:2lavgfuv]'Super farmer' option which teleports mobs to you and kills them so you can get resources
    [*:2lavgfuv]Invincibility (can't get hurt, die from falling, or drown)
    [*:2lavgfuv]OpenGL render callback (string drawing, UI components, etc)

Those are all cheats! What about creative mods?
Our API will also include functions for creating and modifying new block types and changing game mechanics. And, in the event we don't have something, you can always directly get it from Minecraft using our interface.

Well, how can I help?
To quote the other developer, Alkaline,

"Anything that the mod doesn't have, please request for it to be added and we will add it in there as soon as we possibly can. To aid in the hooks being added faster, you could tell us how you manually find them, or just give us the current field(s)/method(s). Then we will find a bytecode pattern to match it."

We want to hear your ideas/questions/comments/concerns/confessions!
We think this is already a pretty decent project, but we want it to be even better. And who better to give us ideas than our future users? If you want to talk to us, you are welcome to join IRC. Or simply post on this thread. That's what it's for.

Screenshots nao pl0x!!
Truth is, there isn't much to screenshot yet. But, I took some anyway.

Posted Image
Title screen special touch

Posted Image
Rendering hackery

Posted Image
Item spawning

Posted Image
Chaos after using super farmer

Posted Image
Fried, or sunny side up? Heck, have 2, we have lots...

That's it. Have fun with McMod and remember to suggest stuff to us, so we can better suit you, the users.

Yours in mining and crafting,
Tekkn0logik
Tekk on IRC.
I'm not a coder, I'm a programmer.
McMod! http://www.minecraft...p?f=25&t=128984

Register or log in to remove.

#2

Piecejr
    Piecejr

    Diamond Miner

  • Members
  • 845 posts
  • Location: Outside your window.
  • Minecraft: Piecejr

Posted 08 January 2011 - 07:56 AM

This looks very cool....
Posted Image

#3

Alkaline
    Alkaline

    Out of the Water

  • Members
  • 3 posts

Posted 08 January 2011 - 08:21 AM

This is the co-writer of McMod, the main beauty of this is that the user will not need to modify the minecraft.jar any at all!  It hides all the down and dirty work from the end user, and allows the end user to just use an elegant API for adding their mods/custom stuff.

#4

FluR0
    FluR0

    Tree Puncher

  • Members
  • 38 posts

Posted 08 January 2011 - 10:54 AM

Highly intrested, would like a beta ASAP

#5

Yosi56
    Yosi56

    Zombie Killer

  • Members
  • 174 posts

Posted 08 January 2011 - 11:23 AM

FluR0 said:

Highly intrested, would like a beta ASAP

what he said  :Turquoise:
:Turquoise:
plz support :D
Posted Image

[simg]http://i.min.us/ievcu8.png[/simg]

#6

Madman_Andre

Posted 08 January 2011 - 11:27 AM

This is literally what Minecraft needs: A streamlined and simplified mod system.

#7

Alkaline
    Alkaline

    Out of the Water

  • Members
  • 3 posts

Posted 08 January 2011 - 02:47 PM

For you guys that got on IRC over the night last night -- from Tekkn0logik and I both, we deeply apologize for our absence.  It was 3am (2am where Tekkn0logik is) when this thread was made, and we kind of fell asleep.  To clear up some of the questions that were asked:

Is it a WIP?
Yep, at the current moment it's a WIP.

Is there a download for it right now?
As of this very moment there isn't one yet, but we plan on putting out a beta as soon as we feel like it has enough hooks to do most of what you want.


Feel free to join IRC and discuss the development, we could really use your ideas for stuff that we'd need to find/add.

#8

iTzzGhutix

Posted 08 January 2011 - 04:28 PM

looks good.
defently gonna test it when released

#9

Shoot12
    Shoot12

    Carpenter

  • Members
  • 40 posts

Posted 08 January 2011 - 04:32 PM

Woaah, this is amazing! Good job! Can't wait for release

#10

FluR0
    FluR0

    Tree Puncher

  • Members
  • 38 posts

Posted 09 January 2011 - 12:30 AM

I should get on irc to ask some questions, that I can't really explain here.

#11

lieutenant54321
  • Location: Toronto
  • Minecraft: lieutenant54321
  • Xbox:ScrewXboxGoPC

Posted 09 January 2011 - 12:36 AM

:GoldBar: Can't wait for this!
Asus M4A89GTD PRO/USB3 | AMD Phenom II X6 1090T | Sapphire Radeon HD 6870 | 1TB WD Caviar Black | Intel 520 240GB SSD | Corsair H70 push-pull | Antec P280 White Windowed

#12

Club559
    Club559

    Obsidian Miner

  • Curse Premium
  • Curse Premium
  • 1344 posts
  • Location: A little west of somewhere.
  • Minecraft: Club559

Posted 09 January 2011 - 01:03 AM

I'm banned from IRC? Wtf?
None.

#13

flying sheep
  • Minecraft: flying-sheep

Posted 09 January 2011 - 01:21 AM

really cool!
could it infuse stuff like depth-of-field (which replaces big parts of the renderer) and better light, too?
Posted Image

#14

Tekkn0logik

Posted 09 January 2011 - 04:32 AM

Club559 said:

I'm banned from IRC? Wtf?

Channel ban list is empty, only thing I can think of is that you were auto-banned from the network for being on an infected computer or behind a proxy.

flying sheep said:

really cool!
could it infuse stuff like depth-of-field (which replaces big parts of the renderer) and better light, too?

Yea, but we haven't done that yet. We plan to leave that up to the more creative people who will create mods for it :Zombie:
Tekk on IRC.
I'm not a coder, I'm a programmer.
McMod! http://www.minecraft...p?f=25&t=128984

#15

flying sheep
  • Minecraft: flying-sheep

Posted 09 January 2011 - 02:00 PM

and what about setting up a open source project (as soon as you feel it is useable)?
i mean on github, sourceforge or google code or sth.
Posted Image

#16

Telgar
    Telgar

    Obsidian Miner

  • Members
  • 1204 posts
  • Location: In World 4

Posted 09 January 2011 - 02:11 PM

This sounds fantastic. Bookmarked for future goodness.

Posted Image


#17

msmit71
    msmit71

    Retired Staff

  • Retired Staff
  • 1824 posts

Posted 09 January 2011 - 02:43 PM

Would it be possible to use this on a modded .jar?
Will pre-existing mods need to be updated to use this?
And most importantly, will this be multiplatform?
Thanks!

#18

Club559
    Club559

    Obsidian Miner

  • Curse Premium
  • Curse Premium
  • 1344 posts
  • Location: A little west of somewhere.
  • Minecraft: Club559

Posted 09 January 2011 - 02:58 PM

Quote

[07] -cafe.strictfp.com- *** Banned Temporary K-line 10080 min. - [Someone67] Ban evasion (2011/1/5 13.12)

First off, who's Someone67? Second, what is 'ban evasion' and why am I banned for it?
None.

#19

Tekkn0logik

Posted 09 January 2011 - 03:41 PM

flying sheep said:

and what about setting up a open source project (as soon as you feel it is useable)?
i mean on github, sourceforge or google code or sth.

I am working on that right now.

Telgar said:

This sounds fantastic. Bookmarked for future goodness.

Thanks.

msmit71 said:

Would it be possible to use this on a modded .jar?
Will pre-existing mods need to be updated to use this?
And most importantly, will this be multiplatform?
Thanks!

It might, but it probably won't be as stable. Pre existing mods will need to be updated to use our API instead of modified obfuscated code. And yes, it's Java so yes it will be multiplatform.

Club559 said:

Quote

[07] -cafe.strictfp.com- *** Banned Temporary K-line 10080 min. - [Someone67] Ban evasion (2011/1/5 13.12)

First off, who's Someone67? Second, what is 'ban evasion' and why am I banned for it?

We had someone evading bans on IRC and banned their IP range. Turns out it got you too. Sorry, I've fixed it now.
Tekk on IRC.
I'm not a coder, I'm a programmer.
McMod! http://www.minecraft...p?f=25&t=128984

#20

simo_415
    simo_415

    Glowstone Miner

  • Members
  • 3046 posts

Posted 09 January 2011 - 03:58 PM

Is there also a way to overwrite methods at runtime? Rather than just getting and setting fields? If there is, or you plan to add that in, that would be very awesome.