No exe-file generated any more :-(

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

Moderator: MacroQuest Developers

tristpost
orc pawn
orc pawn
Posts: 16
Joined: Fri Jul 13, 2007 1:15 pm

No exe-file generated any more :-(

Post by tristpost » Fri Jul 27, 2007 4:02 am

I have previosly managed to build MQ2 with Visual Studio 2005 Express but when I tried to build the latest release everything seemed to work ok but no exe were produced - only dll, exp files etc.

When I tried to build an older version that previously produced an .exe it did not work either (same problem).

Sadly I am not a Windows developer so I have no clue what seting that may have changed - anybody have some sugestion?

I added an incomplete subject about this to http://www.macroquest2.com/wiki/index.p ... g_Problems

Best Regards
Trist

aamlord
a lesser mummy
a lesser mummy
Posts: 35
Joined: Wed Feb 07, 2007 3:56 pm

Post by aamlord » Fri Jul 27, 2007 5:37 am

My best guess is you may have missed a step or did something wrong in the compile. I had no problem compiling MQ2, both versions that was released since the server patch 2 days ago. Just a guess, you did run MQ2Auth? Once I forgot to run that and had a bunch of error message spewed at me.

I am not familiar with Visual Studio as I use Microsoft Visual C++. A quick look at the manual here at http://www.macroquest2.com/includes/was ... hp#compile might clue you in what you missed.

tristpost
orc pawn
orc pawn
Posts: 16
Joined: Fri Jul 13, 2007 1:15 pm

No error messages...

Post by tristpost » Fri Jul 27, 2007 6:24 am

Starange thing is that I get NO error messages at all and yes, I did run the auth-program! As I said I even tried to just remove the exe and rerun a previsously working project and now no exe was produced :-(

My guess would be that there is some global option in the Visual Studio that may have become set in the wrong way...

Moszt of the things in the compilation FAQ result in error messages if you dont follow them ...

Best Regards
Trist

User avatar
ieatacid
Developer
Developer
Posts: 2727
Joined: Wed Sep 03, 2003 7:44 pm

Post by ieatacid » Fri Jul 27, 2007 6:28 am

The exe file comes in the zip. It's never generated. You only compile dlls. Image

tristpost
orc pawn
orc pawn
Posts: 16
Joined: Fri Jul 13, 2007 1:15 pm

Ooooops I had no idea about that....

Post by tristpost » Fri Jul 27, 2007 2:11 pm

Then I cleaned out to much stuff before doing a "clean" build!

Thanks for the info!

Best Regards
Trist

madborg
decaying skeleton
decaying skeleton
Posts: 7
Joined: Sun Jul 29, 2007 6:55 pm

Post by madborg » Mon Jul 30, 2007 4:07 pm

i did the same thing when i first got MQ2. for some reason that exe was built several years ago and then hasnt been recompiled since.

User avatar
fearless
Not a Psychic
Posts: 2684
Joined: Wed Mar 10, 2004 3:52 pm

Post by fearless » Mon Jul 30, 2007 4:14 pm

madborg wrote:i did the same thing when i first got MQ2. for some reason that exe was built several years ago and then hasnt been recompiled since.
it hasn't needed to.
Reading . . . it's not just for me.

[url=http://www.catb.org/~esr/faqs/smart-questions.html]How To Ask Questions The Smart Way[/url]
[quote="Ccomp5950"]Fearless showed me the light, you too shall learn.[/quote]

madborg
decaying skeleton
decaying skeleton
Posts: 7
Joined: Sun Jul 29, 2007 6:55 pm

Post by madborg » Tue Jul 31, 2007 12:44 pm

fearless wrote:
madborg wrote:i did the same thing when i first got MQ2. for some reason that exe was built several years ago and then hasnt been recompiled since.
it hasn't needed to.
which brings up another thing on my mind. the current MQ2 includes fixes and enhancements that the titanium MQ2 doesnt have. what would it take to bring the titanium edition to the same functional level as the current? i didnt think it is just a matter of replacing dlls, or is it?

i have started a search for what macroquest2.exe does but i get side-tracked with all the other posts. since the EQ clients have changed over time, i am sure that something has to change to match the clients but apparently not in the exe.

now watch the eqemu team mess me up. i will spend too much time worrying about a titanium version and they will bring their server to the 8th anniversary level. i probably should anticipate that and save off a version that works with the non-updated 8th anniversary.

or am i just completely confused.

User avatar
xantan
a ghoul
a ghoul
Posts: 98
Joined: Wed Feb 09, 2005 11:17 pm
Location: Nevada
Contact:

Post by xantan » Tue Jul 31, 2007 12:55 pm

You'd need the offsets from the titanium version to compile the dlls. as said above the exe stays the same, just works w/ the dlls.


also. somewhere dkaa mentioned of old zips in the vip forum.
[b]=/[/b]

madborg
decaying skeleton
decaying skeleton
Posts: 7
Joined: Sun Jul 29, 2007 6:55 pm

Post by madborg » Tue Jul 31, 2007 2:28 pm

xantan wrote:You'd need the offsets from the titanium version to compile the dlls. as said above the exe stays the same, just works w/ the dlls.


also. somewhere dkaa mentioned of old zips in the vip forum.
i have a working version for the titanium version and it is great. thanks i think i got it now. the offests are stoerd in the dll and not in the exe. makes sense. i suppose the exe is for the scripting engine and the plugin parts and the rest is in the dlls.

maybe i should get a vip so i can followup with this. it seems easy to do in my head, but ...

Yunto?
a grimling bloodguard
a grimling bloodguard
Posts: 502
Joined: Sat Nov 19, 2005 12:05 pm

Post by Yunto? » Tue Jul 31, 2007 2:52 pm

The exe is the injector. Everything else is in the dlls.
(10:02:10 AM) fearless: kate beckinsale
(10:02:18 AM) fearless: chick from underpants
(10:02:27 AM) fearless: er . . . world, underworld

madborg
decaying skeleton
decaying skeleton
Posts: 7
Joined: Sun Jul 29, 2007 6:55 pm

Post by madborg » Tue Jul 31, 2007 4:02 pm

Yunto? wrote:The exe is the injector. Everything else is in the dlls.
good. this is really a great tool to use for testing eqemu and already it does enough as it is. but i would like to be current as much as possible for the bug fixes and enhancements. although maybe i should leave it alone since some of the marcos are old and possibly closer to the titanium version.

aamlord
a lesser mummy
a lesser mummy
Posts: 35
Joined: Wed Feb 07, 2007 3:56 pm

Post by aamlord » Wed Aug 01, 2007 2:22 am

Some macro will be fine with current version of MQ2, some macro may need to be tweaked or in some cases abandoned. An experienced person could probably keep an old macro working for a long time.

But you do need to replace MQ2 everytime there's a major patch. If the patcher downloads eq.exe, current version of MQ2 will likely be broken anyway. I have the download page bookmarked and I generally check about 24 hours after the patch time for the updated version.

PS would a book like C++ For Dummies help me understand macro coding better? I've been meaning to learn C++ as my last learned computer language is BASIC when I had Commodore PET.

TehWraith
a lesser mummy
a lesser mummy
Posts: 51
Joined: Tue Feb 28, 2006 3:32 am

Post by TehWraith » Wed Aug 01, 2007 4:13 am

Programming in general will help you write macros better, but learning the macro language is a place to start also, just don't get used to the goto's when you move to other languages.

TypePun
a lesser mummy
a lesser mummy
Posts: 64
Joined: Mon Dec 18, 2006 4:51 pm
Location: San Francisco

Post by TypePun » Tue Aug 14, 2007 6:32 pm

I don't recommend any of the dummies books for C++. C++ is a rich, powerful expressive language and should be enjoyed in all it's glory.

Cutting corners in learning C++ is like cutting corners in learning to drive performance cars or use surgical tools - you will only hurt yourself and others.

I recommend:

"The C++ Programming Language, 3rd edition", by Bjarne Stroustrup.
http://www.amazon.com/C%2B%2B-Programmi ... 651&sr=8-2

AND (not OR)

"The Annotated C++ Reference Manual", by Margaret Ellis and Bjarne Stroustrup.
http://www.amazon.com/C%2B%2B-Programmi ... 651&sr=8-2

Alternatively, you can use Lippman, et. al:


http://www.amazon.com/C%2B%2B-Primer-4t ... 51&sr=8-12

But in either case, you will want Margaret and Stroustrup.

I also recommend the following books as supplemental reading:

The effective C++ series by Meyers:
http://www.amazon.com/Effective-C%2B%2B ... 651&sr=8-9
http://www.amazon.com/More-Effective-Im ... 651&sr=8-9

And, since you will need a library, you will want to use the STL:

http://www.amazon.com/C-Standard-Librar ... 651&sr=8-9

And, to help you 'think' in C++, because you will not want to write C++ like it is only C with classes:

http://www.amazon.com/Modern-C%2B%2B-De ... 180&sr=1-1

I hope you enjoy them all as much as I do mine!
(unsigned long) (void *) p;