-
-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AR-Controller: calling "getPlayerRotationY/Z" throws a Null-Exception for the owner #307
Comments
This is a weird issue. Do the other functions work? |
I didn't try out much, but I can do some more testing later and report what happened. |
Ok, I think I've tested every function now. All but these functions work:
The other functions work flawlessly, as far as I can tell... |
Update
I'll see what I can do about the circle functions |
Descripe
I just tried out the AR Goggles and the AR Controller for the first time. I "bound" the AR-Controller in the Lua-Shell in a computer and in the listing for all the possible functions I've found these two (they're in the title). I know that AR is bugged, according to the wiki, but still, I tried it.
It spit a NullPointer-exception back:
Also, I don't if it's intended, but calling
getConfiguration
returns an empty... "Table"? "Entry"?... Whatever the data-structure is: It's emptyPS: I'm using Version 0.7.15b, included in "All the Mods 7 v0.4.10", I couldn't select the newer version further down...
Steps to reproduce
Place down an AR-Controller and a computer of your choice (I used the advanced computer from CC:Tweaked).
If you haven't placed them directly next to each other: Connect them via modems and cables and activate the modems by clicking on them.
Get yourself a pair of AR-Goggles and link them with the AR-Controller by putting them in your hand and clicking on the AR-Controller. A message saying
Successfully linked AR-Goggles
should appear and the Goggles themselfes should have the bound controller stored in them (hover over the goggles with your cursor).Put your glasses on (or don't, either way it doesn't work)
Open the Lua-Shell in the computer connected with the controller and bind it using something like
ar = peripheral.find("arController")
Finally: Call
ar.getPlayerRotationY()
orar.getPlayerRotationZ()
.A NullPointer exception is thrown (in my case at least).
Multiplayer?
No
Version
1.18.2-0.7.14b (Latest 1.18)
Minecraft, Forge and maybe other related mods versions
Forge - 40.1.31 and Minecraft - 1.18.1 in "All The Mods 7" - 0.4.10
Screenshots or Videos
No response
Crashlog/log
No response
The text was updated successfully, but these errors were encountered: