Git Product home page Git Product logo

betterladders's Introduction

BetterLadders

Features

  • Change climbing speed and sprint-climbing speed
    • The climbing animation speed can be scaled to speed
  • Change the speed of entering/exiting a ladder
  • Allow using ladders while holding a two-handed item
  • Hide held item while climbing a ladder
    • Visibility is synced with other clients, as long as the host has this mod
  • Change the time extension ladders stay up for (or make them permanent)
  • Require holding the interact button to pick up an extended extension ladder
    • Hold time can be adjusted or disabled

Config

General

entry default description synced with host
climbSpeedMultiplier 1.0 Ladder climb speed multiplier
sprintingClimbSpeedMultiplier 1.5 Ladder climb speed multiplier while sprinting, stacks with climbSpeedMultiplier
transitionSpeedMultiplier 1.0 Ladder enter/exit animation speed multiplier
allowTwoHanded true Whether to allow using ladders while carrying a two-handed object
scaleAnimationSpeed true Whether to scale the speed of the climbing animation to the climbing speed
hideOneHanded true Whether to hide one-handed items while climbing a ladder
hideTwoHanded true Whether to hide two-handed items while climbing a ladder

Extension Ladders

entry default description synced with host
timeMultiplier 0.0 Extension ladder time multiplier (0 for permanent) - lasts 20 seconds in vanilla
enableKillTrigger true Whether extension ladders should kill players they land on
holdToPickup true Whether the interact key needs to be held to pick up an activated extension ladder
holdTime 0.5 How long, in seconds, the interact key must be held if holdToPickup is true

Debug

entry default description
debugMode false Logs IL code to console when patching or unpatching transpilers

betterladders's People

Contributors

e3s1 avatar

Watchers

 avatar

betterladders's Issues

Error in Console Relating to Client ID

I have no clue how much importance this error has, and I could not find any pre-existing conversation about it, but there is an error that gets generated whenever playing multiplayer with people.

[01:24:44.1417633] [Info   :BetterLadders] Requested server to show this client's held item
[01:24:44.1417633] [Info   :BetterLadders] Sending request to other clients to hide held item
[01:24:44.1417633] [Info   :BetterLadders] Hiding held item
[01:24:44.3007599] [Error  :BetterLadders] Failed to find client with id 2.

If this is nothing to worry about, let me know, and if otherwise, could you explain what this means and if you have the means to fix it. Thank you.

Compatibility issues between BetterLadders and ReservedFlashlightSlot prevent climbing ladders with a flashlight.

Compatibility issues between BetterLadders and ReservedFlashlightSlot prevent climbing ladders with a flashlight

[Error  : Unity Log] NullReferenceException: Object reference not set to an instance of an object
Stack trace:
BetterLadders.BetterLadders+LadderItemVisibility.Set (System.Boolean& ___usingLadder) (at <44676a752d0640e5b20784c470d18393>:IL_0056)
BetterLadders.BetterLadders+InteractTriggerPatch.LadderHeldItemVisibilityPatch (System.Boolean& ___usingLadder) (at <44676a752d0640e5b20784c470d18393>:IL_0000)
(wrapper dynamic-method) InteractTrigger.DMD<InteractTrigger::SetUsingLadderOnLocalClient>(InteractTrigger,bool)
InteractTrigger+<ladderClimbAnimation>d__57.MoveNext () (at <44743d9474784365a095189c76175301>:IL_0082)
UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) (at <e27997765c1848b09d8073e5d642717a>:IL_0026)
UnityEngine.MonoBehaviour:StartCoroutine(IEnumerator)
InteractTrigger:Interact(Transform)
GameNetcodeStuff.PlayerControllerB:DMD<GameNetcodeStuff.PlayerControllerB::Interact_performed>(PlayerControllerB, CallbackContext)
UnityEngine.InputSystem.LowLevel.<>c__DisplayClass7_0:<set_onUpdate>b__0(NativeInputUpdateType, NativeInputEventBuffer*)
UnityEngineInternal.Input.NativeInputSystem:NotifyUpdate(NativeInputUpdateType, IntPtr)

[Error  : Unity Log] NullReferenceException: Object reference not set to an instance of an object
Stack trace:
BetterLadders.BetterLadders+LadderItemVisibility.Set (System.Boolean& ___usingLadder) (at <44676a752d0640e5b20784c470d18393>:IL_0056)
BetterLadders.BetterLadders+InteractTriggerPatch.LadderHeldItemVisibilityPatch (System.Boolean& ___usingLadder) (at <44676a752d0640e5b20784c470d18393>:IL_0000)
(wrapper dynamic-method) InteractTrigger.DMD<InteractTrigger::SetUsingLadderOnLocalClient>(InteractTrigger,bool)
InteractTrigger.CancelLadderAnimation () (at <44743d9474784365a095189c76175301>:IL_009D)
InteractTrigger.Interact (UnityEngine.Transform playerTransform) (at <44743d9474784365a095189c76175301>:IL_005E)
(wrapper dynamic-method) GameNetcodeStuff.PlayerControllerB.DMD<GameNetcodeStuff.PlayerControllerB::Interact_performed>(GameNetcodeStuff.PlayerControllerB,UnityEngine.InputSystem.InputAction/CallbackContext)
UnityEngine.InputSystem.Utilities.DelegateHelpers.InvokeCallbacksSafe[TValue] (UnityEngine.InputSystem.Utilities.CallbackArray`1[System.Action`1[TValue]]& callbacks, TValue argument, System.String callbackName, System.Object context) (at <69a3ba35f0be43dc9f2827cb84fef646>:IL_001B)
UnityEngine.InputSystem.LowLevel.<>c__DisplayClass7_0:<set_onUpdate>b__0(NativeInputUpdateType, NativeInputEventBuffer*)
UnityEngineInternal.Input.NativeInputSystem:NotifyUpdate(NativeInputUpdateType, IntPtr)

[Error  : Unity Log] NullReferenceException while executing 'performed' callbacks of 'Movement/Interact[/Keyboard/e]'
[Error  : Unity Log] NullReferenceException: Object reference not set to an instance of an object
Stack trace:
BetterLadders.BetterLadders+LadderItemVisibility.Set (System.Boolean& ___usingLadder) (at <44676a752d0640e5b20784c470d18393>:IL_0056)
BetterLadders.BetterLadders+InteractTriggerPatch.LadderHeldItemVisibilityPatch (System.Boolean& ___usingLadder) (at <44676a752d0640e5b20784c470d18393>:IL_0000)
(wrapper dynamic-method) InteractTrigger.DMD<InteractTrigger::SetUsingLadderOnLocalClient>(InteractTrigger,bool)
InteractTrigger+<ladderClimbAnimation>d__57.MoveNext () (at <44743d9474784365a095189c76175301>:IL_0082)
UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) (at <e27997765c1848b09d8073e5d642717a>:IL_0026)
UnityEngine.MonoBehaviour:StartCoroutine(IEnumerator)
InteractTrigger:Interact(Transform)
GameNetcodeStuff.PlayerControllerB:DMD<GameNetcodeStuff.PlayerControllerB::Interact_performed>(PlayerControllerB, CallbackContext)
UnityEngine.InputSystem.LowLevel.<>c__DisplayClass7_0:<set_onUpdate>b__0(NativeInputUpdateType, NativeInputEventBuffer*)
UnityEngineInternal.Input.NativeInputSystem:NotifyUpdate(NativeInputUpdateType, IntPtr)

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.