6922 Commits

Author SHA1 Message Date
aa3e2220d6 load warning fix for lua src build in 2023-09-17 17:41:10 -04:00
6f48f790d4 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:17:22 -04:00
23759f5ce4 fix misctyped package at ci/cd builds gitlab 2023-09-13 01:26:04 -04:00
2073e5409b fix missing idn lib for feladora at ci/cd gitlab builds 2023-09-13 01:23:31 -04:00
e713d3567c use SSE registers for FP operations on i386 for moder gcc platform arches
* only use if related are given, by example 32bit using gcc compilers/stdlibs
  becouse of the long time bugs around those errors by desing,
  its not about to crash the engine.. its about to permits to hacked clients
  (either players or the client program per se) making predictable results,
  so predictable results permits to catch securit issues!
* floating point problems are only on modern gcc and modern platform arches,
  raising problems like bad calculations positions.. a long time bug
  reported at https://git.minetest.land/Mineclonia/Mineclonia/issues/201
  and addressed at https://github.com/minetest/minetest/issues/11742#issuecomment-994444462
  with enought explanations but not accepted byt stupid developers..
  now years later.. the problems were solved and reconiced as big bug!
  A workaround were proposed at https://github.com/minetest/minetest/pull/12389/files
  but never accepted (included in this repository), cos was superset
  by 8ff3fadba0
* related https://codeberg.org/minenux/minetest-engine-multicraft2/issues/57
2023-09-13 01:14:03 -04:00
696ec9a022 fix missing pkgconfig n ci/cd gitlab builds 2023-09-13 00:53:52 -04:00
cb8fa1e674 fix serverlist implementation error, fix postgres find, fix pkg-config missing from ci build
* closes https://codeberg.org/minenux/minetest-engine-minetest/issues/25
* related https://codeberg.org/minenux/minetest-engine-multicraft2/issues/46
2023-09-13 00:43:52 -04:00
02da4d6a59 Fixes race condition in 'on joinplayer' that causes stat bar bugs.
* related to eea1fdaf25
* related to https://codeberg.org/minenux/minetest-engine-minetest/issues/33
2023-09-13 00:15:31 -04:00
a1eecb0267 fix profiler errors if statbars are updated only
* Default to '??' (common Minetest notation) for unknown mods when loaded
* its related to a future implementation of statbars
* related to https://github.com/minetest/minetest/issues/8237
2023-09-13 00:07:33 -04:00
ae90f8d699 Customizeable max breath and max hp for players
* it closes https://codeberg.org/minenux/minetest-engine-minetest/issues/33
* Statbars: Downscale bar to full 20 HP when exceeding this value
  Add default max HP for players and breath constants to builtin
  Document the constants
  Rename PLAYER_MAX_HP -> PLAYER_MAX_HP_DEFAULT
* implements PLAYER_MAX_BREATH_DEFAULT Customizeable max breath for players
  edbc533414
  so close https://github.com/minetest/minetest/issues/1972 that
  imports pr https://github.com/minetest/minetest/pull/6411
* implements PLAYER_MAX_HP_DEFAULT Respect object property hp_max field for players
  f7d50a8078
* so close https://github.com/minetest/minetest/issues/2246 that
  imports https://github.com/minetest/minetest/pull/6287
2023-09-12 23:54:00 -04:00
6ced19624f fix the implements of client enhanced information, bad typo dollar event address ampersan 2023-09-12 22:27:48 -04:00
3a9313b0c3 update gitlab-ci build CI/CD Windos process for packaged minners 2023-09-12 22:23:58 -04:00
2f2c13068c update gitlab-ci build CI/CD process for development 2023-09-12 22:13:35 -04:00
e9dda911e2 fix the implements of client enhanced information, missing comma 2023-09-12 22:04:03 -04:00
aa98a66666 Fix linking with Postgres libs on older cmake versions
* integrates https://github.com/minetest/minetest/pull/11215
  so it backported a24899bf2d
* closes https://github.com/minetest/minetest/issues/12149
* closes https://github.com/minetest/minetest/issues/11219
* backported 998e4820c9
2023-09-12 21:44:47 -04:00
23d8b837f4 Don't regain breath while in ignore node
* backported https://github.com/minetest/minetest/pull/8218
* Fixed the issue of Player regains a little breath when
  rejoining game into ignore
2023-09-12 20:38:47 -04:00
209f31601d fix the implements of client enhanced information, on api txt 2023-09-12 20:32:42 -04:00
4c3adcf77c Fix find_path for newer jsoncpp installations
* Could NOT find JSONCPP (missing: JSON_INCLUDE_DIR)
  fixed https://github.com/minetest/minetest/issues/9119
* imported from https://github.com/minetest/minetest/pull/9120
  The upstream JsonCpp project has renamed the json/features.h file to
  json/json_features.h. This patch fixes the JsonCpp installation search
  by looking for json/allocator.h which has not been renamed on newer
  versions of JsonCpp.
2023-09-12 20:01:56 -04:00
0cab4b1c19 fix cmake version string extra 2023-09-12 01:40:54 -04:00
9cf276044a fix the implements of client enhanced information
* miscmatched variable name fixed
2023-09-11 23:58:34 -04:00
416068c790 set nice way to multi publish server list muti site
* nasty but more moral way of
  fea9c0e5d6
