MrGreen 0 Posted August 12, 2014 Share Posted August 12, 2014 So I started using OpenComputers today and was playing around with different stuff. Now I wanted to try the Geolyzer, but I can't get it to work. If I use component.geolyzer, it returns nil. I can get it with componen.getPrimary("geolyzer"). But if I use geolyzer.scan, it return nil again. Can someone please help me and tell me what I am doing wrong? It would be very appreciated! Here is a screenshot of what I tried: Quote Link to post Share on other sites
0 Solution Sangar 92 Posted August 14, 2014 Solution Share Posted August 14, 2014 Could you try `=component.geolyzer.scan(0, 0)`, please. If it somehow fails without erroring, the actual message would be the second returned value. Scratch that, you're doing `local scan =` in the interpreter, so that value is only kept for that line. Leave away the local while in the interpreter. Quote Link to post Share on other sites
0 MrGreen 0 Posted August 18, 2014 Author Share Posted August 18, 2014 Oh, thank you, I didn't know that. Never used Lua before. You are right, it works now Quote Link to post Share on other sites
So I started using OpenComputers today and was playing around with different stuff.
Now I wanted to try the Geolyzer, but I can't get it to work.
If I use component.geolyzer, it returns nil. I can get it with componen.getPrimary("geolyzer").
But if I use geolyzer.scan, it return nil again.
Can someone please help me and tell me what I am doing wrong?
It would be very appreciated!
Here is a screenshot of what I tried:
Link to post
Share on other sites