Mirage Source

Free ORPG making software.
It is currently Thu Mar 28, 2024 3:22 pm

All times are UTC




Post new topic Reply to topic  [ 1258 posts ]  Go to page 1, 2, 3, 4, 5 ... 51  Next
Author Message
 Post subject: Problem in MS4
PostPosted: Wed Nov 04, 2009 3:16 am 
Offline
Newbie

Joined: Fri Oct 30, 2009 11:10 am
Posts: 16
Location: Under you're bed
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.

_________________
Trying just leads to failure.
Not trying leads to not knowing if you will fail.
I am a kid at heart that is why I like cartoons, If you do not like that then please keep it to you're self.
Omg! a 400 character limit in signature, Should I spam the signature??... Nah.
Naruto fan!
Pokemon fan!
All arround nerd!


Last edited by delden on Wed Nov 04, 2009 4:15 am, edited 2 times in total.

Top
 Profile  
 
 Post subject: Re: Problem in MS4
PostPosted: Wed Nov 04, 2009 3:18 am 
Offline
Persistant Poster
User avatar

Joined: Thu Mar 29, 2007 10:30 pm
Posts: 1510
Location: Virginia, USA
Google Talk: hpmccloud@gmail.com
Add DirectX8 to Project > References.

_________________
Nean wrote:
Yes harold. Give it to me.

Image
Image


Top
 Profile  
 
 Post subject: Re: Problem in MS4
PostPosted: Wed Nov 04, 2009 3:22 am 
Offline
Newbie

Joined: Fri Oct 30, 2009 11:10 am
Posts: 16
Location: Under you're bed
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.

_________________
Trying just leads to failure.
Not trying leads to not knowing if you will fail.
I am a kid at heart that is why I like cartoons, If you do not like that then please keep it to you're self.
Omg! a 400 character limit in signature, Should I spam the signature??... Nah.
Naruto fan!
Pokemon fan!
All arround nerd!


Top
 Profile  
 
 Post subject: Re: Problem in MS4
PostPosted: Wed Nov 04, 2009 3:35 am 
Offline
Submit-Happy
User avatar

Joined: Fri Jun 16, 2006 7:01 am
Posts: 2768
Location: Yorkshire, UK
This is the section for posting bugs with MS4.

MS4 doesn't use DX8. >_>;

_________________
Quote:
Robin:
Why aren't maps and shit loaded up in a dynamic array?
Jacob:
the 4 people that know how are lazy
Robin:
Who are those 4 people?
Jacob:
um
you, me, and 2 others?


Image


Top
 Profile  
 
 Post subject: Re: Problem in MS4
PostPosted: Wed Nov 04, 2009 3:38 am 
Offline
Newbie

Joined: Fri Oct 30, 2009 11:10 am
Posts: 16
Location: Under you're bed
Robin wrote:
This is the section for posting bugs with MS4.

MS4 doesn't use DX8. >_>;

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 <--
Public d3d As Direct3D8
Public d3ddev As Direct3DDevice8"

_________________
Trying just leads to failure.
Not trying leads to not knowing if you will fail.
I am a kid at heart that is why I like cartoons, If you do not like that then please keep it to you're self.
Omg! a 400 character limit in signature, Should I spam the signature??... Nah.
Naruto fan!
Pokemon fan!
All arround nerd!


Top
 Profile  
 
 Post subject: Re: Problem in MS4
PostPosted: Wed Nov 04, 2009 4:19 am 
Offline
Submit-Happy
User avatar

Joined: Fri Jun 16, 2006 7:01 am
Posts: 2768
Location: Yorkshire, UK
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.

_________________
Quote:
Robin:
Why aren't maps and shit loaded up in a dynamic array?
Jacob:
the 4 people that know how are lazy
Robin:
Who are those 4 people?
Jacob:
um
you, me, and 2 others?


Image


Top
 Profile  
 
 Post subject: Re: Problem in MS4
PostPosted: Wed Nov 04, 2009 4:25 am 
Offline
Newbie

Joined: Fri Oct 30, 2009 11:10 am
Posts: 16
Location: Under you're bed
Robin wrote:
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.

So, Do you know how to do? :/

_________________
Trying just leads to failure.
Not trying leads to not knowing if you will fail.
I am a kid at heart that is why I like cartoons, If you do not like that then please keep it to you're self.
Omg! a 400 character limit in signature, Should I spam the signature??... Nah.
Naruto fan!
Pokemon fan!
All arround nerd!


Top
 Profile  
 
 Post subject: Re: Problem in MS4
PostPosted: Wed Nov 04, 2009 4:29 am 
Offline
Submit-Happy
User avatar

Joined: Fri Jun 16, 2006 7:01 am
Posts: 2768
Location: Yorkshire, UK
Add DirectX8 to Project > References.

