Finally, Its back. for 1.5.2 - the wait has an end. Its still a beta due to lack of coding mood but yeah...
Download: Version 4.0.36 - MC 1.5.1+ (srg mappings FTW) (Bitly is only used as click-counter. if you don't like it use this link. However i would appreciate you using first one. you won't notice any difference but i get a feedback on popularity )
For recipes use NEI for now. If you are willing to help me updating the wiki reply or ping me in #KilobytesPeripherals on esper.net (click to join using Webchat). Ofc you also may join for questions or just about anything. I am happy about any user. You can also follow me on twitter: @Stiepen22.
Zapper (kills other players, not balanced yet, also, it might not work atm, if not i will fix asap)
MFR Rednet interaction. NOTE: this goes much further than ccs interaction does as it lets you set cables to ANY integer (thats ok by MFR specs) and not just to 0-15
Changelog
Quote
4.0.36:
Added: functions to zapper to get Energy status
Added: regex_match() to WebInterface
Fixed: Zapper not working
Fixed: sockets_listen() is now called socket_listen()
Rebalance: Zapper default energy usage reduced to 10% (it was insanely high). Note that you need to change/remove the config option manually for it to take effect if you had the mod installed previously 4.0.26:
Fixed a bug where the mod would crash on loading if MFR was installed. Thanks to PixelToast for reporting 4.0.25:
initial public release
Known Bugs:
Zapper might lose stored energy on chunk unload
Old Post
Spoiler
Did you ever want to connect to any webservice using a ComputerCraft Computer or turtle?
Then this add-on is for you. It adds the possibility to directly interact to Internet Services using Sockets. Or did you ever want to make the best alarm system in world? Then you will enjoy this
The zip file contains:
INSTRUCTIONS FOR 1.2.5
README.txt - Intallation instructions
APIDOC.txt - The documentation of the socket API
socket - the actual socket API
ccSockets_x.x.x.x_server.zip or ccSockets_x.x.x.x_client.zip, depending on package - The actual mod. INSTRUCTIONS FOR 1.3.2 AND LATER
The zip cointains only the actual mod now. Just drop it as you downloaded it into mods folder
(as of 1.4.2 i now use the file extension ".jar". but the instructions are the same.)
I'm not responsible for any damage done to your Computer, your Minecraft install, your ComputerCraft install or your lua scripts. Also note that allowing this on a Server can cause Security holes (accessing local network for example).
So don't blame me if your computer blows up />/>
ALSO: Please backup at least the saves and the configs folder before installing the mod. We don't want any data loss, right?
Downloads:
Spoiler
[MINECRAFT 1.4.6 | COMPUTERCRAFT 1.481]
Current Version 3.0.1 Universal (Server and Client)
[MINECRAFT 1.4.5 | COMPUTERCRAFT 1.47+]
Current Version 2.2.1 Universal (Server and Client)
[MINECRAFT 1.4.2 | COMPUTERCRAFT 1.45+]
Current Version: 2.1 Build 0 // no idea whay i changed version number that much - lol Universal (Server and Client) // also, haven't much tested
[MINECRAFT 1.3.2 | COMPUTERCRAFT 1.42 (maybe even 1.43pr1)]
Current Version: 1.2 Build 11 Universal (Server and Client)
[MINECRAFT 1.2.5 | COMPUTERCRAFT 1.41]
Current Version: 1.0.0 Build 18 Client Server
Crafting Recipes (for 1.2.* - They have changed):
SSS
SDS --> WebInterface (peripheral, which provides access to Sockets)
SMS
S = Stone
D = Diamond
M = Modem. In older versions this was a redstone torch
//More recipes coming, for now i recommend Not Enough Items by ChickenBones to look them up />
If you encounter any bugs or other issues tell me. If your minecraft crashes please also provide a crashlog.
If you encounter any typos please let me know too />
Thanks to Kingrunes btw. who is now helping me with the code. he had his own socket add-on and now abonded it and helps me. Also A Thanks to max96at who made the textures.
Known Bugs
Armor protects from zapper damage
Issue Tracker: https://bitbucket.or...csockets/issues
Future Plans:
ip/port black/whitelist for SMP Multiple sockets per WebInterface. Done now.
Lua apis which implement protocols like ftp
Feel free to write programs with this and link them here (use pastebin with lua syntax highlighning). if i like your program i might add it to this post. Feel free to make spotlights and tutorials on this mod. But please post a link here. That has multiple reasons: 1. i want to see it too /> 2. i might add it to this post to help others.
Changelog:
Spoiler
3.0.1:
Added: Internet Turtle - A webinterface on a turtle :P/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>
Added: Zapper: zaps players by name at the cost of BC or IC2 energy,
Added: Datacart: Cart capable of storing data. It has same textures as vanilla minecart right now.
Added: Datacart Reader: Block able to read/write a datacart
Added: Notifier: A block capable of sending custom chat messages to a player
Added: Player Scanner: Scans an area for players and returns them with name and coordinates
Added: Touch Point: A button+pressureplate peripheral. It returns quite a few stats about the player triggerig it
Added: Token: A long range unfakable rfid card. you can encode it by rightclicking a Token reader with it. You can not specify what to write and once written it can'T be changed.
Added: Token Reader: the reader for tokens
Added: Config option For the range of ranged blocks: Zapper, Player Scanner and Token reader. Default is 30 blocks radius.
Added: Railcraft Signal Controller. WARNING: Untested. Report any bugs with it to me. Also no textures yet.
Fixed: A lot of Bugs. i don't even remember which ones. i had 23 betas, its normal to forget such stuff over that long time :P/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>
Changed: Download now hosted on my Webspace. (allows me to collect download stats :P/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>/>)
2.2.1:
Ported: For minecraft 1.4.4/1.4.5
Fixed: Config option for limiting per-interface socket amount not working/existing
Know issue: no mcmod.info in this version
2.1 Build 0:
Ported: For minecraft 1.4.2
Added: Config option for limiting per-interface socket amount
Sneaky Update(same Filename and Version as Before):
Fixed: Textures missing in mod zip
Added: mcmod.info file due to popular request
Build 11:
Fixed: WebInterface now has a proper ingame name
Added: TEXTURES! (and they look awesome: [url="http://imgur.com/Gak3O"]http://imgur.com/Gak3O[/url])
Build 10
Fixed: Semi-Crashing of the Ingame Computer when receiving a lot of data. Will still happen in binary mode though
1.2 Build 9
Changed: complete rewrite of the code.
Added: Multible sockets per Webinterface
Changed: Now using forge config instead of ModLoader one. its much smarter.
Removed: lua part of api.
Build 18:
added: SMP Support
Build 17:
fixed: WebInterfaces now drop properly when broken
added: Config file for Block ID
Basicly yes, but you would need to write the entire IRC implemetation yourself (in lua). also note that no binary data transmission is possible yet)
FuzzyPurp, on 27 August 2012 - 11:33 PM, said:
/>
Installed. Doesn't generate a config file
WHen installed, some/most minecraft sounds dont work.
It has no config file yet. it uses BlockID 255. implementing one is planned in near future though
Regarding the sound issue i'll look into it. However I don't know why this could happen. Do you get any messages on the console?
EDIT: Sound issue 'fixed' in IRC.
hello .... thank you stiepen for this cool add-on and i'm asking u to provide a irc application to get it more funny ! again thank u and i wish u luck on future mods . /> />
hello .... thank you stiepen for this cool add-on and i'm asking u to provide a irc application to get it more funny ! again thank u and i wish u luck on future mods . /> />
The point of this is to help with people making those things. Make an IRC program yourself.
ETHANATOR360, on 06 September 2012 - 08:56 PM, said:
i have a question how does this differ from the http api?
http only allows requesting of wepages. this allowes every service on the internet. i for example have written an irc script: http://pastebin.com/VfkiLyb5 However it has quite a few bugs and i don't provide much support for it,
this wouldn't be possible with http api
ETHANATOR360, on 06 September 2012 - 08:56 PM, said:
i have a question how does this differ from the http api?
http only allows requesting of wepages. this allowes every service on the internet. i for example have written an irc script: http://pastebin.com/VfkiLyb5 However it has quite a few bugs and i don't provide much support for it,
this wouldn't be possible with http api
cool downloading i cant wait to see the creative coders make somthing with this
Yeah me too... however i also have a script which provides a small socket client. the GUI is pretty much the same as for the irc client but it enables raw socket access. it is probably also i bit less bug-heavy.
the bug that a the input line is overwriteen when the window scrolls is caused by vanilla cc read() behaviour (this bus applys to both, socket client and irc client). i will probably add a fix in the next version of my custom os and these scripts will make use of it then if they detect that its installed (but the scripts will still work without my os ofc)
i will probably add a fix in the next version of my custom os and these scripts will make use of it then if they detect that its installed (but the scripts will still work without my os ofc)
Or you can just copy paste the read() into your script and fix it locally />
I think this would be more useful for FTP. Or mySQL.
FTP is currently kinda difficult since you need at least 2 connections. however every WebInterface can only have one connection at the same time. however this can be bypassed by using multiple WebInterfaces/computer. there is still one remaining issue: you can not tell from which webinterface the data was received. a workaround for this would be to use multiple computers connected with rednet. and the last issue is: you can only trnsfer text files since you can't send/receive binary data yet. if someone feels like making an ftp clien now then go ahead and post it here (spoiler or link) so i can check it out and add to OP