- Oct 01, 2016
-
-
Rui authored
-
- Aug 22, 2016
-
-
Xunto authored
-
- Jul 26, 2016
-
-
Tim authored
core.check_player_privs accepts as first argument a name or player object, but just tested for a string. This caused crashes inside builtin, when being passed any unexpected types. This provides a better (duck-typing like) test, better error reporting.
-
- May 31, 2016
-
-
Nathanaëlle Courant authored
Add documentation, move files to a proper place and avoid memory leaks. Make it work with most kind of texts, and allow backgrounds too.
-
TriBlade9 authored
Colored chat working as expected for both freetype and non-freetype builds. @nerzhul improvements * Add unit tests * Fix coding style * move guiChatConsole.hpp to client/
-
- Apr 21, 2016
-
-
Auke Kok authored
This fixes the problem that the first timer tick is an overrun and causes all timers to expire immediately. replaces #4003
-
- Mar 07, 2016
-
-
Rui914 authored
-
- Feb 22, 2016
-
-
Jeija authored
This allows mods to perform both asynchronous and synchronous HTTP requests. Mods are only granted access to HTTP APIs if either mod security is disabled or if they are whitelisted in any of the the secure.http_mods and secure.trusted_mods settings. Adds httpfetch_caller_alloc_secure to generate random, non-predictable caller IDs so that lua mods cannot spy on each others HTTP queries.
-
- Jan 29, 2016
-
-
Auke Kok authored
I could honestly not make much sense of the timer implementation that was here. Instead I've implemented the type of timer algorithm that I've used before, and tested it instead. The concept is extremely simple: all timers are put in an ordered list. We check every server tick if any of the timers have elapsed, and execute the function associated with this timer. We know that many timers by themselves cause new timers to be added to this list, so we iterate *backwards* over the timer list. This means that new timers being added while timers are being executed, can never be executed in the same function pass, as they are always appended to the table *after* the end of the table, which we will never reach in the current pass over all the table elements. We switch time keeping to minetest.get_us_time(). dtime is likely unreliable and we have our own high-res timer that we can fix if it is indeed broken. This removes the need to do any sort of time keeping.
-
- Oct 22, 2015
-
-
Robert Zenz authored
The callback can now be invoked with either the player object or name as the first parameter, and with either a table or a list of strings, like this: minetest.check_player_privs(player_name, { shout = true, fly = true }) minetest.check_player_privs(player_name, "shout", "fly") minetest.check_player_privs(player, { shout = true, fly = true }) minetest.check_player_privs(player, "shout", "fly")
-
- Sep 23, 2015
-
-
kwolekr authored
-
- Aug 13, 2015
-
-
kwolekr authored
-
- Jun 06, 2015
-
-
HybridDog authored
* abort if theres no active timer * only reduce the timer.time of all timers when its necessary * move updating timers_to_add into a seperate function
-
- May 12, 2015
-
-
Nathanaëlle Courant authored
-
- Jan 16, 2015
-
-
kwolekr authored
Add optional core.pos_to_string decimal place rounding Move core.string_to_pos to builtin/common/misc_helpers.lua for consistency
-
- Jul 16, 2014
-
-
Zefram authored
-
- May 08, 2014
-
-
ShadowNinja authored
-
- May 07, 2014
-
-
ShadowNinja authored
-
- Apr 29, 2014
-
-
sapier authored
-
- Apr 13, 2014
-
-
ShadowNinja authored
-
- Jan 11, 2014
-
-
Nathanaëlle Courant authored
-
- Nov 17, 2013
-
-
kwolekr authored
-
- Nov 02, 2013
-
-
ShadowNinja authored
-
- Oct 01, 2013
-
-
fairiestoy authored
Instead of collecting all objects within a huge radius (which could be a big value), just register each player that connects and give back the current hold list.
-
- Aug 15, 2013
-
-
Nathanaëlle Courant authored
-
- Jul 08, 2013
-
-
ShadowNinja authored
-
- Jul 07, 2013
-
-
ShadowNinja authored
-
- May 25, 2013
-
-
sapier authored
On the lua side, notably minetest.env:<function>(<args>) should now be replaced by minetest.<function>(<args>). The old way is and will stay supported for a long time. Also: Update and clean up lua_api.txt (by celeron55) Move EnvRef to lua and remove add_rat and add_firefly (by kahrl) Add separate src/util/CMakeLists.txt, other minor fixes (by kahrl)
-
- Mar 19, 2013
-
-
PilzAdam authored
-
- Mar 17, 2013
-
-
Jeija authored
-
- Mar 06, 2013
-
-
kwolekr authored
-
- Jun 03, 2012
-
-
Perttu Ahola authored
Add ObjRef:is_player() and modify ObjRef:get_player_name() to always return a string to aid better inter-object compatibility of code that assumes objects to be players
-
- Apr 09, 2012
-
-
Perttu Ahola authored
-
Perttu Ahola authored
-
- Apr 08, 2012
-
-
Perttu Ahola authored
-
- Apr 01, 2012
-
-
Perttu Ahola authored
-