| Mirage Source http://web.miragesource.net/forums/ |
|
| An error that won't let me even see the game at all http://web.miragesource.net/forums/viewtopic.php?f=201&t=3759 |
Page 1 of 2 |
| Author: | Poyzin [ Sat May 24, 2008 11:11 pm ] |
| Post subject: | An error that won't let me even see the game at all |
Okay. I have just set up the server. Created account, character. Woo! Time to log in! UH! Error!? I get an error. Click debug. It's hi-lighting this: Sub InitDirectX() ' Initialize direct draw > Set DD = DX.DirectDrawCreate("") frmMirage.Show ' Indicate windows mode application Call DD.SetCooperativeLevel(frmMirage.hWnd, DDSCL_NORMAL) What do I do??? (it's for build 3.03) |
|
| Author: | Asrrin29 [ Sun May 25, 2008 2:00 am ] |
| Post subject: | Re: An error that won't let me even see the game at all |
Make sure all of this is right: Code: Public DX As New DirectX7
Public DD As DirectDraw7 ' Initialize direct draw Set DD = DX.DirectDrawCreate(vbNullString) frmMirage.Show ' Indicate windows mode application Call DD.SetCooperativeLevel(frmMirage.hWnd, DDSCL_NORMAL) |
|
| Author: | Poyzin [ Sun May 25, 2008 2:13 am ] |
| Post subject: | Re: An error that won't let me even see the game at all |
I used what you gave me and when I log in it gives me an error then hi-lights the first "Public" any ideas? |
|
| Author: | Ramsey [ Sun May 25, 2008 2:34 am ] |
| Post subject: | Re: An error that won't let me even see the game at all |
Change 'Public' to 'Dim' |
|
| Author: | Poyzin [ Sun May 25, 2008 2:39 am ] |
| Post subject: | Re: An error that won't let me even see the game at all |
This is bad... now Set DD = DX.DirectDrawCreate(vbNullString) is hi-lighted ROFL..i dont get it...but yes, dim works |
|
| Author: | Coke [ Sun May 25, 2008 11:27 am ] |
| Post subject: | Re: An error that won't let me even see the game at all |
Install directX you flamp. |
|
| Author: | Robin [ Sun May 25, 2008 1:40 pm ] |
| Post subject: | Re: An error that won't let me even see the game at all |
Don't add tutorials you don't understand. Replace: Code: Set DD = DX.DirectDrawCreate(vbNullString) With: Code: Set DD = DX.DirectDrawCreate("")
|
|
| Author: | Lea [ Sun May 25, 2008 5:11 pm ] |
| Post subject: | Re: An error that won't let me even see the game at all |
I don't think there's any functional difference between "" and vbNullString... |
|
| Author: | Poyzin [ Sun May 25, 2008 5:36 pm ] |
| Post subject: | Re: An error that won't let me even see the game at all |
Yea. I figured it out..I have to register the directx7 DLL..and I didn't add any tutorials, 3.0.3 came this way. |
|
| Author: | Robin [ Sun May 25, 2008 6:10 pm ] |
| Post subject: | Re: An error that won't let me even see the game at all |
3.0.3 does not come with: Code: Set DD = DX.DirectDrawCreate(vbNullString) Believe me. |
|
| Author: | Poyzin [ Sun May 25, 2008 6:18 pm ] |
| Post subject: | Re: An error that won't let me even see the game at all |
Hmm..Okay. When I get back, I'll redownload...but I also think I know what happened just by thinking about it. I downloaded 3.0.3 before, added a bunch of tutorials, then messed it up the same way. I deleted it, sending it to the recycling bin, download all versions, trying them out, deleted them.now when I redownloaded 3.0.3, it opened the tutorial infested one. So, I gotta permanently delete all of them, restart, then redownload. ^^ |
|
| Author: | Asrrin29 [ Mon May 26, 2008 12:26 am ] |
| Post subject: | Re: An error that won't let me even see the game at all |
vbnullstring was in my code, I just copied and pasted from what I had, don't blame him |
|
| Author: | Ramsey [ Mon May 26, 2008 1:16 am ] |
| Post subject: | Re: An error that won't let me even see the game at all |
Robin wrote: 3.0.3 does not come with: Code: Set DD = DX.DirectDrawCreate(vbNullString) Believe me. His first post says Code: Set DD = DX.DirectDrawCreate("")
|
|
| Author: | Coke [ Mon May 26, 2008 2:23 am ] |
| Post subject: | Re: An error that won't let me even see the game at all |
I don't think he has dx7 installed, When I saw he had written vbnullstring in a later post I was going to mention it but Robin beat me too it ^_^ And Dave, certain things don't like vbnullstring - dunno why, guessing because "" is actually a physical null string, and vbnullstring is just 'I am nothing don't bother even trying to address me in memory' or something similar? |
|
| Page 1 of 2 | All times are UTC |
| Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |
|