Florian Nücke
c38803cff0
Using FakePlayer as base class for robot base class... seems to work, although I remember some things breaking when I last tried... well, it's unstable right now anyway so let's do this.
2014-06-09 23:23:17 +02:00
Florian Nücke
eacaa45372
Also clean up component lookup map on client manually on chunk and world unload.
...
Made the component lookup map use weak keys instead of weak keys, as originally intended.
2014-06-09 23:08:41 +02:00
Florian Nücke
f288a02296
Added setting to control hologram flicker frequency.
2014-06-09 21:05:49 +02:00
Florian Nücke
9d430b1869
Made oredict lookup for dyes more stable, triggered by 1.7 adding some alternative names for some dyes *before* the actual dyes, making the previous method fail.
2014-06-09 19:25:27 +02:00
Florian Nücke
cabc6d0aeb
Organized imports.
2014-06-09 18:09:19 +02:00
Florian Nücke
dbc4d38a4a
Merge branch 'ScreenCrashFix' of git://github.com/evg-zhabotinsky/OpenComputers
2014-06-09 18:04:37 +02:00
Florian Nücke
70964e0e32
Make edit strip '\r's from line endings when opening files to avoid the '?'s. See #269 .
2014-06-09 17:38:00 +02:00
Florian Nücke
9eb445b4aa
oh ffs...
2014-06-09 17:13:32 +02:00
Florian Nücke
3fdea0e2f0
Merge pull request #308 from Adaptivity/patch-1
...
Update ru_RU.lang
2014-06-09 17:05:02 +02:00
Florian Nücke
f79287e81e
Made the palette indicator returned by gpu.setForeground/setBackground as well as gpu.get the actual index or nil instead of true/false.
2014-06-09 16:56:35 +02:00
Anton
4c3542ac2e
Update ru_RU.lang
2014-06-09 18:53:59 +04:00
Florian Nücke
67b4ebf39d
Looking palette of t3 gpu/screen when setting simple color for better matches. Closes #292 .
2014-06-09 16:13:48 +02:00
Florian Nücke
8f969e5a64
Spaces.
2014-06-09 13:56:57 +02:00
Florian Nücke
b21df2462c
Merge git://github.com/gamax92/OpenComputers
2014-06-09 13:55:15 +02:00
Florian Nücke
12ae22eb30
Updated native lib with a couple of bugfixes (for Windows for now, others will be recompiled and updated after it's confirmed that the fixes actually work).
2014-06-08 23:45:11 +02:00
gamax92
7d2e1c77fb
Reduce memory usage
2014-06-08 11:34:14 -06:00
evg-zhabotinsky
2e00640839
Fixes #31 for current 1.3 upstream.
...
Removed nested display lists from screen renderer.
2014-06-08 16:25:18 +04:00
Florian Nücke
ac811de85d
More palette index checks to avoid getting into a derpy state.
2014-06-06 13:15:32 +02:00
Florian Nücke
bc202641e8
Throwing an actual error back to Lua if palette index is invalid (instead of returning nil, message).
2014-06-06 12:48:49 +02:00
Florian Nücke
1eae552aeb
Added setting for hologram render distance.
...
Added some settings for easier debugging.
Minor refactoring.
2014-06-05 23:14:53 +02:00
Florian Nücke
fdf0f8f2bc
Import cleanup.
2014-06-04 22:53:10 +02:00
Florian Nücke
55b5041149
The copy-paste strikes again.
2014-06-04 22:42:54 +02:00
Florian Nücke
254f48c208
Fixed abstract bus card recipe.
...
Fixed array converter.
2014-06-04 22:25:28 +02:00
Florian Nücke
0e6963d3d9
Added scan method for abstract bus.
2014-06-04 20:46:50 +02:00
Florian Nücke
d55343116a
Updated SGT2 API.
2014-06-04 20:28:15 +02:00
Florian Nücke
f123a41d2d
Added screen.getKeyboards() to allow listing keyboards attached to a screen.
...
Generating new random key for special persistence whenever a computer is started, making it pretty much impossible for users to inject custom code into the persistence logic.
Fixed font texture.
2014-06-04 20:09:02 +02:00
Florian Nücke
dca93b0627
Got rid of the 'magic pixel' in the font texture.
2014-06-04 19:05:59 +02:00
Florian Nücke
9b15478e14
Made HTTP requests not use userdata, instead the handle it returns can now be used the same way as sockets (except it can't be written to).
...
Disabled userdata for the time being, looks like it will need some major time investment to track down that crash...
Removed active GC before resuming states, since that could cause execution of user code (__gc metamethod), and sandboxed __gc metamethod some more.
2014-06-04 18:55:41 +02:00
Florian Nücke
cb5a83ebbe
Fixed pure userdata being left on the stack during synchronized calls, potentially leading to unpersistable states.
2014-06-04 14:55:20 +02:00
Florian Nücke
cb69a4b386
Fixed blacklist not working when empty (because, exists
is true if the list is empty...)
2014-06-04 12:58:26 +02:00
Florian Nücke
4931f8e84a
Fixed access to client-only method in screen click logic.
2014-06-03 22:21:10 +02:00
Florian Nücke
8642a4a559
Another go at fixing that native crash, better luck this time?
2014-06-03 20:58:10 +02:00
Florian Nücke
7cc239ebe3
Fixed LuaJ fallback.
...
Fixed boot address not being saved.
2014-06-03 17:36:21 +02:00
Florian Nücke
9991f4a5fc
Should fix crash in native lib by avoiding the crashing JNLua metacall.
...
Rendering floppy labels on the floppy in the inventory.
2014-06-03 16:58:11 +02:00
Florian Nücke
d99bc5815c
Forcing updates on light emitting blocks occasionally (every 2 seconds) to properly update lighting because MC's lighting needs to see a doctor.
2014-06-02 17:56:34 +02:00
Florian Nücke
1aa4eea798
Merge pull request #282 from Kodos-Atoz/patch-1
...
Update robot.names
2014-06-02 17:53:13 +02:00
Kodos Atoz
350f0f9c85
Update robot.names
...
Added Crypto. And Kodos, because hey why not.
2014-06-02 10:48:26 -05:00
Florian Nücke
09cabc902d
Added simple schematic builder program.
2014-06-02 14:10:46 +02:00
Florian Nücke
3546e4a846
Fixed items being placeable in disabled container slots in robot inventory.
2014-06-02 13:25:25 +02:00
Florian Nücke
faa314f790
Fixed AIOOB in robot inventory size computation.
2014-06-02 13:17:07 +02:00
Florian Nücke
07755515de
Added support for recursive conversion (i.e. converters can push values that need to be converted again, such as item stacks) and support for pushing cyclic maps / lists. Closes #278 .
2014-06-02 00:24:48 +02:00
Florian Nücke
6f3f9cc260
Fixes small creatures (e.g. chickens) taking damage standing on hologram projectors. Because the size was evil. Or something. I don't even. #lolwatminecraft
2014-06-01 20:50:53 +02:00
Florian Nücke
1743968924
Fixed Waila support for screens.
2014-06-01 20:30:20 +02:00
Florian Nücke
83debc3288
Added warning icon when trying to type on a screen without a keyboard (mostly for robots).
2014-06-01 19:27:13 +02:00
Florian Nücke
403f1ffbd2
Showing reduced (screen-less) GUI for robots without screens built into them.
2014-06-01 18:20:11 +02:00
Florian Nücke
f9e1f6f1f5
Requiring a CPU and RAM in robot before allowing it to be assembled.
2014-06-01 17:32:07 +02:00
Florian Nücke
b3991c25ba
Fixed http request persistence.
...
Fixed repeated userdata persistence.
Fixed internet.request not blocking when no data was available.
2014-05-31 16:46:04 +02:00
Florian Nücke
6174673447
Fixed items being replaced when used not being handled properly in robots (e.g. buckets), closes #279 .
2014-05-31 02:51:40 +02:00
Florian Nücke
4c39ee547c
Fixed screen resolution changes not being applied to the GUI without re-opening it.
2014-05-31 01:45:33 +02:00
Florian Nücke
22d020004c
Bind GPU to screen in kernel, to allow boot errors to show up on the screen before an OS binds it.
...
Set resolution and depth to max in GPU's crash display (bluescreen).
2014-05-31 01:02:42 +02:00