Page 1 of 1
No exe-file generated any more :-(
Posted: Fri Jul 27, 2007 4:02 am
by tristpost
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
Posted: Fri Jul 27, 2007 5:37 am
by aamlord
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.
No error messages...
Posted: Fri Jul 27, 2007 6:24 am
by tristpost
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
Posted: Fri Jul 27, 2007 6:28 am
by ieatacid
The exe file comes in the zip. It's
never generated. You only compile dlls.

Ooooops I had no idea about that....
Posted: Fri Jul 27, 2007 2:11 pm
by tristpost
Then I cleaned out to much stuff before doing a "clean" build!
Thanks for the info!
Best Regards
Trist
Posted: Mon Jul 30, 2007 4:07 pm
by madborg
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.
Posted: Mon Jul 30, 2007 4:14 pm
by fearless
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.
Posted: Tue Jul 31, 2007 12:44 pm
by madborg
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.
Posted: Tue Jul 31, 2007 12:55 pm
by xantan
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.
Posted: Tue Jul 31, 2007 2:28 pm
by madborg
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 ...
Posted: Tue Jul 31, 2007 2:52 pm
by Yunto?
The exe is the injector. Everything else is in the dlls.
Posted: Tue Jul 31, 2007 4:02 pm
by madborg
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.
Posted: Wed Aug 01, 2007 2:22 am
by aamlord
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.
Posted: Wed Aug 01, 2007 4:13 am
by TehWraith
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.
Posted: Tue Aug 14, 2007 6:32 pm
by TypePun
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!