The mapgen generates some nodes that let me see through the world but I still collide and/or interact with them Note that non-positional sounds do not have to be mono, so you don't have to touch them. Otherwise OpenAL will play them non-positionally. You probably want to check ALL audio files then, it's very likely this wasn't the only one.įor positional playing of sounds, only single-channel (mono) files are The fix is to make all positional sounds mono. Reason: Your audio file is probably stereo. For example, you have a zombie that growls, but when it growls, somehow its growl is either at full volume or not hearable at all (if you're out of the sound range) there's no gradient at all. Problem: You want to play a sound at a position, but it's always at full volume when you're in range or completely silent if you're not. Positional sounds are either full volume or completely silent To abort on any execution of a deprecated function, you can set the “deprecated_lua_api_handling” setting to “error”, useful during development to clearly see any deprecated functions being used. When upgrading your mod from Minetest 0.4.x to 5.x, you may use the MT-replace-deprecated.sh script ( forum thread) which can automatically rename some deprecated functions. See the warning, which might give the name of the new function, and the Lua API for any eventual change in behaviour it has. Looking at console log or debug log output should give you the deprecation warnings that your mod throws. Now just fix the offending PNGs with your favourite image editor to get rid of these warnings.Īs Minetest develops, some API functions fall out of use and become deprecated in favour of newer functions with different names. Now the log will show the PNG file name right above the warning. If you want to track down which PNGs are broken, set the debug level ( debug_log_level) to “verbose”. But this warning is useless for you because there's no file name mentioned. If you debug log level is set to “warning” or lower, you probably ran into the warning “Irrlicht: PNG warning: iCCP: known incorrect sRGB profile” quite often. “Irrlicht: PNG warning: iCCP: known incorrect sRGB profile” Badly coded mapgens are a likely cause of OOM errors, if you implement a Lua API, you should always apply all Mapgen memory optimisations. This can happen if you construct large tables and fill them with lots of data and never free them, or you got a nice memory leak. This happens if your Lua code somewhere uses up a large amount of memory. If your game or mod crashes due to an OOM error, it means that Minetest has ran out of memory (=OOM). 3.1 Preventing crashes, exploits and bugs.2.2 Improving Lua mapgen memory performance. 1.6 My nodes don't propagate light properly until I dig around them.1.5 The mapgen generates some nodes that let me see through the world but I still collide and/or interact with them.1.4 Positional sounds are either full volume or completely silent.1.2 “Irrlicht: PNG warning: iCCP: known incorrect sRGB profile”.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |