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

Avoid warp system #266

Closed
wants to merge 2 commits into from
Closed

Avoid warp system #266

wants to merge 2 commits into from

Conversation

cannelle
Copy link
Contributor

Added settings to prevent teleport from landing on portals and to prevent mobs from spawning on and walking onto warps.

@EPuncker
Copy link
Contributor

I agree with it being implemented :)

@cannelle cannelle closed this Apr 5, 2014
@EPuncker
Copy link
Contributor

EPuncker commented Apr 5, 2014

please don't close this! I hope this is going to be implemented soon!

@cannelle
Copy link
Contributor Author

cannelle commented Apr 5, 2014

You can still add it yourself, just look at files changed and add the edits. There was no response for a month so I assume Hercules is already planning an alternate solution to this problem or doesn't find this one adequate. The information is still here if anyone decides to include it or a derivative of it in the future.

@EPuncker
Copy link
Contributor

EPuncker commented Apr 5, 2014

they are just pretty busy, they always comment on pull requests, but that is your choice, thanks anyway!

@MishimaHaruna
Copy link
Member

Sorry for not commenting on this before. As @EPuncker said, things have been a bit busy/slow this month, and work piled up.

We've reviewed this code, even if we've never commented here. We had some concern about the npc->check_areanpc() calls (it is a slow function, calling it twice in a loop condition might affect performance), but it probably is a necessary evil in this case.

If we're to implement it, though, I'd change it so that either avoid_warp and avoid_ontouch are split in two different settings each (one to handle mob walks/spawns and one to handle player teleports), since they're currently doing two different things, and if you just want to avoid players teleporting onto portals, you'll also get the performance penalty from checking for mobs walking onto portals, or I'd simply remove the mob walk part altogether, since it looks far less useful to me.

@EPuncker
Copy link
Contributor

@cannelle they are alive now :P I hope you look into this again :D

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

Successfully merging this pull request may close these issues.

None yet

3 participants