Page 1 of 2

Woot I did it..sorta

Posted: Thu May 01, 2003 7:35 pm
by Draekz
Thanks val for the help and all that..i have but ONE problem

Everything compiles without errors!!! Except i cant find eqlib.dll (the one i compiled!!! I looked in the folder (with the src in my MQ alpha project) and no EQlib.dll is there (cries)

Anyway Any idea whats going on? i compile it with F7 and it says it compiles correctly but theres no dll to be found *pout*..any help would be great!

Thanks again all, i FINALLY found out what was wrong...i wasnt reading thoroughly enough at the instructions i found..once i actually looked in depth into it i realized i was being a knob and just missing such a simple thing

Bleh..i knew i was l33t hehe jk

Later!

Draekz

Posted: Thu May 01, 2003 7:42 pm
by dont_know_at_all
..\Release

Posted: Thu May 01, 2003 9:18 pm
by Draekz
EDIT2: ok call me a newb again :\ found out for whatever reason when I added the files to eqlib it didnt stick (or something) and the reason it compiled successfully was cuz tehre was NOTHING TO COMPILE! lol god im lame..anyway... will update yaz on whats wrong after i figure this out :P lol..god..
hey DKIA

EDIT3:

Ok i compiled it! this time with 26 errors a bit diff from last one! lol I have NO idea why either, i tried comparing them to the ones thats posted on here but they arent the same, his errors are in events.cpp but mine are in EQlib.cpp.. Any chance someone could look over them and lemme know whats going on? Thanks!

Code: Select all


--------------------Configuration: eqlib - Win32 Debug--------------------
Compiling resources...
Compiling...
EQLib.cpp
c:\macroquest\compiler\eqlib\eqlib.h(51) : error C2143: syntax error : missing ';' before '*'
c:\macroquest\compiler\eqlib\eqlib.h(51) : error C2501: 'IDirectInputDevice8A' : missing storage-class or type specifiers
c:\macroquest\compiler\eqlib\eqlib.h(51) : error C2501: 'EQADDR_DIKEYBOARD' : missing storage-class or type specifiers
c:\macroquest\compiler\eqlib\eqlib.h(52) : error C2143: syntax error : missing ';' before '*'
c:\macroquest\compiler\eqlib\eqlib.h(52) : error C2501: 'IDirectInputDevice8A' : missing storage-class or type specifiers
c:\macroquest\compiler\eqlib\eqlib.h(52) : error C2086: 'IDirectInputDevice8A' : redefinition
c:\macroquest\compiler\eqlib\eqlib.h(52) : error C2501: 'EQADDR_DIMOUSE' : missing storage-class or type specifiers
c:\macroquest\compiler\eqlib\eqlib.cpp(725) : error C2199: syntax error : found 'HRESULT (' at global scope (was a declaration intended?)
c:\macroquest\compiler\eqlib\eqlib.cpp(727) : error C2065: 'This' : undeclared identifier
c:\macroquest\compiler\eqlib\eqlib.cpp(727) : error C2275: 'DWORD' : illegal use of this type as an expression
        c:\program files\microsoft visual studio\vc98\include\windef.h(141) : see declaration of 'DWORD'
c:\macroquest\compiler\eqlib\eqlib.cpp(727) : error C2146: syntax error : missing ')' before identifier 'cbObjectData'
c:\macroquest\compiler\eqlib\eqlib.cpp(727) : warning C4229: anachronism used : modifiers on data are ignored
c:\macroquest\compiler\eqlib\eqlib.cpp(727) : error C2078: too many initializers
c:\macroquest\compiler\eqlib\eqlib.cpp(727) : error C2275: 'DWORD' : illegal use of this type as an expression
        c:\program files\microsoft visual studio\vc98\include\windef.h(141) : see declaration of 'DWORD'
c:\macroquest\compiler\eqlib\eqlib.cpp(727) : error C2059: syntax error : ')'
c:\macroquest\compiler\eqlib\eqlib.cpp(728) : error C2143: syntax error : missing ';' before '{'
c:\macroquest\compiler\eqlib\eqlib.cpp(728) : error C2447: missing function header (old-style formal list?)
c:\macroquest\compiler\eqlib\eqlib.cpp(1086) : error C2059: syntax error : ')'
c:\macroquest\compiler\eqlib\eqlib.cpp(1087) : error C2059: syntax error : ')'
c:\macroquest\compiler\eqlib\eqlib.cpp(1322) : error C2065: 'IDIDevice' : undeclared identifier
c:\macroquest\compiler\eqlib\eqlib.cpp(1322) : error C2106: '=' : left operand must be l-value
c:\macroquest\compiler\eqlib\eqlib.cpp(1325) : error C2440: '=' : cannot convert from 'int *' to 'int'
        This conversion requires a reinterpret_cast, a C-style cast or function-style cast
c:\macroquest\compiler\eqlib\eqlib.cpp(1329) : error C2227: left of '->lpVtbl' must point to class/struct/union
c:\macroquest\compiler\eqlib\eqlib.cpp(1329) : error C2227: left of '->GetDeviceData' must point to class/struct/union
c:\macroquest\compiler\eqlib\eqlib.cpp(1334) : error C2065: 'DInputDataTrampoline' : undeclared identifier
c:\macroquest\compiler\eqlib\eqlib.cpp(1334) : error C2227: left of '->lpVtbl' must point to class/struct/union
c:\macroquest\compiler\eqlib\eqlib.cpp(1334) : error C2227: left of '->GetDeviceData' must point to class/struct/union
events.cpp
PerlMod.cpp
PerlModCore.cpp
stdafx.cpp
timers.cpp
Error executing cl.exe.

eqlib.dll - 26 error(s), 1 warning(s)
Now looking at this, i'd have to think something is wrong with the Dinput.h? from dxsdk81 folder? I THINK i pasted the link for that in the right place but dont know for sure! Anyone that uses VC++6 Know? I'll post what the textbox says exactly, in the place i posted it at.

I Put it in the Resources tab under settings at ADDITIONAL RESOURCE INCLUDE DIRECTORIES:

Is that the right spot to put the additional include things?

Anyway thanks

Draekz

Posted: Thu May 01, 2003 9:39 pm
by Draekz
EDIT: PS im using EQW! Would that affect the /who command in any way??

I got the CVS files via the GUI CVS not using a real cvs proggie..would that make a diff also? As well as using VC++6. Anyway take it easy!
---------------
Ok so i got it compiled and everything and i FOUND the dll..now the problem is typing / in EQ (to bring up a who list) crashes it! I Actually read something about that on the forums so will go diggin again!

Later!

Draekz

Posted: Fri May 02, 2003 1:39 am
by Clawed
Is there no VS6 project file included in CVS? Just looked; no. K, well for god's sake can somebody (Mckorr?) put the vs6 project file in? I am soo tired of these VS6 posts. :P

As a side note: Draekz, I really appreciate your light tone in your posts. Sure, you're a noob (hehe), but you're having fun doing it! Lovin it bud. Best of luck getting this damn thing compiled under VS6... cuz it really isn't supposed to be. (everyone, hear my subliminal message -- buy ... VS.NET ... buy ... vs.net ... [buy] ... [vs.net])

Oh God I've turned into a Microsoft salesman. That's it, shooting myself now.

Did you include DX SDK

Posted: Fri May 02, 2003 3:33 am
by fury
You need to download DXSDK 8.1 or higher. That should be included in the source now. Thought I saw a developer say they included it in the new source. If not just goto http://www.microsoft.com/downloads/deta ... laylang=en and download the sdk. Take input.h and put that into your compiler's include directory. That should solve your problems with those errors, I think lol.

Anyway GL
Fury

Posted: Fri May 02, 2003 4:37 am
by dont_know_at_all
Use the makefile -- it works for both vc60 and vc70.

cvs and compile guide step by step at -->

Posted: Fri May 02, 2003 8:24 am
by EqMule

Posted: Fri May 02, 2003 9:06 am
by Draekz
Hey all thanks for the replies ;)

