Page 1 of 1

Tiledmap.lua:227: attempt to index field 'xarg' (a nil value

Posted: Sat Sep 08, 2012 4:49 am
by theobjpo
I'm relatively new and am trying to use tiledmap.
I keep getting that error (title)?
It says to save the file as tmx and I did, path is valid and everything.
Can anyone help?!?

Re: Tiledmap.lua:227: attempt to index field 'xarg' (a nil v

Posted: Sat Sep 08, 2012 2:36 pm
by Robin
Could you upload a .love of your game for us?

Re: Tiledmap.lua:227: attempt to index field 'xarg' (a nil v

Posted: Sat Sep 08, 2012 5:47 pm
by theobjpo
The game uses UDP for networking so..
It won't connect unless you use the UDP tutorial's server.

Re: Tiledmap.lua:227: attempt to index field 'xarg' (a nil v

Posted: Sat Sep 08, 2012 7:25 pm
by Zeliarden
Try save as xml instead of base64 in Tiled
Edit -> Preferences -> General -> Saving and Loading
btw I recommend using https://love2d.org/wiki/Advanced_Tiled_Loader instead

Re: Tiledmap.lua:227: attempt to index field 'xarg' (a nil v

Posted: Sat Sep 08, 2012 8:09 pm
by theobjpo
I'm using the Advanced Tiled Loader, thanks for telling me that. It worked, but its all black?

Re: Tiledmap.lua:227: attempt to index field 'xarg' (a nil v

Posted: Sat Sep 08, 2012 11:42 pm
by theobjpo
I fixed that problem but Advanced Tile Loader is giving me an error
stack overflow?
Map Dimensions: 25x19
Screen Size: 800, 608
Tile Sizes: 32x32

Re: Tiledmap.lua:227: attempt to index field 'xarg' (a nil v

Posted: Sun Sep 09, 2012 2:28 pm
by Karai17
Can you post your .love file(s)?

Re: Tiledmap.lua:227: attempt to index field 'xarg' (a nil v

Posted: Sun Sep 09, 2012 4:20 pm
by theobjpo
It works now but Its not working with HardonCollider