Freeze when reading a 102kb file?
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
Freeze when reading a 102kb file?
Why does it freeze when I read a 102kb file?
- Attachments
-
- wrath.txt
- (101.78 KiB) Downloaded 121 times
Re: Freeze when reading a 102kb file?
Don't know what exactly it's choking on, but in line 55 you have a problem:
I get this error message:
in Lua (haven't tried from LÖVE).
Code: Select all
53 prop_weapon_shotgun = {
54 s_Class = "prop_weapon_shotgun",
55 t_Tracers = table: 01D9C128,
56 s_Base = "prop_weapon",
57 s_AmmoClass = "Shotgun",
Code: Select all
wrath.txt:55: malformed number near '01D9C128'
stack traceback:
[C]: in function 'dofile'
stdin:1: in main chunk
[C]: ?
Re: Freeze when reading a 102kb file?
Yeah but I just do this:
local data = love.filesystem.read("saves/"..file);
And it still doesn't work (still freezes)?
local data = love.filesystem.read("saves/"..file);
And it still doesn't work (still freezes)?
Re: Freeze when reading a 102kb file?
I don't have time to look into this now (exams), but will definitely check it out later. Meanwile, try using the love.filesystem.lines iterator.
Who is online
Users browsing this forum: Bing [Bot] and 3 guests