The game crashes during loading mode

PeterKabin
Member
 
Posts: 23
Joined: Sun Jun 09, 2013 08:33

The game crashes during loading mode

by PeterKabin » Mon Aug 04, 2014 16:12

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.sound_play("d", {to_player = "singleplayer"})
What i am doing wrong?
 

User avatar
Krock
Member
 
Posts: 3598
Joined: Thu Oct 03, 2013 07:48
GitHub: SmallJoker

Re: The game crashes during loading mode

by Krock » Mon Aug 04, 2014 17:13

PeterKabin wrote:
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.sound_play("d", {to_player = "singleplayer"})
What i am doing wrong?

Is there a "d.ogg" file in the sounds folder of the current mod?
Newest Win32 builds - Find a mod - All my mods
ALL YOUR DONATION ARE BELONG TO PARAMAT (Please support him and Minetest)
New DuckDuckGo !bang: !mtmod <keyword here>
 

User avatar
rubenwardy
Member
 
Posts: 4500
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

Re: The game crashes during loading mode

by rubenwardy » Mon Aug 04, 2014 17:34

Players connect after all mods are loaded. You can't play a sound while it is loading, instead you need to play a sound in a callback, such as minetest.register_on_joinplayer()
 

PeterKabin
Member
 
Posts: 23
Joined: Sun Jun 09, 2013 08:33

Re: The game crashes during loading mode

by PeterKabin » Mon Aug 04, 2014 17:41

rubenwardy wrote:Players connect after all mods are loaded. You can't play a sound while it is loading, instead you need to play a sound in a callback, such as minetest.register_on_joinplayer()

thanks
 


Return to WIP Mods

Who is online

Users browsing this forum: No registered users and 12 guests

cron