The specified procedure could not be found. -- nofakelag

These are old archives. They are kept for historic purposes only.
Locked
Nightma12
Posts: 4
Joined: Fri Sep 22, 2006 7:22 pm

The specified procedure could not be found. -- nofakelag

Post by Nightma12 »

Heya,

i need to recompile my Unreal so i can enable the nofakelag; option for specific users (bot that i made :P), however i dont wish to give it IRCop

i downloaded the Linux unreal and got the source from that as the source didnt seem to be in the Win32 Build

heres my version info: Unreal3.2.5. [Windows Server 2003 Service Pack 1=2308]
-
zlib 1.2.3
-libcurl/7.15.3 c-ares/1.3.0
-
NAMESX SAFELIST HCN MAXCHANNELS=100 CHANLIMIT=#:100 MAXLIST=b:60,e:60,I:60 NICKLEN=30 CHANNELLEN=32 TOPICLEN=307 KICKLEN=307 AWAYLEN=307 MAXTARGETS=20 WALLCHOPS are supported by this server
WATCH=128 SILENCE=15 MODES=12 CHANTYPES=# PREFIX=(qaohv)~&@%+ CHANMODES=beI,kfL,lj,psmntirRcOAQKVCuzNSMTG NETWORK=All-Out-Hosting CASEMAPPING=ascii EXTBAN=~,cqnr ELIST=MNUCT STATUSMSG=~&@%+ EXCEPTS INVEX are supported by this server
CMDS=KNOCK,MAP,DCCALLOW,USERIP are supported by this server

my compiler is MVC++ 2003

i changed the lines:

#undef FAKELAG_CONFIGURABLE

to

#define FAKELAG_CONFIGURABLE

and

#undef NO_FAKE_LAG_FOR_LOCOPS

to

#define NO_FAKE_LAG_FOR_LOCOPS


so i go to command prompt and type in: nmake -f makefile.win32 and everything compiles fine

then i upload the new wircd.exe and unreal.exe to box and when i run the service i get this error:


* Loading IRCd configuration ..
* unrealircd.conf:40: loadmodule modules/commands.dll: failed to load: The specified procedure could not be found.
[error] IRCd configuration failed to load




i didnt change much at all... so i dont see what would be causeing the problem, perhaps i am not compiling correctly?

yes i have read the doc/faq :P
Jobe
Official supporter
Posts: 1180
Joined: Wed May 03, 2006 7:09 pm
Location: United Kingdom

Post by Jobe »

Im sorry to say that there is a policy of not supporting modifying the source code.
Nightma12
Posts: 4
Joined: Fri Sep 22, 2006 7:22 pm

Post by Nightma12 »

i changed config.h and only changed the define's

hardly counts as modifed source code :P
Jobe
Official supporter
Posts: 1180
Joined: Wed May 03, 2006 7:09 pm
Location: United Kingdom

Post by Jobe »

Well for reference i expect you will also have be recompiling unreal ended up recompiling the module .dll files which would then also need to be copied across too.
Nightma12
Posts: 4
Joined: Fri Sep 22, 2006 7:22 pm

Post by Nightma12 »

ah thanks! :O worked :D
Stealth
Head of Support
Posts: 2085
Joined: Tue Jun 15, 2004 8:50 pm
Location: Chino Hills, CA, US
Contact:

Post by Stealth »

/** FAKELAG_CONFIGURABLE makes it possible to make certain classes exempted
* from 'fake lag' (that is, the artificial delay that is added by the ircd
* to prevent flooding, which causes the messages/commands of the user to
* slow down). Naturally, incorrect use of this feature can cause SEVERE
* issues, in fact it can easily bring your whole IRCd down if one of the
* users with class::options::nofakelag does a good flood at full speed.
* Hence, this is disabled by default, and you need to explicitly enable it
* here IF YOU KNOW WHAT YOU ARE DOING. People complaining their ircd
* ""crashed"" because of this setting will be shot. </DISCLAIMER>

* Common usage for this are: a trusted bot ran by an IRCOp, that you only
* want to give "flood access" and nothing else, and other such things.
*/
Locked