Not authorized.

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

Moderator: MacroQuest Developers

Banannaboy
a lesser mummy
a lesser mummy
Posts: 43
Joined: Tue Apr 13, 2004 9:59 pm

Not authorized.

Post by Banannaboy » Tue Apr 13, 2004 10:03 pm

OK ive tried reading all the posts about compiling for multiple computers, but I cant get it to work. What I did was:
Deleted MQ2Auth0 from both computers. Copied MQ2Auth.exe onto a floppy and ran it on computer B, then computer A. After running it on computer A I copied the MQ2Auth0 into my MQ2Main directory, and then I compiled and put MQ2 on both computers. When I run MQ2 on computer B, the computer I compiled from, MQ2 will run fine. But, when I try and open MQ2 from computer A, it says that the computer does not have authoriation blah blah. What am I doing wrong in this process? Thanks for the help in advance.

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

Post by Goofmester1 » Tue Apr 13, 2004 10:16 pm

Make sure that Auth0 has 4 lines in it if you are trying to compile for two computers. If not then you didn't get the auth from both PCs. Possible that if you ran the Auth from the C: drive instead of the floppy drive then the auth made a new unique file and saved it on the hard drive instead of the floppy.

Lax
We're not worthy!
We're not worthy!
Posts: 3524
Joined: Thu Oct 17, 2002 1:01 pm
Location: ISBoxer
Contact:

Post by Lax » Tue Apr 13, 2004 10:41 pm

First off, dont delete mq2auth0.h, theres no reason to do so. Secondly, you actually have to run mq2auth on both machines. From what you said, you only ran it on once.

Please, read the stuff here: http://macroquest2.com/phpBB2/viewtopic.php?t=4291

theres 59856894389573598743 different ways of explaining it, and even a copy of my file i use to compile for 8 different machines.
Lax Lacks
Master of MQ2 Disaster
Purveyor of premium, EULA-safe MMORPG Multiboxing Software
* Multiboxing with ISBoxer: Quick Start Video
* EQPlayNice, WinEQ 2.0

Preocts
a snow griffon
a snow griffon
Posts: 312
Joined: Thu Jan 29, 2004 1:02 pm

Post by Preocts » Wed Apr 14, 2004 5:44 am

That is an even higher number than you counted the other day! :shock:


We truely are NOT worthy o'mighty Lax :P



heh

mqgun1
decaying skeleton
decaying skeleton
Posts: 1
Joined: Tue Jun 01, 2004 2:12 am

complile overright mq2auth0.h

Post by mqgun1 » Tue Jun 01, 2004 2:19 am

EDIT my bad
Last edited by mqgun1 on Tue Jun 08, 2004 9:08 pm, edited 2 times in total.

User avatar
Fuergrissa
a grimling bloodguard
a grimling bloodguard
Posts: 607
Joined: Mon Dec 08, 2003 3:46 pm
Location: UK

Re: Not authorized.

Post by Fuergrissa » Tue Jun 01, 2004 5:16 am

Banannaboy wrote:OK ive tried reading all the posts about compiling for multiple computers, but I cant get it to work. What I did was:
Deleted MQ2Auth0 from both computers. Copied MQ2Auth.exe onto a floppy and ran it on computer B, then computer A. After running it on computer A I copied the MQ2Auth0 into my MQ2Main directory, and then I compiled and put MQ2 on both computers. When I run MQ2 on computer B, the computer I compiled from, MQ2 will run fine. But, when I try and open MQ2 from computer A, it says that the computer does not have authoriation blah blah. What am I doing wrong in this process? Thanks for the help in advance.
If you are having problems just run it twice ( One on each PC ) open the first MQ2Auth0 file and copy all text, then open second MQ2Auth0 file and past contents from first into it UNDER the text already there.

oh btw LAX this is not the VIP section, Please enable LaxColor when in NON VIP sections :)
[quote]"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning."[/quote]

mcdebug
a lesser mummy
a lesser mummy
Posts: 30
Joined: Mon Jun 07, 2004 4:24 am

Post by mcdebug » Wed Jun 16, 2004 12:44 pm

ok they put descriptions up of this process that are just way to complicated for what it is. basically you run mq2auth.exe on a computer and it puts a code into your mq2auth.h so the dll will recognize that you compiled it. all you need to do is run the exe on each computer you want mq2 on and open up the .h file and copy paste the code back into the .h file on the computer thats going to compile it. then when the compiled release pops out it will have all of the computers codes in it.


now that i look at that it doesnt seem too simple but maybe itll help.

User avatar
SukMage
a ghoul
a ghoul
Posts: 88
Joined: Fri Jun 04, 2004 5:08 pm

Post by SukMage » Wed Jun 16, 2004 4:55 pm

I personally compile it on PC-A zip the release with MQ2Auth added to it, send it to PC-B, unzip, run MQ2Auth after it's all unzipped in my MQ2 directory and voila. It works.

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 » Wed Jun 16, 2004 6:43 pm

SukMage wrote:I personally compile it on PC-A zip the release with MQ2Auth added to it, send it to PC-B, unzip, run MQ2Auth after it's all unzipped in my MQ2 directory and voila. It works.
This is completely wrong.

The only reason it works for you is that you actually took the right steps at one point in time. Running MQ2Auth on PC-B generates MQ2Auth0.h which is completely ignored by the binaries. You can skip the MQ2Auth step on PC-B and stop spreading false information.

GD
a snow griffon
a snow griffon
Posts: 353
Joined: Sat Jun 29, 2002 11:57 pm

Post by GD » Wed Jun 16, 2004 8:36 pm

And you only need to authorize each computer once, not every time you re-compile MQ2.
Opinions are like assholes, everyone has one, but most of them stink.