The Jedi Academy. THE Place for Jedi training.
Forums
Content
The Academy
Learn
Communicate
Personal


Forums | Jedi Knight 2 Discussion
JA mod problem for my clan
Sep 04 2003 02:17am

monkai
 - Student
Ok well my title describes it but the problem is that with the MOTD we can't use sapces or it gets eraised For Example

\g_mMOTDContents No Laming

Then it turns out to be No, when it shows up. So can anyone please help ,my clan would appriecate it

:alliance:TheMightyMonkey:alliance:

By the Way its Ja Mod 1.4. Thx:D

This post was edited by monkai on Sep 04 2003 02:18am.

  Login and add your comment!  
Comments
Sep 05 2003 08:26am

_cmad_
 - Ex-Student
 _cmad_

never knew Ansi C was semi-C++... ty c1...

however, totally OOPed programming rules! C++ rules! C ain't bad, no bad at all... But C++ is way better... OOP is easier to undertand and write. And it is safer and all

is JK:JA C++ based too? (well, Ansi C... whatever)
_______________
Your friends of today, are your enemies of tomorrow.

Sep 04 2003 11:41pm

monkai
 - Student

Ahh i get it... Thanks Everyone!:D

Sep 04 2003 05:57pm

cHoSeN oNe
 - Retired
 cHoSeN oNe

Actually, jk2 is written in Ansi C. A form of C but using objects. It's actually closer to C++, it is better to use a c++ compiler though :)
_______________
Get busy living, or get busy dying.

Sep 04 2003 05:48pm

_cmad_
 - Ex-Student
 _cmad_

i gotta add that? hmm... never did...

edit: sounds way too C/C++ -ish... is JK2 written in C?
_______________
Your friends of today, are your enemies of tomorrow.

This comment was edited by _cmad_ on Sep 04 2003 05:49pm.

Sep 04 2003 05:41pm

cHoSeN oNe
 - Retired
 cHoSeN oNe

seta g_mMOTDContents "No Laming\n"

copy that in the academy.cfg, save it, and restart your server. Dont' forget the quotes and the \n which ends the line.
_______________
Get busy living, or get busy dying.

Sep 04 2003 01:19pm

D@RtHM@UL
 - Student
 D@RtHM@UL

I use the mod aswell.
I just change the MOTD in my academy file way easier :) Just delete the old on and typ in your own and save and done :D

If ya want more help leave a comment on my profile. :)

Sep 04 2003 11:48am

Silencio
 - Student
 Silencio

I think if you type \set g_mMOTDContents No Laming then it will work as well.. At least that how it works with names...
_______________
Second-in-command of the mighty FiZZsters


Sep 04 2003 03:58am

Shao
 - Student
 Shao

You'll have to set the "No Laming" thing in a configuration file.
Open a notepad file and, in it, type
g_mMOTDContents "No Laming" and save it as what ever you want with .cfg at the end (example: rules.cfg)
Then, when you host, a remote admin or yourself can type "/exec rules.cfg" and that will apply.
The reason "No Laming" showed up as simply "No", is because the console can't set many of the commands with spaces. You'll have to execute a configuration file. I hope that helps! :)
_______________
Follow the virtues of your heart

  Login and add your comment!