1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Hey Guest, is it this your first time on the forums?

    Visit the Beginner's Box

    Introduce yourself, read some of the ins and outs of the community, access to useful links and information.

    Dismiss Notice

[2311] Large Shop Range

Discussion in 'Archive' started by Kazaco97, Sep 10, 2017.

  1. Kazaco97

    Kazaco97 Ballista Bolt Thrower Global Moderator Forum Moderator

    Messages:
    42
    Category: KAG Client
    Operating system: Windows
    Build number: 2311
    Description: You can buy items from the migrants without being near the shop
    Steps to reproduce:
    1. Join a TDM server
    2. Test how far you can buy from the trader.
    Screenshots/Videos:
    20170909232103_1.jpg
     
  2. Coroz

    Coroz B R B Official Server Admin Donator Tester
    1. [AG#] - Ancient Gear

    Messages:
    135
    This used to be a problem in ctf shops. but in tdm i dont see it as a big issue.
     
    EhRa likes this.
  3. Asu

    Asu THD Team THD Team Forum Moderator

    Messages:
    1,575
    It seems intended, and still the radius is not that bad:
    Code:
    bool isInRadius(CBlob@ this, CBlob @caller)
    {
       return (!this.hasTag("dead") && (this.getPosition() - caller.getPosition()).Length() < this.getRadius() * 4.0f + caller.getRadius());
    }
    Closing