Minecraft Server Thread

Blocks, Creepers, Zombies, and Diamonds.
User avatar
Jimer Lins
Deacon
Posts:2999
Joined:Fri Jul 30, 2010 10:53 pm
Re: Minecraft Server Thread

Post by Jimer Lins » Wed May 21, 2014 4:59 pm

Or what if portals were insta-activated instead of closing a door? So you could run rails into them, even? (I have no idea if that's possible, but it's something to consider)
A man may fight for many things. His country, his friends, his principles, the glistening tear on the cheek of a golden child. But personally, I'd mud-wrestle my own mother for a ton of cash, an amusing clock and a sack of French porn. - Edmund Blackadder

User avatar
Blackferne
Archbishop
Posts:9554
Joined:Thu May 27, 2010 4:04 pm
Contact:

Re: Minecraft Server Thread

Post by Blackferne » Wed May 21, 2014 5:05 pm

Well tangentially related to Jimer's point. With /top working I realized that a hall in my hobbit hole will /top you into Bulwark's balcony (house next to the Acropolis). To help Zoe enjoy the trip I marked it with a wooden slab. It now feels like a a transporter pad in star trek.

I think if you are redesigning with in game mechanics on a programming level (and feel free to correct me if I'm wrong), the trigger needs to be an event. That used to be doors, but a button works just as well.

If you did something like stand on this block of Iron/emerald/lapus in the floor, press the button on the attached jungle wood to activate, you could get that star treky transporter design rolling. However from a practical stand point you would probably still need a chest to ID one station to another.
Jounville Blackferne
Archbishop of the Church of Alvis
Dungeon Master of the Tabletop Forum

User avatar
Blackferne
Archbishop
Posts:9554
Joined:Thu May 27, 2010 4:04 pm
Contact:

Re: Minecraft Server Thread

Post by Blackferne » Wed May 21, 2014 5:08 pm

Alternately have the floor stone be a directional instruction and the transporter will put you to the next transporter in that direction.

(all transporters would need to have 4 floor tiles then (iron, ruby, obsidian, lapus blocks maybe) and an activation button.
Jounville Blackferne
Archbishop of the Church of Alvis
Dungeon Master of the Tabletop Forum

User avatar
Jimer Lins
Deacon
Posts:2999
Joined:Fri Jul 30, 2010 10:53 pm

Re: Minecraft Server Thread

Post by Jimer Lins » Wed May 21, 2014 5:31 pm

Oh, I like the idea of a transporter. A quartz slab on a chest?
A man may fight for many things. His country, his friends, his principles, the glistening tear on the cheek of a golden child. But personally, I'd mud-wrestle my own mother for a ton of cash, an amusing clock and a sack of French porn. - Edmund Blackadder

User avatar
Bulwark
Cardinal
Posts:1740
Joined:Thu May 27, 2010 6:17 pm

Re: Minecraft Server Thread

Post by Bulwark » Wed May 21, 2014 5:47 pm

trigger plate on top of quartz on top of chest?

I like the quartz block as a limiting factor to keep them from being too common.

User avatar
Jimer Lins
Deacon
Posts:2999
Joined:Fri Jul 30, 2010 10:53 pm

Re: Minecraft Server Thread

Post by Jimer Lins » Wed May 21, 2014 5:55 pm

Could go full Star Trek and require a quartz slab with another one above, activated by a button or plate. A pressure plate would work but it'd be instant so there would be issues of popping back and forth- unless you made them one-way, which could also be interesting.
A man may fight for many things. His country, his friends, his principles, the glistening tear on the cheek of a golden child. But personally, I'd mud-wrestle my own mother for a ton of cash, an amusing clock and a sack of French porn. - Edmund Blackadder

User avatar
Bulwark
Cardinal
Posts:1740
Joined:Thu May 27, 2010 6:17 pm

Re: Minecraft Server Thread

Post by Bulwark » Wed May 21, 2014 6:15 pm

some pseudo code to get things started. I'm not sure of any of the method names or even if they work like this, but I assume the mincraft code has something similar.

Code: Select all

// create Portals
void OnEventPlaceBlock(Event event)
{
  if (event.getBlockType() != pressurePlate.ID)
    return;
  Block block = event.getBlock();
  Block blockBelow1 = getBlockAt(block.getX(), block.getY()-1, block.getZ());
  Block blockBelow2 = getBlockAt(block.getX(), block.getY()-2, block.getZ());
  if (blockBelow1.blockType() == QuartzBlock.ID AND blockBelow2.blockType() == Chest.ID)
  {
    Items[] contents = (Chest)blockBelow2.getContents();
    if (!Portals.exists(contents))
      {
        Portals.addPortal(contents,block.getX(), block.getY(), block.getZ() );  
      }
  }
}
------
Boolean addPortal(Items key, Int x, Int y, int z)
{
  if (portalKeys.count(key) == 2)
    return False;
  if (portalKeys.count(key) == 0)
    newPortal(key, x, y, z);
  if (portalKeys.count(key) == 1)
    linkPortal(key,x, y, z)
}
------
// use portal
OnEventTriggerPressurePlate(Block plate)
{
  if (Portal.isPortal(plate.getX(), plate.getY(), plate.getZ())
    teleportPlayer(Portal.getLink(plate.getX(), plate.getY(), plate.getZ()));
}

User avatar
Jimer Lins
Deacon
Posts:2999
Joined:Fri Jul 30, 2010 10:53 pm

Re: Minecraft Server Thread

Post by Jimer Lins » Wed May 21, 2014 6:17 pm

Look at you with all your Java wankery. ;)

I like the concept a lot.
A man may fight for many things. His country, his friends, his principles, the glistening tear on the cheek of a golden child. But personally, I'd mud-wrestle my own mother for a ton of cash, an amusing clock and a sack of French porn. - Edmund Blackadder

User avatar
Whiteness
Priest
Posts:3128
Joined:Wed Jun 23, 2010 3:38 pm
Location:Richmond, VA

Re: Minecraft Server Thread

Post by Whiteness » Wed May 21, 2014 6:19 pm

I missed the last page at first, I was going to suggest the full on transporter too!

It would be more cumbersome than the existing setup, but maybe a series of switches determine where you end up? Up Up Up takes you to town, Up Down Up takes you to X, Up Down Down takes you to Y, etc.
Spoiler:
Within 5 squares of Syric: +1 to Healing surges, +3 Diplomacy, +2 Intimidate, +2 Speed on surprise and 1st regular rounds
Between 6-10 squares of Syric: +1 Diplomacy

HP 63 / AC 23 / FORT 20 / REF 18 / WILL 21

User avatar
Jimer Lins
Deacon
Posts:2999
Joined:Fri Jul 30, 2010 10:53 pm

Re: Minecraft Server Thread

Post by Jimer Lins » Wed May 21, 2014 6:20 pm

Github repository: https://github.com/Cyclometh/mc-transporter

I'm going to put the basic structures in place shortly and do an initial draft commit.
A man may fight for many things. His country, his friends, his principles, the glistening tear on the cheek of a golden child. But personally, I'd mud-wrestle my own mother for a ton of cash, an amusing clock and a sack of French porn. - Edmund Blackadder

User avatar
Bulwark
Cardinal
Posts:1740
Joined:Thu May 27, 2010 6:17 pm

Re: Minecraft Server Thread

Post by Bulwark » Wed May 21, 2014 6:20 pm

Jimer Lins wrote:Look at you with all your Java wankery. ;)

I like the concept a lot.
obviously It will need code for deleting a portal (onBlockDestroyEvent?) and similar functionality to the lapisPortal redstone torch to make the subway station return people to their houses properly, but this should get us started.

User avatar
Whiteness
Priest
Posts:3128
Joined:Wed Jun 23, 2010 3:38 pm
Location:Richmond, VA

Re: Minecraft Server Thread

Post by Whiteness » Wed May 21, 2014 6:21 pm

Bulwark wrote:trigger plate on top of quartz on top of chest?

I like the quartz block as a limiting factor to keep them from being too common.
I can't wait to get in game and put holes in jimer's tower :shifty:
Spoiler:
Within 5 squares of Syric: +1 to Healing surges, +3 Diplomacy, +2 Intimidate, +2 Speed on surprise and 1st regular rounds
Between 6-10 squares of Syric: +1 Diplomacy

HP 63 / AC 23 / FORT 20 / REF 18 / WILL 21

User avatar
Bulwark
Cardinal
Posts:1740
Joined:Thu May 27, 2010 6:17 pm

Re: Minecraft Server Thread

Post by Bulwark » Wed May 21, 2014 6:21 pm

Whiteness wrote:I missed the last page at first, I was going to suggest the full on transporter too!

It would be more cumbersome than the existing setup, but maybe a series of switches determine where you end up? Up Up Up takes you to town, Up Down Up takes you to X, Up Down Down takes you to Y, etc.
complexity adds complexity :)

