Gimulex Posted July 15, 2012 Author Share Posted July 15, 2012 So I was trying to increase the map cap, so i did everything in the following guidehttp://www.touchofdeathforums.com/smf2/index.php/topic,76988.msg825275.html#msg825275when i did make server.exe it told meCompile error:User-defined type not defined.And it highlighted 'DX7 As New DirectX7'Anyone know what happened there and how can I fix it? Link to comment Share on other sites More sharing options...
zerohero Posted July 15, 2012 Share Posted July 15, 2012 ~~Are you using the new nightly release of EO? if so that uses a different drawing method which is directx8 so you will need to make some adjustments in order to use that specific guide.~~Sorry I just read the actual guide, did you update the variable within the client too? Link to comment Share on other sites More sharing options...
Gimulex Posted July 15, 2012 Author Share Posted July 15, 2012 There's a new version of EO? I think it's the old one, but I'm not sure.Edit: No, It didn't let me finish with server first, since when I did make server.exe it showed the error. Link to comment Share on other sites More sharing options...
zerohero Posted July 15, 2012 Share Posted July 15, 2012 @Gimulex:> There's a new version of EO? I think it's the old one, but I'm not sure.Yes the nightly release has a host of new features, including directx8 .png support. Did you change the variable you changed in the server in the client too? Link to comment Share on other sites More sharing options...
Gimulex Posted July 15, 2012 Author Share Posted July 15, 2012 no because i had to do the server first in order to do the client afterwards and when i finished and pressed make server.exe the error showed. Link to comment Share on other sites More sharing options...
zerohero Posted July 15, 2012 Share Posted July 15, 2012 Show me the lines surrounding where you received the error because last time I checked the server should have nothing to do with directx7 o.0 Link to comment Share on other sites More sharing options...
Gimulex Posted July 16, 2012 Author Share Posted July 16, 2012 here it is Link to comment Share on other sites More sharing options...
JohnPony Posted July 16, 2012 Share Posted July 16, 2012 Do you have the DirectX7 library included in the references? Link to comment Share on other sites More sharing options...
Gimulex Posted July 16, 2012 Author Share Posted July 16, 2012 I don't know, how do I check? Link to comment Share on other sites More sharing options...
JohnPony Posted July 16, 2012 Share Posted July 16, 2012 @Gimulex:> I don't know, how do I check?In the IDE go to Project -> References -> And scroll down in the list box till you find DirectX 7 for Visual Basic Type Library Link to comment Share on other sites More sharing options...
Gimulex Posted July 16, 2012 Author Share Posted July 16, 2012 @General:> In the IDE go to Project -> References -> And scroll down in the list box till you find DirectX 7 for Visual Basic Type LibraryWhere is the IDE? I found a folder called IDE but it only had inside 'IDE98' and inside it had this. I'll put in 2 pics. The first one is what is in the IDE 98 folder and the second one is what is in the vb6 folder Link to comment Share on other sites More sharing options...
Ruins of Hell Posted July 16, 2012 Share Posted July 16, 2012 @Gimulex:> Where is the IDE? I found a folder called IDE but it only had inside 'IDE98' and inside it had this. I'll put in 2 pics. The first one is what is in the IDE 98 folder and the second one is what is in the vb6 folderIDE = Integrated Development Environment = (in this case) Visual Basic 6 Application. Link to comment Share on other sites More sharing options...
Gimulex Posted July 16, 2012 Author Share Posted July 16, 2012 @Soul:> IDE = Integrated Development Environment = (in this case) Visual Basic 6 Application.Ok, found it, check marked it. Do I try make server.exe again?Edit: Tried make server.exe again and got the same error but this line was highlightedFunction GetPlayerVital(ByVal Index As Long, ByVal Vital As Vitals) As Long Link to comment Share on other sites More sharing options...
crzyone9584 Posted July 17, 2012 Share Posted July 17, 2012 My question is why are you adding Dx7 to the server. The server shouldn't need the graphics engine…. Link to comment Share on other sites More sharing options...
Gimulex Posted July 17, 2012 Author Share Posted July 17, 2012 @crzy:> My question is why are you adding Dx7 to the server. The server shouldn't need the graphics engine….GeneralPony told me to add it. Link to comment Share on other sites More sharing options...
crzyone9584 Posted July 17, 2012 Share Posted July 17, 2012 Which download of Eclipse are you using? Link to comment Share on other sites More sharing options...
Gimulex Posted July 17, 2012 Author Share Posted July 17, 2012 @crzy:> Which download of Eclipse are you using?Origins Link to comment Share on other sites More sharing options...
Ruins of Hell Posted July 17, 2012 Share Posted July 17, 2012 Make sure you open the server by clicking "server.vbp" in the eo\server folder.But it looks like (from your photo above) that you've seriously messed up the project. You should probably redownload Eclipse's source. Link to comment Share on other sites More sharing options...
Gimulex Posted July 18, 2012 Author Share Posted July 18, 2012 @Soul:> Make sure you open the server by clicking "server.vbp" in the eo\server folder.> > But it looks like (from your photo above) that you've seriously messed up the project. You should probably redownload Eclipse's source.So I download Origins and copy paste the server.vbp and client.vbp to overwrite the other ones? Link to comment Share on other sites More sharing options...
JohnPony Posted July 18, 2012 Share Posted July 18, 2012 #FacepalmI didn't tell you to reference it in the server, reference it in the project file you are getting the error in. In this case its the client, as the server does not use DirectX7.```Function GetPlayerVital(ByVal Index As Long, ByVal Vital As Vitals) As Long```Does the IDE specifically highlight this function, or code within the function? Link to comment Share on other sites More sharing options...
Ruins of Hell Posted July 18, 2012 Share Posted July 18, 2012 @Gimulex:> So I download Origins and copy paste the server.vbp and client.vbp to overwrite the other ones?Yes, also overwrite everything in the src/ folders (client/src and server/src). Link to comment Share on other sites More sharing options...
Gimulex Posted July 20, 2012 Author Share Posted July 20, 2012 Wow it works now! Thanks a lot! 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