I actually got it working now lol I have a few posts on it rofl.

Anyway, It works but some functions still crash it such as /updateitems (or whatever the command is) and just typing /

Also, I tested it on 2 different computers, on one computer using EQW and using / command it doesnt crash it but on the other it does.

/updateitems crashes it all the time on both no matter whether im using regular or eqw.

To me it seems as tho the /who commands are a random crash of some sort. I dont quite understand it myself.

As for why I couldnt find the eqlib.dll. It was cuz i was too newb to realize i forgot to add the source files to the project (omg im retarded). So i did, had some errors, figured out the problem and re compiled again and found it works! woot!

so anyway, to the point, its working now all i wanted was the /who commands anyway and i happily got them! Almost all commands worked (all cept /updateitem that i tested) and the basic macro's seem to work that comes with the source so thats all that matters atm :)

Take care all and thanks for your patience ;)

Draekz!

Posted: Fri May 02, 2003 9:13 am
by Draekz
OH yah and for the link u gave regarding cvs crap. I have wincvs and tried doing that but for some reason it automatically disconnects me saying I couldnt connect or something.

One sec gonna pull it up and link the error message. I believe I read somewhere that its just the server and it craps out sometimes so i think thats all thats wrong, but maybe im wrong? Anyway gonna go pull it up and link the error message it gives me when i try to connect to cvs

