←  Peripherals and Turtle Upgrades

ComputerCraft | Programmable Computers for Minecraft

»

[1.31][SMP] Infestation 0.1.10 - SHOUTcast...

Normalsoo's Photo Normalsoo 14 Mar 2012

I know its just a copy paste from my original minecraft forum thread, so bear with me :mellow:/>.
// Version 0.1.10 is available now! => 14 new Guinea Pig species and more! //
Posted Image
Posted Image
Some random short video showing the In-Game Music Player

Description
Infestation is a Minecraft modification which adds the ability to listen to most SHOUTcast Radio's In-game with other players together or alone (Full SMP support!). There are some other minor new things like furniture or Guinea Pig's too. I'm planning to greatly extend this mod even more in the future with other things I'd like to see Posted Image.

So this is my first Minecraft mod release, I hope you enjoy it and give me some feedback on the way.

Usage
Craft a Stream Player with the wooden planks recipe, place it, right click it, enter your desired SHOUTcast Radio Stream URL *You can find some radios here, right-click on that website on an entity and paste the destination URL in the ingame Stream Player (Best if the URL ends with the ".pls" file extension), then simply click "On" / "Off".

Examples of valid URL's for the Stream Player
the stream must be TYPE MP3 "not" AAC to work
http:// yp.shoutcast.com/sbin/tunein-station.pls?id=SomeRandomID
http:// randomradiostream.com/randomfolder/somefile.pls
http:// otherradiostream.com:80/stream/1024 (directly extracted from a .pls file => "File=" URL's)
*Without the " " whitespace*

You can also craft some random furniture (Generic)
Recipes
Posted ImagePosted Image

Download - Client 0.1.10 for Minecraft 1.2.3
Goo.gl Mediafire
Download - Server 0.1.10 for Minecraft 1.2.3
Goo.gl Mediafire

Download - Client 0.1.10 for Minecraft 1.1
Goo.gl Mediafire
Download - Server 0.1.10 for Minecraft 1.1
Goo.gl Mediafire

(no extended Guinea Pig AI in old Minecraft 1.1 release version)

Installation - Client (Players)
1. Install Risugami's ModLoader 1.2.3
2. Install ModLoaderMP 1.2.3 v3 Client (Dependencies)
3. Install Minecraft Forge (Recommended Client)
4. Extract "mods" and "resources" from the infestation-client-X.X.X.rar into your %appdata%/.minecraft/ directory

Installation - Server (Server Owners)
1. Install ModLoaderMP 1.2.3 v3 Server (Dependencies)
2. Install Minecraft Forge (Recommended Server)
3. Extract the "mods" folder from the infestation-server-X.X.X.rar into your minecraft server directory

ID's
blockIDStreamPlayer=125
blockIDGeneric=126

itemIDGeneric=2438
itemIDGuineaPigThingy=2439
itemIDStreamPlayer=2440
itemIDGuineaPigEgg=2441

entityIDGuineaPig=230
entityIDGuineaPigAbyssinian=231
entityIDGuineaPigAbyssinianSatin=232
entityIDGuineaPigAmerican=233
entityIDGuineaPigAmericanSatin=234
entityIDGuineaPigCoronet=235
entityIDGuineaPigCuy=236
entityIDGuineaPigPeruvian=237
entityIDGuineaPigPeruvianSatin=238
entityIDGuineaPigSilkie=239
entityIDGuineaPigSilkieSatin=240
entityIDGuineaPigTeddy=241
entityIDGuineaPigTeddySatin=242
entityIDGuineaPigTexel=243
entityIDGuineaPigWhiteCrested=244

They can easily be changed via the Infestation.properties file which gets generated after first launch.

ComputerCraft Support
You can also access the StreamPlayer via the the streamplayer API:
--side is any of "left", "right", "back", "front", "bottom", "top"
--volume is a Integer (default 100)
--url is a String to the ShoutCast stream (ex:"http://listen.di.fm/public3/electro.pls")

streamplayer.on(side)
streamplayer.off(side)

streamplayer.getVolume(side)
streamplayer.setVolume(side, volume)

streamplayer.getURL(side)
streamplayer.setURL(side, url)