User avatar
Jimer Lins
Deacon
Posts:2999
Joined:Fri Jul 30, 2010 10:53 pm

Re: Minecraft Server Thread

Post by Jimer Lins » Wed May 21, 2014 6:22 pm

Whiteness wrote:I missed the last page at first, I was going to suggest the full on transporter too!

It would be more cumbersome than the existing setup, but maybe a series of switches determine where you end up? Up Up Up takes you to town, Up Down Up takes you to X, Up Down Down takes you to Y, etc.
Actually, with a chest under a slab, it would be smaller than the current one.
A man may fight for many things. His country, his friends, his principles, the glistening tear on the cheek of a golden child. But personally, I'd mud-wrestle my own mother for a ton of cash, an amusing clock and a sack of French porn. - Edmund Blackadder

User avatar
Whiteness
Priest
Posts:3128
Joined:Wed Jun 23, 2010 3:38 pm
Location:Richmond, VA

Re: Minecraft Server Thread

Post by Whiteness » Wed May 21, 2014 6:24 pm

Jimer Lins wrote:
Whiteness wrote:I missed the last page at first, I was going to suggest the full on transporter too!

It would be more cumbersome than the existing setup, but maybe a series of switches determine where you end up? Up Up Up takes you to town, Up Down Up takes you to X, Up Down Down takes you to Y, etc.
Actually, with a chest under a slab, it would be smaller than the current one.
I was picturing a full transporter room before I saw blackie's post, but then I thought the multiple switches I was talking about would take up space
Spoiler:
Within 5 squares of Syric: +1 to Healing surges, +3 Diplomacy, +2 Intimidate, +2 Speed on surprise and 1st regular rounds
Between 6-10 squares of Syric: +1 Diplomacy

