Giter Site home page Giter Site logo

Comments (9)

LOURENT4462 avatar LOURENT4462 commented on June 21, 2024

Additional information: after the player dies and respawns, the new hazmat suit functions to block radiation from items

from slimefun4.

Boomer-1 avatar Boomer-1 commented on June 21, 2024

can you please clarify what is happening? your statements are contrary. initially you've said the radiation effect doesn't harm the player then you said the opposite

from slimefun4.

LOURENT4462 avatar LOURENT4462 commented on June 21, 2024

can you please clarify what is happening? your statements are contrary. initially you've said the radiation effect doesn't harm the player then you said the opposite

When a player joins the server, the player is exposed to radiation from the items he is carrying, even though the player is wearing a hazmat suit.

and after a player dies from radiation then respawns, the new hazmat suit kicks in, so the bug occurs when a new player enters the server

Sorry if my statement above is confusing...

from slimefun4.

Boomer-1 avatar Boomer-1 commented on June 21, 2024

in the config.yml file, what do you have your radiation grace period set to?

from slimefun4.

LOURENT4462 avatar LOURENT4462 commented on June 21, 2024

in the config.yml file, what do you have your radiation grace period set to?

  enable-radiation: true
  radiation-update-interval: 1
  radiation-grace-period: 15

from slimefun4.

J3fftw1 avatar J3fftw1 commented on June 21, 2024

We should ignore the grace periods on start up/onjoin and fire this directly so this will never be an issue

from slimefun4.

WalshyDev avatar WalshyDev commented on June 21, 2024

I'm unable to repro, I join and have protection without issue.

Debug logs:

[14:22:58 INFO]: [Slimefun] onJoin: PlayerProfile.get
[14:22:58 INFO]: [Slimefun] Hashed armor: [HashedArmorpiece {hash=0,item=null}, HashedArmorpiece {hash=0,item=null}, HashedArmorpiece {hash=0,item=null}, HashedArmorpiece {hash=0,item=null}]
[14:22:58 INFO]: [Slimefun] [STDOUT] Armor piece sf item: HazmatArmorPiece - 'RUBBER_BOOTS' (Slimefun v4.9-UNOFFICIAL)
[14:22:58 WARN]: Nag author(s): '[The Slimefun 4 Community]' of 'Slimefun v4.9-UNOFFICIAL' about their usage of System.out/err.print. Please use your plugin's logger instead (JavaPlugin#getLogger).
[14:22:58 INFO]: [Slimefun] Updated hashed armor pieces
[14:22:58 INFO]: [Slimefun] [STDOUT] Armor piece sf item: HazmatArmorPiece - 'HAZMAT_LEGGINGS' (Slimefun v4.9-UNOFFICIAL)
[14:22:58 INFO]: [Slimefun] Updated hashed armor pieces
[14:22:58 INFO]: [Slimefun] [STDOUT] Armor piece sf item: HazmatArmorPiece - 'HAZMAT_CHESTPLATE' (Slimefun v4.9-UNOFFICIAL)
[14:22:58 INFO]: [Slimefun] Updated hashed armor pieces
[14:22:58 INFO]: [Slimefun] [STDOUT] Armor piece sf item: HazmatArmorPiece - 'SCUBA_HELMET' (Slimefun v4.9-UNOFFICIAL)
[14:22:58 INFO]: [Slimefun] Updated hashed armor pieces
[14:22:58 INFO]: [Slimefun] Player tick, protection against raditation: true
[14:22:59 INFO]: [Slimefun] Player tick, protection against raditation: true
[14:23:00 INFO]: [Slimefun] Player tick, protection against raditation: true
[14:23:01 INFO]: [Slimefun] Player tick, protection against raditation: true
[14:23:02 INFO]: [Slimefun] Player tick, protection against raditation: true
[14:23:03 INFO]: [Slimefun] Player tick, protection against raditation: true

from slimefun4.

LOURENT4462 avatar LOURENT4462 commented on June 21, 2024

I'm unable to repro, I join and have protection without issue.

Debug logs:

[14:22:58 INFO]: [Slimefun] onJoin: PlayerProfile.get
[14:22:58 INFO]: [Slimefun] Hashed armor: [HashedArmorpiece {hash=0,item=null}, HashedArmorpiece {hash=0,item=null}, HashedArmorpiece {hash=0,item=null}, HashedArmorpiece {hash=0,item=null}]
[14:22:58 INFO]: [Slimefun] [STDOUT] Armor piece sf item: HazmatArmorPiece - 'RUBBER_BOOTS' (Slimefun v4.9-UNOFFICIAL)
[14:22:58 WARN]: Nag author(s): '[The Slimefun 4 Community]' of 'Slimefun v4.9-UNOFFICIAL' about their usage of System.out/err.print. Please use your plugin's logger instead (JavaPlugin#getLogger).
[14:22:58 INFO]: [Slimefun] Updated hashed armor pieces
[14:22:58 INFO]: [Slimefun] [STDOUT] Armor piece sf item: HazmatArmorPiece - 'HAZMAT_LEGGINGS' (Slimefun v4.9-UNOFFICIAL)
[14:22:58 INFO]: [Slimefun] Updated hashed armor pieces
[14:22:58 INFO]: [Slimefun] [STDOUT] Armor piece sf item: HazmatArmorPiece - 'HAZMAT_CHESTPLATE' (Slimefun v4.9-UNOFFICIAL)
[14:22:58 INFO]: [Slimefun] Updated hashed armor pieces
[14:22:58 INFO]: [Slimefun] [STDOUT] Armor piece sf item: HazmatArmorPiece - 'SCUBA_HELMET' (Slimefun v4.9-UNOFFICIAL)
[14:22:58 INFO]: [Slimefun] Updated hashed armor pieces
[14:22:58 INFO]: [Slimefun] Player tick, protection against raditation: true
[14:22:59 INFO]: [Slimefun] Player tick, protection against raditation: true
[14:23:00 INFO]: [Slimefun] Player tick, protection against raditation: true
[14:23:01 INFO]: [Slimefun] Player tick, protection against raditation: true
[14:23:02 INFO]: [Slimefun] Player tick, protection against raditation: true
[14:23:03 INFO]: [Slimefun] Player tick, protection against raditation: true

sorry... I just tried it and the hazmat suit is working again... maybe when the bug occurred there were other factors that caused it,

thank you for your time 👍

from slimefun4.

WalshyDev avatar WalshyDev commented on June 21, 2024

No worries, if you can figure out what happened and it is an issue let us know :)

from slimefun4.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.