Posted 23 August 2013 - 07:02 AM
Im making a peripheral that will be waiting for a key pressed by the player who placed this peripheral .
The method will be like rednet.receive (int timeout) so its gonna wait till a key is pressed. I found out that this function was added in 1.55 (ILuaContext) but I dont really get how to use it . When I try to add this to my code , in minecraft when I type in this method and start a computer all forge stuff , mods freeze . I also heard smth about lua thread safety maybe it is the cause . Anyway I need HELP
The method will be like rednet.receive (int timeout) so its gonna wait till a key is pressed. I found out that this function was added in 1.55 (ILuaContext) but I dont really get how to use it . When I try to add this to my code , in minecraft when I type in this method and start a computer all forge stuff , mods freeze . I also heard smth about lua thread safety maybe it is the cause . Anyway I need HELP