SmallJoker
98e648368f
Replace setting unlimited_player_transfer_distance with player_transfer_distance
2014-11-08 14:56:09 +01:00
Pavel Puchkin
ff49416daa
Remove remenants of mob code
...
Since minetest has no mobs within the core anymore, I suppose these
settings and code should go. Any mod that uses `minetest.setting_getbool`
will work with no problem since the default return value is `false`.
2014-10-23 20:54:33 -04:00
ShadowNinja
b95caf17ad
Make players check inventory modification properly
2014-10-01 18:44:36 -04:00
ShadowNinja
4d2318b576
Simplify player modification checks
2014-10-01 18:44:36 -04:00
ShadowNinja
dbf9e444b1
Split settings into seperate source and header files
...
This also cleans up settings a bit
2014-09-21 14:39:35 -04:00
kwolekr
9adbca89cd
Update Mapgen VoxelManipulator on buffer invalidation
2014-09-01 15:12:22 -04:00
SmallJoker
e0daff109b
Make player files saving again
2014-06-29 00:45:04 +02:00
ShadowNinja
c12300308c
Store the maximum player file tries in a constant
2014-06-23 15:55:47 -04:00
ShadowNinja
103b7e6e63
Only try to load from possible player files
2014-06-23 15:45:59 -04:00
ShadowNinja
10d607b0fe
Only keep players loaded while they're connected
2014-06-23 15:45:59 -04:00
sapier
1a8d4092d4
Fix race condition on accessing m_time_of_day_speed causing day night race on some architectures
2014-06-23 00:26:57 +02:00
sapier
3551a8e4a8
Speedup attachement handling by replacing vector search by direct array access and secondary child lookup vector
2014-06-23 00:13:41 +02:00
proller
495ed5ec8b
Remove liquid_finite and weather
2014-04-18 21:56:48 +04:00
Sfan5
3f90a81374
Fix all warnings reported by clang
2014-04-15 21:34:53 +02:00
Ciaran Gultnieks
1551949d7c
Fix merge mistake when rebasing for PR #1169
2014-03-24 19:56:36 +01:00
Selat
8960416054
Remove goto from Environment::removePlayer
2014-03-12 17:02:52 -04:00
Ciaran Gultnieks
ec227ef684
Update ABM object counts when triggers add objects
...
Also fixes long-standing accuracy issue due to unknown wider
object count not being incremented.
2014-03-09 11:13:44 +01:00
Ciaran Gultnieks
b08cb6f883
Stop wasting time in abm - performance improvement
...
Unless I'm mistaken, the chunk of code I'm moving there is potentially
executed hundreds of times inside the loop to get the exact same result
every time
2014-03-06 19:18:36 +01:00
Ciaran Gultnieks
5c65f41146
Fix for unloaded but active block problem
2014-03-02 20:39:28 +01:00
kwolekr
4bc975d80f
ServerEnvironment: Remove direct dependency on EmergeManager
2014-02-09 16:36:30 -05:00
Perttu Ahola
0ad66f64a5
Add player:override_day_night_ratio() for arbitrarily controlling sunlight brightness
2014-02-01 18:38:21 +01:00
Ilya Zhuravlev
eac09737af
Fix some errors reported by clang static analyzer.
2014-01-13 03:29:12 +04:00
Novatux
0a96131bf4
Add forceloading
2014-01-11 17:54:00 +01:00
stujones11
ace4953a52
Make line_of_sight return blocking node position
2013-12-12 16:11:00 -05:00
Novatux
92d806ab21
Add minetest.swap_node
2013-11-30 18:37:56 +01:00
Perttu Ahola
7ff771172d
Revert patch 58f036ad1 that causes object duplication (which tried to fix objects getting hidden from client) and fix the original problem correctly. This fixes the second distinct object duplication bug.
2013-11-17 14:46:01 -05:00
kwolekr
76f37cadb0
Actually fix weather
...
The real problem was that MapBlocks were not activated before getting sent to the client
2013-11-17 01:59:04 -05:00
Perttu Ahola
a50409875f
Fix object duplication bug (at least in the most reproducible UFO case)
2013-10-17 00:10:16 +03:00
kwolekr
d8e65be2d3
Weather: Clean up getHeat/getHumidity somewhat
2013-09-16 23:33:53 -04:00
Kahrl
ee90d438b8
Omnicleanup: header cleanup, add ModApiUtil shared between game and mainmenu
2013-08-14 21:03:33 +02:00
PilzAdam
282c40cdeb
Dont write directly to files but rather write and copy a tmp file
2013-08-13 22:05:45 +02:00
kwolekr
6aa6aaf3f3
Decoration: Fix schematic probability mess with new MTS file version
2013-08-11 15:34:49 -04:00
BlockMen
b131a282ba
Add support for different drowning damage and allow drowning in other nodetypes
2013-08-06 17:49:39 +02:00
Novatux
418d08bf6b
Change large amount of objects to be configurable via a setting in minetest.conf (max_objects_per_block).
2013-08-04 15:28:01 +03:00
Perttu Ahola
a524c0fd11
Fix anticheat
2013-08-03 23:16:37 +03:00
RealBadAngel
b737eaa357
Add set_breath and get_breath to lua API.
2013-07-20 20:34:11 +02:00
sapier
4f7abcbafa
Fix many formspec menu bugs
2013-07-07 19:49:52 -04:00
PilzAdam
08767822b7
Dont write player files all the time
2013-06-28 14:15:48 +00:00
PilzAdam
8908148163
Print playername when failing to read playerfile and ignore files starting with .
2013-06-22 21:39:47 +00:00
PilzAdam
942228a796
Add drowning
2013-06-19 15:47:00 +00:00
Kahrl
31afa8973f
Show number of objects in client environment in profiler (F6)
2013-06-18 01:49:06 +02:00
PilzAdam
a5b33187c3
Play player_damage.ogg when recieving damage and additionally play player_falling_damage.ogg when recieving falling damage
2013-06-12 20:27:06 +00:00
Kahrl
7d2f899d23
Add and implement setting max_clearobjects_extra_loaded_blocks.
...
Now Environment::clearAllObjects() unloads unused blocks in an interval
defined by max_clearobjects_extra_loaded_blocks (default 4096).
2013-06-03 20:09:32 +02:00
sapier
2dceda8890
Move scriptapi to separate folder (by sapier)
...
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)
2013-05-25 00:51:02 +02:00
kwolekr
9b910c6395
Fix lava damage on player's upper body
2013-05-19 21:29:49 -04:00
kwolekr
76c6a6c017
Fix nearly all warnings
2013-05-19 21:26:56 -04:00
sapier
347523f1db
fix static data not beeing stored correctly on deactivation
2013-05-06 19:05:44 +02:00
sapier
2dbb357512
Improve getFree*ActiveObjectId to reduce common case cpu usage drasticaly
2013-04-24 21:59:09 -04:00
sapier
d7f3cc42d5
Add Dijkstra A* and A* without prefetching pathfind algorithms
2013-04-06 11:24:03 -04:00
MirceaKitsune
ad16c90acf
Allow modifying movement speed, jump height and gravity per-player via the Lua API.
2013-04-05 02:00:59 +02:00