_________________
Quote:
Robin:
Why aren't maps and shit loaded up in a dynamic array?
Jacob:
the 4 people that know how are lazy
Robin:
Who are those 4 people?
Jacob:
um
you, me, and 2 others?


Image


Top
 Profile  
 
 Post subject: Re: Problem in MS4
PostPosted: Wed Nov 04, 2009 4:31 am 
Offline
Newbie

Joined: Fri Oct 30, 2009 11:10 am
Posts: 16
Location: Under you're bed
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.
:[

_________________
Trying just leads to failure.
Not trying leads to not knowing if you will fail.
I am a kid at heart that is why I like cartoons, If you do not like that then please keep it to you're self.
Omg! a 400 character limit in signature, Should I spam the signature??... Nah.
Naruto fan!
Pokemon fan!
All arround nerd!


Top
 Profile  
 
 Post subject: Re: Problem in MS4
PostPosted: Wed Nov 04, 2009 4:32 am 
Offline
Submit-Happy
User avatar

Joined: Fri Jun 16, 2006 7:01 am
Posts: 2768
Location: Yorkshire, UK
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.

_________________
Quote:
Robin:
Why aren't maps and shit loaded up in a dynamic array?
Jacob:
the 4 people that know how are lazy
Robin:
Who are those 4 people?
Jacob:
um
you, me, and 2 others?


Image


Top
 Profile  
 
 Post subject: Re: Problem in MS4
PostPosted: Wed Nov 04, 2009 4:42 am 
Offline
Newbie

Joined: Fri Oct 30, 2009 11:10 am
Posts: 16
Location: Under you're bed
Robin wrote:
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.

I don't see DirectX8 inside references... >__>

_________________
Trying just leads to failure.
Not trying leads to not knowing if you will fail.
I am a kid at heart that is why I like cartoons, If you do not like that then please keep it to you're self.
Omg! a 400 character limit in signature, Should I spam the signature??... Nah.
Naruto fan!
Pokemon fan!
All arround nerd!


Top
 Profile  
 
 Post subject: Re: Problem in MS4
PostPosted: Wed Nov 04, 2009 4:48 am 
Offline
Persistant Poster
User avatar

Joined: Thu Mar 29, 2007 10:30 pm
Posts: 1510
Location: Virginia, USA
Google Talk: hpmccloud@gmail.com
Need to download dx8vb.dll

Also I didn't release a DX8 version of MS4. It was somebody else (Harry or somebody?).

_________________
Nean wrote:
Yes harold. Give it to me.

Image
Image


Top
 Profile  
 
 Post subject: Re: Problem in MS4
PostPosted: Wed Nov 04, 2009 6:17 am 
Offline
Newbie

Joined: Fri Oct 30, 2009 11:10 am
Posts: 16
Location: Under you're bed
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.

_________________
Trying just leads to failure.
Not trying leads to not knowing if you will fail.
I am a kid at heart that is why I like cartoons, If you do not like that then please keep it to you're self.
Omg! a 400 character limit in signature, Should I spam the signature??... Nah.
Naruto fan!
Pokemon fan!
All arround nerd!


Top
 Profile  
 
 Post subject: Re: Problem in MS4
PostPosted: Wed Nov 04, 2009 6:31 am 
Offline
Persistant Poster
User avatar

Joined: Thu Mar 29, 2007 10:30 pm
Posts: 1510
Location: Virginia, USA
Google Talk: hpmccloud@gmail.com
http://www.asphodelgames.com/community/ ... ?f=3&t=204

_________________
Nean wrote:
Yes harold. Give it to me.

Image
Image


Top
 Profile  
 
 Post subject: Re: Problem in MS4
PostPosted: Wed Nov 04, 2009 7:01 am 
Offline
Newbie

Joined: Fri Oct 30, 2009 11:10 am
Posts: 16
Location: Under you're bed
GIAKEN wrote:
http://www.asphodelgames.com/community/viewtopic.php?f=3&t=204

Can 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

_________________
Trying just leads to failure.
Not trying leads to not knowing if you will fail.
I am a kid at heart that is why I like cartoons, If you do not like that then please keep it to you're self.
Omg! a 400 character limit in signature, Should I spam the signature??... Nah.
Naruto fan!
Pokemon fan!
All arround nerd!


Top
 Profile  
 
 Post subject: Re: Problem in MS4
PostPosted: Wed Nov 04, 2009 7:15 am 
Offline
Persistant Poster
User avatar

Joined: Thu Mar 29, 2007 10:30 pm
Posts: 1510
Location: Virginia, USA
Google Talk: hpmccloud@gmail.com
Umm just install the runtimes there?

_________________
Nean wrote:
Yes harold. Give it to me.

Image
Image


Top
 Profile  
 
 Post subject: Re: Problem in MS4
PostPosted: Wed Nov 04, 2009 7:16 am 
Offline
Newbie

Joined: Fri Oct 30, 2009 11:10 am
Posts: 16
Location: Under you're bed
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.

_________________
Trying just leads to failure.
Not trying leads to not knowing if you will fail.
I am a kid at heart that is why I like cartoons, If you do not like that then please keep it to you're self.
Omg! a 400 character limit in signature, Should I spam the signature??... Nah.
Naruto fan!
Pokemon fan!
All arround nerd!


Top
 Profile  
 
 Post subject: Re: Problem in MS4
PostPosted: Wed Nov 04, 2009 7:22 am 
Offline
Persistant Poster
User avatar

Joined: Thu Mar 29, 2007 10:30 pm
Posts: 1510
Location: Virginia, USA
Google Talk: hpmccloud@gmail.com
Not sure about that last error. Explain exactly what it's telling you?

_________________
Nean wrote:
Yes harold. Give it to me.

Image
Image


Top
 Profile  
 
 Post subject: Re: Problem in MS4
PostPosted: Wed Nov 04, 2009 7:28 am 
Offline
Submit-Happy
User avatar

Joined: Fri Jun 16, 2006 7:01 am
Posts: 2768
Location: Yorkshire, UK
What copy of VB6 are you running?

_________________
Quote:
Robin:
Why aren't maps and shit loaded up in a dynamic array?
Jacob:
the 4 people that know how are lazy
Robin:
Who are those 4 people?
Jacob:
um
you, me, and 2 others?


Image


Top
 Profile  
 
 Post subject: Re: Problem in MS4
PostPosted: Wed Nov 04, 2009 7:32 am 
Offline
Newbie

Joined: Fri Oct 30, 2009 11:10 am
Posts: 16
Location: Under you're bed
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.

_________________
Trying just leads to failure.
Not trying leads to not knowing if you will fail.
I am a kid at heart that is why I like cartoons, If you do not like that then please keep it to you're self.
Omg! a 400 character limit in signature, Should I spam the signature??... Nah.
Naruto fan!
Pokemon fan!
All arround nerd!


Top
 Profile  
 
 Post subject: Re: Problem in MS4
PostPosted: Wed Nov 04, 2009 7:38 am 
Offline
Submit-Happy
User avatar

Joined: Fri Jun 16, 2006 7:01 am
Posts: 2768
Location: Yorkshire, UK
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.

_________________
Quote:
Robin:
Why aren't maps and shit loaded up in a dynamic array?
Jacob:
the 4 people that know how are lazy
Robin:
Who are those 4 people?
Jacob:
um
you, me, and 2 others?


Image


Top
 Profile  
 
 Post subject: Re: Problem in MS4
PostPosted: Wed Nov 04, 2009 7:51 am 
Offline
Persistant Poster
User avatar

Joined: Thu Mar 29, 2007 10:30 pm
Posts: 1510
Location: Virginia, USA
Google Talk: hpmccloud@gmail.com
Robin wrote:
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.


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)

