Jump to content

  •  

Bug Tracker Migration

June 3rd
Good news everyone! The staff has decided that it is time to slowly kill off this Bug Tracker. We will begin the process of slowly migrating from this Bug Tracker over to our Github Issues which can be found here: https://github.com/HerculesWS/Hercules/issues

Over the next couple of days, I will be closing off any opportunity to create new reports. However, I still will keep the opportunity to reply to existing Bug Reports. Doing this will allow us to slowly fix any bug reports we have listed here so that we can easily migrate over to our Issue Tracker.

Update - June 7th 2015: Creating new bug posts has been disabled. Please use our https://github.com/HerculesWS/Hercules/issues tracker to post bugs. Users are still able to reply to existing bug posts.

- Administration

Issue Information

  • #008640

  • 0 - None Assigned

  • Working as Intended

Issue Confirmations

  • Yes (0)No (1)
Photo

Prevent vending/chat near NPCs

Posted by evilpuncker on 20 April 2015 - 07:09 AM

in kRO, since an update from 2011, players should not be able to create any shop/chat in a 7x7 range near any NPC (invisible NPCs does not count ofc)

is this doesn't work?
// Minimum distance a vending/chat room must be from a NPC in order to be placed
// Default: 3 (0: disabled).
min_npc_vendchat_distance: 3
:meow:

just checked it and I can still create vending, made a kick search in source about npc_isnear and seems like it is only "used" in the npc.c file, not really any check beside it

changed status to: New

just checked it and I can still create vending, made a kick search in source about npc_isnear and seems like it is only "used" in the npc.c file, not really any check beside it

It's working fine with the latest revision...chat and vending won't work near npc
Posted Image

:meow:

Don't use GM account evilpunk



just checked it and I can still create vending, made a kick search in source about npc_isnear and seems like it is only "used" in the npc.c file, not really any check beside it

It's working fine with the latest revision...chat and vending won't work near npc


:meow:


oh man what a noob I am xD using gm account lol :( close/invalid this

changed status to: Working as Intended