Jump to content




[Mc 1.5.2+/cc 1.53+] Kilobytes Peripherals - Bugfixes And A Few New Tweaks Oh, And Documentation


84 replies to this topic

#1 Kilobyte

  • Members
  • 122 posts

Posted 27 August 2012 - 07:56 PM

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.

Report issues on the issue tracker.
Documentation is on my Wiki.

Feature Overview
  • Sockets
  • 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 :D
4.0.25:
initial public release

Tutorials/Videos
Introduction into Sockets - by PixelToast

APIs
Here is some IRC API and a small usage guide i made: https://gist.github....659e1181fc79372 NOTE: It requires version 4.0.36 in order to work

Known Bugs:
Zapper might lose stored energy on chunk unload

Old Post
Spoiler


#2 cant_delete_account

  • Members
  • 484 posts

Posted 27 August 2012 - 08:29 PM

So you could connect to IRC?

#3 FuzzyPurp

    Part-Time Ninja

  • Members
  • 510 posts
  • LocationHarlem, NY

Posted 27 August 2012 - 11:33 PM

:D/>

Installed. Doesn't generate a config file. (ID is hardcoded)
When installed, some/most minecraft sounds dont work.

#4 Kilobyte

  • Members
  • 122 posts

Posted 28 August 2012 - 03:42 PM

View Postthesbros, on 27 August 2012 - 08:29 PM, said:

So you could connect to IRC?

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)

View PostFuzzyPurp, on 27 August 2012 - 11:33 PM, said:

:D/>

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.

#5 FuzzyPurp

    Part-Time Ninja

  • Members
  • 510 posts
  • LocationHarlem, NY

Posted 28 August 2012 - 04:30 PM

Derp, my speakers were low :D/>

#6 Kilobyte

  • Members
  • 122 posts

Posted 28 August 2012 - 05:36 PM

New version Released:
Version 1.0.0 Build 17

Changes:
Blocks now drop properly
Added Config to change Block id

Download link above

EDIT: updated to build 18. now with smp support

#7 lum2008

  • New Members
  • 2 posts

Posted 29 August 2012 - 03:47 PM

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

#8 cant_delete_account

  • Members
  • 484 posts

Posted 29 August 2012 - 05:56 PM

View Postlum2008, on 29 August 2012 - 03:47 PM, said:

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 .
B)/> :)/>
The point of this is to help with people making those things. Make an IRC program yourself.

#9 Kilobyte

  • Members
  • 122 posts

Posted 29 August 2012 - 06:30 PM

View Postthesbros, on 29 August 2012 - 05:56 PM, said:

The point of this is to help with people making those things. Make an IRC program yourself.
I know him. he is always like this lol
lum, please use a little bit smaller font in the future

#10 FuzzyPurp

    Part-Time Ninja

  • Members
  • 510 posts
  • LocationHarlem, NY

Posted 29 August 2012 - 07:02 PM

shutup and take my money!

#11 Tiin57

    Java Lunatic

  • Members
  • 1,412 posts
  • LocationIndiana, United States

Posted 01 September 2012 - 11:35 PM

Documentation needs to happen more across peripherals. Even if it is just an API doc. Good job, Stiepen.

#12 Kilobyte

  • Members
  • 122 posts

Posted 04 September 2012 - 09:04 PM

View Posttiin57, on 01 September 2012 - 11:35 PM, said:

Documentation needs to happen more across peripherals. Even if it is just an API doc. Good job, Stiepen.
Thanks :D/>
however the peripheral methods and events aren't documented yet. this will hopefully change in the next release

#13 ETHANATOR360

  • Members
  • 423 posts
  • Locationyour hardrive

Posted 06 September 2012 - 08:56 PM

i have a question how does this differ from the http api?

#14 Kilobyte

  • Members
  • 122 posts

Posted 06 September 2012 - 09:42 PM

View PostETHANATOR360, 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

#15 ETHANATOR360

  • Members
  • 423 posts
  • Locationyour hardrive

Posted 06 September 2012 - 09:50 PM

View PostStiepen, on 06 September 2012 - 09:42 PM, said:

View PostETHANATOR360, 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

#16 Kilobyte

  • Members
  • 122 posts

Posted 07 September 2012 - 12:18 PM

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)

Link for socket client: http://pastebin.com/MpRmNHGu

#17 Cloudy

    Ex-Developer

  • Members
  • 2,543 posts

Posted 07 September 2012 - 04:03 PM

View PostStiepen, on 07 September 2012 - 12:18 PM, said:

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

#18 Tiin57

    Java Lunatic

  • Members
  • 1,412 posts
  • LocationIndiana, United States

Posted 07 September 2012 - 04:26 PM

I think this would be more useful for FTP. Or mySQL.

#19 Kilobyte

  • Members
  • 122 posts

Posted 08 September 2012 - 08:58 PM

View Posttiin57, on 07 September 2012 - 04:26 PM, said:

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

#20 ETHANATOR360

  • Members
  • 423 posts
  • Locationyour hardrive

Posted 09 September 2012 - 11:04 PM

where does the config file generate?





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users