Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Damage taken every 10-20 seconds while in sealed room #68

Open
Lennywasafish opened this issue Sep 12, 2021 · 46 comments
Open

Damage taken every 10-20 seconds while in sealed room #68

Lennywasafish opened this issue Sep 12, 2021 · 46 comments
Labels
bug Something isn't working

Comments

@Lennywasafish
Copy link

Description (Required)

I created a small base in the earth's orbit in an enclosed space with iron blocks and glass. I have oxygen sealers and space heaters to stop damage which works for the most part, but every 10 seconds or so, I still seem to take damage. Every 4-5 hits of damage is freezing damage

Steps to reproduce the Issue (Required)

I have done everything including trying every type of block, making it a smaller space, removing windows, and removing automatic doors and it still consistently happens.

Expected behavior (Required)

I would take no damage

Server Log / Error Report

N/A

Environment (Required)

  • Minecraft Version: Paper - 259 1.17.1
  • Slimefun Version: DEV - 968
  • Plugin Version: DEV - 5
@Lennywasafish Lennywasafish added the bug Something isn't working label Sep 12, 2021
@Seggan
Copy link
Member

Seggan commented Sep 12, 2021

try checking with /gf sealed <number>. find the lowest highest number that says "not sealed"

@Seggan
Copy link
Member

Seggan commented Sep 12, 2021

correction: i meant highest. consider anything above 10000 as that your base is not fully sealed

@Lennywasafish
Copy link
Author

I ran the command and it returned /gf sealed 1000000 and it returned Sealed 1.554 ms. I am still taking damage every 10 or so seconds though

@Seggan
Copy link
Member

Seggan commented Sep 13, 2021

Find the highest number that says "Not sealed". This is very important for this issue

@Lennywasafish
Copy link
Author

Find the highest number that says "Not sealed". This is very important for this issue

Regardless of the number I put in, it always gives the output of sealed. I have tried up to 1e9 before it gives me an internal error

@Seggan
Copy link
Member

Seggan commented Sep 13, 2021

Try going down. i.e. 1000 or 5000

@Seggan
Copy link
Member

Seggan commented Sep 13, 2021

Start from 100 then work your way up to 100000

@Lennywasafish
Copy link
Author

Lennywasafish commented Sep 13, 2021

Start from 100 then work your way up to 100000

1-1572 gives the output of not sealed but anything above that gives sealed

@Seggan
Copy link
Member

Seggan commented Sep 13, 2021

Hmm

@Lennywasafish
Copy link
Author

Lennywasafish commented Sep 13, 2021

Hmm

updated reply with exact numbers

@Seggan
Copy link
Member

Seggan commented Sep 13, 2021

What do your Space Heaters say? And whats the report of /gf effects?

@Lennywasafish
Copy link
Author

What do your Space Heaters say?

operational

@Seggan
Copy link
Member

Seggan commented Sep 13, 2021

Edited

@Lennywasafish
Copy link
Author

I get no output

@Lennywasafish
Copy link
Author

As stated in my original report, I take damage from lack of oxygen the first 5 times, then I take freezing damage

@Seggan
Copy link
Member

Seggan commented Sep 13, 2021

Yes, ik, I was trying to diagnose further

@Lennywasafish
Copy link
Author

If you'd like, I can add you on discord and dm you the ip to my server and you can test for yourself

@Seggan
Copy link
Member

Seggan commented Sep 13, 2021

Strange that other have not reported it yet

@Lennywasafish
Copy link
Author

Yeah it seems like a problem specific to me

@Seggan
Copy link
Member

Seggan commented Sep 13, 2021

If you'd like, I can add you on discord and dm you the ip to my server and you can test for yourself

I can't unfortunately, my MC acc is being used rn

@Lennywasafish
Copy link
Author

Ok no worries

@Lennywasafish
Copy link
Author

I can send a screen recording if you'd like

@Seggan
Copy link
Member

Seggan commented Sep 13, 2021

Sure

@Lennywasafish
Copy link
Author

@Seggan
Copy link
Member

Seggan commented Sep 13, 2021

Super fans work only horizontally and diagonally (on the x/z axis)

@Seggan
Copy link
Member

Seggan commented Sep 13, 2021

Try moving them

@Lennywasafish
Copy link
Author

I've placed them everywhere, no difference, the problem also persists in a 5x5 room without superfans so that isn't the issue

@Seggan
Copy link
Member

Seggan commented Sep 13, 2021

This is very strange

@Seggan
Copy link
Member

Seggan commented Sep 13, 2021

Also take note of #69 perhaps that is the problem?

@Lennywasafish
Copy link
Author

Yeah I made that issue too, that only applies to trapdoors that are on the bottom side of the block

@Lennywasafish
Copy link
Author

And it happens while standing on iron blocks too

@Seggan
Copy link
Member

Seggan commented Sep 13, 2021

I don't know how to resolve this, I do not know what is causing it. Sorry.

@Lennywasafish
Copy link
Author

Ok, thanks for trying

@orangeowie4
Copy link

this happens to me too sometimes

@char3210
Copy link

Can you add me on discord? (Char#5513) Maybe I'll give this issue a tackle

@Seggan
Copy link
Member

Seggan commented Oct 20, 2021

Join the Slimefun Addon Community Discord: https://discord.gg/SqD3gg5SAU

@Modog500000
Copy link

Ok, thanks for trying

Wait did you have ion dispensers?

@Ironnoob73
Copy link

Ironnoob73 commented Feb 11, 2022

I have the same problem.

@Seggan
Copy link
Member

Seggan commented Feb 11, 2022

No errors?

@vojtaBerry2
Copy link

Strange that other have not reported it yet

i have the same problem

@Seggan
Copy link
Member

Seggan commented Apr 16, 2022

Please send me any errors and the output of /gf effects

@JTechGaming
Copy link

i have same problems

@JTechGaming
Copy link

@Derbosik
Copy link

Same issue here

@GallowsDove
Copy link
Contributor

GallowsDove commented Oct 7, 2022

The only reason I can think of why this is happening is that in ProtectingBlock

private void uniqueTick() {
    //noinspection deprecation
    Galactifun.protectionManager().clearProtectedBlocks();
    for (BlockPosition l : new HashSet<>(allBlocks)) {
        updateProtections(l);
    }
}

The protection blocks are cleared first and only then are they calculated and readded. There can be a brief window where the protection isn't added yet, but on another thread, it can be checked whether that protection exists, thus creating a race condition.
A possible fix could be to calculate all the protections before clearing them and just replace the old ones with the new ones.

I'm not sure about this tho, so let me know what you think

@Seggan
Copy link
Member

Seggan commented Oct 8, 2022

That's what I was thinking, but the ticker is synchronised

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

10 participants