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

[Bug]: Errors every tick when pawn has some weapons from Moyo2.0 equipped #3609

Open
NoirRemembrance opened this issue Dec 25, 2024 · 0 comments
Labels
Bug Something isn't working

Comments

@NoirRemembrance
Copy link

Specifications
Rimworld version: 1.5.4297 rev1078
Combat Extended version: 15.6.2.0
Combat Extended source (Steam, GitHub, etc.): Steam
Your operating system: Windows 11
Your mod list: Mod List

Description
Some ranged weapons of the Moyo 2.0 mod have 3 versions:

  • Normal
  • Overcharged
  • Overloaded

The overcharged and overloaded kinds have a cooling down period that prevents them from being used to shoot for a few seconds while they cool down.

I'm getting errors every tick when a pawn that has equipped a Moyo weapon that is overloaded or overcharged finishes cooling down, which also prevents the pawn from using the weapon to shoot.

Expected behavior
The normal version of these weapons work correctly, and seems to already implement a functionality similar to what the devs of the mod intended, thanks to a button to change between a normal and overclocked mode.

I see 2 different approaches to this problem:

  1. Remove the overcharged and overloaded version of the weapons so pawns don't spawn with them, preventing this error from being triggered.
  2. After the overcharged and overloaded weapons finish cooling down they should transform into a normal version of the weapon, but since with CE the normal versions don't seem to have a way to enter in an overcharged or overloaded state this seems unnecessary imo.

To reproduce

  • Use something like CharacterEditor to give a pawn a moyo weapon with "Overcharged" or "Overloaded" in its name.
  • Equip the weapon and wait for it to cool down.
  • After the progress bar of the cooling down feature has filled the game should throw errors every tick.

Screenshots & log dumps
Logs

Example of the 3 version of weapons:
image

Weapon cooling down:
cooling

Errors right after the progress bar filled:
errors

Complete the following checklist
I hereby verify that I have done the following:

  • ✅ Confirmed that my game version and load order are correct.
  • ✅ Confirmed that I am running the appropriate and most updated version of Combat Extended and required compatibility patches.
  • ✅ Confirmed I am not running any mods with known incompatibilities with Combat Extended.
  • ✅ Disabled Combat Extended and attempted to reproduce the behavior without success.
@NoirRemembrance NoirRemembrance added the Bug Something isn't working label Dec 25, 2024
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

1 participant