Blocked setting a home

in my base, on a sleeping bag, cant set home because 'inside entity', but if i move a little in any direction it lets me

the fix? if (entities.Any(e => e is BuildingBlock || e is SimpleBuildingBlock || e is IceFence || e is ElectricBattery || e is Door && !(e is SleepingBag)))

Dont see the problem ? , as you said if you move a little you can sethome !

don't expect you to 'see the problem'. I'm an admin, not a player, and have already debugged the problem.. so pipe down pookins.

kiaC

don't expect you to 'see the problem'. I'm an admin, not a player, and have already debugged the problem.. so pipe down pookins.

Be polite , When you are a moderator here you can tell me when to "pipe down" instead of using common sense to fix a non existant problem , and everyone who posts threads here is an admin , most of who have been one  a lot longer than you have by the looks of it,

hi, let's not argue or i will have the thread deleted. keep it civil and choose your words wisely so they are not misintrepreted by language barriers or by lack of voice tone 

this is not a fix. it is a mere coincidence that it seemed to work. this is because Door does not inherit the SleepingBag class. so your condition will always return true when e is Door, and it will be ignored entirely otherwise. the issue is the position on the BuildingBlock entity. pookins was correct, and this coincidence happened because you moved to a specific position on the BuildingBlock which allowed the home to work properly

                {"TPTargetInsideBlock", "You can't teleport into a foundation!"},
                {"TPTargetInsideEntity", "You can't teleport into another entity!"},
                {"TPTargetInsideRock", "You can't teleport into a rock!"},​

assuming the error message is TPTargetInsideEntity then I suggest trying to change 0.5f to 0.25f in the IsInsideEntity method and see if that resolves the issue
nivex

hi, let's not argue or i will have the thread deleted.

pookins was correct, and this coincidence happened because you moved to a specific position on the BuildingBlock which allowed the home to work properly

weird flex, but ok. dropins has exploiters and dosn't even know what I'm talking about, it IS a problem - this does not work 100% correctly I'm just reporting it.

kiaC

weird flex, but ok. dropins has exploiters and dosn't even know what I'm talking about, it IS a problem - this does not work 100% correctly I'm just reporting it.

Bit of a warning here . If you make fun of my name i will do it to you for as long as you are on this site (even though i will have the risk of being kicked)
I have had a server for 7 years and have been using this plugin since it replaced "MTeleportation",
There have always been instanced where you are blocked from building or placing items and the remedy is to move the building part or item (chest/box/turret/bed/sleeping bag etal) till you can place it,  NO BIG DEAL , its part of the game.
I do not use exploits nor do i change .cs files to suit myself without advice from the dev , after all its their work .

poopkins you are not very perceptive, 7 years and still this clueless, you are just proving my point here. its frustrating to see you interject with stories that are not even related. trust me they will not kick you becuase you are just braindead enought, it will be me that gets 'kicked'

Locked