Page 1 of 2

Either my tiled STI is broken or im an idiot

Posted: Mon Dec 28, 2015 8:55 am
by powerII
Hey! Im having trouble with my sti and im not too sure if it's me or the code in it. Im having the issue of sti.map not bring found and prior i had this issue where it said that init or something is nil. thanks in advance!!!

Re: Either my tiled STI is broken or im an idiot

Posted: Mon Dec 28, 2015 6:22 pm
by bobbyjones
Did you follow the tutorial I linked?

Re: Either my tiled STI is broken or im an idiot

Posted: Mon Dec 28, 2015 10:08 pm
by powerII
Yea, the tutorial says require 'sti' but there is no sti.lua

Re: Either my tiled STI is broken or im an idiot

Posted: Mon Dec 28, 2015 10:23 pm
by bobbyjones
Make sure you have the whole folder next to your main.lua.

Re: Either my tiled STI is broken or im an idiot

Posted: Mon Dec 28, 2015 10:25 pm
by powerII
Yea they're in the same folder

Re: Either my tiled STI is broken or im an idiot

Posted: Mon Dec 28, 2015 10:38 pm
by bobbyjones
Is there an STI/init.lua?

Re: Either my tiled STI is broken or im an idiot

Posted: Mon Dec 28, 2015 11:48 pm
by powerII
i got some help and have the issue fixed but a new one has arisen, it says that setfenv requires a number but gets nil

Re: Either my tiled STI is broken or im an idiot

Posted: Mon Dec 28, 2015 11:52 pm
by giantofbabil
powerII wrote:i got some help and have the issue fixed but a new one has arisen, it says that setfenv requires a number but gets nil
Have you looked at the example project for STI? I originally had problems with it but the code in the example set me straight.

Re: Either my tiled STI is broken or im an idiot

Posted: Tue Dec 29, 2015 12:10 am
by bobbyjones
The creator of STI use irc as their main form of communication (at least to me it seems that way.) It may be helpful to join the irc channel. #love on irc.oftc.net

Re: Either my tiled STI is broken or im an idiot

Posted: Tue Dec 29, 2015 12:50 am
by powerII
I definitely try using irc. Actually the creator of sti was the one who helped me. Private messaging is a very inefficient way of communicating.