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

kill players in certain region. #99

Closed
sahudon opened this issue Aug 11, 2017 · 11 comments
Closed

kill players in certain region. #99

sahudon opened this issue Aug 11, 2017 · 11 comments
Labels

Comments

@sahudon
Copy link

sahudon commented Aug 11, 2017

(Required) What is your Quests version / build number (do not say "latest")?
Quests 3.0.0-Naomi-b${env.BUILD_NUMBER}
(Required) Please describe the problem and how to replicate it. Any console errors?
i cant do a mision with players kill others only count in certain region,when you kill a player count in everywhere
(Optional) Can you provide an example quest from quests.yml using Pastebin.com?
custom47:
name: 'example'
npc-giver-id: 26
ask-message: kill 10 players in waterfall-cave
finish-message: excelent.
gui-display: name-DIAMOND_SWORD:amount-1
stages:
ordered:
'1':
locations-to-kill:
- world -161.0 42.0 168.0
kill-location-radii:
- 30
kill-location-names:

@PikaMug
Copy link
Owner

PikaMug commented Aug 11, 2017

Duplicate of #96

@PikaMug PikaMug marked this as a duplicate of #96 Aug 11, 2017
@sleiss
Copy link

sleiss commented Aug 22, 2017

@FlyingPikachu Are you sure this is a duplicate? #96 describes a bug whereas this issue is rather a feature-request than a bug-report. Maybe I'm wrong, but please check this again.

@PikaMug
Copy link
Owner

PikaMug commented Aug 26, 2017

@ghacproductions Possible I interpreted OP wrong. However, in the event @sahudon is requesting the ability to track players killed in a region, this is already possible as kill-location-names and assoc. stage settings (see https://github.com/FlyingPikachu/Quests/wiki/Configuration).

I'm closing this because #96 has been closed and the aforementioned request would be invalid.

@sleiss
Copy link

sleiss commented Aug 26, 2017

@FlyingPikachu The wiki says that the option "kill-location-names" is required if "locations-to-kill" is set. However, regarding the wiki, this options contains
World and coordinates that the mobs need to be killed at. Format is "worldName x y z".
This option, at least according to the wiki, is only applicable for mobs, not for players. Is there an other option that tracks players instead of mobs?

@PikaMug
Copy link
Owner

PikaMug commented Aug 26, 2017

I could've sworn it could be used for players, or that a similar functionality was available. Will take a look at that soon, thanks!

Will reopen if @sahudon clarifies his request.

@sahudon
Copy link
Author

sahudon commented Aug 26, 2017

I want the assassinations of the mission to count if the player kills another within a specific region but does not detect it and no matter the place that is account for the same mission

@PikaMug
Copy link
Owner

PikaMug commented Aug 26, 2017

@sahudon Should the "assassination" be detected if the killer dies in a region, if the target dies in a region, or if they are both in a region?

@PikaMug PikaMug reopened this Aug 26, 2017
@sahudon
Copy link
Author

sahudon commented Aug 27, 2017

Not detect the region and the assassination count in anywhere, should be count if the killer kill in the region.

@PikaMug
Copy link
Owner

PikaMug commented Aug 27, 2017

So it's if the killer dies in a region. Ok, hope to look into this soon!

@sleiss
Copy link

sleiss commented Aug 27, 2017

@FlyingPikachu Whats the point of tracking the deaths of the killer? It should either be the location of the killer OR the location of the target, I don't know how the killer should die at all, as he is the killer and not the target (excempt suicide).

@PikaMug
Copy link
Owner

PikaMug commented Aug 28, 2017

Seems I confused myself. Meant to write "if the target dies" in my last comment.

Anyway, I was able to set "Player" as an option in mobs-to-kill (which I guess makes the players-to-kill option redundant...). Here's what it looks like in quests.yml

stages:
ordered:
'1':
mobs-to-kill:
- Player
mob-amounts:
- 2
locations-to-kill:
- world -499.0 3.0 779.0
kill-location-radii:
- 30
kill-location-names:
- BattleArena

That will allow @sahudon to track player kills in a certain region as requested. I also believe that this requires that the target be in the region regardless of whether the killer is, as desired.

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

No branches or pull requests

3 participants