streamplayer.getInfoTitle(side)
streamplayer.getInfoGenre(side)
streamplayer.getInfoURL(side)
And the StreamPlayer is also supporting ComputerCraft Events:
streamplayer_on
streamplayer_off
streamplayer_setURL with parameter URL
streamplayer_setVolume with parameter Volume
streamplayer_info_title with parameter Title
streamplayer_info_url with parameter URL
streamplayer_info_genre with parameter Genre
Changelog from 0.1.6 to 0.1.9:
=====GuineaPig Changes:=====
+added 14 new species with different sizes, textures and possible modelsupport (one is even so big, you can ride on it *rare*)
+migrated to the new 1.2.3 AI system (they will eat grass and do other stuffs now)
+added cross-breeding
+added child-size model support
+you can now disable guineapig's via the Infestation.properties file (enableGuineaPig=true)
Changelog from 0.1.5 to 0.1.6:
=====Stream Player Changes:=====
~fixed strange drop behaviour
~renamed streamplayer button On/Off to Turn on/Turn off
+added better streamplayer error handling
+added streamplayer notice for AAC type streams
+added streamplayer method getInfoTitle(side)
+added streamplayer method getInfoGenre(side)
+added streamplayer method getInfoURL(side)
+added streamplayer ComputerCraft event streamplayer_on
+added streamplayer ComputerCraft event streamplayer_off
+added streamplayer ComputerCraft event streamplayer_setURL with parameter URL
+added streamplayer ComputerCraft event streamplayer_setVolume with parameter Volume
+added streamplayer ComputerCraft event streamplayer_info_title with parameter Title
+added streamplayer ComputerCraft event streamplayer_info_url with parameter URL
+added streamplayer ComputerCraft event streamplayer_info_genre with parameter Genre
=====Furniture Changes:=====
~fixed strange drop behaviour
And a very big thanks to "Ternomisa" for creating some of the very neat models and textures, "smb3master" (Guinea Pig Egg texture) and everyone who is contributing Posted Image

I hope you like it Posted Image

Permission
You are free to use, decompile, share and repack (modpacks as example) this modification as long it's not commercial Posted Image.

Posted Image
Posted Image
Quote

rockymc's Photo rockymc 14 Mar 2012

I didn't get it right.
Edited by rockymc, 14 March 2012 - 06:33 PM.
Reason for edit:: Yes it is. Do this again and i'll ban you
Quote

Normalsoo's Photo Normalsoo 14 Mar 2012

there could be a problem with playing AAC+ based shoutcast streams at the moment, I'm already working on a solution for that, mp3 type shoutcast streams should work fine :>
Quote

Selkitty's Photo Selkitty 14 Mar 2012

[Redacted]
please delete post
Edited by Selkitty, 14 March 2012 - 05:33 PM.
Quote

Mandrake Fernflower's Photo Mandrake Fernflower 14 Mar 2012

I cannot seem to be able to use this on my server I have installed all works well execpt for the ginny pigs that crash the server when spawned. Can you make a relase with just the player and the furnature?
Quote

Normalsoo's Photo Normalsoo 15 Mar 2012

 Mandrake25, on 14 March 2012 - 10:48 PM, said:

I cannot seem to be able to use this on my server I have installed all works well execpt for the ginny pigs that crash the server when spawned. Can you make a relase with just the player and the furnature?

In the next release (today or tomorrow) it is possible to disable certain features and some new stuff, whats the error message thats lets the server crash :D/>?

I'm now also certain why AAC+ type streams arent working with the default infestation encoding / decoding libraries, cause of AAC+ codec license reasons, so no AAC+ type streams for now, stick with MP3.
Quote

Wolvan's Photo Wolvan 15 Mar 2012

Can you please add a function to read the radio's name and the title of the Song?
Quote

Normalsoo's Photo Normalsoo 15 Mar 2012

 Wolvan, on 15 March 2012 - 03:40 PM, said:

Can you please add a function to read the radio's name and the title of the Song?

Download - Client 0.1.6 for Minecraft 1.2.3
Goo.gl Mediafire
Download - Server 0.1.6 for Minecraft 1.2.3
Goo.gl Mediafire