_________________
Nean wrote:
Yes harold. Give it to me.

Image
Image


Top
 Profile  
 
 Post subject: Re: Problem in MS4
PostPosted: Wed Nov 04, 2009 7:52 am 
Offline
Newbie

Joined: Fri Oct 30, 2009 11:10 am
Posts: 16
Location: Under you're bed
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 >__>

_________________
Trying just leads to failure.
Not trying leads to not knowing if you will fail.
I am a kid at heart that is why I like cartoons, If you do not like that then please keep it to you're self.
Omg! a 400 character limit in signature, Should I spam the signature??... Nah.
Naruto fan!
Pokemon fan!
All arround nerd!


Top
 Profile  
 
 Post subject: Re: Problem in MS4
PostPosted: Wed Nov 04, 2009 7:54 am 
Offline
Persistant Poster
User avatar

Joined: Thu Mar 29, 2007 10:30 pm
Posts: 1510
Location: Virginia, USA
Google Talk: hpmccloud@gmail.com
'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.

_________________
Nean wrote:
Yes harold. Give it to me.

Image
Image


Top
 Profile  
 
 Post subject: Re: Problem in MS4
PostPosted: Wed Nov 04, 2009 8:31 am 
Offline
Submit-Happy
User avatar

Joined: Fri Jun 16, 2006 7:01 am
Posts: 2768
Location: Yorkshire, UK
I went through and there's various problems with it.

All are easy to fix.

_________________
Quote:
Robin:
Why aren't maps and shit loaded up in a dynamic array?
Jacob:
the 4 people that know how are lazy
Robin:
Who are those 4 people?
Jacob:
um
you, me, and 2 others?


Image


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1258 posts ]  Go to page 1, 2, 3, 4, 5 ... 51  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 11 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group