Two Questions ( Experts Needed )

CuriousNoob
Member
 
Posts: 74
Joined: Wed Jan 27, 2016 09:43

Two Questions ( Experts Needed )

by CuriousNoob » Tue Jan 24, 2017 22:11

.

Hi

After months of trying, an interesting sub-game is still crashing for me.

Its author is obviously not a native-English-speaker, and possibly not sufficiently knowledgeable to help.

TL;DR Two Questions :

1 )

- is it appropriate ... and if so is it enough ... to simply substitute deprecated-function strings with current forms as per the WARNING messages, or are there other considerations..?

2 )

- is the final crash-message relevant and if so is it indicative of faults or omissions in the minetest binary supplied by the minetestdevs-daily ppa..?

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
minetest: /build/minetest-WmCYuD/minetest-201701222101/src/util/serialize.h:278: void writeF1000(irr::u8*, irr::f32): Assertion `i >= F1000_MIN && i <= F1000_MAX' failed.


System-Info and huge output from ''minetest --trace'' below.

Thanks


- - -


The Long Version...

For various reasons I find the Mars sub-game intriguing, but sadly the downloaded local game always crashes with a very similar final message, and I've been trying for months to see if the author had fixed it.

When the author provided a GitHub zip of his whole code for local build it succeeded and played without crashing, but that was not really a proper solution ... and there was absolutely no attempt to diagnose the real underlying issues, let alone rectify them.

My typed-in-English bug-reports have sadly not been getting anywhere.

I'm of the opinion that a sub-game should be complete in and of itself, not needing users to download and install other mods to prevent dependency-errors.

So, the fact that even his latest downloads still require external mods to be installed and enabled already sets alarm-bells ringing. But I did so, the inventory and the vombie.

More concerning, I suspect it's quite telling --- and depressing --- that after all these months the same deprecated functions are still being used and are still causing WARNING messages.

The ERROR messages are too numerous to list, but the ''--trace'' level debug.txt is below.

It's extremely annoying that upon crashing --- wherein the Minetest graphical window just suddenly and silently disappears off screen --- the final crash message is still pretty much identical to months ago.

I know nothing... of Lua, nor C nor C++ nor Irrlicht nor OpenGL nor Minetest-engines nor voxel-world algorithms.

But after some years with Linux I'm at least competent in Bash.


1 ) -

For the WARNINGs about 'deprecated' functions, could any of you experts confirm if it would be appropriate for me to simply replace all occurrences of the deprecated term with the newer string..?

Would something simplistic like sed -i s/deprecated/current/g actually work..?


2 ) -

I've been happily using the minetestdevs-daily ppa for many months. The silent-crash disappear-off-screen has not been my normal experience.

Upon crashing the final line in the console has always been of a very similar form, mentioning serialize.h and some assertion failed.

FWIW, there seems to be a correlation in-game somehow with a mob (a Mars alien) ... mob appears, game disappears.

Is it most likely something in the code of your Minetest engine causing this crash..?

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
minetest: /build/minetest-WmCYuD/minetest-201701222101/src/util/serialize.h:278: void writeF1000(irr::u8*, irr::f32): Assertion `i >= F1000_MIN && i <= F1000_MAX' failed.

Or Irrlicht..?

Or something in his sub-game's Lua..?

Or a combination..?

Or none of the above..?

Expert eyes needed.

All help greatly appreciated.

Thanks.

. . .

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
$  :    minetest --trace   2>&1     |   tee -a  ~/.minetest/trace-debug.txt-$(date +%Y%m%d%H%M%S)
gives :
WARNING : HUGE trace-debug.txt


Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
$  :    minetest --version
gives :
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
Minetest 0.4.15-dev (Linux)
Using Irrlicht 1.8.3
Build info: VER=0.4.15-dev BUILD_TYPE=None RUN_IN_PLACE=0 USE_GETTEXT=1 USE_SOUND=1 USE_CURL=1 USE_FREETYPE=1 USE_LUAJIT=1 STATIC_SHAREDIR="/usr/share/minetest"



Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
$  :    inxi -Fz
shows
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
System:    Host: mint-dc7900 Kernel: 4.4.0-21-generic x86_64 (64 bit) Desktop: KDE Plasma 5.8.5
           Distro: Linux Mint 18 Sarah
