Page 1 of 1

TELEPORTER

Posted: Sun Jul 29, 2012 5:36 pm
by Yoshiaki1
How do you make a random tele porter?

Re: TELEPORTER

Posted: Sun Jul 29, 2012 5:38 pm
by The-Jack-DeCk
You do not.

Re: TELEPORTER

Posted: Sun Jul 29, 2012 5:39 pm
by Eetrab
Intelli made one and only one near spawn to help get new players out of the spawn suburbs quicker and hopefully retain more new players.

Re: TELEPORTER

Posted: Sun Jul 29, 2012 5:47 pm
by Prodigy9
Yes, and it required special coding by Intelli for that one machine--you won't be able to make a teleporter just by placing blocks and items in the right order.
Unless... tekkit...

Re: TELEPORTER

Posted: Sun Jul 29, 2012 6:32 pm
by Joelove
Nor will you be able to copy such coding on your own server if that is also what you meant...

Re: TELEPORTER

Posted: Sun Jul 29, 2012 7:39 pm
by dlgn
Joelove wrote:Nor will you be able to copy such coding on your own server if that is also what you meant...
Why not? It isn't like Intelli has the random teleporter copyrighted or anything. I don't see why he couldn't use it on his own server if he wanted.

But anyway: you can't just make a teleport machine. The only reason we have one now is because Intelli put something in the code like this: (Pardon my pseudo-code, I don't know Java at all, only Python and a bit of Basic.)
Code: Select all
If PlayerCoordinates = *the tper coordinates* then
    randomnumber (a) 
    randomnumber (b) 
    PlayerCoordinates=a, *highest y*, b
Anyway, he coded it. It's a coding thing. And that isn't redundant at all. Just read my pseudo-code, and you'll understand (if you know how to read code, anyway).

Re: TELEPORTER

Posted: Sun Jul 29, 2012 9:27 pm
by shaddowdemon
Too bad it doesn't look more like this:
Code: Select all
If PlayerCoordinates = *the tper coordinates* then
    randomnumber (a) 
    randomnumber (b)
    while (biome(a,b) == ocean) {
       randomnumber(a)
       randomnumber(b)
    }
    PlayerCoordinates=a, *highest y*, b

Re: TELEPORTER

Posted: Sun Jul 29, 2012 10:51 pm
by dlgn
shaddowdemon wrote:Too bad it doesn't look more like this:
Code: Select all
If PlayerCoordinates = *the tper coordinates* then
    randomnumber (a) 
    randomnumber (b)
    while (biome(a,b) == ocean) {
       randomnumber(a)
       randomnumber(b)
    }
    PlayerCoordinates=a, *highest y*, b
IKR. Sigh. Of course, all the most awesome caves are under the ocean, so...