Search found 3 matches

by xwerswoodx
Sun Jun 26, 2016 9:35 pm
Forum: Unreal 3.2 Modules
Topic: [How to] Adding command before pre-connect
Replies: 2
Views: 4426

Re: [How to] Adding command before pre-connect

Sorry for flood, but I can't edit my posts, so I solved my problem with;

Code: Select all

		add_CommandX(MSG_GCODE, TOK_GCODE, m_giris, 1, M_USER|M_SERVER|M_RESETIDLE|M_VIRUS|M_UNREGISTERED);
I just want to post here maybe someone need it.
by xwerswoodx
Sun Jun 26, 2016 7:54 pm
Forum: Unreal 3.2 Modules
Topic: [How to] Adding command before pre-connect
Replies: 2
Views: 4426

Re: [How to] Adding command before pre-connect

I can't edit my post and I forgot to send parse.c

Line: 353:

Code: Select all

if (!IsRegistered(cptr) && stricmp(ch, "NOTICE") && stricmp(ch, "GCODE")) {
by xwerswoodx
Sun Jun 26, 2016 7:14 pm
Forum: Unreal 3.2 Modules
Topic: [How to] Adding command before pre-connect
Replies: 2
Views: 4426

[How to] Adding command before pre-connect

I have a problem with adding command before HOOKTYPE_PRE_LOCAL_CONNECT. UNREAL 3.2.10.6 I want to add a /GCODE command and when it start to connect to unreal it has to use /GCODE to login; DLLFUNC int MOD_INIT(m_logincode)(ModuleInfo *module) { if (!CommandExists(MSG_GCODE)) CommandAdd(module->handl...