You are not logged in.

IndustrialCraft² recent version: v1.111! (For Minecraft 1.4.5)
IndustrialCraft recent version: v8.55_02! (For Minecraft 1.7.3 Beta)
Please pay attention on where you put your topics! (IC² doesn't belong into IC)

Dear visitor, welcome to IC² Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Monday, July 2nd 2012, 6:09pm

Teleporters + Frames do not work

As i am not familiar with all the code of the teleporter, i have no idea how much work this would be, but here is my "problem":

i have a flying mining machine, 6-way-frame-engine, some IC2-miners and MV-Solarpanels from CompactSolars Addon.
Now i want to have a small teleport-system between my base and my miner, so i can teleport both ways.
From my miner to my base works perfect, now that 1.97 fixed that broken EnergyNet-thingy...
But i can't teleport from my Base to my miner, if it was moved after linking the teleporters (yes, i did connect them in both ways, works perfect before moving with frames).

my understanding of the teleporters is, as soon as they are connected, they know the coordinates of their counterpart and check if it is still there when you try to teleport.
I could imagine the Teleporters to work similiar to the TeleportPipes from Buildcraft, or Wireless Redstone with an ID-system.
You put both Teleporters down, open the gui and set them to the same frequency. maybe an option if it is a "send-only" or a "arrive-only" teleporter (i could think of some uses for that).
I am not sure if it should be like teleport pipes where every player has his own 10k IDs or like wireless Redstone where all 10k frequencies are shared among all players (smp)... would it be possible to make this an option in the server cfg?

well.. the whole rework would be the sugar on top, but i'd really love to have teleporters still work after the arrival station has been moved by frames

GregoriusT

Leader of GregTech Intergalactical

  • "GregoriusT" is male

Posts: 5,396

Location: Working on more Multiblocks. No I wont make Nukes from them.

  • Send private message

2

Monday, July 2nd 2012, 7:42pm

You are right, it should be much better, than just storing the direct Coordinates.

Why not adding all the Teleporters to a List (i guess Frames are not destroying the Pointer/Adress of the Block), and then just go by the Listindex, to choose the Teleporter to connect.
I don't say, your "insert whatever here" is bad,
I'm only showing possibilities for making it better.

I use the Eisenhower Matrix to sort out all the received PMs. It's very useful.

GregTech Tesseracts are opening endless possibilities in regards of remote Inventory and Tank management, and are far better than just Teleport Pipes!

passinglurker

self proclaimed nerf killer

  • "passinglurker" is male

Posts: 1,292

Location: summoning alblaka to destroy the spambots

  • Send private message

3

Monday, July 2nd 2012, 7:58pm

shouldn't this go in support?
true balance is impossible in video games the best one can hope for is to make it really hard to guess which of 2 choices are better.
and remember kids "NEVER UNDERESTIMATE THE POWER OF JOKES!"

GregoriusT

Leader of GregTech Intergalactical

  • "GregoriusT" is male

Posts: 5,396

Location: Working on more Multiblocks. No I wont make Nukes from them.

  • Send private message

4

Monday, July 2nd 2012, 8:00pm

shouldn't this go in support?
Nope, Suggestions is right for an improvement.

Support is for broken things.
I don't say, your "insert whatever here" is bad,
I'm only showing possibilities for making it better.

I use the Eisenhower Matrix to sort out all the received PMs. It's very useful.

GregTech Tesseracts are opening endless possibilities in regards of remote Inventory and Tank management, and are far better than just Teleport Pipes!

passinglurker

self proclaimed nerf killer

  • "passinglurker" is male

Posts: 1,292

Location: summoning alblaka to destroy the spambots

  • Send private message

5

Monday, July 2nd 2012, 8:10pm

but all fixes are improvements aren't they?
true balance is impossible in video games the best one can hope for is to make it really hard to guess which of 2 choices are better.
and remember kids "NEVER UNDERESTIMATE THE POWER OF JOKES!"

GregoriusT

Leader of GregTech Intergalactical

  • "GregoriusT" is male

Posts: 5,396

Location: Working on more Multiblocks. No I wont make Nukes from them.

  • Send private message

6

Monday, July 2nd 2012, 8:30pm

but all fixes are improvements aren't they?
Yes they are, but to fix things they must be broken before (Except you are Nikola Tesla, because he fixes things which aren't broken :D), and if Mod-X (Redpower) breaks something, than is it not the direct responsibility of Industrialcraft (even if its IC²s fault), and so you have to suggest more Crossmodcompatiblity, in this case for Frames.
I don't say, your "insert whatever here" is bad,
I'm only showing possibilities for making it better.

I use the Eisenhower Matrix to sort out all the received PMs. It's very useful.

GregTech Tesseracts are opening endless possibilities in regards of remote Inventory and Tank management, and are far better than just Teleport Pipes!

7

Monday, July 2nd 2012, 11:07pm

well, i put it into suggestion, because i am not just saying "doesn't work", but i also give a "suggestion" how the teleporter could be (imho) improved to match my needs
if i had written "teleporter + frames do not work, plx helps me", it would have gone to support ;)

8

Tuesday, July 3rd 2012, 4:10am

i cant get teleporters working on my own anyways. i generally have no idea how they work.

9

Tuesday, July 3rd 2012, 8:51am

TE objects shoud have onUpdate() method that can be called if something want TE object to update itself, this will allow frames and any other modadded ability to move anything work properly.
field = universe.getClass().getDeclaredField("answer");
field.setAccessible(true);
field.set(universe, 43);

10

Thursday, July 5th 2012, 11:16am

Then what happens when you move a Teleporter with a plain old vanilla piston?

GregoriusT

Leader of GregTech Intergalactical

  • "GregoriusT" is male

Posts: 5,396

Location: Working on more Multiblocks. No I wont make Nukes from them.

  • Send private message

11

Thursday, July 5th 2012, 11:58am

Then what happens when you move a Teleporter with a plain old vanilla piston?
You cant move it with a Piston, its a TileEntity.
I don't say, your "insert whatever here" is bad,
I'm only showing possibilities for making it better.

I use the Eisenhower Matrix to sort out all the received PMs. It's very useful.

GregTech Tesseracts are opening endless possibilities in regards of remote Inventory and Tank management, and are far better than just Teleport Pipes!

12

Thursday, July 5th 2012, 2:57pm

TE objects in current implementation can be moved only with black magic, this have side effects if object bound to its location and have no code to handle position change.
field = universe.getClass().getDeclaredField("answer");
field.setAccessible(true);
field.set(universe, 43);

13

Saturday, July 7th 2012, 9:50pm

TE objects in current implementation can be moved only with black magic, this have side effects if object bound to its location and have no code to handle position change.

And thats exactly why i was suggesting that such "anti-black-magic"-code should be implemented to prevent the teleporter being harmed by foul magic... or frames... or stuff like that... :P

There are some mods that can move blocks (also TEs): RedPower (Frames), ZeppelinMod (Makes whole structures an flying Entity), PortalMod (PortalGun can move blocks)
Probably even some more

GregoriusT

Leader of GregTech Intergalactical

  • "GregoriusT" is male

Posts: 5,396

Location: Working on more Multiblocks. No I wont make Nukes from them.

  • Send private message

14

Sunday, July 8th 2012, 12:30am

TE objects in current implementation can be moved only with black magic, this have side effects if object bound to its location and have no code to handle position change.

And thats exactly why i was suggesting that such "anti-black-magic"-code should be implemented to prevent the teleporter being harmed by foul magic... or frames... or stuff like that... :P

There are some mods that can move blocks (also TEs): RedPower (Frames), ZeppelinMod (Makes whole structures an flying Entity), PortalMod (PortalGun can move blocks)
Probably even some more
Even Thaumcraft can do similar things with the Portable Hole (since 2.1.6d)
I don't say, your "insert whatever here" is bad,
I'm only showing possibilities for making it better.

I use the Eisenhower Matrix to sort out all the received PMs. It's very useful.

GregTech Tesseracts are opening endless possibilities in regards of remote Inventory and Tank management, and are far better than just Teleport Pipes!

15

Sunday, July 8th 2012, 2:45am

no matter how many mods can do this, it's skill black magic, also link to moving teleporter stored inside remote teleporter, to allow both platform to moove freely some code modifications are requred.
field = universe.getClass().getDeclaredField("answer");
field.setAccessible(true);
field.set(universe, 43);

16

Sunday, July 8th 2012, 5:38am

no matter how many mods can do this, it's skill black magic, also link to moving teleporter stored inside remote teleporter, to allow both platform to moove freely some code modifications are requred.

We are talking about a computer program here? Your saying your going to have to modify the code to change the way it works?

This would be a good addition to IC2. Perhaps have each teleporter get assigned an ID (like maps) stored in the damage value (or meta data I guess) that allows them to be addressed by an ID instead of a co-ordinate. So when you step on a teleportation table thingy it does a lookup on the ID of it's "partner" teleporter and gets the co-ordinates. Might still work weirdly if the frame was moving when you teleport.
My percentage based PHP cable loss calculator:
http://bbqroast.strangled.net/stuff/cableCalc/

17

Sunday, July 8th 2012, 5:59am

Slight displace on the move is not a problem. Teleporters tied to other one should remember target id, not coords. Targeting to some coords can be other mode for Teleporter.

ThaumCraft can be a problem with it's Portable Holes as it moves to unknown place. Where would you be teleported to?

It would quite fun to teleport on the PortalGun tip :D

18

Sunday, July 8th 2012, 8:58pm

it's Portable Holes as it moves to unknown place. Where would you be teleported to?
and again: i dont have any clue how it works, but i guess you couldn't teleport to an portalgunned teleporter or one that is moving in the same moment by frames, as these get converted into some kind of dummy block (at least that how i would have solved it), which contain all block data, but ain't the block itself... and for thaumcraft i guess the hole temporarely removes them while having them stored (im form of data and not as a block somewhere)

19

Sunday, July 8th 2012, 9:22pm

So I can guess in the table of all Teleporters only last known coords can be found. It seems check for presence of this Teleporter at these coords needed. Or pick/place events.

20

Tuesday, July 17th 2012, 11:15am

well, to kinda "bump" this thread, i got another idea how this could be realised, probably way easier to implement, but a little less userfriendly i guess:
when using an unused frequency transmitter on a unlinked teleporter, the teleporter gets an unique ID, which is saved in the transmitter, as well as the last known position. when linking the second teleporter, those data get saved in the second teleporter (duh). and each time you use this teleporter, it will first check if the target teleporter is still at the last known coords (saving same cpu power), else it has to search for the teleporter with the matching ID... ID could be saved as meta-data ("damage value") i guess

Similar threads

Counter:

Hits today: 15,862 | Hits yesterday: 40,071 | Hits record: 71,403 | Hits total: 14,218,871