2023-09-11 23:48:44 -04:00
e1f5d81550 implements client enhanced information
* closes https://codeberg.org/minenux/minetest-engine-multicraft2#49
* closes https://codeberg.org/minenux/minetest-engine-minetest/issues/26
* it takes from https://github.com/MultiCraft/MultiCraft2/pull/50
* backported from "Add platform information to get_player_information"
2023-09-07 17:10:05 -04:00
ff4334f40c featured powered player setttings : dig
* dragon fire hacked, the instant dig is enabled for 4.X powered
2023-01-07 18:40:47 -04:00
bd6cdda2b1 Don't allow banning in singleplayer
* fixes https://github.com/minetest/minetest/issues/11819)
2023-01-07 18:05:58 -04:00
e31a6b99b7 changing references to real final minetest.org from oldcoder 2022-12-29 13:36:02 -04:00
mckaygerhard
5cb24d5327 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:59:21 +02:00
a1402c0b0e 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:42:11 -04:00
31c5301083 real install all found games dirs, fix f29d050767579e55f1c434d89f198cbeb38673dc
* the commit was wrongly made, commit f29d050767579e55f1c434d89f198cbeb38673dc
  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:50:11 -04:00
54aac56a24 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:21:47 -04:00
72f2e27ed8 Fix build for newer versions of GCC
* build with newer gcc 11
* backported 7c2826cbc0
2021-12-02 22:01:20 -04:00
da9cadc875 minetest game submodule updated to use new art and name minenux 2021-11-30 23:05:02 -04:00
d18f422205 shaders disabled by default; continue of commit 21b1462b58142c0c9a44af263027cce7823b41fb 2021-11-30 15:04:08 -04:00
e5cb5c242d specified in credits that is minetest based 2021-11-30 14:59:37 -04:00
55b53cfe67 Install the locale directory in a standard location
* fixed builds in linux distributions
* backported 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
2021-11-30 14:45:58 -04:00
3eabd6eba3 remove rtmp due fails in some linuxes due extra package need
* related to https://codeberg.org/minenux/minetest-engine/issues/13
2021-11-30 14:28:56 -04:00
6a757711fb finally got compilinig flags for C++11 using gnu extensions
* related to https://codeberg.org/minenux/minetest-engine/issues/18
* 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 83a552ed1ac26e9f9d98a98661a6cdb79e7329d2
* fix cmake if-else misctakes error sintax
2021-11-30 14:23:39 -04:00
Seeker
9cd74b3419 Fix build for stupid compilers
* issue https://codeberg.org/minenux/minetest-engine/issues/10256
* author Seeker on Date: Mon Aug 3 14:38:45 2020 -0700
* backported from d22fd6fc348ecf393f535c9b172410f4a82a2d52
2021-11-30 13:16:12 -04:00
83a552ed1a fix flags: complete fix for 4ef3bc602f and set C++11/C++0X depends on compiler
* property fix backported commit 582ee14446d4b56f18587994c08bc0638494d87e
* added missing flac for standar 11 in CC not only in C++
* property set flags due C++11 now is need in all the code
* also its need due commit a4cd5f8e48 and 8507e651eb optimizations
* almost the last changes need c++11 standard, this is c++0x in olders
* build in jsoncpp need it to compile
2021-11-30 12:21:34 -04:00
Vincent Glize
1783ccf348 Change the server description after a search (#6074) 2021-11-29 16:36:58 -04:00
582ee14446 fix flags: backport 4ef3bc602f and set C++11/C++0X depends on compiler
* property set flags due C++11 now is need in all the code
* also its need due commit a4cd5f8e48 and 8507e651eb optimizations
* almost the last changes need c++11 standard, this is c++0x in olders
* build in jsoncpp need it to compile
2021-11-29 16:29:46 -04:00
0f9d6c3982 missing comma in mapgen fix for dirt 2021-11-24 13:02:58 -04:00
d5b84dfe46 as submodule set minetest 4 game with some backports from 5.1
* Use node particles for TNT explosions
  featured https://github.com/minetest/minetest_game/pull/2695
* updated README for our fork minenux
* minetest 5 game with some backports from 5.1
* Fix crash on TNT explosions if tnt is disabled
2021-11-24 00:13:53 -04:00
61e382387d 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-24 00:07:59 -04:00
5b36c2c2c0 added som simple aliases if content ignored
* adapted from "Print error if invalid mapgen alias was detected"
* commit aa3cf400e2
* from couple of checks into the mapgen to see if any mapgen alias resolves
2021-11-23 21:52:13 -04:00
ee31b5db78 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
2021-11-23 17:33:31 -04:00
896eb23701 follow the commit (Re)spawn players within 'mapgen_limit'
* stay in sync with 7aa52fe4e1
* this complete backpor then 19a2ad42d7
* related to https://codeberg.org/minenux/minetest-engine/issues/12
2021-11-23 14:46:20 -04:00
809dc316f9 desktop and metadata in manespace series 4 2021-11-23 13:59:37 -04:00
1fdb8a11ab use unix mod path if none provided for global search 2021-11-22 03:25:24 -04:00
ffba2b7646 TRy to complain with C++11 on all possible cases
* Minetest for C++11 CMakeLists or C++0X on pre supported
* Clang format fixes on checked files (compat Cpp11 instead of Cpp03)
* Mingw GCC update from 4.8.4 to 5.3 (Ubuntu Xenial)
* Let compatibilty for GCC 4.4+
* Fix initialization standars for C++11 on mayor cases
2021-11-22 03:16:05 -04:00
luk3yx
46e0be8c26 Hacky workaround to enforce the security of logs 2021-11-22 01:52:31 -04:00