Page MenuHomeFeedback Tracker

Limit override bug RegisterActions & RegisterRecipies
Closed, ResolvedPublic

Description

It has been experimentally found out that exceeding these values leads to malfunction of functions.

override limit "RegisterActions" from class "ActionConstructor" - 122
override limit "RegisterRecipies" from class "PluginRecipesManagerBase" - 115

When these values are exceeded, actions and crafting recipies not working.
Please fix this problem..

Details

Severity
Major
Resolution
Open
Reproducibility
Always
Operating System
Windows 10 x64
Category
Modding
Steps To Reproduce

RegisterActions:

  1. Create in 4_World script for RegisterActions:
modded class ActionConstructor
{
    override void RegisterActions(TTypenameArray actions)
	{
		super.RegisterActions(actions);
	};
};
  1. Copy this code 123 times
  2. Start server & enter the game
  3. All actions not work (house open doors, vehicles open doors, fishing etc)

RegisterRecipies:

  1. Create in 4_World script for RegisterRecipies:
modded class PluginRecipesManagerBase extends PluginBase
{
	override void RegisterRecipies()
	{
		super.RegisterRecipies();
	}
};
  1. Copy this code 116 times
  2. Start server & enter the game
  3. All craft recipies not work (create fireplace etc)
Additional Information

Use only 2 mods in the test:
CF
VPPAdminTools

Event Timeline

Topotun created this task.Aug 20 2024, 10:09 AM
Topotun edited Steps To Reproduce. (Show Details)
Geez changed the task status from New to Assigned.Aug 20 2024, 10:39 AM
Geez closed this task as Resolved.Jan 13 2025, 4:28 PM
Geez claimed this task.
Geez added a comment.Jan 13 2025, 4:32 PM

Hello Topotun.
This is too minor issue for us to tackle currently.
Regards,
Geez

This is actually a serious problem for modding

This is actually a serious problem for modding. Please fix this

@Geez do you think this came back? since 1.28 we are getting a lot of crashes due to the ActionConstructor we think that there is a limit?

like it does drive me insane,

Example:
there is a few mods we thought that its a mod conflict, for my server it was Rag Liquid frameworks, and Ammo Reloader, remove either server works other mods it breaks again.

PrivatePW was sitting a couple of days loading different mods, i think every time he gets to a limit the actions break and its never the same mod always a different mod causing the actions to stop working on the server.

Sometimes when players preform actions around the server the whole server will freeze and then catch up. almost every mod owner said ask the other mod owner to fix his side. i managed to get my server working by removing the 4 mods that's driving me insane.

Just a Thought?

Geez added a comment.Tue, Jun 24, 12:26 PM

@Geez do you think this came back? since 1.28 we are getting a lot of crashes due to the ActionConstructor we think that there is a limit?

like it does drive me insane,

Example:
there is a few mods we thought that its a mod conflict, for my server it was Rag Liquid frameworks, and Ammo Reloader, remove either server works other mods it breaks again.

PrivatePW was sitting a couple of days loading different mods, i think every time he gets to a limit the actions break and its never the same mod always a different mod causing the actions to stop working on the server.

Sometimes when players preform actions around the server the whole server will freeze and then catch up. almost every mod owner said ask the other mod owner to fix his side. i managed to get my server working by removing the 4 mods that's driving me insane.

Just a Thought?

Currently cannot deny nor confirm.