ComputerCraft Support
You can also access the StreamPlayer via the the streamplayer API:
--side is any of "left", "right", "back", "front", "bottom", "top"
--volume is a Integer (default 100)
--url is a String to the ShoutCast stream (ex:"http://scfire-ntc-aa07.stream.aol.com:80/stream/1025")

streamplayer.on(side)
streamplayer.off(side)

streamplayer.getVolume(side)
streamplayer.setVolume(side, volume)

streamplayer.getURL(side)
streamplayer.setURL(side, url)

streamplayer.getInfoTitle(side)
streamplayer.getInfoGenre(side)
streamplayer.getInfoURL(side)
And the StreamPlayer is also supporting ComputerCraft Events:
streamplayer_on
streamplayer_off
streamplayer_setURL with parameter URL
streamplayer_setVolume with parameter Volume
streamplayer_info_title with parameter Title
streamplayer_info_url with parameter URL
streamplayer_info_genre with parameter Genre
Changelog from 0.1.5 to 0.1.6:
=====Stream Player Changes:=====
~fixed strange drop behaviour
~renamed streamplayer button On/Off to Turn on/Turn off
+added better streamplayer error handling
+added streamplayer notice for AAC type streams
+added streamplayer method getInfoTitle(side)
+added streamplayer method getInfoGenre(side)
+added streamplayer method getInfoURL(side)
+added streamplayer ComputerCraft event streamplayer_on
+added streamplayer ComputerCraft event streamplayer_off
+added streamplayer ComputerCraft event streamplayer_setURL with parameter URL
+added streamplayer ComputerCraft event streamplayer_setVolume with parameter Volume
+added streamplayer ComputerCraft event streamplayer_info_title with parameter Title
+added streamplayer ComputerCraft event streamplayer_info_url with parameter URL
+added streamplayer ComputerCraft event streamplayer_info_genre with parameter Genre
=====Furniture Changes:=====
~fixed strange drop behaviour

:D/>

The interesting new stuff should be out tomorrow.
Quote

Wolvan's Photo Wolvan 15 Mar 2012

 Normalsoo, on 15 March 2012 - 05:55 PM, said:

 Wolvan, on 15 March 2012 - 03:40 PM, said:

Can you please add a function to read the radio's name and the title of the Song?

Download - Client 0.1.6 for Minecraft 1.2.3
Goo.gl Mediafire
Download - Server 0.1.6 for Minecraft 1.2.3
Goo.gl Mediafire

ComputerCraft Support
You can also access the StreamPlayer via the the streamplayer API:
--side is any of "left", "right", "back", "front", "bottom", "top"
--volume is a Integer (default 100)
--url is a String to the ShoutCast stream (ex:"http://scfire-ntc-aa07.stream.aol.com:80/stream/1025")

streamplayer.on(side)
streamplayer.off(side)

streamplayer.getVolume(side)
streamplayer.setVolume(side, volume)

streamplayer.getURL(side)
streamplayer.setURL(side, url)

streamplayer.getInfoTitle(side)
streamplayer.getInfoGenre(side)
streamplayer.getInfoURL(side)
And the StreamPlayer is also supporting ComputerCraft Events:
streamplayer_on
streamplayer_off
streamplayer_setURL with parameter URL
streamplayer_setVolume with parameter Volume
streamplayer_info_title with parameter Title
streamplayer_info_url with parameter URL
streamplayer_info_genre with parameter Genre
Changelog from 0.1.5 to 0.1.6:
=====Stream Player Changes:=====
~fixed strange drop behaviour
~renamed streamplayer button On/Off to Turn on/Turn off
+added better streamplayer error handling
+added streamplayer notice for AAC type streams
+added streamplayer method getInfoTitle(side)
+added streamplayer method getInfoGenre(side)
+added streamplayer method getInfoURL(side)
+added streamplayer ComputerCraft event streamplayer_on
+added streamplayer ComputerCraft event streamplayer_off
+added streamplayer ComputerCraft event streamplayer_setURL with parameter URL
+added streamplayer ComputerCraft event streamplayer_setVolume with parameter Volume
+added streamplayer ComputerCraft event streamplayer_info_title with parameter Title
+added streamplayer ComputerCraft event streamplayer_info_url with parameter URL
+added streamplayer ComputerCraft event streamplayer_info_genre with parameter Genre
=====Furniture Changes:=====
~fixed strange drop behaviour

