*** Official OcUK Minecraft Server - Discussion and Rules ***

dont update the new launcher to 1.3.1

I am working on a mac verson just i am stuck with an update on the hackintosh that wont let me run opengl at the moment

I am off work tomorrow so will have time to go through player issues

Server has not updated because we are waiting on some mods to update to 1.3
and they are major mods that are needed

ALL mods need updated to 1.3, then ported to bukkit! Quite await ahead of us, unfortunately.
 
Anyone here a genius with the RedPower Computer language?

I'm making an elevator with button presses on ground and first floor. At the moment the button on ground makes it go up and on the 1st floor it sends it down. However, what I'd ultimately like to achieve is if the lift isn't on your level, a button press will call the lift to your level also.

Here is the code I have done so far that works well at the moment:

: higher
8 IOX!
15 TICKS
0 IOX!
5 TICKS
;

: lower
16 IOX!
15 TICKS
0 IOX!
5 TICKS!
;

: up
4 0 DO higher LOOP
;

: down
4 0 DO lower LOOP
;

: var VARIABLE ;

var $active !
0 $active !

: ACTIVE
IOX@ AND
0 = IF
0
ELSE
-1
THEN
;

: listen
BEGIN
0 $active !
2 ACTIVE IF
up
CR ." Up Button Activated" CR
1 $active !
THEN
4 ACTIVE IF
down
CR ." Down Button Activated" CR
1 $active !
THEN
$active @ 1 = IF
1 IOX!
10 TICKS
0 IOX!
10 TICKS
THEN
30 TICKS
AGAIN
;

So is there an easy way for the system to detect what floor the lift currently resides on before deciding to whether go up or down? I have a short YouTube video of it working that is currently processing that should help visualise it. I'll post it when it finishes.

Edit:

 
Last edited:
Anyone here a genius with the RedPower Computer language?

I'm making an elevator with button presses on ground and first floor. At the moment the button on ground makes it go up and on the 1st floor it sends it down. However, what I'd ultimately like to achieve is if the lift isn't on your level, a button press will call the lift to your level also.

Here is the code I have done so far that works well at the moment:

: higher
8 IOX!
15 TICKS
0 IOX!
5 TICKS
;

: lower
16 IOX!
15 TICKS
0 IOX!
5 TICKS!
;

: up
4 0 DO higher LOOP
;

: down
4 0 DO lower LOOP
;

: var VARIABLE ;

var $active !
0 $active !

: ACTIVE
IOX@ AND
0 = IF
0
ELSE
-1
THEN
;

: listen
BEGIN
0 $active !
2 ACTIVE IF
up
CR ." Up Button Activated" CR
1 $active !
THEN
4 ACTIVE IF
down
CR ." Down Button Activated" CR
1 $active !
THEN
$active @ 1 = IF
1 IOX!
10 TICKS
0 IOX!
10 TICKS
THEN
30 TICKS
AGAIN
;

So is there an easy way for the system to detect what floor the lift currently resides on before deciding to whether go up or down? I have a short YouTube video of it working that is currently processing that should help visualise it. I'll post it when it finishes.

Edit:

 
I keep getting put off getting back into Minecraft because of how much new stuff there probably is.


Everytime I try to connect also I keep getting internal socket exception: connection reset??
 
Last edited:
Back
Top Bottom