summaryrefslogtreecommitdiff
path: root/teleport_tube.lua
AgeCommit message (Collapse)Author
2021-02-05Remove unused loop variables, trailing whitespace and fix mixed-whitespace ↵HybridDog
indentations
2020-08-09Expose teleport tube database APISX
2020-02-20Translation string errorsLouis Royer
Fixes #21. Sorry, I had put wrong identifiers in translations strings. Also, found another one to fix in `teleport_tube.lua`. I hope, there is no other error.
2020-02-18Add translation supportLouis Royer
- Created `locale/template.txt` - Fixed some typos - Replace some `print("[pipeworks]"..` with `pipeworks.logger()` - Removed "You hacker, you" from descriptions
2018-10-30use basic_materials mod where possibleVanessa Dannenberg
2017-12-22teleport_tube.lua: add checks for hash collisions in positions tablethetaepsilon-gamedev
2017-12-22teleport_tube.lua: fix 32-bit clamping issues on some systems for %d in ↵thetaepsilon-gamedev
string.format Some servers running ubuntu in particular were reporting issues with teleport tubes not working. On investigation, all tube entries were colliding as string.format("%d", ...) was returning either -2^31 or 2^31-1 depending on system bit width, causing hash entries to be overwritten. This is possibly related to the use of C sprintf within lua. Fix this by using %g instead to interpret as double without int conversion, with a large enough number of digits such that all possible 2^48 values from minetest.hash_node_position() can be correctly serialised.
2017-04-12fix scale of on/off switch in teleport tubeVanessa Ezekowitz
2015-03-14teleport_tube.lua recipe changeRainer
The default mese block has been changed to default:mese, so a change of the recipe of the teleport_tube_1 had to be made
2015-03-11add ownership/protection handling for device configurationTim
take any available ownership into account before deciding on area protection
2015-02-05use the right variable to test on_receive_fieldsTim
2015-02-04don't tostring "nil" in the teleportation tube on escapeTim
2015-02-03trim teleport_tube string inputTim
2015-01-31switch to the minetest-conventional def-table style of registering tubes to ↵Tim
clean up their registrations fallback for the old call is provided
2015-01-31reduce texturename repetition via __indexTim
2015-01-29add tube inventory image to the restyled tp tube formspecTim
2015-01-29move autocrafter, tp-tube and filter-injector crafts to their respective ↵Tim
code files
2015-01-29add infotexts to the teleportation tubeTim
this should also debunk the myth of some players, that they are the only ones seeing the channel
2015-01-29improve/style tp tube formspec and formspec handlingTim
display text explaining private channels
2015-01-25use a hashmap to manage teleportation tubes, to speedup lookups and ↵Tim
tablemodifications
2015-01-25improve tp_tube configuration handling to decrease disk i/o, handle empty ↵Tim
strings and form escapes
2015-01-20rewrite parts of the teleportation tube to avoid a few grave performance issues:Tim
* don't forceload the block of every single tube in the world on every item being send through any one of them * cache file contents to avoid unnecessary reads on every single item send through a tp tube * reduce redundant metadata and table lookups * reduce write operations during the same changes to a file still to do is a switch from an arraylist-table to a hashmap-table to make lookups and updates on the cache faster
2014-11-22update to use current mesecons APIVanessa Ezekowitz
requires mesecons commit 5be179bf110b44bdc06df6dbfde4e61487cf0635 or newer.
2014-07-21Better teleport tube control dialogZefram
Describe the two modes as "Send and Receive" and "Send only", rather than the misleading "On" and "Off". Also make the mode toggle button lag-resistant.
2014-07-05Name tube items for function rather than materialZefram
Previously, some tube types were named based on their function, and others based on some arbitrarily-chosen material used in their construction, with no meaningful system governing which was in each category. With this change they are consistently named according to function. Naming style is also made consistent in the wording that identifies tubes as such, and in capitalisation.
2014-06-29Fix problems with incorrectly destructed teleport tubes.Novatux
2014-01-03Support for the mesecons mvps callbackNovatux
2013-12-21local-ize a couple of variables, code style fixesVanessa Ezekowitz
2013-12-15local-ize a few more variables, move all of the nodebox modelsVanessa Ezekowitz
into their own file and confine them and pretty much everything else to the pipeworks.{} table (still global though). More to come.
2013-12-15local-ize pretty muchg everything that was previously global except whereVanessa Ezekowitz
stuff needs to be globally-visible. Also, fix a bad drop on valve.
2013-08-06added reserved teleport channelshdastwb
2013-06-30Phased out all deprecated minetest.env:* uses in favor of minetest.*Vanessa Ezekowitz
2013-06-05Add an no-receive option to teleport tubes.Novatux
2013-05-21Fix the teleport tube in the latest mt.Anthony Zhang
2013-04-13Fix repartition of teleport tubes not being random.Novatux
2013-02-03Improved the code of the teleport tube.Novatux
2013-01-19Added textures for teleport tubeNovatux
2013-01-19Added channel formspec for teleport tubeNovatux
2013-01-19Added accelrator and teleport pipesNovatux