;)/>

The interesting new stuff should be out tomorrow.
Thank you! That IS awesome :)/> Now I can create the perfect Music Player :)/> Computer controlled. Control the volume with arrow keys and so on :D/> I can post the program after it is finished :P/>
Quote

FuzzyPurp's Photo FuzzyPurp 16 Mar 2012

Can i get a MC 1.1 version?
Quote

Normalsoo's Photo Normalsoo 17 Mar 2012

// Version 0.1.9 is available now! => 14 new Guinea Pig species and more! //

Posted Image
I got a bit distracted again, so the actual interesting stuff (more machines, monitors etc. etc. with full ComputerCraft Support) and the main stuff related to the mod name will follow in some days Posted Image.

Download - Client 0.1.9 for Minecraft 1.2.3
Goo.gl Mediafire
Download - Server 0.1.9 for Minecraft 1.2.3
Goo.gl Mediafire

ID's
blockIDStreamPlayer=125
blockIDGeneric=126

itemIDGeneric=2438
itemIDGuineaPigThingy=2439
itemIDStreamPlayer=2440
itemIDGuineaPigEgg=2441

entityIDGuineaPig=230
entityIDGuineaPigAbyssinian=231
entityIDGuineaPigAbyssinianSatin=232
entityIDGuineaPigAmerican=233
entityIDGuineaPigAmericanSatin=234
entityIDGuineaPigCoronet=235
entityIDGuineaPigCuy=236
entityIDGuineaPigPeruvian=237
entityIDGuineaPigPeruvianSatin=238
entityIDGuineaPigSilkie=239
entityIDGuineaPigSilkieSatin=240
entityIDGuineaPigTeddy=241
entityIDGuineaPigTeddySatin=242
entityIDGuineaPigTexel=243
entityIDGuineaPigWhiteCrested=244

Changelog from 0.1.6 to 0.1.9:
=====GuineaPig Changes:=====
+added 14 new species with different sizes, textures and possible modelsupport (one is even so big, you can ride on it *rare*)
+migrated to the new 1.2.3 AI system (they will eat grass and do other stuffs now)
+added cross-breeding
+added child-size model support
+you can now disable guineapig's via the Infestation.properties file (enableGuineaPig=true)

 Wolvan, on 15 March 2012 - 08:53 PM, said:

 Normalsoo, on 15 March 2012 - 05:55 PM, said:

 Wolvan, on 15 March 2012 - 03:40 PM, said:

Can you please add a function to read the radio's name and the title of the Song?

Download - Client 0.1.6 for Minecraft 1.2.3
Goo.gl Mediafire
Download - Server 0.1.6 for Minecraft 1.2.3
Goo.gl Mediafire

ComputerCraft Support
You can also access the StreamPlayer via the the streamplayer API:
--side is any of "left", "right", "back", "front", "bottom", "top"
--volume is a Integer (default 100)
--url is a String to the ShoutCast stream (ex:"http://scfire-ntc-aa07.stream.aol.com:80/stream/1025")

streamplayer.on(side)
streamplayer.off(side)

streamplayer.getVolume(side)
streamplayer.setVolume(side, volume)

streamplayer.getURL(side)
streamplayer.setURL(side, url)

