"floor" outside the wall

Forum for bugs and technical problems.

Re: "floor" outside the wall

Postby Motylop » Thu Jun 02, 2016 8:13 pm

Thank You very much Marp :)
What do You mean: "I'm not sure it is a bug"???

m.
Motylop
 
Posts: 24
Joined: Thu May 02, 2013 7:20 pm

Re: "floor" outside the wall

Postby MarpTarpton » Thu Jun 02, 2016 10:19 pm

I tested it and I take it back. I think there may be a bug, but not one you're referring to. Allow me to explain.

My test:
Image


What it's doing is picking a point near you and saying, "Drop the canoe there!" But then it realizes "Oh ****, there's something in the way." Now, what it does next is the issue - it says, "Well, if I can't put it there, let's check another few tiles away from the player." And it loops that, continuing to searching for an open spot until it can drop the canoe. Also, if there is a bug, it's here, because I think it increases its range exponentially the further you get from the character in order to drop the canoe (again, this would be a resource-saving technique to limit the amount of spots it would check as clearly you are clearly in a very object-dense area) (or it uses the object's bounding box that's in the way) which means that the more cluttered your area OR the further the empty space is from you OR the bigger the object is that it tried to place it on (not sure about this precisely), the further it will be, which is why sometimes it's very very deep into walls. If I were to tell the code, "But make it so that it can't drop on black void tiles!" it would probably crash the server as the game continue to launch the canoe into oblivion, trying to find a place to put it.

The issue I have is coming up with an alternative. Because what I don't believe is happening right now, which we don't want to do, is checking ALL available spaces. That's a huge waste of resources. "Check every pixel around the character to see if it's empty" is a good way to bog down the server. Also what we don't want to do is have it do what it's currently doing and NOT check other spaces in a direction and just give you a message that says "You can't put that there!" because what will happen is that you'll obviously (to you) have room around you, but since the game isn't checking all the spaces around you and just a single space, it will get quite frustrating.

However, as I'm talking this out to myself, I think there actually might be a solution. It would make it, though, that you cannot be carrying an item when dropping a canoe. What I would have it do is, when you control+left click the canoe to drop it, it would instead put it over your head as though you were "lift" carrying it. You could then place it as you would any carried object. Perhaps that is what needs to happen here. You would at least never see another canoe inside a wall - probably.
Procne wrote: Devs have again proven that they dont give a crap about untalented and lazy players.
User avatar
MarpTarpton
Site Admin
 
Posts: 1233
Joined: Thu Oct 09, 2014 6:32 am

Re: "floor" outside the wall

Postby Silverfish » Fri Jun 03, 2016 1:47 am

my loom (inside the windmill) stopped to throw fibers outside the walls :D fast fix or just luck?
Agnes Waterhouse - second-rate tailor, cooking for the pack of crazy foragers
Silverfish
 
Posts: 162
Joined: Wed Aug 12, 2015 8:57 pm

Re: "floor" outside the wall

Postby Reviresco » Wed Jun 08, 2016 9:34 am

Rose...bud....

Image





It's not my sled, but feel free to visit any of my awful bases. :D
User avatar
Reviresco
 
Posts: 1382
Joined: Wed Jul 01, 2015 6:49 pm

Re: "floor" outside the wall

Postby Silverfish » Wed Jun 08, 2016 10:06 am

what was dropped in church belongs to the church :D
Agnes Waterhouse - second-rate tailor, cooking for the pack of crazy foragers
Silverfish
 
Posts: 162
Joined: Wed Aug 12, 2015 8:57 pm

Previous

Return to Bugs & Technicalities

Who is online

Users browsing this forum: No registered users and 2 guests