Commit Graph

8494 Commits (stable-5.2-namespace)

Author SHA1 Message Date
mckaygerhard 083087ae78 Check property duplicate login names
* Check for duplicate login in TOSERVER_INIT handler
  backported 492110a640
  i.e. checks for duplicate logins before sending all media data to the client
2023-09-17 20:20:22 -04:00
mckaygerhard aa8cfe19db antihacks: Patch fast/teleport vulnerability when attached to an entity
* backported https://github.com/minetest/minetest/pull/10340/commits
* Fixed God Mode
* use core::radToDeg and a single v3f to multiply attachment_pos with
* Use getLength() for diffvec
2023-09-17 20:08:04 -04:00
mckaygerhard dfeae6ac92 antihacks : Prevent players accessing inventories of other players
* this backported https://github.com/minetest/minetest/pull/10341
  Inventory: Protect Craft and Drop actions was implemented later
  as Inventory: Protect Craft and Drop actions commit
  backporting https://github.com/minetest/minetest/pull/10353
* also backported https://github.com/minetest/minetest/pull/11035
  Additional inventory access protections
2023-09-17 18:53:42 -04:00
mckaygerhard d79506d076 load warning fix for lua src build in 2023-09-17 17:42:12 -04:00
mckaygerhard 9d09cf17d2 pkgmgr: Fix crash when .conf release field is invalid
* Fixes Issue when trying to access online content
  https://github.com/minetest/minetest/issues/10942
* backported
  cd840b7c9d
2023-09-17 15:25:47 -04:00
mckaygerhard 2af5896ed1 Slap u64 on everything time-y
* get_us_time() will overflow and reset to zero every now and then.
  Had it happen several times in one day,
  https://github.com/minetest/minetest/issues/10105
* backported b5eda416ce
2023-09-17 15:20:14 -04:00
mckaygerhard f0cea26ac5 fix the implements of client enhanced information
* miscmatch of a variable pos
2023-09-11 23:53:57 -04:00
mckaygerhard 0edc870820 implements client enhanced information
* closes https://codeberg.org/minenux/minetest-engine-multicraft2/issues/49
* it takes from https://github.com/MultiCraft/MultiCraft2/pull/50
* backported from "Add platform information to get_player_information"
2023-09-07 16:06:58 -04:00
PICCORO Lenz McKAY b9971da87a Merge branch 'stable-4.0-cifixes' into 'stable-5.2-namespaces'
* fix install apt bypass cert check and
  ajust the packages need for build dependencies
  this forwadport commit 240bad96f7
* this commit forwardport those in final way:
  Fix sourceslit on older distros a0f578e8af
  Fix feladora libcurl dependencies 240bad96f7
2023-02-01 00:13:15 -04:00
PICCORO Lenz McKAY a1fa6f09dd Fix gitlab ci build step on stable 5.2/5.2-namespase: try 1
* ajust the packages need for build dependencies
* ajust the build parameters for cmake CI build
* remove the packaging and deploy stages
* use only for build checks, gitlab ci are not complety free
* remove packaging we use OBS, add feladora 37, 36, remove olders
* this commit forwardport those:
  fix being stuck at tzdata 22d9153016
  add feladora 37, 36, remove 24 5835777690
  Fix sourceslit on older distros a0f578e8af
  Fix feladora libcurl dependencies 240bad96f7
2023-01-31 23:53:05 -04:00
PICCORO Lenz McKAY d75ca63de4 featured powered player setttings : dig
* dragon fire hacked, the instant dig is currently false for now
2023-01-07 18:25:20 -04:00
PICCORO Lenz McKAY 9b877249e3 Don't allow banning in singleplayer
* fixes https://github.com/minetest/minetest/issues/11819)
2023-01-07 18:01:59 -04:00
Герхард PICCORO Lenz McKAY c9d8b13b00 changing references to real final minetest.org from oldcoder 2022-12-29 13:20:57 -04:00
mckaygerhard 06ea7329de Adap the "Remove unnecessary float limits from script API" to checks of floats
* backport 8ff3fadba0
* issues related:
    * https://github.com/minetest/minetest/issues/11742
    * https://github.com/minetest/minetest/issues/6129
* really close #4
* TODO adapt to use FLOAT checks
2022-07-20 21:55:33 +02:00
Герхард PICCORO Lenz McKAY b08d3334a2 Invalid float vector dimension range: clamp and warn instead of crash
* backported from https://github.com/minetest/minetest/pull/12389
* issues related:
    * https://github.com/minetest/minetest/issues/11742
    * https://github.com/minetest/minetest/issues/6129
* close https://codeberg.org/minenux/minetest-engine-minetest/issues/4
2022-06-03 16:34:30 -04:00
Герхард PICCORO Lenz McKAY 3645c3538b real install all found games dirs, fix f29d050767
* the commit was wrongly made, commit f29d050767
  uses a "*" and we nee to follow cmake doc as  http://www.cmake.org/cmake/help/v2.8.8/cmake.html#command:install