Machine:   System: Hewlett-Packard product: HP Compaq dc7900 Small Form Factor
           Mobo: Hewlett-Packard model: 3031h Bios: Hewlett-Packard v: 786G1 v01.16 date: 03/05/2009
CPU:       Dual core Intel Core2 Duo E8400 (-MCP-) cache: 6144 KB
           clock speeds: max: 3000 MHz 1: 1998 MHz 2: 3000 MHz
Graphics:  Card: Intel 4 Series Integrated Graphics Controller
           Display Server: X.Org 1.18.4 drivers: intel (unloaded: fbdev,vesa) Resolution: 1280x1024@75.02hz
           GLX Renderer: Mesa DRI Intel Q45/Q43 GLX Version: 2.1 Mesa 11.2.0
Audio:     Card Intel 82801JD/DO (ICH10 Family) HD Audio Controller driver: snd_hda_intel
           Sound: Advanced Linux Sound Architecture v: k4.4.0-21-generic
Network:   Card: Intel 82567LM-3 Gigabit Network Connection driver: e1000e
           IF: enp0s25 state: up speed: 100 Mbps duplex: full mac: <filter>
Drives:    HDD Total Size: 660.1GB (16.9% used) ID-1: /dev/sda model: ST3160318AS size: 160.0GB
           ID-2: /dev/sdb model: ST3500312CS size: 500.1GB
