Skip to content

Add a note to plugin developers/authors to recompile their plugins when updating the RTD plugin #105

@naydef

Description

@naydef

I usually expect that when updating plugins that those plugins will keep compatibility when using their API, however this isn't the case here:

L 02/29/2024 - 13:19:53: [SM] Exception reported: Invalid parameter number: 4
L 02/29/2024 - 13:19:53: [SM] Blaming: Gameplay/RTD/rtd.smx
L 02/29/2024 - 13:19:53: [SM] Call stack trace:
L 02/29/2024 - 13:19:53: [SM]   [0] GetNativeCell
L 02/29/2024 - 13:19:53: [SM]   [1] Line 308, rtd/natives.sp::Native_Remove
L 02/29/2024 - 13:19:53: [SM]   [3] RTD2_Remove
L 02/29/2024 - 13:19:53: [SM]   [4] Line 2377, tf2utils::cancelRTDRoll

The code failing:
RTD2_Remove(client, RTDRemove_Custom, "Chaos Dice was used");

The plugin which relies on RTD was compiled with old include file, so It didn't have the new arguments the prototype.
So I guess what I say is either keep backward compatibility or add a note for plugin devs/server owners to recompile their plugins which use RTD plugin when they update it.

That's all.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions