![]() |
Problem in MS4 - Printable Version +- Mirage Engine (https://mirage-engine.uk/forums) +-- Forum: Mirage Source (Nostalgia) (https://mirage-engine.uk/forums/forumdisplay.php?fid=61) +--- Forum: Archive (2006-2011) (https://mirage-engine.uk/forums/forumdisplay.php?fid=18) +---- Forum: Source Code Development (https://mirage-engine.uk/forums/forumdisplay.php?fid=51) +----- Forum: Mirage Source 4 (Visual Basic 6) (https://mirage-engine.uk/forums/forumdisplay.php?fid=44) +------ Forum: Bugs Reports (https://mirage-engine.uk/forums/forumdisplay.php?fid=9) +------ Thread: Problem in MS4 (/showthread.php?tid=3277) Pages:
1
2
|
Problem in MS4 - delden - 04-11-2009 I don't know if it's just me or what to do, But I have a big problem.. This problem is incorperated with the client comiling into a .exe With this code: 'Map Texture variables Public Const MAX_TILE_TEXTURES As Byte = 2 'Number of map files Public Const TILE_TEXTURE_WIDTH As Integer = 256 'Make sure it's a power of 2! Public Const TILE_TEXTURE_HEIGHT As Integer = 1024 'Ditto Public Tiles(1 To MAX_TILE_TEXTURES) As Direct3DTexture8 'This stores the image files Okay, Time to break the code down to the problem. Tiles(1 To MAX_TILE_TEXTURES) As Direct3DTexture8 Comes up with problem when compiling to .exe "Compile error: Can't find project or library" I do so hope I have given infomation that will be able to help me and others in some way, Shape or form. Please do not spam this topic with "I have this problem to" things, I just what a straight awnser thus other people with problem can be sent here. Re: Problem in MS4 - GIAKEN - 04-11-2009 Add DirectX8 to Project > References. Re: Problem in MS4 - delden - 04-11-2009 GIAKEN Wrote:Add DirectX8 to Project > References.Sorry to ask such a stupid question but, How would this be done? Yes I know I am nub at this thats just because I am new to it and just getting used to VB6.0 Thank you for you're help GIAKEN. Re: Problem in MS4 - Robin - 04-11-2009 This is the section for posting bugs with MS4. MS4 doesn't use DX8. >_>; Re: Problem in MS4 - delden - 04-11-2009 Robin Wrote:This is the section for posting bugs with MS4.I have not seen any sections for problems like these. I just want to learn how to fix this, is that so much to ask?... >__> How can MS4 not use DX8 look "'Main Variables Public dx As DirectX8 Re: Problem in MS4 - Robin - 04-11-2009 Oh, Harold released a shitty new version. Yeah, that's his personal edit, not an official release. Sorry, didn't notice he fucked up that as well. Re: Problem in MS4 - delden - 04-11-2009 Robin Wrote:Oh, Harold released a shitty new version.So, Do you know how to do? :/ Re: Problem in MS4 - Robin - 04-11-2009 Add DirectX8 to Project > References. Re: Problem in MS4 - delden - 04-11-2009 Robin Wrote:Add DirectX8 to Project > References.If you read up you'd notice me say that I am new and don't see References inside of project. :[ Re: Problem in MS4 - Robin - 04-11-2009 delden Wrote:Robin Wrote:Add DirectX8 to Project > References.If you read up you'd notice me say that I am new and don't see References inside of project. At the top of VB6, in the menu, there's 'File, Edit, View, Project' etc. Click Project, like I said. Then click References, like I said. Re: Problem in MS4 - delden - 04-11-2009 Robin Wrote:I don't see DirectX8 inside references... >__>delden Wrote:Robin Wrote:Add DirectX8 to Project > References.If you read up you'd notice me say that I am new and don't see References inside of project. Re: Problem in MS4 - GIAKEN - 04-11-2009 Need to download dx8vb.dll Also I didn't release a DX8 version of MS4. It was somebody else (Harry or somebody?). Re: Problem in MS4 - delden - 04-11-2009 Thanks for all you're help people. But now I have another error to do with font or something. Public MainFontDesc As IFont Do I need another .dll or something? Also could I get a list of all the .dll's i need for other errors. Re: Problem in MS4 - GIAKEN - 04-11-2009 http://www.asphodelgames.com/community/ ... ?f=3&t=204 Re: Problem in MS4 - delden - 04-11-2009 GIAKEN Wrote:http://www.asphodelgames.com/community/viewtopic.php?f=3&t=204Can you tell me what ones I need to add to it?? O__o Not all of them let me add them, So what ones? o__o Re: Problem in MS4 - GIAKEN - 04-11-2009 Umm just install the runtimes there? Re: Problem in MS4 - delden - 04-11-2009 GIAKEN Wrote:Umm just install the runtimes there?I did, Still says same error xP Sorry if my nubbyness becomes a problem, I just wanna get there errors out of the way so I can get to work. Re: Problem in MS4 - GIAKEN - 04-11-2009 Not sure about that last error. Explain exactly what it's telling you? Re: Problem in MS4 - Robin - 04-11-2009 What copy of VB6 are you running? Re: Problem in MS4 - delden - 04-11-2009 I'm running on the normal VB6.0 Alright here is the full code. 'Font Variavles Public MainFontDx8 As D3DXFont Public MainFontDesc As IFont 'We use this temporarily to setup the font 'Public TextRect As RECT 'This defines where the font will go Dim fnt As New StdFont 'This is also used to describe and setup the font Not i'm gonna break it down to the error. Public MainFontDesc As IFont 'We use this temporarily to setup the font The error says "Compile error: User-defined type not defined" I have downloaded the Asphodel thing and everything. I hope one of you can help. Re: Problem in MS4 - Robin - 04-11-2009 Download the source again. If you don't have the proper references, open the source up then save it, you'll break it even if you download the references later. Re: Problem in MS4 - GIAKEN - 04-11-2009 Robin Wrote:Download the source again. Yep. If you get a notification about missing references and you OK it VB6 will remove the code using it. (or at least it removes the controls? I think) Re: Problem in MS4 - delden - 04-11-2009 Re-downloaded and a new error has came up. Heres the code. Public Sub CheckSprites() Dim i As Long i = 1 'While FileExist(GFX_PATH & "sprites\" & i & GFX_EXT) ' MAX_SPRITE_TEXTURES = MAX_SPRITE_TEXTURES + 1 ' i = i + 1 Wend Now to break it down to the error Wend Error says "Compile error: Wend without While" I always get so many errors >__> Re: Problem in MS4 - GIAKEN - 04-11-2009 'While FileExist(GFX_PATH & "sprites\" & i & GFX_EXT) ' MAX_SPRITE_TEXTURES = MAX_SPRITE_TEXTURES + 1 ' i = i + 1 Wend Remove the ' there. This is a common error with the source. Re: Problem in MS4 - Robin - 04-11-2009 I went through and there's various problems with it. All are easy to fix. |