streamplayer.getInfoTitle(side)
streamplayer.getInfoGenre(side)
streamplayer.getInfoURL(side)
And the StreamPlayer is also supporting ComputerCraft Events:
streamplayer_on
streamplayer_off
streamplayer_setURL with parameter URL
streamplayer_setVolume with parameter Volume
streamplayer_info_title with parameter Title
streamplayer_info_url with parameter URL
streamplayer_info_genre with parameter Genre
Changelog from 0.1.5 to 0.1.6:
=====Stream Player Changes:=====
~fixed strange drop behaviour
~renamed streamplayer button On/Off to Turn on/Turn off
+added better streamplayer error handling
+added streamplayer notice for AAC type streams
+added streamplayer method getInfoTitle(side)
+added streamplayer method getInfoGenre(side)
+added streamplayer method getInfoURL(side)
+added streamplayer ComputerCraft event streamplayer_on
+added streamplayer ComputerCraft event streamplayer_off
+added streamplayer ComputerCraft event streamplayer_setURL with parameter URL
+added streamplayer ComputerCraft event streamplayer_setVolume with parameter Volume
+added streamplayer ComputerCraft event streamplayer_info_title with parameter Title
+added streamplayer ComputerCraft event streamplayer_info_url with parameter URL
+added streamplayer ComputerCraft event streamplayer_info_genre with parameter Genre
=====Furniture Changes:=====
~fixed strange drop behaviour

:)/>

The interesting new stuff should be out tomorrow.
Thank you! That IS awesome :)/> Now I can create the perfect Music Player :)/> Computer controlled. Control the volume with arrow keys and so on :D/> I can post the program after it is finished :P/>

*pretty small quoting here ;)/>*

The ComputerCraft support for new coming stuff in this modification will be expanded even way further :)/> (expect more displays, irc ingame client *not sure yet*, in-game picture frames which take a URL a parameter and other full ComputerCraft supported stuff :)/>)

 FuzzyPurp, on 16 March 2012 - 09:58 PM, said:

Can i get a MC 1.1 version?

I'm already using many 1.2.3 only features like the new AI System, but I think that IndustrialCraft & RedPower should soon be done with migrating to the new minecraft version :)/>. But I'm also looking into a alternative backport for 1.1 tomorrow :)/>.
Quote

Normalsoo's Photo Normalsoo 17 Mar 2012

One more somewhat critical hotfix for the model sizing bug (no more streamplay0rs for chibi play0rs)

Download - Client 0.1.10 for Minecraft 1.2.3
Goo.gl Mediafire
Download - Server 0.1.10 for Minecraft 1.2.3
Goo.gl Mediafire
Edited by Normalsoo, 17 March 2012 - 07:58 PM.
Quote

Normalsoo's Photo Normalsoo 17 Mar 2012

Download - Client 0.1.10 for Minecraft 1.2.3
Goo.gl Mediafire
Download - Server 0.1.10 for Minecraft 1.2.3
Goo.gl Mediafire

Download - Client 0.1.10 for Minecraft 1.1
Goo.gl Mediafire
Download - Server 0.1.10 for Minecraft 1.1
Goo.gl Mediafire

Did upload the wrong files by mistake ;_;, just redownload for proper 0.1.10 release

edit:// added 1.1 version (no extended Guinea Pig AI in Minecraft 1.1 release)
Quote

FuzzyPurp's Photo FuzzyPurp 17 Mar 2012

 Normalsoo, on 17 March 2012 - 07:58 PM, said:

Download - Client 0.1.10 for Minecraft 1.2.3
Goo.gl Mediafire
Download - Server 0.1.10 for Minecraft 1.2.3
Goo.gl Mediafire

Download - Client 0.1.10 for Minecraft 1.1
Goo.gl Mediafire
Download - Server 0.1.10 for Minecraft 1.1
Goo.gl Mediafire

Did upload the wrong files by mistake ;_;, just redownload for proper 0.1.10 release

edit:// added 1.1 version (no extended Guinea Pig AI in Minecraft 1.1 release)

THANK YOU!!! and i doubt ic2 will be ready anytime soon :D/>
Quote

Ian-Moone's Photo Ian-Moone 24 Mar 2012

i love this mod thingy!!!!
Quote

Wolvan's Photo Wolvan 27 Mar 2012

Am I allowed to port this to Bukkit?
Quote

FuzzyPurp's Photo FuzzyPurp 05 Apr 2012

Using the latest version avail for 1.2.3 if i disable guinea's in the props, game will not load.
Quote

gaiaalpha's Photo gaiaalpha 07 Jul 2012

No 1.2.5 Support yet?
Quote

Cloudy's Photo Cloudy 07 Jul 2012

Check the main MinecraftForum thread. It is now 1.2.5 compatible.
Quote