Craftland

  • Status Closed
  • Percent Complete
    100%
  • Task Type Bug Report
  • Assigned To No-one
  • Operating System All
  • Severity Medium
  • Priority Medium
  • Reported Version Development
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Craftland
Opened by Paradoxofchoice - 22.01.2015
Last edited by nidefawl - 29.05.2015

FS#875 - Public warp distance check for shop chests bugged - all shops damaged

I noticed before making my own shop that about half the items listed say 'no close enough public warp found' when trying to teleport in to buy, and thought perhaps it was because there really was no close enough public warp. This is not the case though, as I now see that half my items also say this even though my shop is small and I have added many warps trying to fix this. In fact some items next to warps say this while others farthest away do not, and I go to one of my chests that says this and put a public warp adjacent to it and it still says this. So this bug is why I see this no close enough public warp message every day when trying to buy things and I imagine everyone else does too. Most people probably think the message is telling the truth, it is not. Also a shop chest in the middle of nowhere will say in red there isn't a warp and it wont be listed, so anything that is listed obviously does have a close enough warp, this cannot warp message should not exist.

The economy in craftland is one of the best parts about it, but this problem detracts from the usefulness of shops. There is a workaroud in-game that involves searching by region and clicking on everything until you find one that isn't bugged but it's tedious and I imagine most players don't know how to do it and just give up.
Please fix this! :o

Closed by  nidefawl
29.05.2015 03:49
Reason for closing:  Implemented
Admin
nickmcski commented on 22.01.2015 14:40

Did you place the chest before or after makeing the warp? I don't have the code up right now but if I remember correctly it only checks when the chest is placed since checking every time someone clicks the shop entry would slow the server down since there are tens of thousands of shop chests.

Paradoxofchoice commented on 22.01.2015 20:46

That would make sense for pure optimization, but ALL the chests I placed before creating any warps .. long before actually, so the fact that roughly half work and half are broken makes me think it's something else causing this. Also the items being listed in searches means somewhere in there the warp has been found to flag it for listing to begin with, it's just not linking correctly or something. Another possibility is that there is some type of conflict caused by other nearby warps, but I don't know where to begin testing it to narrow it down. On my end it looks totally random which ones get bugged out and which ones link to the warps, I tried to find some type of pattern but to no avail. Probably most stores place shop chests before making the warps, it just makes more sense to lay everything out before people come in, and so maybe this is why they're all bugged but I can't figure out what causes some to work and others not, it's almost like a haphazard checkerboard across my store of broken/working links.

Admin
nidefawl commented on 24.01.2015 19:24

The issue you are having is due to a caching of the closest warp.
It will only do a lookup every 5 minutes.
If it didnt find a warp it will show that message no matter if you have placed a warp meanwhile.

I will reduce the cache time to 5 seconds for the next update.

Loading...

Available keyboard shortcuts

Task List

Task Details

Add/Edit Task

TODO:complete the list
for accesskey usage different shortcuts on Windows, Mac, Linux .., currently shown for Firefox