_ _ _(Testing for #t.bugs)
There are #t.depricated #t.code.script (functions)
in #t.mod.non.default...creatures&
There are #t.bugs
in #t.non.default....creatures
inprocess
ingredients:
#t.mod.non.default...creatures
#t.mtengine.modbase.mtgame...
#t.program...minetest.5.1.0.win64
#t.mod.default
#t.player.in.game...creature
sources:
#t.forum.minetest
_ _ _....more to be added
Spoiler
inprocess
List.depricated.functions
my.process
_ _ _List #t.mtengine.modbase.mtgame...#t.version...5.0.0
_ _ _&& #t.mod.non.default...creatures...#t.depricated...Functions(#t.code.script)
***#v.goto.#t.post...22.1***
inprocess
List bugs found - verified
my.process
_ _ _Document #t.bugs found in
#t.mod.non.default...creatures
#t.mtengine.modbase.mtgame...
#t.program...minetest.5.1.0.win64
_ _ _&
#t.mod.default
***#v.goto.#t.post...34***
***#t.post...22.1***
List.depricated.functions
_ _ _my.link
_ _ _
_ _ _creature mod
viewtopic.php?f=11&t=9240&hilit=Creatures&start=150
other.observation
my.observationMircealKitsune...says:
...If anyone has a few minutes to spare, please list deprecated functions this mod uses
& ideally what I need to replace them with.
Code: Select all
#t.10.4_ Could take a week.
#t.code.script_ below in "details" is my start. Should be useful.
It DOES seem like there would be more #t.code.script_to update than this.
Perhaps list is missing some #t.deprecated...#t.code.script_ over the last couple years.
I will update if I find more.
List #t.depricated...#t.mtengine.modbase.mtgame...#t.version...5.0.0_#t.default...#t.code.script_
Code: Select all
Source,Local File,Line Error,Line Copied,Old Code,Change To,New Code,Source Reference
Debug:info,Creatures/init.Lua,305,,"dofile(minetest.get_modpath(""creatures"")..""/api_players.lua"")",>---change to--->,,In-Game
Debug:info,Creatures/api_mobs.lua,58,,"walk_velocity = tonumber(minetest.setting_get(""movement_speed_walk"")) * def.physics.speed,",>---change to--->,,In-Game
Debug:info,Creatures/api_mobs.lua,59,,"run_velocity = tonumber(minetest.setting_get(""movement_speed_fast"")) * def.physics.speed,",>---change to--->,,In-Game
Debug:info,Creatures/api_mobs.lua,60,,"jump_velocity = tonumber(minetest.setting_get(""movement_speed_jump"")) * def.physics.jump,",>---change to--->,,In-Game
Debug:info,Creatures/api_mobs.lua,61,,"gravity = tonumber(minetest.setting_get(""movement_gravity"")) * def.physics.gravity,",>---change to--->,,In-Game
Debug:info,Creatures_races_default/init.lua,3702,3716,minetest.setting_getbool(,>---change to--->,.settings:get_bool,In-Game
Debug:info,Creatures_races_default/init.lua,157,164,minetest.setting_getbool(,>---change to--->,.settings:get_bool,In-Game
Debug:info,Creatures_module_items/init.lua,179,,"function creatures_module_items:player_join (player, dtime)",>---change to--->,,In-Game
Debug:info,Creatures_module_items/init.lua,184,185," minetest.env:add_entity(pos, ""creatures_module_items:item"")",>---change to--->,,In-Game
Debug:info,Creatures/logic_players.lua,96,97,player:getpos(),>---change to--->,player:get_pos(),In-Game
,,,,,,,
Rubenwardy,Creatures_module_items/depends.text,,,,>---change to--->,"move to mod.conf, game.conf, modpack.conf, texturepack.conf",https://forum.minetest.net/viewtopic.php?f=18&t=22173&hilit=Deprecated
Rubenwardy,Creatures/modpack.txt,,,,>---change to--->,rename or add to modpack.conf,https://forum.minetest.net/viewtopic.php?f=18&t=22173&hilit=Deprecated
Rubenwardy,Creatures/depends.text,,,,>---change to--->,"move to mod.conf, game.conf, modpack.conf, texturepack.conf",https://forum.minetest.net/viewtopic.php?f=18&t=22173&hilit=Deprecated
Rubenwardy,Creatures_races_default/depends.text,,,,>---change to--->,"move to mod.conf, game.conf, modpack.conf, texturepack.conf",https://forum.minetest.net/viewtopic.php?f=18&t=22173&hilit=Deprecated
,,,,,,,
krock,Reference,,,player:get/set_attribute(),>---change to--->,player:get_meta(),https://forum.minetest.net/viewtopic.php?f=18&t=20403
krock,Reference,,,nodeupdate(),>---change to--->,minetest.check_for_falling,https://forum.minetest.net/viewtopic.php?f=18&t=20403
krock,Reference,,,object:setpos(),>---change to--->,,https://forum.minetest.net/viewtopic.php?f=18&t=20403
krock,Reference,,,minetest.env,>---change to--->,minetest.,https://forum.minetest.net/viewtopic.php?f=18&t=20403
,,,,,,,
SmallJoker/MT-replace-deprecated.sh GITHUB,Reference,,,"getpos()`: returns `{x=num, y=num, z=num}",>---change to--->,"get_pos()`: returns `{x=num, y=num, z=num}",https://gist.github.com/SmallJoker/cb89c3f9e4be27a0e8bc10ced1c5fc31
SmallJoker/MT-replace-deprecated.sh GITHUB,Reference,,,"setpos(pos)`; `pos`=`{x=num, y=num, z=num}",>---change to--->,"set_pos(pos)`; `pos`=`{x=num, y=num, z=num}",https://gist.github.com/SmallJoker/cb89c3f9e4be27a0e8bc10ced1c5fc31
SmallJoker/MT-replace-deprecated.sh GITHUB,Reference,,,"moveto(pos, continuous=false)`: interpolated move",>---change to--->,"move_to(pos, continuous=false)`: interpolated move",https://gist.github.com/SmallJoker/cb89c3f9e4be27a0e8bc10ced1c5fc31
SmallJoker/MT-replace-deprecated.sh GITHUB,Reference,,,"setvelocity({x=num, y=num, z=num})`",>---change to--->,"set_velocity({x=num, y=num, z=num})",https://gist.github.com/SmallJoker/cb89c3f9e4be27a0e8bc10ced1c5fc31
SmallJoker/MT-replace-deprecated.sh GITHUB,Reference,,,"getvelocity()`: returns `{x=num, y=num, z=num}`",>---change to--->,"get_velocity()`: returns `{x=num, y=num, z=num}",https://gist.github.com/SmallJoker/cb89c3f9e4be27a0e8bc10ced1c5fc31
SmallJoker/MT-replace-deprecated.sh GITHUB,Reference,,,"setacceleration({x=num, y=num, z=num})`",>---change to--->,"set_acceleration({x=num, y=num, z=num})`",https://gist.github.com/SmallJoker/cb89c3f9e4be27a0e8bc10ced1c5fc31
SmallJoker/MT-replace-deprecated.sh GITHUB,Reference,,,"getacceleration()`: returns `{x=num, y=num, z=num}`",>---change to--->,"get_acceleration()`: returns `{x=num, y=num, z=num}",https://gist.github.com/SmallJoker/cb89c3f9e4be27a0e8bc10ced1c5fc31
SmallJoker/MT-replace-deprecated.sh GITHUB,Reference,,,setyaw(radians)`,>---change to--->,set_yaw(radians),https://gist.github.com/SmallJoker/cb89c3f9e4be27a0e8bc10ced1c5fc31
SmallJoker/MT-replace-deprecated.sh GITHUB,Reference,,,getyaw()`: returns number in radians,>---change to--->,get_yaw()`: returns number in radians,https://gist.github.com/SmallJoker/cb89c3f9e4be27a0e8bc10ced1c5fc31
SmallJoker/MT-replace-deprecated.sh GITHUB,Reference,,,settexturemod(mod),>---change to--->,set_texture_mod(mod),https://gist.github.com/SmallJoker/cb89c3f9e4be27a0e8bc10ced1c5fc31
SmallJoker/MT-replace-deprecated.sh GITHUB,Reference,,,"setsprite(p={x=0,y=0}, num_frames=1, framelength=0.2,",>---change to--->,"set_sprite(p={x=0,y=0}, num_frames=1, framelength=0.2",https://gist.github.com/SmallJoker/cb89c3f9e4be27a0e8bc10ced1c5fc31
SmallJoker/MT-replace-deprecated.sh GITHUB,Reference,,,// getpos(self),>---change to--->,// get_pos(self),https://gist.github.com/SmallJoker/cb89c3f9e4be27a0e8bc10ced1c5fc31
SmallJoker/MT-replace-deprecated.sh GITHUB,Reference,,,int ObjectRef::l_getpos(lua_State *L),>---change to--->,int ObjectRef::l_get_pos(lua_State *L),https://gist.github.com/SmallJoker/cb89c3f9e4be27a0e8bc10ced1c5fc31
SmallJoker/MT-replace-deprecated.sh GITHUB,Reference,,,"// setpos(self, pos)",>---change to--->,"// set_pos(self, pos)",https://gist.github.com/SmallJoker/cb89c3f9e4be27a0e8bc10ced1c5fc31
SmallJoker/MT-replace-deprecated.sh GITHUB,Reference,,,int ObjectRef::l_setpos(lua_State *L),>---change to--->,int ObjectRef::l_set_pos(lua_State *L),https://gist.github.com/SmallJoker/cb89c3f9e4be27a0e8bc10ced1c5fc31
SmallJoker/MT-replace-deprecated.sh GITHUB,Reference,,,"// moveto(self, pos, continuous=false)",>---change to--->,int ObjectRef::l_moveto(lua_State *L),https://gist.github.com/SmallJoker/cb89c3f9e4be27a0e8bc10ced1c5fc31
SmallJoker/MT-replace-deprecated.sh GITHUB,Reference,,,"// move_to(self, pos, continuous=false)",>---change to--->,int ObjectRef::l_move_to(lua_State *L),https://gist.github.com/SmallJoker/cb89c3f9e4be27a0e8bc10ced1c5fc31
SmallJoker/MT-replace-deprecated.sh GITHUB,Reference,,,"// setvelocity(self, {x=num, y=num, z=num})",>---change to--->,int ObjectRef::l_setvelocity(lua_State *L),https://gist.github.com/SmallJoker/cb89c3f9e4be27a0e8bc10ced1c5fc31
SmallJoker/MT-replace-deprecated.sh GITHUB,Reference,,,"// set_velocity(self, {x=num, y=num, z=num})",>---change to--->,int ObjectRef::l_set_velocity(lua_State *L),https://gist.github.com/SmallJoker/cb89c3f9e4be27a0e8bc10ced1c5fc31
SmallJoker/MT-replace-deprecated.sh GITHUB,Reference,,,// getvelocity(self),>---change to--->,int ObjectRef::l_getvelocity(lua_State *L),https://gist.github.com/SmallJoker/cb89c3f9e4be27a0e8bc10ced1c5fc31
SmallJoker/MT-replace-deprecated.sh GITHUB,Reference,,,// get_velocity(self),>---change to--->,int ObjectRef::l_get_velocity(lua_State *L),https://gist.github.com/SmallJoker/cb89c3f9e4be27a0e8bc10ced1c5fc31
SmallJoker/MT-replace-deprecated.sh GITHUB,Reference,,,"// setacceleration(self, {x=num, y=num, z=num})",>---change to--->,int ObjectRef::l_setacceleration(lua_State *L),https://gist.github.com/SmallJoker/cb89c3f9e4be27a0e8bc10ced1c5fc31
SmallJoker/MT-replace-deprecated.sh GITHUB,Reference,,,"// set_acceleration(self, {x=num, y=num, z=num})",>---change to--->,int ObjectRef::l_set_acceleration(lua_State *L),https://gist.github.com/SmallJoker/cb89c3f9e4be27a0e8bc10ced1c5fc31
SmallJoker/MT-replace-deprecated.sh GITHUB,Reference,,,// getacceleration(self),>---change to--->,int ObjectRef::l_getacceleration(lua_State *L),https://gist.github.com/SmallJoker/cb89c3f9e4be27a0e8bc10ced1c5fc31
SmallJoker/MT-replace-deprecated.sh GITHUB,Reference,,,// get_acceleration(self),>---change to--->,int ObjectRef::l_get_acceleration(lua_State *L),https://gist.github.com/SmallJoker/cb89c3f9e4be27a0e8bc10ced1c5fc31
SmallJoker/MT-replace-deprecated.sh GITHUB,Reference,,,"// setyaw(self, radians)",>---change to--->,int ObjectRef::l_setyaw(lua_State *L),https://gist.github.com/SmallJoker/cb89c3f9e4be27a0e8bc10ced1c5fc31
SmallJoker/MT-replace-deprecated.sh GITHUB,Reference,,,"// set_yaw(self, radians)",>---change to--->,int ObjectRef::l_set_yaw(lua_State *L),https://gist.github.com/SmallJoker/cb89c3f9e4be27a0e8bc10ced1c5fc31
SmallJoker/MT-replace-deprecated.sh GITHUB,Reference,,,// getyaw(self),>---change to--->,int ObjectRef::l_getyaw(lua_State *L),https://gist.github.com/SmallJoker/cb89c3f9e4be27a0e8bc10ced1c5fc31
SmallJoker/MT-replace-deprecated.sh GITHUB,Reference,,,// get_yaw(self),>---change to--->,int ObjectRef::l_get_yaw(lua_State *L),https://gist.github.com/SmallJoker/cb89c3f9e4be27a0e8bc10ced1c5fc31
SmallJoker/MT-replace-deprecated.sh GITHUB,Reference,,,"// settexturemod(self, mod)",>---change to--->,int ObjectRef::l_settexturemod(lua_State *L),https://gist.github.com/SmallJoker/cb89c3f9e4be27a0e8bc10ced1c5fc31
SmallJoker/MT-replace-deprecated.sh GITHUB,Reference,,,"// set_texture_mod(self, mod)",>---change to--->,int ObjectRef::l_set_texture_mod(lua_State *L),https://gist.github.com/SmallJoker/cb89c3f9e4be27a0e8bc10ced1c5fc31
SmallJoker/MT-replace-deprecated.sh GITHUB,Reference,,,"// setsprite(self, p={x=0,y=0}, num_frames=1, framelength=0.2,",>---change to--->,"// set_sprite(self, p={x=0,y=0}, num_frames=1, framelength=0.2",https://gist.github.com/SmallJoker/cb89c3f9e4be27a0e8bc10ced1c5fc31
SmallJoker/MT-replace-deprecated.sh GITHUB,Reference,,,int ObjectRef::l_setsprite(lua_State *L),>---change to--->,int ObjectRef::l_set_sprite(lua_State *L),https://gist.github.com/SmallJoker/cb89c3f9e4be27a0e8bc10ced1c5fc31
SmallJoker/MT-replace-deprecated.sh GITHUB,Reference,,,"luamethod(ObjectRef, getpos),",>---change to--->,"luamethod_aliased(ObjectRef, get_pos, getpos)",https://gist.github.com/SmallJoker/cb89c3f9e4be27a0e8bc10ced1c5fc31
SmallJoker/MT-replace-deprecated.sh GITHUB,Reference,,,"luamethod(ObjectRef, setpos),",>---change to--->,"luamethod_aliased(ObjectRef, set_pos, setpos)",https://gist.github.com/SmallJoker/cb89c3f9e4be27a0e8bc10ced1c5fc31
SmallJoker/MT-replace-deprecated.sh GITHUB,Reference,,,"luamethod(ObjectRef, moveto),",>---change to--->,"luamethod_aliased(ObjectRef, move_to, moveto)",https://gist.github.com/SmallJoker/cb89c3f9e4be27a0e8bc10ced1c5fc31
SmallJoker/MT-replace-deprecated.sh GITHUB,Reference,,,"luamethod(ObjectRef, setvelocity),",>---change to--->,"luamethod_aliased(ObjectRef, set_velocity, setvelocity)",https://gist.github.com/SmallJoker/cb89c3f9e4be27a0e8bc10ced1c5fc31
SmallJoker/MT-replace-deprecated.sh GITHUB,Reference,,,"luamethod(ObjectRef, getvelocity),",>---change to--->,"luamethod_aliased(ObjectRef, get_velocity, getvelocity)",https://gist.github.com/SmallJoker/cb89c3f9e4be27a0e8bc10ced1c5fc31
SmallJoker/MT-replace-deprecated.sh GITHUB,Reference,,,"luamethod(ObjectRef, setacceleration),",>---change to--->,"luamethod_aliased(ObjectRef, set_acceleration, setacceleration)",https://gist.github.com/SmallJoker/cb89c3f9e4be27a0e8bc10ced1c5fc31
SmallJoker/MT-replace-deprecated.sh GITHUB,Reference,,,"luamethod(ObjectRef, getacceleration),",>---change to--->,"luamethod_aliased(ObjectRef, get_acceleration, getacceleration)",https://gist.github.com/SmallJoker/cb89c3f9e4be27a0e8bc10ced1c5fc31
SmallJoker/MT-replace-deprecated.sh GITHUB,Reference,,,"luamethod(ObjectRef, setyaw),",>---change to--->,"luamethod_aliased(ObjectRef, set_yaw, setyaw)",https://gist.github.com/SmallJoker/cb89c3f9e4be27a0e8bc10ced1c5fc31
SmallJoker/MT-replace-deprecated.sh GITHUB,Reference,,,"luamethod(ObjectRef, getyaw),",>---change to--->,"luamethod_aliased(ObjectRef, get_yaw, getyaw)",https://gist.github.com/SmallJoker/cb89c3f9e4be27a0e8bc10ced1c5fc31
SmallJoker/MT-replace-deprecated.sh GITHUB,Reference,,,"luamethod(ObjectRef, settexturemod),",>---change to--->,"luamethod_aliased(ObjectRef, set_texture_mod, set_texturemod)",https://gist.github.com/SmallJoker/cb89c3f9e4be27a0e8bc10ced1c5fc31
SmallJoker/MT-replace-deprecated.sh GITHUB,Reference,,,"luamethod(ObjectRef, setsprite),",>---change to--->,"luamethod_aliased(ObjectRef, set_sprite, setsprite)",https://gist.github.com/SmallJoker/cb89c3f9e4be27a0e8bc10ced1c5fc31
SmallJoker/MT-replace-deprecated.sh GITHUB,Reference,,,// getpos(self),>---change to--->,static int l_getpos(lua_State *L),https://gist.github.com/SmallJoker/cb89c3f9e4be27a0e8bc10ced1c5fc31
SmallJoker/MT-replace-deprecated.sh GITHUB,Reference,,,// get_pos(self),>---change to--->,static int l_get_pos(lua_State *L),https://gist.github.com/SmallJoker/cb89c3f9e4be27a0e8bc10ced1c5fc31
SmallJoker/MT-replace-deprecated.sh GITHUB,Reference,,,"// setpos(self, pos)",>---change to--->,"// set_pos(self, pos)",https://gist.github.com/SmallJoker/cb89c3f9e4be27a0e8bc10ced1c5fc31
SmallJoker/MT-replace-deprecated.sh GITHUB,Reference,,,static int l_setpos(lua_State *L);,>---change to--->,static int l_set_pos(lua_State *L),https://gist.github.com/SmallJoker/cb89c3f9e4be27a0e8bc10ced1c5fc31
SmallJoker/MT-replace-deprecated.sh GITHUB,Reference,,,"// moveto(self, pos, continuous=false)",>---change to--->,"// move_to(self, pos, continuous=false)",https://gist.github.com/SmallJoker/cb89c3f9e4be27a0e8bc10ced1c5fc31
SmallJoker/MT-replace-deprecated.sh GITHUB,Reference,,,static int l_moveto(lua_State *L);,>---change to--->,static int l_move_to(lua_State *L),https://gist.github.com/SmallJoker/cb89c3f9e4be27a0e8bc10ced1c5fc31
SmallJoker/MT-replace-deprecated.sh GITHUB,Reference,,,"// setvelocity(self, {x=num, y=num, z=num})",>---change to--->,"// set_velocity(self, {x=num, y=num, z=num})",https://gist.github.com/SmallJoker/cb89c3f9e4be27a0e8bc10ced1c5fc31
SmallJoker/MT-replace-deprecated.sh GITHUB,Reference,,,static int l_setvelocity(lua_State *L);,>---change to--->,static int l_set_velocity(lua_State *L),https://gist.github.com/SmallJoker/cb89c3f9e4be27a0e8bc10ced1c5fc31
SmallJoker/MT-replace-deprecated.sh GITHUB,Reference,,,// getvelocity(self),>---change to--->,// get_velocity(self),https://gist.github.com/SmallJoker/cb89c3f9e4be27a0e8bc10ced1c5fc31
SmallJoker/MT-replace-deprecated.sh GITHUB,Reference,,,static int l_getvelocity(lua_State *L);,>---change to--->,static int l_get_velocity(lua_State *L),https://gist.github.com/SmallJoker/cb89c3f9e4be27a0e8bc10ced1c5fc31
SmallJoker/MT-replace-deprecated.sh GITHUB,Reference,,,"// setacceleration(self, {x=num, y=num, z=num})",>---change to--->,"// set_acceleration(self, {x=num, y=num, z=num})",https://gist.github.com/SmallJoker/cb89c3f9e4be27a0e8bc10ced1c5fc31
SmallJoker/MT-replace-deprecated.sh GITHUB,Reference,,,static int l_setacceleration(lua_State *L);,>---change to--->,static int l_set_acceleration(lua_State *L),https://gist.github.com/SmallJoker/cb89c3f9e4be27a0e8bc10ced1c5fc31
SmallJoker/MT-replace-deprecated.sh GITHUB,Reference,,,// getacceleration(self),>---change to--->,// get_acceleration(self),https://gist.github.com/SmallJoker/cb89c3f9e4be27a0e8bc10ced1c5fc31
SmallJoker/MT-replace-deprecated.sh GITHUB,Reference,,,static int l_getacceleration(lua_State *L);,>---change to--->,static int l_get_acceleration(lua_State *L),https://gist.github.com/SmallJoker/cb89c3f9e4be27a0e8bc10ced1c5fc31
SmallJoker/MT-replace-deprecated.sh GITHUB,Reference,,,"// setyaw(self, radians)",>---change to--->,"// set_yaw(self, radians)",https://gist.github.com/SmallJoker/cb89c3f9e4be27a0e8bc10ced1c5fc31
SmallJoker/MT-replace-deprecated.sh GITHUB,Reference,,,static int l_setyaw(lua_State *L);,>---change to--->,static int l_set_yaw(lua_State *L),https://gist.github.com/SmallJoker/cb89c3f9e4be27a0e8bc10ced1c5fc31
SmallJoker/MT-replace-deprecated.sh GITHUB,Reference,,,// getyaw(self),>---change to--->,// get_yaw(self),https://gist.github.com/SmallJoker/cb89c3f9e4be27a0e8bc10ced1c5fc31
SmallJoker/MT-replace-deprecated.sh GITHUB,Reference,,,static int l_getyaw(lua_State *L);,>---change to--->,static int l_get_yaw(lua_State *L),https://gist.github.com/SmallJoker/cb89c3f9e4be27a0e8bc10ced1c5fc31
SmallJoker/MT-replace-deprecated.sh GITHUB,Reference,,,"// settexturemod(self, mod)",>---change to--->,"// set_texture_mod(self, mod)",https://gist.github.com/SmallJoker/cb89c3f9e4be27a0e8bc10ced1c5fc31
SmallJoker/MT-replace-deprecated.sh GITHUB,Reference,,,static int l_settexturemod(lua_State *L);,>---change to--->,static int l_set_texture_mod(lua_State *L),https://gist.github.com/SmallJoker/cb89c3f9e4be27a0e8bc10ced1c5fc31
SmallJoker/MT-replace-deprecated.sh GITHUB,Reference,,,"// setsprite(self, p={x=0,y=0}, num_frames=1, framelength=0.2,",>---change to--->,"// set_sprite(self, p={x=0,y=0}, num_frames=1, framelength=0.2",https://gist.github.com/SmallJoker/cb89c3f9e4be27a0e8bc10ced1c5fc31
SmallJoker/MT-replace-deprecated.sh GITHUB,Reference,,,static int l_setsprite(lua_State *L);,>---change to--->,static int l_set_sprite(lua_State *L),https://gist.github.com/SmallJoker/cb89c3f9e4be27a0e8bc10ced1c5fc31
SmallJoker/MT-replace-deprecated.sh GITHUB,Reference,,,// get_entity_name(self),>---change to--->,?,https://gist.github.com/SmallJoker/cb89c3f9e4be27a0e8bc10ced1c5fc31
SmallJoker/MT-replace-deprecated.sh GITHUB,Reference,,,minetest.check_for_falling,>---change to--->,?,https://gist.github.com/SmallJoker/cb89c3f9e4be27a0e8bc10ced1c5fc31
SmallJoker/MT-replace-deprecated.sh GITHUB,Reference,,,getacceleration,>---change to--->,get_acceleration,https://gist.github.com/SmallJoker/cb89c3f9e4be27a0e8bc10ced1c5fc31
SmallJoker/MT-replace-deprecated.sh GITHUB,Reference,,,setacceleration,>---change to--->,set_acceleration,https://gist.github.com/SmallJoker/cb89c3f9e4be27a0e8bc10ced1c5fc31
SmallJoker/MT-replace-deprecated.sh GITHUB,Reference,,,getpos,>---change to--->,get_pos,https://gist.github.com/SmallJoker/cb89c3f9e4be27a0e8bc10ced1c5fc31
SmallJoker/MT-replace-deprecated.sh GITHUB,Reference,,,setpos,>---change to--->,set_pos,https://gist.github.com/SmallJoker/cb89c3f9e4be27a0e8bc10ced1c5fc31
SmallJoker/MT-replace-deprecated.sh GITHUB,Reference,,,getvelocity,>---change to--->,get_velocity,https://gist.github.com/SmallJoker/cb89c3f9e4be27a0e8bc10ced1c5fc31
SmallJoker/MT-replace-deprecated.sh GITHUB,Reference,,,setvelocity,>---change to--->,set_velocity,https://gist.github.com/SmallJoker/cb89c3f9e4be27a0e8bc10ced1c5fc31
SmallJoker/MT-replace-deprecated.sh GITHUB,Reference,,,getyaw,>---change to--->,get_yaw,https://gist.github.com/SmallJoker/cb89c3f9e4be27a0e8bc10ced1c5fc31
SmallJoker/MT-replace-deprecated.sh GITHUB,Reference,,,setyaw,>---change to--->,set_yaw,https://gist.github.com/SmallJoker/cb89c3f9e4be27a0e8bc10ced1c5fc31
SmallJoker/MT-replace-deprecated.sh GITHUB,Reference,,,moveto,>---change to--->,move_to,https://gist.github.com/SmallJoker/cb89c3f9e4be27a0e8bc10ced1c5fc31
SmallJoker/MT-replace-deprecated.sh GITHUB,Reference,,,get2dMap,>---change to--->,get_2d_map,https://gist.github.com/SmallJoker/cb89c3f9e4be27a0e8bc10ced1c5fc31
SmallJoker/MT-replace-deprecated.sh GITHUB,Reference,,,get3dMap,>---change to--->,get_3d_map,https://gist.github.com/SmallJoker/cb89c3f9e4be27a0e8bc10ced1c5fc31
SmallJoker/MT-replace-deprecated.sh GITHUB,Reference,,,get2dMap_flat,>---change to--->,get_2d_map_flat,https://gist.github.com/SmallJoker/cb89c3f9e4be27a0e8bc10ced1c5fc31
SmallJoker/MT-replace-deprecated.sh GITHUB,Reference,,,get3dMap_flat,>---change to--->,get_3d_map_flat,https://gist.github.com/SmallJoker/cb89c3f9e4be27a0e8bc10ced1c5fc31
SmallJoker/MT-replace-deprecated.sh GITHUB,Reference,,,calc2dMap,>---change to--->,calc_2d_map,https://gist.github.com/SmallJoker/cb89c3f9e4be27a0e8bc10ced1c5fc31
SmallJoker/MT-replace-deprecated.sh GITHUB,Reference,,,calc3dMap,>---change to--->,calc_3d_map,https://gist.github.com/SmallJoker/cb89c3f9e4be27a0e8bc10ced1c5fc31
SmallJoker/MT-replace-deprecated.sh GITHUB,Reference,,,get2d,>---change to--->,get_2d,https://gist.github.com/SmallJoker/cb89c3f9e4be27a0e8bc10ced1c5fc31
SmallJoker/MT-replace-deprecated.sh GITHUB,Reference,,,get3d,>---change to--->,get_3d,https://gist.github.com/SmallJoker/cb89c3f9e4be27a0e8bc10ced1c5fc31
SmallJoker/MT-replace-deprecated.sh GITHUB,Reference,,,getMapSlice,>---change to--->,get_map_slice,https://gist.github.com/SmallJoker/cb89c3f9e4be27a0e8bc10ced1c5fc31
SmallJoker/MT-replace-deprecated.sh GITHUB,Reference,,,.setting_get,>---change to--->,.settings:get,https://gist.github.com/SmallJoker/cb89c3f9e4be27a0e8bc10ced1c5fc31
SmallJoker/MT-replace-deprecated.sh GITHUB,Reference,,,.setting_set,>---change to--->,.settings:set,https://gist.github.com/SmallJoker/cb89c3f9e4be27a0e8bc10ced1c5fc31
SmallJoker/MT-replace-deprecated.sh GITHUB,Reference,,,.setting_getbool,>---change to--->,.settings:get_bool,https://gist.github.com/SmallJoker/cb89c3f9e4be27a0e8bc10ced1c5fc31
SmallJoker/MT-replace-deprecated.sh GITHUB,Reference,,,.setting_setbool,>---change to--->,.settings:set_bool,https://gist.github.com/SmallJoker/cb89c3f9e4be27a0e8bc10ced1c5fc31
SmallJoker/MT-replace-deprecated.sh GITHUB,Reference,,,.setting_save,>---change to--->,.settings:write,https://gist.github.com/SmallJoker/cb89c3f9e4be27a0e8bc10ced1c5fc31
,,,,,,,
,,,,,,,
,,,,,,,
,,,,,,,
,,,,,,,
,,,,,,,
,,,,,,,
Krock,https://forum.minetest.net/viewtopic.php?f=18&t=20403,,,,,,
Developer,,,,,,,
,,,,,,,
Posts: 4219,,,,,,,
Joined: Thu Oct 03, 2013 07:48,,,,,,,
Location: Switzerland,,,,,,,
GitHub: SmallJoker ,,,,,,,
,,,,,,,
[5.0.0] Deprecated function calls being logged now,,,,,,,
,,,,,,,
by Krock » Mon Jul 02, 2018 15:32,,,,,,,
minetest.env:,,,,,,,
Is legacy, get rid of it. Replace with "minetest." before problems arise.,,,,,,,
,,,,,,,
,,,,,,,
,,,,,,,
,,,,,,,
All gists,https://gist.github.com/SmallJoker/cb89c3f9e4be27a0e8bc10ced1c5fc31,,,,,,
Back to GitHub,,,,,,,
,,,,,,,
Instantly share code, notes, and snippets.,,,,,,,
,,,,,,,
1,,,,,,,
0,,,,,,,
,,,,,,,
@SmallJoker SmallJoker/MT-replace-deprecated.sh,,,,,,,
Last active Jan 2, 2019,,,,,,,
Code Revisions 6 Stars 1,,,,,,,
Minetest - Replace deprecated function calls,,,,,,,
,,,,,,,
,,,,,,,
,,,,,,,
,,,,,,,
26 posts • Page 1 of 2 • 1, 2,https://forum.minetest.net/viewtopic.php?f=18&t=22173&hilit=Deprecated,,,,,,
,,,,,,,
User avatar,,,,,,,
rubenwardy,,,,,,,
Moderator,,,,,,,
,,,,,,,
Posts: 5638,,,,,,,
Joined: Tue Jun 12, 2012 18:11,,,,,,,
Location: United Kingdom,,,,,,,
GitHub: rubenwardy ,,,,,,,
IRC: rubenwardy,,,,,,,
In-game: rubenwardy,,,,,,,
,,,,,,,
Website,,,,,,,
,,,,,,,
Reply with quote,,,,,,,
,,,,,,,
Minetest 5.0 release candidate 2 (5.0.0-rc2),,,,,,,
,,,,,,,
by rubenwardy » Thu Feb 21, 2019 21:11,,,,,,,
Hi all! We'd be very grateful for some help testing a prerelease version of Minetest 5.0.0,,,,,,,
***#t.post...34***
List bugs found - verified
my.process
_ _ _Document #t.bugs found in
#t.mod.non.default...creatures
#t.mtengine.modbase.mtgame...
#t.program...minetest.5.1.0.win64
_ _ _&
#t.mod.default
my.process
Code: Select all
#t.install.and.play...#t.mtengine.modbase.mtgame... #t.version...5.1.0
#t.install.and.play...#t.mod.non.default...creatures
Code: Select all
ALthough I succesfully #t.hakk #t.code.script
I am attempting here to clearly document #t.default #t.bug
The following list is using #t.mod.default only
No #t.hakk
Code: Select all
SIdeNote: What many call #t.bug
others call it #t.feature
_ _ _
_ _ _creature mod
viewtopic.php?f=11&t=9240&hilit=Creatures&start=150
other.observation
my.suggestionTcll...says:
...If you wanna find a really good way to trigger me, it's stupid statements like that
there is a clear difference between a bug and a feature
unless that feature in question is 100% absolutely meant to raise the error to prevent corruption
though I call this bad design...
#t.date...2019.12.08
Code: Select all
SIdeNote: What many call #t.bug
others call it #t.feature
#t.date...2019.12.08
Code: Select all
In #t.response to #t.mtforum.non.guru...tcll...#t.post,
I did not intend #t.trigger #t.war.of.words
I #t.agree there is a difference between #t.bug and #t.feature
However, after considering your response
the difference is evidently not clear, it is my.suggestion
&& so I created my.suggestion
You #t.mixup #t.error for #t.bug
It is possible a #t.bug MAY NOT generate #t.error
When I say #.t.bug
you think I say #t.debug...#t.warning
Or you #t.mixup #t.error for #t.crash
#p.question? If #t.bug does not generate #t.debug...#t.warning
&& #t.bug does not force #t.crash
IS it then possible
#t.player.in.game is not aware of #t.bug
#p.question? IS it then possible
#t.player.in.game may even believe #t.bug is a feature
#p.question? IS it then possible
#t.player.in.game may even see #t.bug as desirable
This is rather simple logic
Perhaps it is an #t.aristotle.wheel.paradox situation
Code: Select all
I believe #t.mod.non.defaults...creatures
did allow unlimited #t.mob.creature.posses
That is not the case now.
Now #t.player.in.game must #t.die first
Then #t.player.in.game can possess different #t.mob.creature
Wether I remember correctly does not even matter.
What matters is I see
#r...1 #t.possess per #t.player.in.game #t.life
as a #t.feature
Most other #t.player.in.game MAY prefer
#t.unlimited posess ability
and consider this a #t.bug
Therefore,
What many call #t.bug (flaw)
others call it #t.feature
Code: Select all
#t.player.in.game...creature unable to climb top ladder
other.process
my.observationMircealKitsune...says:
Important: For the mod to work properly,
you must first disable the default player script.
To do that, open minetest_game/mods/default/init.lua
and comment out the dofile line for player.lua.
Code: Select all
I cannot
#t.comment.out...#t.file...default.player.lua code
#t.mtengine.modbase.mtgame...#t.version...5.1.0..#t.mod.default...
player.lua...#t.depricated
my.observation
Code: Select all
#t.player.in.game...creature
#t.eye.level
at #r.node.blokk.amount...3
when #t.default is 2
my.observation
Code: Select all
#t.mod.non.default...creature
#t.overrides...#t.default...#t.mtconfig...#t.enable_damage = false
Or stated #t.player.in.game...creature
still gets hurt when #t.enable_damage = false
_ _ _
_ _ _creature mod
viewtopic.php?f=11&t=9240&hilit=Creatures&start=150
other.observation
my.processTcll...says:
there's 1 issue I'm having I can't seem to figure out...
for some reason, it keeps searching for mobs_anthro_fox.png and can't find it
1: can't find that string anywhere in the sources
there's no reason this error should be warned, and I can't seem to fix it
Code: Select all
#t.mtengine.modbase.mtgame...
#t.program...minetest.5.1.0.win64
#t.install.and.play...#t.mod.non.default...creatures
#t.device...dell...windows7...celeron...pentium...2.2ghz...2gb
#t.singleplayer
Code: Select all
I get same #t.warning
2019-12-05 20:42:35: WARNING[Main]: Irrlicht:
Could not open file of texture: mobs_anthro_fox.png
I also get other #t.texture #t.warning
my.observation
Code: Select all
debug
2019-12-05 20:42:29: ACTION[Main]: World at [C:\games\minetest-5.1.0-win64\bin\..\worlds\new]
2019-12-05 20:42:29: ACTION[Main]: Server for gameid="minetest" listening on 0.0.0.0:49991.
2019-12-05 20:42:33: ACTION[Server]: singleplayer [127.0.0.1] joins game.
2019-12-05 20:42:33: ACTION[Server]: singleplayer joins game. List of players: singleplayer
2019-12-05 20:42:35: WARNING[Main]: Irrlicht: Could not open file of texture: stone_monster_2.png
2019-12-05 20:42:35: WARNING[Main]: Irrlicht: Could not open file of texture: UV_rat.png
2019-12-05 20:42:35: WARNING[Main]: Irrlicht: Could not open file of texture: mobs_anthro_fox.png
2019-12-05 20:42:39: ACTION[Main]: Server: Shutting down
my.observation
Code: Select all
debug
#t.crash I do not remember what I did.
2019-12-05 20:46:22: ACTION[Server]: PlayerA [192.168.1.106] joins game.
2019-12-05 20:46:22: ACTION[Server]: PlayerA joins game. List of players: kiosk PlayerA
2019-12-05 20:47:43: ACTION[Server]: playerB [192.168.1.103] joins game.
2019-12-05 20:47:43: ACTION[Server]: playerB joins game. List of players: PlayerA kiosk playerB
2019-12-05 20:48:19: ACTION[Server]: playerD [192.168.1.102] joins game.
2019-12-05 20:48:19: ACTION[Server]: playerD joins game. List of players: playerB kiosk PlayerA playerD
2019-12-05 20:48:32: ACTION[Server]: playerC [192.168.1.105] joins game.
2019-12-05 20:48:32: ACTION[Server]: playerC joins game. List of players: playerD playerB kiosk PlayerA playerC
2019-12-05 20:49:39: WARNING[Main]: Irrlicht: Could not open file of texture: character.png
2019-12-05 20:49:44: WARNING[Main]: Irrlicht: Could not open file of texture: mobs_anthro_fox.png
2019-12-05 20:50:07: WARNING[Server]: active block modifiers took 202ms (processed 280 of 377 active blocks)
2019-12-05 20:50:30: ERROR[Main]: ServerError: AsyncErr: ServerThread::run Lua: Runtime error from mod 'xpanes' in callback luaentity_Step(): Invalid float vector dimension range 'x' (expected -2.14748e+006 < x < 2.14748e+006 got nan).
2019-12-05 20:50:30: ERROR[Main]: stack traceback:
2019-12-05 20:50:30: ERROR[Main]: [C]: in function 'setvelocity'
2019-12-05 20:50:30: ERROR[Main]:\worlds\new\worldmods\creatures\creatures/api_mobs.lua:84: in function 'set_velocity'
2019-12-05 20:50:30: ERROR[Main]:\worlds\new\worldmods\creatures\creatures/logic_mobs.lua:695: in function 'logic_mob_step'
2019-12-05 20:50:30: ERROR[Main]:\worlds\new\worldmods\creatures\creatures_races_default\init.lua:3180: in function <...new\worldmods\creatures\creatures_races_default\init.lua:3179>
2019-12-05 20:50:30: ACTION[Main]: Server: Shutting down
Code: Select all
_ _ _#t.install.and.play...#t.mtengine.modbase.mtgame... #t.version...5.1.0
#t.install.and.play...#t.mod.non.default...creatures
#t.server.client.#t.device...dell...windows7...pentium...2.2ghz...2gb
#t.client...#t.device...samsung...note10.1...android4.3.1...armv7...1.4ghz...quad...2gb (player name "Bad")
#t.client...#t.device...samsung...note7...android4.4.2...armv7..1.6ghz...quad....2gb (player name "playerA")
#t.client...#t.device...samsung...note7...android4.4.2...armv7..1.6ghz...quad....2gb (player name "playerB")
#t.client...#t.device...samsung...note7...android4.4.2...armv7..1.6ghz...quad....2gb (player name "playerK")