Ok here's the first message (login message) I get using WINCVS:

Code: Select all

cvs login 
(Logging in to anonymous@cvs.sourceforge.net)
cvs [login aborted]: connect to cvs.sourceforge.net:0 failed: Can't assign requested address

*****CVS exited normally with code 1*****

The second one is when I type in the command line parameters

Code: Select all

CVSROOT: anonymous@cvs.sourceforge.net:/cvsroot/macroquest (password authentication)
TCL is *not* available, shell is disabled
cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/macroquest co macroquest 
cvs [checkout aborted]: connect to cvs.sourceforge.net:0 failed: Can't assign requested address

*****CVS exited normally with code 1*****
Thats what happened when i tried using the command line thingy. So anyway, as i stated before, I read somewhere that cvs server just sucks and u just have to keep trying, but yet again its doing it still and its been well over 24/h's since i first tried! soo, yah i dunno whats wrong there ;)

I ended up just getting my files via CVSGUI on the net. Just right clicking all the newer files (that arent 7 weeks old) and saving them where they should be seems to work fine. *Shrugs*

Take it easy ..any response regarding those messages would be helpful also, whether im doing something wrong or if, like i said before, the server just sucks :P

Take it easy

Draekz

ALSO to DKIA, I tried using the makefile, cept Im not sure if it worked?? I had both makefiles but couldnt figure out where it put the files so i just did it GUI style with VC++6

Anyway, I'll give it a shot on a spare copy of the source i have here to see if im just a tard and could figure it out :P

hehe

Draekz

Posted: Fri May 02, 2003 10:51 am
by Valerian
to use the makefiles, you have to either open a dos window, or run a batch file. hey devs, think we could get a simple make.bat file included with the cvs? wouldn't need much, put it in macroquest/ and (in case ya don't know much about batch files) would contain:

nmake
cd eqlib
nmake

Posted: Sat May 03, 2003 1:14 am
by Draekz
OH hey val! i found out sorta what hte prob is.. the macroquest.exe makefile works fine, its the eqlib makefile that bombs..seems to come up with a thousand errors (I know how to run the makefile and all that jazz..it just not working...i think theres some bug in it or maybe one of the files i have that it needs. I dunno how to put links on just dos so i found that vc6 works great and is easy enough once you actually absorb the info you're reading on the boards.

Again to all who read this, sorry for the 1 thousand posts lol i was just having a harsh newb day but finally figured the shiz out :P bleh i hate it when brains not working :\ makes life so goddamn frustrating

Anyway, Take it easy!

Draekz

Posted: Sat May 03, 2003 5:16 am
by Valerian
Draekz wrote:Anyway, It works but some functions still crash it such as /updateitems (or whatever the command is) and just typing /
sounds like you need to go to the project settings, C/C++ tab, in the Code Generation category, and change the struct member alignment to 1 byte. that should fix your /updateitems and /who problems

Posted: Sun May 04, 2003 7:14 pm
by Draekz
AHH kewl kewl thanks val!

Actually that most likely is the problem. I remembering reading up on changing it from 8 to 1 but i didnt notice any actual explanation as to why i should do that (and couldnt find the option to) so i never bothered :)

If i change that im sure it'd work ;) thanks!

Take it easy

Draekz

Posted: Tue Jun 03, 2003 10:39 am
by Draekz
Ok in regards to wincvs here, Im still having trouble connecting. I dont think its that the server is shitty, i just think wincvs isnt even trying. Anyway, here's the error message I get.

Code: Select all

cvs login 
(Logging in to anonymous@cvs.sourceforge.net)
cvs [login aborted]: connect to cvs.sourceforge.net:0 failed: Can't assign requested address
Now it takes it less than 1 second to report that after trying to log in, therefore it doesnt even seem as tho its trying. Is there something wrong there that anyone can see? This is using wincvs. It just doesnt seem to make sense to me :\ I've tried doing this thousands of times (literally) since i last posted on it and it still doesnt give in, therefore i think its something with the wincvs im using rather than the actual server.

Whats it mean by it "cant assign requested address" Thats the thing i think thats screwy myself. Must be something in it that isnt right so cant use it as an address or something *shrugs*.

Anyway, any help would be appreciated, thanks!

Draekz