2022-03-22 16:45:18 -04:00
sfan5 744a72922d Look for PostgreSQL library properly and fix CI
* fixed in cmake 3.20 but it's relatively easy to add a workaround
* This was only fixed by Kitware/CMake@8b066f1 (CMake 3.20),
* backported a24899bf2d
2021-12-03 22:13:14 -04:00
mckaygerhard f29d050767 install all found games so no matter what names changed the default one 2021-12-03 18:52:05 -04:00
sfan5 30386f391c Remove std::shared_ptr use in TileLayer
* https://github.com/minetest/minetest/pull/10090
2021-12-03 18:38:40 -04:00
mckaygerhard 3c730e2250 temporally comment mersioned title due invalid c++ conversion 2021-12-02 23:04:40 -04:00
lhofhansl 3a4d01b75a Fix build for newer versions of GCC (#11246) 2021-12-02 21:52:48 -04:00
mckaygerhard 3845cd5b90 minetest game submodule updated to use new art and name minenux 2021-11-30 22:52:06 -04:00
mckaygerhard bf574d8019 fix flags: complete fix for 4ef3bc602f and set C++11/C++0X depends on compiler
* related to https://codeberg.org/minenux/minetest-engine/issues/18
* buildin jsoncpp need it to compile, so use gnu++11
* use c++11 but with gnu xtensions
* related to https://codeberg.org/minenux/minetest-engine/issues/14
* complete fix for 4ef3bc602f and set C++11/C++0X depends on compiler
* final set continuation of commit 4ef3bc602f
* property fix backported commit 582ee14446
* added missing flags for standar 11 in CC not only in C++
* property set flags due C++11 now is need in all the code
* almost the last changes need c++11 standard, this is c++0x in olders
2021-11-30 22:10:04 -04:00
Герхард PICCORO Lenz McKAY 8ccf85df69 Fix no locales being generated when APPLY_LOCALE_BLACKLIST=0
* backported from 6caed7073c
2021-11-30 17:44:33 -04:00
Герхард PICCORO Lenz McKAY bbd624535b missing end line on c++ keycode stream 2021-11-30 17:35:10 -04:00
orbea 01e0eab930 Fix Install the locale directory in a standard location
* related https://codeberg.org/minenux/minetest-engine/issues/20
* fixed builds in linux distributions
* already done 2349d31bae
* related: https://github.com/minetest/minetest/pull/9618
* backported ca8957f500
* Fix detection of in-place path_locale when RUN_IN_PLACE=0
* related: https://github.com/minetest/minetest/issues/9745
* cmake: Silence warnings backported https://github.com/minetest/minetest/pull/9750
* Fixes https://github.com/minetest/minetest/issues/9734
2021-11-30 17:29:57 -04:00
Герхард PICCORO Lenz McKAY 2e72eabafe Fix detection of in-place path_locale when RUN_IN_PLACE=0
* adress https://codeberg.org/minenux/minetest-engine/issues/20
* broken by 2349d31bae (side effect)
* https://github.com/minetest/minetest/issues/9745
2021-11-30 17:04:39 -04:00
Герхард PICCORO Lenz McKAY 4ef3bc602f set C++11/C++0X depends on compiler
* almost the last changes need c++11 standard, this is c++0x in olders
* build in jsoncpp need it to compile
2021-11-29 09:31:32 -04:00
Герхард PICCORO Lenz McKAY 2e12ab8aff fix misctakes on commit f65bba2e5c
* original work mistakes on some macros
2021-11-29 09:07:02 -04:00
mckaygerhard d8a931c7b3 as submodule set minetest 5 game with some backports from 5.3
* Use node particles for TNT explosions
  featured https://github.com/minetest/minetest_game/pull/2695
* Fix builtin item metatable
  backported https://github.com/minetest/minetest_game/pull/2328
* updated README for our fork minenux
* minetest 5 game with some backports from 5.3
* Fix boat floating in the air when water being drained away
  backported https://github.com/minetest/minetest_game/pull/2788
  fixed
* Do not crash when a skeleton key is used on an unknown node
  backported https://github.com/minetest/minetest_game/pull/2806
* default: Add missing nodes to list
  backported https://github.com/minetest/minetest_game/pull/2799
* Fix crash on TNT explosions if tnt is disabled
2021-11-23 23:24:17 -04:00
mckaygerhard de8b12ef5d provide the minetest game as submodule, so we can work unified in sync
* change README to my repos
* change git ignore to include necessary
* aded one module the minetest game
* set default game to minetest
2021-11-23 22:39:06 -04:00
sfan5 ec10d728b6 Fix broken config check in 659245a 2021-11-23 21:59:49 -04:00
Герхард PICCORO Lenz McKAY 618bf71179 fixed the d value to fix collision glitches using 0.3f
* Either way is fine, even if this turns out to make things better
  it can't solve all issues. Ultimately the d has to go and the current
  solution is beyond repair imo.
* backported comits are in:
    * https://github.com/minetest/minetest/pull/9365
    * https://github.com/minetest/minetest/pull/9327
* fixes:
    * https://github.com/minetest/minetest/issues/6886
      Unexpected collision when beginning a jump that pushes the player
    * https://github.com/minetest/minetest/issues/9143
      Huge increase in collision since 5.X

* code updating respect 5.X conflicts:
	src/collision.cpp
2021-11-23 17:36:28 -04:00
mckaygerhard df01036c3f CMake: link with Intl when necessary for kfreebsd of non-glibc libs like alpine
* non Glibc system linking with Intl library may be needed whenGettext support is enabled.
* https://git.alpinelinux.org/aports/tree/community/minetest/0001-CMake-link-with-Intl-when-necessary.patch
* Fixes: clientlauncher.cpp:(.text+0xcac): undefined reference to `libintl_gettext'
2021-11-22 00:58:43 -04:00
mckaygerhard bdec7dde0b use pkg-config to find luajit
* From: Igor Gnatenko <i.gnatenko.brain@gmail.com>
* Date: Tue, 27 Dec 2016 15:23:09 +0100
* cherry-pick 7336cbdfe2
2021-11-22 00:10:10 -04:00
mckaygerhard 338d383d47 Fix FreeBSD aarch64 faulies when use luajit
* FreeBSD uses lld, and lld does not support -Ttext-segment,
  suggesting --image-base instead. Not sure if it's equivalent change
  for the purpose at least if fixes build on FreeBSD/aarch64.
  Note that the code checks for FreeBSD, while it should really check
  for lld on any system, however I don't know any CMake facilities which allow this
* https://codeberg.org/minenux/minetest-engine/issues/16
2021-11-21 22:52:44 -04:00
Wuzzy d59ae5df31 Print error if invalid mapgen alias was detected (#9579) 2021-11-21 22:36:38 -04:00
DS 1ab22891da Allow to select en as language in settings menu (#9604)
fixes #9599
2021-11-21 22:35:51 -04:00
sfan5 0c8a31c2b2 Work around LuaJIT issues on aarch64 (#9614)
- Move the text segment below the 47-bit limit, needed for script_exception_wrapper which must be lightuserdata
- Replace CUSTOM_RIDX_SCRIPTAPI with full userdata
2021-11-21 21:48:48 -04:00
rubenwardy 5840875a39 Clarify use of minetest.request_insecure_environment() (#9597) 2021-11-21 20:43:23 -04:00
Danila Shutov d205d1715f Add tone mapping for entities (#9521)
fixes #9301
2021-11-21 20:39:48 -04:00
Wren Turkal 40aa13b63d Add allowed_mapgens option in game.conf. (#9263)
The game.conf has a disallowed_mapgens option. However, some games
require a certain mapgen to be used, like the CTF plugin. This change
adds an option to specify allowed mapgens so that the setting can be
specified in a way that needn't be updated as map generators are added
to Minetest.
2021-11-21 20:38:22 -04:00
Wuzzy 1059d2ab9c Some minor Lua API documentation clarifications (#9461)
See #5854
2021-11-21 20:36:59 -04:00
Paramat 46c71062e4 merge commit 1bcdc2d7 for docs fixed in buildin minimal game 2021-11-21 20:29:32 -04:00
rubenwardy f96a7c33e0 Fix build on FreeBSD, broken since open_url 2021-11-21 20:21:50 -04:00
SmallJoker 1fbdbc145c Silence GCC warning in mapblock_mesh
Fixes following warning:
  warning: ‘waving’ may be used uninitialized in this function [-Wmaybe-uninitialized]
2021-11-21 20:20:33 -04:00
sfan5 70b5e43403 Fix build error on Ubuntu 16.04 2021-11-21 20:08:30 -04:00
mckaygerhard 822ab80f30 retrieve more client info on minetest 5.X or 5.2 for minetest5
* take from https://forum.minetest.net/viewtopic.php?p=354631#p354631
* usefull for give more info for idetification of clients cheaters
2021-11-21 19:54:55 -04:00
mckaygerhard f65bba2e5c use minetest<version> as name per program and files
* permits to handle multiple versions of minetest on same integration
* permits better integration for distributions on linux and mac
* for progress on https://codeberg.org/minenux/minetest-engine/issues/6
* fix missing include dir for subgame.cpp
2021-11-21 14:59:53 -04:00
sfan5 24147d99c0 Bump version to 5.2.0 2020-04-05 18:31:50 +02:00