Love2D console keeps on printing "0" for some reason. How would I stop it ?

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
User avatar
Raj
Prole
Posts: 15
Joined: Sun Nov 05, 2017 3:40 pm

Love2D console keeps on printing "0" for some reason. How would I stop it ?

Post by Raj »

the console of Love2D keeps printing "0" infinitely. How would I stop it ?
User avatar
xNick1
Party member
Posts: 267
Joined: Wed Jun 15, 2016 8:27 am
Location: Rome, Italy

Re: Love2D console keeps on printing "0" for some reason. How would I stop it ?

Post by xNick1 »

Try to look for a print() instruction!
User avatar
Raj
Prole
Posts: 15
Joined: Sun Nov 05, 2017 3:40 pm

Re: Love2D console keeps on printing "0" for some reason. How would I stop it ?

Post by Raj »

xNick1 wrote: Mon Dec 04, 2017 6:15 am Try to look for a print() instruction!
I did, again. There is no print() function in any lua file.

Edit: Actually you were right, there was a print() called in one of the lua files. Resolved.
Last edited by Raj on Mon Dec 04, 2017 10:24 am, edited 1 time in total.
User avatar
Nixola
Inner party member
Posts: 1949
Joined: Tue Dec 06, 2011 7:11 pm
Location: Italy

Re: Love2D console keeps on printing "0" for some reason. How would I stop it ?

Post by Nixola »

Does it do it with an empty main.lua or with the nogame screen? Do you have any io.write or io.stdout, io.stderr or io.output?
lf = love.filesystem
ls = love.sound
la = love.audio
lp = love.physics
lt = love.thread
li = love.image
lg = love.graphics
User avatar
Raj
Prole
Posts: 15
Joined: Sun Nov 05, 2017 3:40 pm

Re: Love2D console keeps on printing "0" for some reason. How would I stop it ?

Post by Raj »

So there was a print() function that was doing it. Lol. Problem solved.
KayleMaster
Party member
Posts: 234
Joined: Mon Aug 29, 2016 8:51 am

Re: Love2D console keeps on printing "0" for some reason. How would I stop it ?

Post by KayleMaster »

Color me surprised ... Don't you use the find function of your IDE/text editor ?
Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests