• Hello Guest! Did you know that ProjectKorra has an official Discord server? A lot of discussion about the official server, development process, and community discussion happens over there. Feel free to join now by clicking the link below.

    Join the Discord Server

Fixed Crash log

Status
Not open for further replies.

dNiym

Verified Member
The error:
Cannot measure distance between <world1> and <world2>

Usually happens when a skill is locked in on a player and tries to damage them after they die and respawn. It's trying to calculate the distance to see if they are within range of the skill.

the target player variable probably needs to be canceled upon death to prevent this from happening. It really only shows up if your players die in one world and respawn in another. Or a check added to each skill that cancels the skill if the players are in different worlds.
 

Varni1

Verified Member
The error:
Cannot measure distance between <world1> and <world2>

Usually happens when a skill is locked in on a player and tries to damage them after they die and respawn. It's trying to calculate the distance to see if they are within range of the skill.

the target player variable probably needs to be canceled upon death to prevent this from happening. It really only shows up if your players die in one world and respawn in another. Or a check added to each skill that cancels the skill if the players are in different worlds.
You are a master crash-analyzer. I'm horrible with seeing my crashes and deciphering them. I value your skill.
 

jedk1

New Member
The error:
Cannot measure distance between <world1> and <world2>

Usually happens when a skill is locked in on a player and tries to damage them after they die and respawn. It's trying to calculate the distance to see if they are within range of the skill.

the target player variable probably needs to be canceled upon death to prevent this from happening. It really only shows up if your players die in one world and respawn in another. Or a check added to each skill that cancels the skill if the players are in different worlds.
Eh you are kinda right, but mostly wrong. Most of the times these errors occur is when we are checking how far away something is from the active user. Thus why when the player swaps worlds Spigot cant measure a distance between 2 worlds.
 

Varni1

Verified Member
Eh you are kinda right, but mostly wrong. Most of the times these errors occur is when we are checking how far away something is from the active user. Thus why when the player swaps worlds Spigot cant measure a distance between 2 worlds.
Oh well jed is even better then.
 
Status
Not open for further replies.
Top