Partition: ID-1: / size: 24G used: 11G (46%) fs: xfs dev: /dev/sda8
           ID-2: /boot size: 4.0G used: 505M (14%) fs: ext2 dev: /dev/sda5
           ID-3: /home size: 18G used: 18G (98%) fs: xfs dev: /dev/sda3
           ID-4: swap-1 size: 4.29GB used: 0.00GB (0%) fs: swap dev: /dev/sda6
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 34.0C mobo: N/A
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 274 Uptime: 1 day Memory: 2471.4/5635.3MB Client: Shell (bash) inxi: 2.2.35



Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
$  :  grep --colour -B1 -A2 -niE '(deprecated)'   ~/.minetest/trace-debug.txt-20170124182800
gives :
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
951-2017-01-24 18:28:21: VERBOSE[Main]: con(13/2): Receive: got event: CONNEVENT_DATA_RECEIVED
952:2017-01-24 18:28:21: WARNING[Server]: Deprecated usage of get_node_group, use get_item_group instead
953-2017-01-24 18:28:21: INFO[Server]: stack traceback:
954-2017-01-24 18:28:21: INFO[Server]:  [C]: in function 'log'
--
956-2017-01-24 18:28:21: INFO[Server]:  ...user/games/marsu_game/mods/marssurvive/aliens.lua:327: in function <...user/games/marsu_game/mods/marssurvive/aliens.lua:133>
957:2017-01-24 18:28:21: WARNING[Server]: Deprecated usage of get_node_group, use get_item_group instead
958-2017-01-24 18:28:21: INFO[Server]: stack traceback:
959-2017-01-24 18:28:21: INFO[Server]:  [C]: in function 'log'
--
961-2017-01-24 18:28:21: INFO[Server]:  ...user/games/marsu_game/mods/marssurvive/aliens.lua:327: in function <...user/games/marsu_game/mods/marssurvive/aliens.lua:133>
962:2017-01-24 18:28:21: WARNING[Server]: Deprecated usage of get_node_group, use get_item_group instead
963-2017-01-24 18:28:21: INFO[Server]: stack traceback:
964-2017-01-24 18:28:21: INFO[Server]:  [C]: in function 'log'
--
3915-2017-01-24 18:28:23: VERBOSE[Server]: con(12/1): Receive: got event: CONNEVENT_DATA_RECEIVED
3916:2017-01-24 18:28:23: WARNING[Server]: core.env:[...] is deprecated and should be replaced with core.[...]
3917-2017-01-24 18:28:23: VERBOSE[ConnectionSend]: con(12/1)UDP processing reliable CONNCMD_SEND
3918-2017-01-24 18:28:23: VERBOSE[ConnectionSend]: con(12/1) processing reliable command for peer id: 2 data size: 21
--
3922-2017-01-24 18:28:23: VERBOSE[ConnectionSend]: con(12/1) sending to peer_id=2, channel 1, size: 104
3923:2017-01-24 18:28:23: INFO[Server]:         /usr/share/minetest/builtin/game/deprecated.lua:34: in function '__index'
3924-2017-01-24 18:28:23: INFO[Server]:         ...user/games/marsu_game/mods/walking_light/init.lua:68: in function 'update_light_player'
3925-2017-01-24 18:28:23: INFO[Server]:         ...user/games/marsu_game/mods/walking_light/init.lua:101: in function <...user/games/marsu_game/mods/walking_light/init.lua:82>
--
3950-2017-01-24 18:28:23: VERBOSE[ConnectionReceive]: con(13/2) Queuing ACK command to peer_id: 1 channel: 0 seqnum: 1152
3951:2017-01-24 18:28:23: WARNING[Server]: Deprecated usage of get_node_group, use get_item_group instead
3952-2017-01-24 18:28:23: VERBOSE[ConnectionReceive]: con(13/2)RECURSIVE, TYPE_RELIABLE peer_id: 1, channel: 0, seqnum: 1152
3953-2017-01-24 18:28:23: VERBOSE[ConnectionReceive]: con(13/2)RETURNING TYPE_ORIGINAL to user
--
4031-2017-01-24 18:28:23: VERBOSE[ConnectionReceive]: con(12/1) [ CONTROLTYPE_ACK: channelnum=0, peer_id=2, seqnum=1153 ]
4032:2017-01-24 18:28:23: WARNING[Server]: Deprecated usage of get_node_group, use get_item_group instead
4033-2017-01-24 18:28:23: VERBOSE[ConnectionSend]: con(12/1) Handle per peer queues: peer_id=2 packet quota: 1024
4034-2017-01-24 18:28:23: VERBOSE[ConnectionSend]: con(12/1)     channel: 0, peer quota:1024
--
4052-2017-01-24 18:28:23: INFO[Server]:         ...user/games/marsu_game/mods/marssurvive/aliens.lua:327: in function <...user/games/marsu_game/mods/marssurvive/aliens.lua:133>
4053:2017-01-24 18:28:23: WARNING[Server]: Deprecated usage of get_node_group, use get_item_group instead
4054-2017-01-24 18:28:23: INFO[Server]: stack traceback:
4055-2017-01-24 18:28:23: INFO[Server]:         [C]: in function 'log'
--
4270-2017-01-24 18:28:06: VERBOSE[Main]: ItemDefManager: registering "walking_light:light"
4271:2017-01-24 18:28:06: WARNING[Main]: Field "tile_images": Deprecated; new name is "tiles".
4272-2017-01-24 18:28:06: INFO[Main]: stack traceback:
4273-2017-01-24 18:28:06: INFO[Main]:   [C]: in function 'register_item_raw'
--
4276-2017-01-24 18:28:06: INFO[Main]:   ...user/games/marsu_game/mods/walking_light/init.lua:108: in main chunk
4277:2017-01-24 18:28:06: WARNING[Main]: Field "light_propagates": Deprecated; determined from paramtype
4278-2017-01-24 18:28:06: INFO[Main]: stack traceback:
4279-2017-01-24 18:28:06: INFO[Main]:   [C]: in function 'register_item_raw'
--
9699-2017-01-24 18:28:06: VERBOSE[Main]: ItemDefManager: registering "marssurvive:crystal"
9700:2017-01-24 18:28:06: WARNING[Main]: Field "light_propagates": Deprecated; determined from paramtype
9701-2017-01-24 18:28:06: INFO[Main]: stack traceback:
9702-2017-01-24 18:28:06: INFO[Main]:   [C]: in function 'register_item_raw'
--
10028-2017-01-24 18:28:06: VERBOSE[Main]: ItemDefManager: setting alias mithril_ingot -> moreores:mithril_ingot
10029:2017-01-24 18:28:06: WARNING[Main]: Field "height_min": Deprecated: new name is "y_min".
10030-2017-01-24 18:28:06: INFO[Main]: stack traceback:
10031-2017-01-24 18:28:06: INFO[Main]:  [C]: in function 'orig_reg_fn'
--
10034-2017-01-24 18:28:06: INFO[Main]:  ...user/games/marsu_game/mods/moreores/init.lua:310: in main chunk
10035:2017-01-24 18:28:06: WARNING[Main]: Field "height_max": Deprecated: new name is "y_max".
10036-2017-01-24 18:28:06: INFO[Main]: stack traceback:
10037-2017-01-24 18:28:06: INFO[Main]:  [C]: in function 'orig_reg_fn'
--
10080-2017-01-24 18:28:06: VERBOSE[Main]: registerCraft: registering craft definition: (shaped, output="default:chest_locked", recipe={ "group:wood","group:wood","group:wood"; "group:wood","moreores:silver_ingot","group:wood"; "group:wood","group:wood","group:wood" }, replacements={})
10081:2017-01-24 18:28:06: WARNING[Main]: Field "height_min": Deprecated: new name is "y_min".
10082-2017-01-24 18:28:06: INFO[Main]: stack traceback:
10083-2017-01-24 18:28:06: INFO[Main]:  [C]: in function 'orig_reg_fn'
--
10086-2017-01-24 18:28:06: INFO[Main]:  ...user/games/marsu_game/mods/moreores/init.lua:310: in main chunk
10087:2017-01-24 18:28:06: WARNING[Main]: Field "height_max": Deprecated: new name is "y_max".
10088-2017-01-24 18:28:06: INFO[Main]: stack traceback:
10089-2017-01-24 18:28:06: INFO[Main]:  [C]: in function 'orig_reg_fn'
--
10130-2017-01-24 18:28:06: VERBOSE[Main]: ItemDefManager: setting alias tin_ingot -> moreores:tin_ingot
10131:2017-01-24 18:28:06: WARNING[Main]: Field "height_min": Deprecated: new name is "y_min".
10132-2017-01-24 18:28:06: INFO[Main]: stack traceback:
10133-2017-01-24 18:28:06: INFO[Main]:  [C]: in function 'orig_reg_fn'
--
10136-2017-01-24 18:28:06: INFO[Main]:  ...user/games/marsu_game/mods/moreores/init.lua:310: in main chunk
10137:2017-01-24 18:28:06: WARNING[Main]: Field "height_max": Deprecated: new name is "y_max".
10138-2017-01-24 18:28:06: INFO[Main]: stack traceback:
10139-2017-01-24 18:28:06: INFO[Main]:  [C]: in function 'orig_reg_fn'
--
24176-2017-01-24 18:28:06: VERBOSE[Main]: Loading and running script from /home/user/.minetest/games/marsu_game/mods/flowers/init.lua
24177:2017-01-24 18:28:06: WARNING[Main]: get_mapgen_params is deprecated; use get_mapgen_setting instead
24178-2017-01-24 18:28:06: INFO[Main]: stack traceback:
24179-2017-01-24 18:28:06: INFO[Main]:  [C]: in function 'get_mapgen_params'
--
25149-2017-01-24 18:28:07: VERBOSE[Main]: ItemDefManager: registering "bones:bones_infected"
25150:2017-01-24 18:28:07: WARNING[Main]: Field "light_propagates": Deprecated; determined from paramtype
25151-2017-01-24 18:28:07: INFO[Main]: stack traceback:
25152-2017-01-24 18:28:07: INFO[Main]:  [C]: in function 'register_item_raw'
--
25757-2017-01-24 18:28:07: VERBOSE[Main]: NodeDefManager: registering content id "1352": name="moreblocks:slab_steelblock"
25758:2017-01-24 18:28:07: WARNING[Main]: Field "noise_threshhold": Deprecated: new name is "noise_threshold".
25759-2017-01-24 18:28:07: INFO[Main]: stack traceback:
25760-2017-01-24 18:28:07: INFO[Main]:  [C]: in function 'orig_reg_fn'
--
25765-2017-01-24 18:28:07: INFO[Main]: ObjDefManager: added ore: name="" index=22 uid=40
25766:2017-01-24 18:28:07: WARNING[Main]: Field "noise_threshhold": Deprecated: new name is "noise_threshold".
25767-2017-01-24 18:28:07: INFO[Main]: stack traceback:
25768-2017-01-24 18:28:07: INFO[Main]:  [C]: in function 'orig_reg_fn'
--
25773-2017-01-24 18:28:07: INFO[Main]: ObjDefManager: added ore: name="" index=23 uid=45
25774:2017-01-24 18:28:07: WARNING[Main]: Field "noise_threshhold": Deprecated: new name is "noise_threshold".
25775-2017-01-24 18:28:07: INFO[Main]: stack traceback:
25776-2017-01-24 18:28:07: INFO[Main]:  [C]: in function 'orig_reg_fn'
--
25781-2017-01-24 18:28:07: INFO[Main]: ObjDefManager: added ore: name="" index=24 uid=20
25782:2017-01-24 18:28:07: WARNING[Main]: Field "noise_threshhold": Deprecated: new name is "noise_threshold".
25783-2017-01-24 18:28:07: INFO[Main]: stack traceback:
25784-2017-01-24 18:28:07: INFO[Main]:  [C]: in function 'orig_reg_fn'
--
25789-2017-01-24 18:28:07: INFO[Main]: ObjDefManager: added ore: name="" index=25 uid=79
25790:2017-01-24 18:28:07: WARNING[Main]: Field "noise_threshhold": Deprecated: new name is "noise_threshold".
25791-2017-01-24 18:28:07: INFO[Main]: stack traceback:
25792-2017-01-24 18:28:07: INFO[Main]:  [C]: in function 'orig_reg_fn'
--
25797-2017-01-24 18:28:07: INFO[Main]: ObjDefManager: added ore: name="" index=26 uid=100
25798:2017-01-24 18:28:07: WARNING[Main]: Field "noise_threshhold": Deprecated: new name is "noise_threshold".
25799-2017-01-24 18:28:07: INFO[Main]: stack traceback:
25800-2017-01-24 18:28:07: INFO[Main]:  [C]: in function 'orig_reg_fn'
--
25805-2017-01-24 18:28:07: INFO[Main]: ObjDefManager: added ore: name="" index=27 uid=116
25806:2017-01-24 18:28:07: WARNING[Main]: Field "noise_threshhold": Deprecated: new name is "noise_threshold".
25807-2017-01-24 18:28:07: INFO[Main]: stack traceback:
25808-2017-01-24 18:28:07: INFO[Main]:  [C]: in function 'orig_reg_fn'
--
25813-2017-01-24 18:28:07: INFO[Main]: ObjDefManager: added ore: name="" index=28 uid=113
25814:2017-01-24 18:28:07: WARNING[Main]: Field "noise_threshhold": Deprecated: new name is "noise_threshold".
25815-2017-01-24 18:28:07: INFO[Main]: stack traceback:
25816-2017-01-24 18:28:07: INFO[Main]:  [C]: in function 'orig_reg_fn'
--
25821-2017-01-24 18:28:07: INFO[Main]: ObjDefManager: added ore: name="" index=29 uid=32
25822:2017-01-24 18:28:07: WARNING[Main]: Field "noise_threshhold": Deprecated: new name is "noise_threshold".
25823-2017-01-24 18:28:07: INFO[Main]: stack traceback:
25824-2017-01-24 18:28:07: INFO[Main]:  [C]: in function 'orig_reg_fn'
--
25829-2017-01-24 18:28:07: INFO[Main]: ObjDefManager: added ore: name="" index=30 uid=39
25830:2017-01-24 18:28:07: WARNING[Main]: Field "noise_threshhold": Deprecated: new name is "noise_threshold".
25831-2017-01-24 18:28:07: INFO[Main]: stack traceback:
25832-2017-01-24 18:28:07: INFO[Main]:  [C]: in function 'orig_reg_fn'
--
31841-2017-01-24 18:28:07: VERBOSE[Main]: ItemDefManager: registering "poisonivy:seedling"
31842:2017-01-24 18:28:07: WARNING[Main]: Field "tile_images": Deprecated; new name is "tiles".
31843-2017-01-24 18:28:07: INFO[Main]: stack traceback:
31844-2017-01-24 18:28:07: INFO[Main]:  [C]: in function 'register_item_raw'
--
31852-2017-01-24 18:28:07: VERBOSE[Main]: ItemDefManager: registering "poisonivy:sproutling"
31853:2017-01-24 18:28:07: WARNING[Main]: Field "tile_images": Deprecated; new name is "tiles".
31854-2017-01-24 18:28:07: INFO[Main]: stack traceback:
31855-2017-01-24 18:28:07: INFO[Main]:  [C]: in function 'register_item_raw'
--
31863-2017-01-24 18:28:07: VERBOSE[Main]: ItemDefManager: registering "poisonivy:climbing"
31864:2017-01-24 18:28:07: WARNING[Main]: Field "tile_images": Deprecated; new name is "tiles".
31865-2017-01-24 18:28:07: INFO[Main]: stack traceback:
31866-2017-01-24 18:28:07: INFO[Main]:  [C]: in function 'register_item_raw'
--
37377-2017-01-24 18:28:07: VERBOSE[Main]: ItemDefManager: registering "bitchange:minecoin_in_ground"
37378:2017-01-24 18:28:07: WARNING[Main]: Field "tile_images": Deprecated; new name is "tiles".
37379-2017-01-24 18:28:07: INFO[Main]: stack traceback:
37380-2017-01-24 18:28:07: INFO[Main]:  [C]: in function 'register_item_raw'
--
37390-2017-01-24 18:28:07: VERBOSE[Main]: ItemDefManager: registering "bitchange:mineninth_in_ground"
37391:2017-01-24 18:28:07: WARNING[Main]: Field "tile_images": Deprecated; new name is "tiles".
37392-2017-01-24 18:28:07: INFO[Main]: stack traceback:
37393-2017-01-24 18:28:07: INFO[Main]:  [C]: in function 'register_item_raw'
--
37403-2017-01-24 18:28:07: VERBOSE[Main]: ItemDefManager: registering "bitchange:minecoinblock"
37404:2017-01-24 18:28:07: WARNING[Main]: Field "tile_images": Deprecated; new name is "tiles".
37405-2017-01-24 18:28:07: INFO[Main]: stack traceback:
37406-2017-01-24 18:28:07: INFO[Main]:  [C]: in function 'register_item_raw'
--
37429-2017-01-24 18:28:07: VERBOSE[Main]: registerCraft: registering craft definition: (cooking, output="default:gold_ingot 4", recipe="bitchange:minecoinblock", cooktime=3), replacements={})
37430:2017-01-24 18:28:07: WARNING[Main]: Field "height_min": Deprecated: new name is "y_min".
37431-2017-01-24 18:28:07: INFO[Main]: stack traceback:
37432-2017-01-24 18:28:07: INFO[Main]:  [C]: in function 'orig_reg_fn'
--
37436-2017-01-24 18:28:07: INFO[Main]:  ...user/games/marsu_game/mods/bitchange/init.lua:5: in main chunk
37437:2017-01-24 18:28:07: WARNING[Main]: Field "height_max": Deprecated: new name is "y_max".
37438-2017-01-24 18:28:07: INFO[Main]: stack traceback:
37439-2017-01-24 18:28:07: INFO[Main]:  [C]: in function 'orig_reg_fn'
--
37444-2017-01-24 18:28:07: INFO[Main]: ObjDefManager: added ore: name="" index=32 uid=1
37445:2017-01-24 18:28:07: WARNING[Main]: Field "height_min": Deprecated: new name is "y_min".
37446-2017-01-24 18:28:07: INFO[Main]: stack traceback:
37447-2017-01-24 18:28:07: INFO[Main]:  [C]: in function 'orig_reg_fn'
--
37451-2017-01-24 18:28:07: INFO[Main]:  ...user/games/marsu_game/mods/bitchange/init.lua:5: in main chunk
37452:2017-01-24 18:28:07: WARNING[Main]: Field "height_max": Deprecated: new name is "y_max".
37453-2017-01-24 18:28:07: INFO[Main]: stack traceback:
37454-2017-01-24 18:28:07: INFO[Main]:  [C]: in function 'orig_reg_fn'
--
37459-2017-01-24 18:28:07: INFO[Main]: ObjDefManager: added ore: name="" index=33 uid=80
37460:2017-01-24 18:28:07: WARNING[Main]: Field "height_min": Deprecated: new name is "y_min".
37461-2017-01-24 18:28:07: INFO[Main]: stack traceback:
37462-2017-01-24 18:28:07: INFO[Main]:  [C]: in function 'orig_reg_fn'
--
37466-2017-01-24 18:28:07: INFO[Main]:  ...user/games/marsu_game/mods/bitchange/init.lua:5: in main chunk
37467:2017-01-24 18:28:07: WARNING[Main]: Field "height_max": Deprecated: new name is "y_max".
37468-2017-01-24 18:28:07: INFO[Main]: stack traceback:
37469-2017-01-24 18:28:07: INFO[Main]:  [C]: in function 'orig_reg_fn'
--
38429-2017-01-24 18:28:07: VERBOSE[Main]: register_item_raw: markers:land_title_register
38430:2017-01-24 18:28:07: WARNING[Main]: Field "maxwear" is deprecated; replace with uses=1/maxwear
38431-2017-01-24 18:28:07: INFO[Main]: stack traceback:
38432-2017-01-24 18:28:07: INFO[Main]:  [C]: in function 'register_item_raw'
--
38438-2017-01-24 18:28:07: INFO[Main]:  ...user/games/marsu_game/mods/markers/init.lua:11: in main chunk
38439:2017-01-24 18:28:07: WARNING[Main]: Field "maxwear" is deprecated; replace with uses=1/maxwear
38440-2017-01-24 18:28:07: INFO[Main]: stack traceback:
38441-2017-01-24 18:28:07: INFO[Main]:  [C]: in function 'register_item_raw'
--
38447-2017-01-24 18:28:07: INFO[Main]:  ...user/games/marsu_game/mods/markers/init.lua:11: in main chunk
38448:2017-01-24 18:28:07: WARNING[Main]: Field "maxwear" is deprecated; replace with uses=1/maxwear
38449-2017-01-24 18:28:07: INFO[Main]: stack traceback:
38450-2017-01-24 18:28:07: INFO[Main]:  [C]: in function 'register_item_raw'
--
38613-2017-01-24 18:28:07: VERBOSE[Main]: register_item_raw: worldedit:wand
38614:2017-01-24 18:28:07: WARNING[Main]: Field "maxwear" is deprecated; replace with uses=1/maxwear
38615-2017-01-24 18:28:07: INFO[Main]: stack traceback:
38616-2017-01-24 18:28:07: INFO[Main]:  [C]: in function 'register_item_raw'
--
38622-2017-01-24 18:28:07: INFO[Main]:  ...etest/games/marsu_game/mods/WorldEdit/worldedit/init.lua:39: in main chunk
38623:2017-01-24 18:28:07: WARNING[Main]: Field "maxwear" is deprecated; replace with uses=1/maxwear
38624-2017-01-24 18:28:07: INFO[Main]: stack traceback:
38625-2017-01-24 18:28:07: INFO[Main]:  [C]: in function 'register_item_raw'
--
38631-2017-01-24 18:28:07: INFO[Main]:  ...etest/games/marsu_game/mods/WorldEdit/worldedit/init.lua:39: in main chunk
38632:2017-01-24 18:28:07: WARNING[Main]: Field "maxwear" is deprecated; replace with uses=1/maxwear
38633-2017-01-24 18:28:07: INFO[Main]: stack traceback:
38634-2017-01-24 18:28:07: INFO[Main]:  [C]: in function 'register_item_raw'
Attachments
trace-debug.txt-20170124182800.zip
HUGE DEBUG.TXT using ''minetest --trace''
(743.78 KiB) Downloaded 166 times
 

