←  Peripheral Help and Discussion

ComputerCraft | Programmable Computers for Minecraft

»

Usage Of Iluacontext

Russoul's Photo Russoul 23 Aug 2013

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
Quote