[mc 1.6.x] Openperipheral
#81
Posted 05 June 2013 - 05:34 PM
http://pastebin.com/M8GAw7Km
EDIT: CONTEXT: Imgoodisher made a map program that pulls numbers off OCS's proximity sensor then displays them on the glasses. This was the program: http://pastebin.com/gU70rSeE. It didn't crash the server until there were several pointers on the map.
#82
Posted 06 June 2013 - 04:10 AM
Version 0.1.3!
- I've completely rewritten the networking code - reduced the network traffic to about 30% of what it was before
- Improved the stability
- added text.setScale(1.5) (or whatever you want!)
- boxes now have 2 more functions. setColor2, setAlpha2. This is for gradients. Right now gradients are only vertical, horizontal will come later
- if you delete your cached /config/OpenPeripheral_methods.json, you should now get an extra function on the peripheral which is just a shortcut to adding gradients to boxes:
mybox = p.addGradientBox(0, 0, 100, 100, 0xFF0000, 0.8, 0x00FF00, 0.8, gradientDirection)
addGradientBox and addBox both return the same kind of object, the only difference is that addGradientBox is a shortcut!
I think a bit of a bug still remains regarding switching to new glasses. I'm still looking into it, but I think it's now better.
#83
Posted 06 June 2013 - 05:14 AM
great mod +1
#84
Posted 06 June 2013 - 05:40 AM
#85
Posted 06 June 2013 - 05:52 AM
box now has getGradient() or setGradient()
the gradient can be one of the following:
0 = no gradient
1 = vertical gradient
2 = horizontal gradient
Changed the gradient box method to:
p.addGradientBox(x, y, width, height, color1, alpha, color2, alpha2, gradient)
#87
Posted 06 June 2013 - 06:51 AM
and will there be a setAlpha for text ??
@Cloudy
thanks it was actually caused by a bug but could be done easily deliberately.
#88
Posted 06 June 2013 - 07:55 AM
applied energistics
#90
Posted 06 June 2013 - 10:06 AM
#91
Posted 06 June 2013 - 10:53 AM
(delete config/OpenPeripheral_methods.json to get a fresh copy)
#92
Posted 06 June 2013 - 11:20 AM
#93
Posted 06 June 2013 - 11:44 AM
https://dl.dropboxus...heral-0.1.4.jar
Crashes were happening when using cables
#94
Posted 06 June 2013 - 04:18 PM
Sorry about so many releases. It's all seeming nice and stable now, so I'm just making sure any remaining mini-tweaks aren't just left weeks at a time to make it into a new release. I want to get them out asap.
This one fixes a tiny issue with gradients.
I've updated the first post with links back to previous versions in case people require them for their servers.
#95
Posted 06 June 2013 - 04:22 PM
Mikeemoo, on 25 May 2013 - 07:30 PM, said:
But, I defiantly am going to try this out. just a question, is the mod able to get heat from a reactor chamber, or does the computer have to be touching the reactor block in order to get the heat level. i ask because it cause issues with limiting reactor size.
#96
Posted 06 June 2013 - 04:40 PM
Devon The Novice, on 06 June 2013 - 04:22 PM, said:
Mikeemoo, on 25 May 2013 - 07:30 PM, said:
But, I defiantly am going to try this out. just a question, is the mod able to get heat from a reactor chamber, or does the computer have to be touching the reactor block in order to get the heat level. i ask because it cause issues with limiting reactor size.
You should look into OpenCCSensors! You can get information on your reactor from several blocks away.
#97
Posted 06 June 2013 - 05:51 PM
Mikeemoo, on 25 May 2013 - 07:30 PM, said:
If you were to make a cost, I personally would probably prefer it to be a one time thing rather than a continuously renewable one. I've never liked mods that force you to continually collect energy - If I want a dose of real life then I'll walk out my front door
That's just my two cents.
Also, I'm not sure if you saw my suggestion earlier (my apologies if you did). I was wondering if you would be able to add a method to get the screen size for Terminal Glasses, as it's a pain to find it manually. Thanks for this awesome mod!
#98
Posted 06 June 2013 - 06:19 PM
#99
Posted 06 June 2013 - 06:46 PM
basdxz, on 06 June 2013 - 06:19 PM, said:
I just checked out the mod review for it and i thought that was a great idea!
#100
Posted 07 June 2013 - 01:03 PM
Would it be possible to get the average energy input for buildcraft, raildcraft and te machines? Like for the IC2 and GT ones.
keep the good work
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users