User avatar
lordfingle
Member
 
Posts: 65
Joined: Sat Apr 04, 2015 09:21
GitHub: eidy
IRC: lordfingle
In-game: lordfingle

Re: Two Questions ( Experts Needed )

by lordfingle » Thu Mar 02, 2017 09:48

Hi there!

The Mars sub-game does look intriguing. It's really up to the author to fix it though. The best place to discuss this is on it's own forum thread. (viewtopic.php?f=11&t=13913&hilit=mars+game)
It seems that it was updated recently. You should try the latest version.

Anyway, here's some answers to your original 2 questions, if you'd like to learn some lua:

1. All the "depreciated" items will continue to work for this version - If you would like to remove the message a simple search and replace won't work. You'd have to edit the lua files and replace the old function calls with the new equivalent. That's something the author needs to do really.

2. I think your crash is due to this:

"minetest: /build/minetest-WmCYuD/minetest-201701222101/src/util/serialize.h:278: void writeF1000(irr::u8*, irr::f32): Assertion `i >= F1000_MIN && i <= F1000_MAX' failed."

I encountered a similar error from the same author in another of mod of theirs.

I reported the error here:
viewtopic.php?f=11&t=16083&start=25#p247270

Perhaps the error is the same. If you look for a call to "get_node_light" and check for the nil value, it should work.

Hope that helps.
----------------------------------------------------------------------------------------------
Team Lead on "eidy- Love learning"
I like reading, walks on the beach and building edutech experiences in lua (Find out more in this post)
"Coming together is a beginning; keeping together is progress; working together is success." - Henry Ford
 


Return to Minetest Problems

Who is online

Users browsing this forum: No registered users and 8 guests

cron