Happens when X amount of custom modules are added:
Currently with me was after 17 extra modules.
Code: Select all
error: A critical error occurred when registering ModData for m_modname
No space available & error: Error loading m_modname: Mod_Init returned -1
Gottem wrote:Apparently that's caused when the available ModData slots are all used up. =] You can increase these if you want, but I'm not really sure if it's supported lel. You also have to do this on every server. Inside include/struct.h there are a few defines:
Solution seems to be found when increasing these values:
Code: Select all
#define MODDATA_MAX_CLIENT 8
#define MODDATA_MAX_CHANNEL 8
#define MODDATA_MAX_MEMBER 4
#define MODDATA_MAX_MEMBERSHIP 4
Why are the values so low ? Why are there problems adding more extra modules after a certain amount ?
Expectations:
Fix on the next unrealircd release 4.0.12
Conclusion:
If so, thumbs up