Changing Read-only Tag / mqauth error

Need help running MacroQuest2? Ask your questions about how to get things to work on your computer.

Moderator: MacroQuest Developers

wizar
orc pawn
orc pawn
Posts: 15
Joined: Tue Jan 20, 2004 10:25 am

Changing Read-only Tag / mqauth error

Post by wizar » Sat Jan 24, 2004 9:40 pm

In the past I had a friend compiled this for me. Finally I went out and got the program so I can compile it myself. I tested it with one computer with no issues. After creating the .h file for all 4 of my comps I came back to compile it for all of them at once. Now I have an issue of when I need to change the Read-Only for the folder it acts like it does and then you look again and its still checked. Any ideas of what I have done wrong or how to resolve this? Computer is brand new with just eq and Visual C++.net (version 2003) installed.

Appreciate your assistance on this.
Last edited by wizar on Sun Jan 25, 2004 2:58 am, edited 1 time in total.

Amadeus
The Maestro
The Maestro
Posts: 2036
Joined: Sat Jun 29, 2002 3:51 pm

Post by Amadeus » Sat Jan 24, 2004 9:45 pm

Now I have an issue of when I need to change the Read-Only for the folder it acts like it does and then you look again and its still checked. Any ideas of what I have done wrong or how to resolve this? Computer is brand new with just eq and Visual C++.net (version 2003) installed.
Can you describe WHY you need this to work? That would give us the opportunity to provide alternate solutions since this type of problem is somewhat hard to debug from a distance.

wizar
orc pawn
orc pawn
Posts: 15
Joined: Tue Jan 20, 2004 10:25 am

Post by wizar » Sat Jan 24, 2004 9:49 pm

To compile with VC.net:
1. Install Visual VC.NET
2. Download the MacroQuest 2 source files
3. Unzip it into any new folder
3. Right click the folder, select Properties, and remove the Read only flag
4. Double-click MQ2Auth.exe. This will create the file necessary for compiling MQ2 in the MQ2Main folder.
4. Double-click the Macroquest2.sln file. VC.net will open the MacroQuest project
6. Go Build menu and select Configuration Manager
7. Select Release, and place a check in each dll you want compiled. Click the Close button
selection 3 (second one) from the manual at location : http://macroquest2.com/main.php?p=manual

Amadeus
The Maestro
The Maestro
Posts: 2036
Joined: Sat Jun 29, 2002 3:51 pm

Post by Amadeus » Sat Jan 24, 2004 10:03 pm

hmmm ....have you tried just skipping that step to see if it worked anyway?

wizar
orc pawn
orc pawn
Posts: 15
Joined: Tue Jan 20, 2004 10:25 am

Post by wizar » Sat Jan 24, 2004 10:04 pm

Yes, I get errors on 12 of 13 builds :/

Not sure the error came from the MQ or C++ but now I cannot change any folder to be unchecked. Appears to work then looking at it again it still shows that dang green box.

wizar
orc pawn
orc pawn
Posts: 15
Joined: Tue Jan 20, 2004 10:25 am

Post by wizar » Sun Jan 25, 2004 1:53 am

Ok, I have read the all the posts I can find on multiple mqauth files and have not seen anything that says this is not supported anymore. Can someone please point me in the right direction for this?

Goofmester1
a hill giant
a hill giant
Posts: 241
Joined: Thu Nov 06, 2003 4:26 am

Post by Goofmester1 » Sun Jan 25, 2004 2:09 am

Are you removing the read only on the folder or each file or a group of files at once? Try removing read only from the files and not the folder if that is not what you are already trying.

wizar
orc pawn
orc pawn
Posts: 15
Joined: Tue Jan 20, 2004 10:25 am

Post by wizar » Sun Jan 25, 2004 2:41 am

I can compile single now by having the folder open, right clicking the folder and changing it. On this machine the MQ2 works wonderful. When I try and add the mqauth0.h file from one of the other computers it will compile and look good but when I transfer the files over to the other computer and bamm... won't run MQ2. Yes I am chaning the xx to read 56 in date. Is it possible that I have the wrong program to compile it? I am using Visual C++.net Standard 2003?

bob_the_builder
a hill giant
a hill giant
Posts: 275
Joined: Tue Jul 22, 2003 1:22 pm

Post by bob_the_builder » Sun Jan 25, 2004 10:53 am

When I try and add the mqauth0.h file from one of the other computers
If you use the mq2auth.exe correctly then you will only have ONE mq2auth0.h file and only have to compile ONE time for ALL of your machines.

Bob

wizar
orc pawn
orc pawn
Posts: 15
Joined: Tue Jan 20, 2004 10:25 am

Post by wizar » Sun Jan 25, 2004 11:48 am

Doesn't work. For some reason I can get the file to compile now but it won't work on the other machines. Is something changed on the mqauth system?

User avatar
dont_know_at_all
Developer
Developer
Posts: 5450
Joined: Sun Dec 01, 2002 4:15 am
Location: Florida, USA
Contact:

Post by dont_know_at_all » Sun Jan 25, 2004 2:15 pm

No. Follow the directions.

wizar
orc pawn
orc pawn
Posts: 15
Joined: Tue Jan 20, 2004 10:25 am

Post by wizar » Sun Jan 25, 2004 2:55 pm

You say No, follow the directions. I have done that and if it worked I wouldn't be asking for help. From what I have seen yes it has changed. There were two files and now there is one.

If I try and compile it for a machine other then the one I have my compile prg on it simply doesn't work and all I would like to know is why.

If I need a different program other then Visual C++.net let me know. I just went to try and get C++ 6.0 but the stores do not stock it anymore.

Not asking for a big fix here. Just asking for some assistance in what you all think is wrong.

Yes I have ONE mq2auth0.h file.

User avatar
dont_know_at_all
Developer
Developer
Posts: 5450
Joined: Sun Dec 01, 2002 4:15 am
Location: Florida, USA
Contact:

Post by dont_know_at_all » Sun Jan 25, 2004 4:54 pm

How many lines are in your mq2auth0.h?

bob_the_builder
a hill giant
a hill giant
Posts: 275
Joined: Tue Jul 22, 2003 1:22 pm

Post by bob_the_builder » Sun Jan 25, 2004 4:59 pm

Yes I have ONE mq2auth0.h file
Correct. But the file needs to be updated from every machine.

You have the correct .net compilier. I just don't think your running your mq2auth.exe correctly on every machine with the ONE mq2auth0.h file.

Do this, put the MQ2auth.exe on a floppy disk. Take that disk to every machine and double click the EXE. Each machine will update and write info to the ONE MQ2auth0.h file on the floppy disk.

Then after you do all your computers, copy the MQ2auth0.h file from the floppy disk to the MQ2main folder and double click the SLN file and compile batch as stated in the instructions you posted above.
4. Double-click the Macroquest2.sln file. VC.net will open the MacroQuest project
6. Go Build menu and select Configuration Manager
7. Select Release, and place a check in each dll you want compiled. Click the Close button
Bob

wizar
orc pawn
orc pawn
Posts: 15
Joined: Tue Jan 20, 2004 10:25 am

Post by wizar » Sun Jan 25, 2004 5:52 pm

There are 8 lines in my eqauth0.h file. The eqauth was ran on each machine in order.