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

[BUG] Taxijob distance calculation exploitation #5

Open
adweex opened this issue Feb 20, 2023 · 1 comment
Open

[BUG] Taxijob distance calculation exploitation #5

adweex opened this issue Feb 20, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@adweex
Copy link

adweex commented Feb 20, 2023

Describe the bug
Taxijob calculates distance well, however during npc missions the calculation is exploitable. You don't really have to do the jobs because you can take the npc anywhere you would like while getting money for it.

To Reproduce
Steps to reproduce the behavior:

  1. Start an npc mission and don't go to the objective just drive around freely

Expected behavior
NPC should react if its not getting closer to the destination or we should stop the meter if player goes the wrong direction.

As far as i know there is no possible way to calculate distance just like the GPS do, or use that value.
One solution could be drawing an " airline " between the pickup point and destination point and use that value. (not the best option but solves the exploitation).

**Screenshots $$$ **
He will never return home
image

@adweex adweex added the bug Something isn't working label Feb 20, 2023
@D4isDAVID D4isDAVID added this to Issues Jul 19, 2023
@github-project-automation github-project-automation bot moved this to Todo in Issues Jul 19, 2023
@ChatDisabled ChatDisabled moved this from Todo to Confirmed in Issues Aug 1, 2023
@artur-michalak
Copy link
Contributor

I have two ideas:

  • specifying the maximum distance of the route in the config
  • multiplier of the distance in the config as maximum distance. Example distance = 4 miles, with multiplier 1.5, npc will discontinue the service when you exceed 4 * 1.5 miles (default multiplier 1.5)
    all options with some randomization.

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
Status: Confirmed
Development

No branches or pull requests

2 participants