ElCeejo / draconis

Adds Dragons and related resources and equipment to Minetest Game
MIT License
18 stars 23 forks source link

Cannot login into game because of #47

Open Ygarr opened 1 month ago

Ygarr commented 1 month ago

this log:

AsyncErr: Lua: Runtime error from mod 'draconis' in callback luaentity_Step(): ...3/GAMsch/minetest/bin/../mods/draconis/api/behaviors.lua:199: attempt to perform arithmetic on field 'turn_rate' (a nil value)
stack traceback:
    ...3/GAMsch/minetest/bin/../mods/draconis/api/behaviors.lua:199: in function 'get_method'
    ...h/minetest/bin/../games/asuna/mods/creatura/mob_meta.lua:1020: in function 'move_to'
    ...ch/minetest/bin/../games/asuna/mods/creatura/methods.lua:360: in function 'action'
    ...h/minetest/bin/../games/asuna/mods/creatura/mob_meta.lua:1151: in function '_execute_utilities'
    ...h/minetest/bin/../games/asuna/mods/creatura/mob_meta.lua:864: in function <...h/minetest/bin/../games/asuna/mods/creatura/mob_meta.lua:829>
Ygarr commented 1 month ago

After installing mod Creatura from repos instead of Asuna game:

AsyncErr: Lua: Runtime error from mod 'draconis' in callback luaentity_Step(): ...3/GAMsch/minetest/bin/../mods/draconis/api/behaviors.lua:199: attempt to perform arithmetic on field 'turn_rate' (a nil value)
stack traceback:
    ...3/GAMsch/minetest/bin/../mods/draconis/api/behaviors.lua:199: in function 'get_method'
    ...fd4eb3/GAMsch/minetest/bin/../mods/creatura/mob_meta.lua:1043: in function 'move_to'
    ...afd4eb3/GAMsch/minetest/bin/../mods/creatura/methods.lua:395: in function 'action'
    ...fd4eb3/GAMsch/minetest/bin/../mods/creatura/mob_meta.lua:1200: in function '_execute_utilities'
    ...fd4eb3/GAMsch/minetest/bin/../mods/creatura/mob_meta.lua:938: in function <...fd4eb3/GAMsch/minetest/bin/../mods/creatura/mob_meta.lua:903>
Ygarr commented 1 month ago

replace all "self.turn_rate" with "self.turn_rate or 6" - did not helped

UPD: "(self.turn_rate or 6)" - in brackets seems helped for now