Page 1 of 1

MQ2Auth0.c Question

Posted: Mon Aug 16, 2004 11:50 pm
by TheNewGuy
Ok, Before I go and screw things up let me go ahead and ask...

I run MacroQuest on several computers... When I say several, I mean 10, and yes they are all mine (well, 1 is my server, 2 are my wife's.) Reguardless, I have properly added all the MQ2Auth0.c's together, and this is approzimately what mine looks like:

Code: Select all

MQ2AUTH(ABC123-InsertRealCodeHere01);
MQ2AUTH(ABC123-InsertRealCodeHere02);
MQ2AUTH(ABC123-InsertRealCodeHere03);
MQ2AUTH(ABC123-InsertRealCodeHere04);
MQ2AUTH(ABC123-InsertRealCodeHere05);
MQ2AUTH(ABC123-InsertRealCodeHere06);
MQ2AUTH(ABC123-InsertRealCodeHere07);
MQ2AUTH(ABC123-InsertRealCodeHere08);
MQ2AUTH(ABC123-InsertRealCodeHere09);
MQ2AUTH(ABC123-InsertRealCodeHere10);
MQ2AUTH(ABC123-InsertRealCodeHere11);
MQ2AUTH(ABC123-InsertRealCodeHere12);
Will I in any way hurt anything if I add comments like this?

Code: Select all

MQ2AUTH(ABC123-InsertRealCodeHere01);  // My Main Computer
MQ2AUTH(ABC123-InsertRealCodeHere02);  // My Main Computer
MQ2AUTH(ABC123-InsertRealCodeHere03);  // Wife's Main Computer
MQ2AUTH(ABC123-InsertRealCodeHere04);  // Wife's Main Computer
MQ2AUTH(ABC123-InsertRealCodeHere05);  // Server
MQ2AUTH(ABC123-InsertRealCodeHere06);  // Server
MQ2AUTH(ABC123-InsertRealCodeHere07);  // Extra Computer 1
MQ2AUTH(ABC123-InsertRealCodeHere08);  // Extra Computer 1
MQ2AUTH(ABC123-InsertRealCodeHere09);  // Extra Computer 2
MQ2AUTH(ABC123-InsertRealCodeHere10);  // Extra Computer 2
MQ2AUTH(ABC123-InsertRealCodeHere11);  // Extra Computer 3
MQ2AUTH(ABC123-InsertRealCodeHere12);  // Extra Computer 3
I ask because I just reformatted my computer, and as such had to create a new hash for it.... I can only imagine how big that file will get after a year or so, or if I get more computers, or decide to put MQ on my work computers that run EQ as well...

Thanks in advance.

Posted: Mon Aug 16, 2004 11:56 pm
by Sparr
ill start with a tiny flame... if you dont know enough about C/C++/CPP to answer this then editing MQ files isnt for you.

but, on to the answer. No, it wont matter. you can put anything you want in comments and they have no effect on the code.

Posted: Tue Aug 17, 2004 1:04 am
by hytiek
nice reply sparr! :) very kind indeed hehe

Posted: Tue Aug 17, 2004 1:46 am
by JGC84
i'm cusious how his .h file became a .c file

Posted: Tue Aug 17, 2004 2:31 am
by Sparr
its just a naming convention, has no effect on the results. you could name your source files foo.stufftocompile and your header files foo.stufftoinclude and the compiler/preprocessor wouldnt care.