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

'Someone else is doing the same thing with me' alert #4

Open
zenyr opened this issue Aug 25, 2014 · 3 comments
Open

'Someone else is doing the same thing with me' alert #4

zenyr opened this issue Aug 25, 2014 · 3 comments

Comments

@zenyr
Copy link
Owner

zenyr commented Aug 25, 2014

goal: 'someone is fixing thermal drill and you are ahead of him' kind of thing, via chat? via float?

expected problem: When Player is reviving a crew and another crew is reviving the other crew it would still be 'same'. Picklocking different doors would be 'the same thing'?

@Dragovorn
Copy link

Not a lua programmer here, but couldn't you just check what door is being pick locked via map coordinates? Then just check whom is closer to said door and if there are two people nearby, check both of their picklock times? Then notify the one whom is ahead?

Was just thinking :P

EDIT: Just took a look at the rooms.json and couldn't you just add extra values to that like "picklock_door_1":
x: ect.
y: ect
z: ect
and then check the players nearby it and if they are within picklock range check their times and if their times are equal to 0 or the default picklock time remove them from the list, then get the people that are say one 9.5s in and another at 10.3s then display the message to the 10.3s one if he has PocoHud?

Or am I barking up the wrong tree?

@zenyr
Copy link
Owner Author

zenyr commented Nov 22, 2014

Kinda plausible with doors, but think of deposit boxes, which would be more useful against.

나의 iPad에서 보냄

      1. 오전 12:33 Andrew Burr [email protected] 작성:

Not a lua programmer here, but couldn't you just check what door is being pick locked via map coordinates? Then just check whom is closer to said door and if there are two people nearby, check both of their picklock times?

Was just thinking :P


Reply to this email directly or view it on GitHub.

@Dragovorn
Copy link

Maybe, but w/ deposit boxes it just seems more tedious, because that's when the y coordinate madders..

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

No branches or pull requests

2 participants