Closed TISNF closed 11 years ago
Can you turn on debug.portal_use in the properties and let me know if the zones to and from are matching what they are in game. I seem to be having an issue where returning from the Nether puts me at a location different than where I entered, which could be why there is an issue with permissions.
Essentially I'm getting: [REALMS-DEBUG-PORTAL_USE] [Realms] Player: 'darkdiplomat' Zone From: 'TestCity' Zone To: 'EVERYWHERE-WORLD-DIM1' Result: 'Allowed' [REALMS-DEBUG-PORTAL_USE] [Realms] Player: 'darkdiplomat' Zone From: 'EVERYWHERE-WORLD-DIM1' Zone To: 'EVERYWHERE-WORLD-DIM0' Result: 'Allowed'
which the second time through should have sent me back to TestCity but instead does send me into a random location inside the EVERYWHERE-WORLD-DIM0 zone
OK, I'll give a try... Let's see what I come up with...
Oh yep... it seems that from the Overworld the zones don't seem to match. When ever the random target is zone that the player doesn't have specific rights to it come up DENIED.
EDIT: I think it's safe to say that it only happens from the Overworld to other dimensions. Nether to Overworld zone matching appears OK and the End has the special portal to credits and spawn point.
Hey dark mind asking what's causing this be a Canary bug?
It's only within the Canary Implementation that I appear to have the problem of weird locations.
Hey dark I don't know if this helps but I've tested something and I don't think the locations are random exactly. They seem to reference the coords of their respective target but for zone checking seem to reference those coords but in the Overworld dimension only. Maybe you knew that already but hope it helps anyway.
EDIT: Hehe, didn't mean to close the issue just pushed the button closest to the cursor XD.
in the Realms_CanaryListener i use the method onPortalUse(Player player, Location to), which is a function I added into CanaryMod recently, that emulates the location generated by Native Minecraft Source. I'm looking into if its something with Native Minecraft Sources or an issue with emulation implementation. Bukkit uses a similar way to get where the player is going to. Under Canary I actually end up at a location different from where I started but location given is correct to where I end up however. Under Bukkit, the portals stay connected and I don't have the issues with weird locations.
I use the same checks pretty much between the Canary Listener and Bukkit Listener
This seems to have resolved itself with the current Crow 5.8.11 sources. Recreation of portals and/or deleting the nether folder may also be required to resolve this.
I haven't quite caught on to who is being blocked exactly but some players may not be able to teleport between the dimensions regardless of the permissions given (ALL or TELEPORT) in both respective zones (including the EVERYWHERE zones). They are greeted with this message:
You do not have permission to teleport into that zone!