HP 63 / AC 23 / FORT 20 / REF 18 / WILL 21

User avatar
Maizan
Priest
Posts:1419
Joined:Sun Dec 11, 2011 11:15 pm
Location:Mississauga, Ontario Canada Eh.

Re: Minecraft Server Thread

Post by Maizan » Wed May 21, 2014 6:46 pm

Jimer Lins wrote:
Whiteness wrote:I missed the last page at first, I was going to suggest the full on transporter too!

It would be more cumbersome than the existing setup, but maybe a series of switches determine where you end up? Up Up Up takes you to town, Up Down Up takes you to X, Up Down Down takes you to Y, etc.
Actually, with a chest under a slab, it would be smaller than the current one.
We should use trapped chests so then can go for the narrow look. Like a slab above, slab below and something in the back for the button to go.
___
Sorry, got nothin.

User avatar
Jimer Lins
Deacon
Posts:2999
Joined:Fri Jul 30, 2010 10:53 pm

Re: Minecraft Server Thread

Post by Jimer Lins » Wed May 21, 2014 6:55 pm

OK, so one little fly in the ointment- you can't put pressure plates on half-slabs. So it'd have to be a chest, then a quartz block, then a pressure plate.
A man may fight for many things. His country, his friends, his principles, the glistening tear on the cheek of a golden child. But personally, I'd mud-wrestle my own mother for a ton of cash, an amusing clock and a sack of French porn. - Edmund Blackadder

User avatar
Bulwark
Cardinal
Posts:1740
Joined:Thu May 27, 2010 6:17 pm

Re: Minecraft Server Thread

Post by Bulwark » Wed May 21, 2014 7:01 pm

