Skip to content

Rfid scanning range is broken #23

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

Closed
egorchik007 opened this issue Jul 19, 2015 · 3 comments
Closed

Rfid scanning range is broken #23

egorchik007 opened this issue Jul 19, 2015 · 3 comments

Comments

@egorchik007
Copy link

I first though this is really a diameter of scan, but...
(https://pp.vk.me/c625120/v625120648/4228f/E-8rMgiK1j4.jpg)

It's absolutely broken (see minimap).
Sometimes it can find me by setting range=4, but can't at range=20 and so on.

@CaitlynMainer
Copy link
Member

The range is hard limited to 64, so it's pointless trying any higher then that.

Who has the card? Are you holding it in your inventory?
How far from the RFID scanner are you?
http://michi.pc-logix.com/Minecraft_1.7.10_2015-07-19_19-40-27.png

If this is in your inventory and you're not moving around, I have no clue what the issue is. I can't reproduce it in dev, or on my server.

@CaitlynMainer
Copy link
Member

What is the RFID Range set to in the config? The way the code works is the range you pass in is divided by two. If the config maximum is 16, and you pass in 17, the scan does 16/2 which gives 8, add 1 for the actual block location which gives you a range of 9 blocks radius, 17 blocks diameter (in a square). You can see the AABB bounds setting here http://git.io/vmAqJ and the math here http://git.io/vmAqq

@CaitlynMainer
Copy link
Member

I'm closing this issue due to lack of information, feel free to comment and reopen if this is an issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants