Skip to content
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

🐛 utils.drawIn draws-in in other zones #7111

Closed
3 tasks done
sruon opened this issue Feb 21, 2025 · 2 comments · Fixed by #7112
Closed
3 tasks done

🐛 utils.drawIn draws-in in other zones #7111

sruon opened this issue Feb 21, 2025 · 2 comments · Fixed by #7112
Labels
bug Something isn't working

Comments

@sruon
Copy link
Contributor

sruon commented Feb 21, 2025

I affirm:

  • I understand that if I do not agree to the following points by completing the checkboxes my issue will be ignored.
  • I have read and understood the Contributing Guide and the Code of Conduct.
  • I have searched existing issues to see if the issue has already been opened, and I have checked the commit log to see if the issue has been resolved since my server was last updated.

OS / platform the server is running (if known)

Branch affected by issue

base

Steps to reproduce

  • Create party with 2 characters
  • Send one character to any zone
  • Send the other to Phomiuna !pos 60.13 0.99 300 27
  • Aggro the Minotaur and outrun it
  • Both characters are drawn-in to the same position, in their respective zones.

if drawInTable.conditions[1] then
for _, member in ipairs(target:getAlliance()) do
utils.drawIn(member, drawInTable)
end
end

This leads to map process crashes under certain conditions.

Image

Expected behavior

Only party/alliance members in the same zone are drawn-in.

While only Minotaur is affected, and its script could be adjusted, utils.drawIn should probably take the CBattleEntity causing the "Draw-In" as argument and compare zones.

@sruon sruon added the bug Something isn't working label Feb 21, 2025
@WinterSolstice8
Copy link
Member

I know this is closed - but doesn't sandworm draw in from other zones?

@cocosolos
Copy link
Contributor

I know this is closed - but doesn't sandworm draw in from other zones?

Afaik nothing draws in from other zones. Doomvoid only has a 25' range and causes a warp spell effect into the instance for those in range.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants