This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
Normalsoo's profile picture

[1.31][SMP] Infestation 0.1.10 - SHOUTcast Music Player and more stuffs

Started by Normalsoo, 14 March 2012 - 06:49 AM
Normalsoo #1
Posted 14 March 2012 - 07:49 AM
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! //


Some random short video showing the In-Game Music Player
[media]http://www.youtube.com/watch?v=bgaPXrRIDKg&context=C3db1917ADOEgsToPDskK0JEtOT0s7Cjp9DtKGZ1SC[/media]
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 .

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


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

I hope you like it

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


rockymc #2
Posted 14 March 2012 - 04:15 PM
I didn't get it right.
Edited by
Normalsoo #3
Posted 14 March 2012 - 04:23 PM
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 :>
Selkitty #4
Posted 14 March 2012 - 05:31 PM
[Redacted]
please delete post
Edited on 14 March 2012 - 04:33 PM
Mandrake Fernflower #5
Posted 14 March 2012 - 10:48 PM
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?
Normalsoo #6
Posted 15 March 2012 - 06:01 AM
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.
Wolvan #7
Posted 15 March 2012 - 03:40 PM
Can you please add a function to read the radio's name and the title of the Song?
Normalsoo #8
Posted 15 March 2012 - 05:55 PM
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.
Wolvan #9
Posted 15 March 2012 - 08:53 PM
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/>/>
FuzzyPurp #10
Posted 16 March 2012 - 09:58 PM
Can i get a MC 1.1 version?
Normalsoo #11
Posted 17 March 2012 - 01:39 PM
[indent=1]// Version 0.1.9 is available now! => 14 new Guinea Pig species and more! //[/indent]

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 .

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)

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 :)/>/>)

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 :)/>/>.
Normalsoo #12
Posted 17 March 2012 - 07:43 PM
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 on 17 March 2012 - 06:58 PM
Normalsoo #13
Posted 17 March 2012 - 07:58 PM
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)
FuzzyPurp #14
Posted 17 March 2012 - 09:47 PM
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/>/>
Ian-Moone #15
Posted 24 March 2012 - 10:41 AM
i love this mod thingy!!!!
Wolvan #16
Posted 27 March 2012 - 04:43 PM
Am I allowed to port this to Bukkit?
FuzzyPurp #17
Posted 05 April 2012 - 03:29 AM
Using the latest version avail for 1.2.3 if i disable guinea's in the props, game will not load.
gaiaalpha #18
Posted 07 July 2012 - 04:31 AM
No 1.2.5 Support yet?
Cloudy #19
Posted 07 July 2012 - 09:08 AM
Check the main MinecraftForum thread. It is now 1.2.5 compatible.