Kuxynator's Personal Teleporter


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

Utilities
25 days ago
2.0
651
Transportation Cheats

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

a month 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>

a month ago
(updated a month ago)

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

a month ago
(updated a month 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

a month 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.

a month ago

Thanks!! I'll be wait :)

a month ago

the crash is fixed, see next version

a month ago

Thank, I'll see :)

a month ago

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

a month 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>

a month 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

a month 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.

a month ago

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

a month 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.

a month ago

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

a month ago
(updated a month ago)

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

a month ago
(updated a month 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.

a month 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 :)

a month 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