• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

GameMaker "load_csv" dont load the last string

S

SoulAge23

Guest
Hello, guys!

I have been using "load_csv" for my table (attached file with excel screenshot).
26e3bb19d7.jpg
And i got very strange situation (attached file with debugger screenshot)
b5488541fe.jpg

There are no the string with id 4: "Mana Potion". But we all need mana!
Is it a bug or feature?
(Gamemaker 2, IDE v2.0.6.146 Steam Runtime v2.0.6.93

p.s. looked at documentaion and haven't any idea how to improve it without adding fake string. Who needs a crutch?
 
Last edited by a moderator:

Mike

nobody important
GMC Elder
Go to the end of the text file - press enter. Save it and try again.
 

bml

Member
I created a bug report for this. RFC 4180, for what it's worth, says:

2. The last record in the file may or may not have an ending line
break. For example:

aaa,bbb,ccc CRLF
zzz,yyy,xxx
 

breakmt

Member
I created a bug report for this. RFC 4180, for what it's worth, says:

2. The last record in the file may or may not have an ending line
break. For example:

aaa,bbb,ccc CRLF
zzz,yyy,xxx
Thanks. I fell into this today too... Have they created bug in Mantis? Could you please give me a link to it?
 
Top