Ganjika Posted August 26, 2012 Author Share Posted August 26, 2012 I get the following error when trying to compile the Server (client compilse fine).Although the picture below doesn't show it - it usually highlights where it says CAMERA AS RECT.The code im trying to add is to make 9999 the max map limit.![](http://i1127.photobucket.com/albums/l632/EsoGuildPB/error-2.png) Link to comment Share on other sites More sharing options...
Ecto Posted August 26, 2012 Share Posted August 26, 2012 What line is highlighted when this error comes up? Link to comment Share on other sites More sharing options...
Growlith1223 Posted August 26, 2012 Share Posted August 26, 2012 ,,,What did you do last?1\. please give a little more xplanation xD Link to comment Share on other sites More sharing options...
Ganjika Posted August 26, 2012 Author Share Posted August 26, 2012 > What line is highlighted when this error comes up?Public _Camera as RECT ._This happened after trying to compile after adding :Public Const MAX_MAPS As Long = 100 Link to comment Share on other sites More sharing options...
Ganjika Posted August 26, 2012 Author Share Posted August 26, 2012 > Public _Camera as RECT ._> > This happened after trying to compile after adding :> > Public Const MAX_MAPS As Long = 100Its in modGlobals. This error occurs when attemping to compile and is preventing me from creating the .exe for server (client works fine).I looked on google and some folks who got this error in unrelated code for unrelated to eclipse projects said thatsetting a reference or component fixed it. Link to comment Share on other sites More sharing options...
blkcrow Posted August 26, 2012 Share Posted August 26, 2012 there is no Public Camera as RECT in server and i can find a reason why it should be what changes have you make to the source? Link to comment Share on other sites More sharing options...
Ganjika Posted August 26, 2012 Author Share Posted August 26, 2012 > there is no Public Camera as RECT in server and i can find a reason why it should be what changes have you make to the source?[http://www.touchofde…gon-eclipse-20/](http://www.touchofdeathforums.com/community/index.php?/topic/127573-dragon-eclipse-20/)[Dragon Eclipse thread posted above]This is a copy of dragon eclipse so none other than how dragon eclipse comes out of thedownload (the most recent one that i know of). It is in modglobal, I think i saw it in the source for modglobal online too. Link to comment Share on other sites More sharing options...
blkcrow Posted August 26, 2012 Share Posted August 26, 2012 RECT is a DirectX thing and unless the server uses DirectX it should not be thereanyway in vb6 go to project reference find```DirectX7 for Visual Basic Type Library```and check the boxthis should fix it Link to comment Share on other sites More sharing options...
Ganjika Posted August 26, 2012 Author Share Posted August 26, 2012 > RECT is a DirectX thing and unless the server uses DirectX it should not be there> > anyway in vb6 go to project reference find```> DirectX7 for Visual Basic Type Library> ```and check the box> > this should fix itI did that but now I am recieving the error "compile error: variable not defined' and highlights (in modDatabase)_frmMain_.optMOff.Value = True Link to comment Share on other sites More sharing options...
blkcrow Posted August 26, 2012 Share Posted August 26, 2012 are you sure optMOff exists? Link to comment Share on other sites More sharing options...
Ganjika Posted August 26, 2012 Author Share Posted August 26, 2012 > are you sure optMOff exists?How can I be sure? The part that is highlighted is frmMain Link to comment Share on other sites More sharing options...
blkcrow Posted August 26, 2012 Share Posted August 26, 2012 press F2 the object browser is gonna open. then type optMOff in the second combo box and and hit search. if it doesnt exist there will be "No items found" in the search results Link to comment Share on other sites More sharing options...
Ganjika Posted August 26, 2012 Author Share Posted August 26, 2012 > press F2 the object browser is gonna open. then type optMOff in the second combo box and and hit search. if it doesnt exist there will be "No items found" in the search resultsIt doesn't appear to exist. Link to comment Share on other sites More sharing options...
blkcrow Posted August 26, 2012 Share Posted August 26, 2012 either you messed up somewhere or dragon eclipse was messed up to begin with Link to comment Share on other sites More sharing options...
Ganjika Posted August 26, 2012 Author Share Posted August 26, 2012 downloaded a new install and moved all the files over to it, it works and i'm able to compile as of the new install, if i cant compile after i put files in i will psot back, thanks everyone. =] (not sure what it was, maybe my install was bad :shrug:, i hadn't done anything to it yet up until that point… od). Link to comment Share on other sites More sharing options...
TheLordOfTheManor Posted August 26, 2012 Share Posted August 26, 2012 I had a similar problem when I started using Dragon Eclipse. Turns out I had to run as administrator. Maybe that was your problem? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now