Jimer Lins wrote:OK, so one little fly in the ointment- you can't put pressure plates on half-slabs. So it'd have to be a chest, then a quartz block, then a pressure plate.
works for me

User avatar
Blackferne
Archbishop
Posts:9554
Joined:Thu May 27, 2010 4:04 pm
Contact:

Re: Minecraft Server Thread

Post by Blackferne » Wed May 21, 2014 7:17 pm

Actually whitey's idea reminded me of:

Image

Which could solve the sprawl problem a bit. Assume that a series of switches helps you program where it goes like the chevrons on a star gate. And it will only open if it matches. But if we made construction of a stargate a bit of an issue or large or whatever you wouldn't have whitey's 9 teleporters in his house, and the incentive would be to drop them at geographically reasonable places.

Example list:
Town
Ocean port on the East
Jungle deep south
Far northern alpine
Desert beyond bulwark's wall.

Then we have incentive to build infrastructure around stargates since it isn't just "of this cave is mildly interesting I'll build a portal real quick"
Jounville Blackferne
Archbishop of the Church of Alvis
Dungeon Master of the Tabletop Forum

User avatar
Blackferne
Archbishop
Posts:9554
Joined:Thu May 27, 2010 4:04 pm
Contact:

Re: Minecraft Server Thread

Post by Blackferne » Wed May 21, 2014 7:22 pm

Second thought maybe don;'t do switches to determine location as that is not something I think Zoe would get quite yet.
Jounville Blackferne
Archbishop of the Church of Alvis
Dungeon Master of the Tabletop Forum

User avatar
Maizan
Priest
Posts:1419
Joined:Sun Dec 11, 2011 11:15 pm
Location:Mississauga, Ontario Canada Eh.

Re: Minecraft Server Thread

Post by Maizan » Wed May 21, 2014 7:50 pm

Blackferne wrote:Second thought maybe don;'t do switches to determine location as that is not something I think Zoe would get quite yet.
Forget Zoe, I don't think I would get it. :)

I like the teleporter pad idea with the activation being a plate or button.

Image

(Sorry for the largeness of this....)
___
Sorry, got nothin.

User avatar
Whiteness
Priest
Posts:3128
Joined:Wed Jun 23, 2010 3:38 pm
Location:Richmond, VA

Re: Minecraft Server Thread

Post by Whiteness » Wed May 21, 2014 7:51 pm

Do both!

The stargate one could be similar to existing netherportals, just using different materials.
Spoiler:
Within 5 squares of Syric: +1 to Healing surges, +3 Diplomacy, +2 Intimidate, +2 Speed on surprise and 1st regular rounds
Between 6-10 squares of Syric: +1 Diplomacy

HP 63 / AC 23 / FORT 20 / REF 18 / WILL 21

User avatar
Bulwark
Cardinal
Posts:1740
Joined:Thu May 27, 2010 6:17 pm

Re: Minecraft Server Thread

Post by Bulwark » Wed May 21, 2014 8:34 pm

the problem with the stargate is the number of switches you would need for unique locations. We probably have 50 portals in game right now. That means each stargate would need room for 6 switches just to support our current infrastructure. (2^switches = number of unique destinations)

Then there is the problem of remembering the addresses for each location. Was it 'up up down up down down up' or' up up down up down up down' to get to spawn?

User avatar
Maizan
Priest
Posts:1419
Joined:Sun Dec 11, 2011 11:15 pm
Location:Mississauga, Ontario Canada Eh.

Re: Minecraft Server Thread

Post by Maizan » Wed May 21, 2014 8:34 pm

Hey Jimer, did you get the access setup for my Nephew Flupe?

Thank you if already done.
___
Sorry, got nothin.

User avatar
Jimer Lins
Deacon
Posts:2999
Joined:Fri Jul 30, 2010 10:53 pm

Re: Minecraft Server Thread

Post by Jimer Lins » Wed May 21, 2014 8:44 pm

Done, sorry for the delay.
A man may fight for many things. His country, his friends, his principles, the glistening tear on the cheek of a golden child. But personally, I'd mud-wrestle my own mother for a ton of cash, an amusing clock and a sack of French porn. - Edmund Blackadder

Post Reply