Skip to content
This repository was archived by the owner on Jul 8, 2025. It is now read-only.

feat: Custom Weapon Attachments additions.#22

Open
louis1706 wants to merge 242 commits intoExSLMod-Team:LabAPIfrom
SnivyFilms:dev
Open

feat: Custom Weapon Attachments additions.#22
louis1706 wants to merge 242 commits intoExSLMod-Team:LabAPIfrom
SnivyFilms:dev

Conversation

@louis1706
Copy link
Copy Markdown

Description

Describe the changes

What is the current behavior? (You can also link to an open issue here)

What is the new behavior? (if this is a feature change)

Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)

Other information:


Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentations

Submission checklist

  • I have checked the project can be compiled
  • I have tested my changes and it worked as expected

Patches (if there are any changes related to Harmony patches)

  • I have checked no IL patching errors in the console

Other

  • Still requires more testing

@louis1706 louis1706 changed the title Dev feat: Custom Weapon Attachments additions. May 18, 2025
BoltonDev and others added 27 commits May 18, 2025 22:23
* LabAPI Update (ExMod-Team#435)

* No error for build

* Fix Exiled

* Fix RoundEnding

* Now is fucking separated by default

* CustomSubtitles

* Missing IsCustomAnnouncement

* Fix 3 patch & removal of CustomHealthStat

* Fix UsingAndCancellingItemUse

* Fix TogglingFlashlight

* La Flemme ?

* La flemme 2

* Fix ReservedSlotPatch

* Fix PickingUpItem(PickingUpAmmo)

* Fix Hurt event

* Fix FlippingCoin & EscapingPocketDimension

* Fix FailingEscapePocketDimension

* EscapingAndEscaped fix patch

* Fix UpgradingPlayer patch

* Fix BeingObserved

* Fix PlacingTantrum

* Fix FinishingRecall

* ChangingCamera (Not working)

* putting again the event than i was lazzy to fix

* Rework InteractingDoor Patch

missing removing the Prefix part lol
& SkillIssueFix

* Remove useless using and warning disable

* OUPS

* if stupidity was me it's here (i am stupid)

* Fixing Noclip with breakingchange

* CustomHumeShieldStat

* Fix InteractingGenerator

* Fix ChangingCamera

* Not finish

* InteractingDoor swap CanInteract & IsAllowed back to normal

* Player::Gravity

* Gravity in wrong place

* IHumeShieldRole for Human

* Fix BlastDoors & add OpenBlastDoor

* Fix SpawningRagdoll Scale & missing argument when modify

* Now fix in LabAPI only

* we will keep the funny Ragdoll scale

* Fix Merge & Split Command

* new workflow for LabAPI

* LabAPI Update 14.0.3 (ExMod-Team#439)

* No error for build

* Fix Exiled

* Fix RoundEnding

* Now is fucking separated by default

* CustomSubtitles

* Missing IsCustomAnnouncement

* Fix 3 patch & removal of CustomHealthStat

* Fix UsingAndCancellingItemUse

* Fix TogglingFlashlight

* La Flemme ?

* La flemme 2

* Fix ReservedSlotPatch

* Fix PickingUpItem(PickingUpAmmo)

* Fix Hurt event

* Fix FlippingCoin & EscapingPocketDimension

* Fix FailingEscapePocketDimension

* EscapingAndEscaped fix patch

* Fix UpgradingPlayer patch

* Fix BeingObserved

* Fix PlacingTantrum

* Fix FinishingRecall

* ChangingCamera (Not working)

* putting again the event than i was lazzy to fix

* Rework InteractingDoor Patch

missing removing the Prefix part lol
& SkillIssueFix

* Remove useless using and warning disable

* OUPS

* if stupidity was me it's here (i am stupid)

* Fixing Noclip with breakingchange

* CustomHumeShieldStat

* Fix InteractingGenerator

* Fix ChangingCamera

* Not finish

* InteractingDoor swap CanInteract & IsAllowed back to normal

* Player::Gravity

* Gravity in wrong place

* IHumeShieldRole for Human

* Fix BlastDoors & add OpenBlastDoor

* Fix SpawningRagdoll Scale & missing argument when modify

* Now fix in LabAPI only

* we will keep the funny Ragdoll scale

* Fix Merge & Split Command

* new workflow for LabAPI

* NW_Documentation

* SCP:SL LabAPI 14.0.3

* Fix One IL Error Patch (2 remain from previous update)

* use Specific build for LabAPI

* Miss updating this file

* 9.6.0-beta3

* this will need to be revert

* push_nuget not working for LabAPI

* Fixing RoundEnd Patch

* Adding CustomRole::Gravity

* Remove Testing Log

* fix: Command events fix (ExMod-Team#444)

command fixes

* fix: Fixing UnlockingGenerator

* Fix RoundEnd completelly

* fix: Hurting event NRE fix (ExMod-Team#443)

fix: one day i'll kill person who made this

Co-authored-by: Yamato <66829532+louis1706@users.noreply.github.com>

* 9.6.0-beta4

* this will required to be revert

* fix: InteractingDoorEvent::CanInteract (ExMod-Team#463)

* Fix InteractingDoorEvent::CanInteract

* Oupsy

* Fixed Error & InteractingScp330 IL Code

* TODO: Fix THE CRASH ISSUE

* Fix Consumed Event - doubt

* Fix & Small change on UsingAndCancellingItemUse

* Fix an issue where HashSetPool was never return

* Fix IL CODE error & remove debug

* Add warning in case of missing PrefabType

* Capybara Toy

* remove using

* Fix SpawningRagdoll not setting NetworkInfo

* Fix Ragdoll Scale & ConsumingEvent

* Missing NetworkInfo.Scale Argument

* Fix: Door.Get(GameObject)

* TantrumHazard is always null

* 9.6.0-beta5

* Update EXILED_DLL_ARCHIVER_URL for LabAPI

* fix: use basegame validation for CustomInfo (ExMod-Team#452)

* Validate using basegame

* Update EXILED/Exiled.API/Features/Player.cs

---------

Co-authored-by: Yamato <66829532+louis1706@users.noreply.github.com>

* feat: Custom limits for armor & virtual dmg for customweapon (ExMod-Team#477)

* fix: activating warhead panel event fix (ExMod-Team#504)

fix: fix for activating warhead panel

* Fix Error (from Conflict)

* Fix doc error

* Fix few error

* refactor!: update to 14.1 (ExMod-Team#508)

* refactor!: update to 14.1

* fix: few patches fix

* feat: new custom keycard logic

* fix: ActivatingWarheadPanel event

* fix: checkpoint sequence time

* fix: Shot event

* fix: DroppingCandy event

* Fix last Error on Release Build

* Update new PrefabType

* fix: AnnouncingScpTermination event

* fix: SpawningItem event error (require testing)

* fix: Shot.cs fix

* analysis error

* Fix error

* Fix build error

* NW_Documentation

* fix: announcing wave entrance

* Reference new Room

* Fix Build error

* fix: fixes pickingup event

* Nameless Skill Issue

* fix: locker patch

* fix: spawning room connector

* CameraToy

* Get CameraToy

* Finish InteractableToy & fix doc

* fix Error for build

* Remove todo

* fix: generator events

* ElevatorType.ServerRoom

* Fix a 2 hours loss

* Fix NW moment

* fix: interacting generator

* fix: interacting locker event

* fix: missing obstacle shot

* fix: KeycardInteracting again

* Fix SendingCassieMessage

* fix: temp fix interacting door (need to refactor)

* refactor: change the property

* fix doc

* extension for Scp127 & ServerRoom

* FirearmType.Scp127

* AdminToyList

* fix: camera weren't added

* new CameraType

* wrong doc

* fix: interacting door event (improved)

* Invalid Camera

* Better doc

* fix: interacting door (bolton issue)

* FixDamagingWindow index

* RemoveBreakingChange

* Fix FailingEscapePocketDimensionEventArgs

---------

Co-authored-by: Bolton <48883340+BoltonDev@users.noreply.github.com>
Co-authored-by: VALERA771 <val.germanov@gmail.com>
Co-authored-by: VALERA771 <72030575+VALERA771@users.noreply.github.com>

* 9.6.0-beta6

* SNOWBALL DO NOT EXIST

* fix: ChangingCamera event (ExMod-Team#511)

* fix: useless fix now & prevent crash (ExMod-Team#512)

* fix: EndingRound event IsAllowed (ExMod-Team#513)

fix: EndingRound event isallowed

* bump: 9.6.0-beta7

* fix: few fixes (ExMod-Team#514)

* fix: keycard interacting

* fix: EscapingEvent IsAllowed

* fix: command type invalid

* fix: landing event

* fix: EscapingPocketDimension event

* fix: Handcuffing / RemovingHandcuff events

* fix: sentvalidcommand event

* bump: 9.6.0-beta8

* fix: fix AutoUpdater Directory finder (ExMod-Team#515)

* Update Capybara.cs

* Revert "Update Capybara.cs"

This reverts commit 6ea4789.

* fix autoupdater

* ok now its fixed 100%

* fix: custom weapons not doing default damage when set to below 0 (ExMod-Team#518)

* fix custom weapons not doing default damage when set to below 0

* make default damage -1

* Workflow fix (ExMod-Team#3)

* v9.5.2

* Update release.yml

* Update main.yml

* update nuget

* update docs

* update dev

* Fixing Error & Removing Property that will not be implmented

* EffectType.Scp1344Detected

* Update labapi.yml

* Update labapi.yml

* TextToy Implementation API

* chore: remove hub (doesn't exist anymore)

* fix: update exmod -> exslmod & bump: 9.6.0

* fix: missing some change

* missing hub

---------

Co-authored-by: Yamato <66829532+louis1706@users.noreply.github.com>
Co-authored-by: Yamato <louismonneyron5@yahoo.com>
Co-authored-by: VALERA771 <72030575+VALERA771@users.noreply.github.com>
Co-authored-by: Nameless <85962933+Misfiy@users.noreply.github.com>
Co-authored-by: SlejmUr <slejmur@protonmail.com>
Co-authored-by: VALERA771 <val.germanov@gmail.com>
Co-authored-by: Mike <146554836+MikeSus1@users.noreply.github.com>
Co-authored-by: TtroubleTT <121741230+TtroubleTT@users.noreply.github.com>
* Update SpawningItem.cs

* spacing
fix player.MessageTranslated kick players
* fix KeybindSetting and RoundEnd transpiler

I think it all works, I ran server and no errors, I got on and ended round and no errors

* Fix Scale (ScaleController is mid) Fix ChangingLeverStatus event

I think these work
Fix dropping/dropped item event
## Description
**Describe the changes** 


**What is the current behavior?** (You can also link to an open issue
here)


**What is the new behavior?** (if this is a feature change)


**Does this PR introduce a breaking change?** (What changes might users
need to make in their application due to this PR?)


**Other information**:

<br />

## Types of changes
<!--- What types of changes does your code introduce? Put an `x` in all
the boxes that apply: -->
- [x] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to change)
- [ ] Documentations
<br />

## Submission checklist
<!--- Put an `x` in all the boxes that apply: -->
- [ ] I have checked the project can be compiled
- [ ] I have tested my changes and it worked as expected

### Patches (if there are any changes related to Harmony patches)
- [ ] I have checked no IL patching errors in the console

### Other
- [ ] Still requires more testing
## Description
**Describe the changes** 


**What is the current behavior?** (You can also link to an open issue
here)


**What is the new behavior?** (if this is a feature change)


**Does this PR introduce a breaking change?** (What changes might users
need to make in their application due to this PR?)


**Other information**:

<br />

## Types of changes
<!--- What types of changes does your code introduce? Put an `x` in all
the boxes that apply: -->
- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to change)
- [ ] Documentations
<br />

## Submission checklist
<!--- Put an `x` in all the boxes that apply: -->
- [ ] I have checked the project can be compiled
- [ ] I have tested my changes and it worked as expected

### Patches (if there are any changes related to Harmony patches)
- [ ] I have checked no IL patching errors in the console

### Other
- [ ] Still requires more testing
## Description
**Describe the changes** 


**What is the current behavior?** (You can also link to an open issue
here)


**What is the new behavior?** (if this is a feature change)


**Does this PR introduce a breaking change?** (What changes might users
need to make in their application due to this PR?)


**Other information**:

<br />

## Types of changes
<!--- What types of changes does your code introduce? Put an `x` in all
the boxes that apply: -->
- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to change)
- [ ] Documentations
<br />

## Submission checklist
<!--- Put an `x` in all the boxes that apply: -->
- [ ] I have checked the project can be compiled
- [ ] I have tested my changes and it worked as expected

### Patches (if there are any changes related to Harmony patches)
- [ ] I have checked no IL patching errors in the console

### Other
- [ ] Still requires more testing
…m#560)

* Added Safety Checks

* Added SpawningRagdoll event for Safety Checks

* Added Safety Checks

* Simplfy

* Simplfy
…d-Team#573)

fix: Update spawning logic to use IsFpcRole for role vdation
* for 14.1.1 hint update

* Resolve recursive call (sry my mistake)
## Description
**Describe the changes** 


**What is the current behavior?** (You can also link to an open issue
here)


**What is the new behavior?** (if this is a feature change)


**Does this PR introduce a breaking change?** (What changes might users
need to make in their application due to this PR?)


**Other information**:

<br />

## Types of changes
<!--- What types of changes does your code introduce? Put an `x` in all
the boxes that apply: -->
- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to change)
- [ ] Documentations
<br />

## Submission checklist
<!--- Put an `x` in all the boxes that apply: -->
- [ ] I have checked the project can be compiled
- [ ] I have tested my changes and it worked as expected

### Patches (if there are any changes related to Harmony patches)
- [ ] I have checked no IL patching errors in the console

### Other
- [ ] Still requires more testing
louis1706 and others added 30 commits November 2, 2025 18:30
* Fix OnItemAdded being called after OnItemRemoved

* Update T4 file

* FixOnAddedBeingCallAfterOnRemoved
This was found by the Github GPT and i am surprised of it
* thing

* Fix Error

* more thing

* Fix Jailbird HitReg being removed

* 14.2.3 - Documentation & Version update

* Player::Cassie(global::Cassie.CassieAnnouncement)

* Lift::ElevatorAutoReturn and doc

* HELPPP HELP MEEEEEE HELPPPPPPPPPP

AAAAAAAAAAAAAAAAAAAAA
(this stuff is untested btw)

* Fixes

* consolidate stuff in some event args

---------

Co-authored-by: Yamato <66829532+louis1706@users.noreply.github.com>
…#692)

* Change release sorting from CreatedAt to Id

* Update EXILED/Exiled.Installer/Program.cs

Co-authored-by: AlexInABox <36812824+AlexInABox@users.noreply.github.com>

---------

Co-authored-by: Yamato <66829532+louis1706@users.noreply.github.com>
…#691)

* fix cassie MessageTranslated & remove obsolete "isHeld"

* maybe use the translation with the split???

* Fix translation on ``Cassie:::MessageTranslated``

---------

Co-authored-by: Yamato <66829532+louis1706@users.noreply.github.com>
* Update Exiled.API.csproj

* Update FpcRole.cs

* Fix indentation in FpcRole.cs

* Update FpcRole.cs

* Fix null checks for animator and avatar in FpcRole

* Add HeadTransform property to Scp096Role

Added HeadTransform property to retrieve SCP-096's head transform.

* Update Scp096Role.cs
* feat: scp-127 wrapper

* feat: scp-127 events

* fix: I think this is not a problem

* Replace Serial with Base for Scp127Item references

* void Postfix is always better

* Move pragma warning for SA1401 inside class

---------

Co-authored-by: Yamato <66829532+louis1706@users.noreply.github.com>
* fix: TPS calculation ignoring server’s max tickrate

* Server::SmoothTps

* Update Tps summary to clarify average value

---------

Co-authored-by: Yamato <66829532+louis1706@users.noreply.github.com>
* Patch and compilation fixes

* Enum shenanigans

* Remove all xmas obsoletes

REVERT THIS AFTER THE UPDATE!

* 3 new effects

* Update documenation & RoleExtensions

* Fix for black candy bug

* Rename enums, fix a prefab

* lil accidents

---------

Co-authored-by: Yamato <66829532+louis1706@users.noreply.github.com>
* FixMarshmallowManFF

* fix DamageType.Marshmallow

* new stuff added by NW
* FoundPosition event

* Add marshmallow man events

* Rewrite Yamato's prefix as transpiler

* simplify marshmallow event patches, add IL comments

* Fix Marshmallow creation and add parameters to Cackle

also fix patch I borked from last commit lol

* unobsolete EffectType.Marshmallow
…ustomDamageHandler (ExMod-Team#696)

* fix: CacklingEventArgs & PunchingEventArgs

* fix: BugFix for FixMarshmallowManFF

* fix: finish fix for FixMarshmallowManFF

* minor doc fix

---------

Co-authored-by: @Someone <45270312+Someone-193@users.noreply.github.com>
* added customroles get command

* added multiple players logic, registered the command, removed PlayerCommandSender check

* fixed everything requested

* simplify

* Make it actually work lol (+ look nicer)

---------

Co-authored-by: Yamato <66829532+louis1706@users.noreply.github.com>
Co-authored-by: @Someone <45270312+Someone-193@users.noreply.github.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.