Kuxynator's Personal Teleporter


Adds a personal teleporter that can be used to teleport to any location on the map. NEW teleport into hub and out Many hotkeys: surface level up/down, next Factorissiomo factory, big jump, small jump, etc... or by mouse click

Utilities
2 months ago
2.0
2.59K
Transportation Cheats

b [FIXED] An error wnen tried teleport to other surface

10 months ago

Error while running event Kux-PersonalTeleport::on_built_entity (ID 6)
LuaEntity belongs to surface nauvis (index 1) but a LuaEntity belonging to surface nauvis-factory-floor (index 5) was expected.
stack traceback:
[C]: in function 'set_controller'
Kux-PersonalTeleport/control.lua:615: in function 'fnc'
Kux-CoreLib/lib/EventDistributor.lua:157: in function <Kux-CoreLib/lib/EventDistributor.lua:151>

10 months ago
(updated 10 months ago)

tell me more,
which method of teleport, which hotkey or shortcut (mouse)
which Factorissimo? multi surface or single surface?

10 months ago
(updated 10 months ago)

Fctorissimo, yeah.
I started a search using the mod https://mods.factorio.com/mod/FactorySearch, the search showed me a building inside the Factorissimo factory, I pressed the hotkey Teleport to position, pointing this place with the mouse. and it was on one planet - Nauvis

10 months ago

ok, this really does not work.
This means that the mod does not suport teleport to another surface in this way.
I can try to implement this.

9 months ago

Thanks!! I'll be wait :)

9 months ago

the crash is fixed, see next version

9 months ago

Thank, I'll see :)

9 months ago

YESS!!! It work fine, thanks, thanks!

9 months ago

An error again, again with factorissimo3
Here is a screenshot, https://ibb.co/j43NRNj I've selected factory-floor-1 and tried to teleport here.

Error while running event Kux-PersonalTeleport::on_built_entity (ID 6)
Kux-CoreLib/lib/mods/Factorissimo.lua:187: attempt to index local 'entity' (a nil value)
stack traceback:
Kux-CoreLib/lib/mods/Factorissimo.lua:187: in function 'getToplevelSurface'
Kux-PersonalTeleport/control.lua:626: in function 'fnc'
Kux-CoreLib/lib/EventDistributor.lua:157: in function <Kux-CoreLib/lib/EventDistributor.lua:151>

9 months ago

and again, I need the exact steps to reproduce this.
why do you have so much surfaces? do you use an old savegame?
the reason for the error is that Factorissimo.api.find_surrounding_factory returns a factory object, but no entity for this and I have to find out why, before I send an error report to Factorissimo

9 months ago

I'm not quite sure, but I suspect that such a number of surfaces is the result of the fact that I made a lot of test versions in the "Blueprint Sandboxes" sandbox, while not deleting the building, I clicked the Reset sandbox. And it seems to me that they "hung" these buildings somewhere.

9 months ago

May be it would help, if I send You a save? But I use about 250 mods... Loading game may took much time :)

9 months ago

‘factory-floor’ belongs to Factorissimo. in new versions there is only 1. in earlier versions you could still choose bettween single surface ot multi surfaces. but in the meantime in single- surface the standard. but i dont think this is the reason.
you can share your save, but i still need the exact steps that lead to the error. i have already jumped between the buildings in various ways, without error.

9 months ago

Just jumped to factory floor 5
https://ibb.co/6PnD1jf -- screenshot
https://dropmefiles.com/kIoqY - save

9 months ago
(updated 9 months ago)

oops can not load I don't have Space Age yet. too much to do with the api changes.
https://prnt.sc/sOp4mSnOsfR4

9 months ago
(updated 9 months ago)

I have deactivated all mods for Space Age. so I could start you game.
I can jump w/o problems, to and from any Factorissimo building. using the sourtcut tool and hot keys
so i need the exact steps at which the error occurs for you.

9 months ago

Just three steps - press "M" for map, selecting 5 floor, try teleport inside the only building.
Ok, it's not a big problem, really :)

9 months ago

Ahh OK, I assume that the surfaces are disconnected and have no (built) factory entity to jump in.
i will catch the error, and do nothing

New response