Page 1 of 1

[Module Fix:] m_nocaps.c

Posted: Mon Oct 22, 2012 6:13 am
by dboyz
I have decided to 'try' to fix this module myself.

I downloaded the original copy of this module from the internet (the reliability of the source can be questioned).
Please help me verify if this module is the actual module that was available in some time ago.

Version 1.3
Changes: Added line 151 to fix previous bug.

Note: This module has not been fully tested. Please do not use it unless for testing purposes.

Re: [Module Fix:] m_nocaps.c

Posted: Fri Feb 15, 2013 9:53 pm
by westor
I have downloaded and loaded to 5 servers of my network and have problems .. The channel has not the NOCAPS mode and the user could not message with caps inside the channel, i tryied to unload and i could not i had to restart ALL my servers, this module DOES NOT working in 3.2.10 !

Re: [Module Fix:] m_nocaps.c

Posted: Sun Feb 17, 2013 7:00 pm
by MightyWings
then perhaps this module is a PERMANENT module which requires a server restart to unload.

Re: [Module Fix:] m_nocaps.c

Posted: Sat Apr 13, 2013 4:59 am
by dboyz
Hi. Anyone else having the same issue? I am not able to reproduce westor's issue on a single server.

Re: [Module Fix:] m_nocaps.c

Posted: Wed Apr 22, 2015 5:06 am
by dboyz
Hi. this is Version 1.4 of m_nocaps.c

This version contains a long due fix that should correct the bug that westor reported.
Credits to Jobe for helping out!

Version 1.4
1) Reindentation, introduce missing braces and remove whitespaces.
2) Switch '&&' to '&' boolean operator as pointed out by Jobe in 04 August 2013.
3) Check for errors during module loading, report it and discontinue loading.
4) Switch to channel mode +x from previous +d (now occupied in unreal 3.4)
Edit: Check out the repository of this code