Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

DopeyBiach

Members
  • Posts

    81
  • Joined

  • Last visited

    Never

DopeyBiach's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Right, so my port is open and working according to the various port checker tools on the internet. I have another laptop, using the same hub as me (bthomehub4) and for some reason no matter what IP I try I can't get it to connect to my server. I have a dynamic DNS setup which works perfectly everywhere.. EXCEPT on the other laptop! On the other laptop, however, I CAN access my websites on my XAMPP server? I just can not connect to my EO server :/ ANY IDEAS!? D:
  2. Nothing still. :( Thank you for trying, though.
  3. Bump. Is this really that unsolvable..? D:
  4. Okay the Blt code without DDBLT_KEYSRC: ![](http://freemmorpgmaker.com/uploadfiles/796b6baa05708a264600932fe48c5d0c.png) There is a simple little button, it's only use is to Blt, when pressed without DDBLT_KEYSRC, it goes from this: ![](http://freemmorpgmaker.com/uploadfiles/8c569011532c4f12a76188ca279677d8.png) To this - as it should: ![](http://freemmorpgmaker.com/uploadfiles/0ea67468dc1a8daa466dcb615ff58cad.png) Now when I add DDBLT_KEYSRC (the key is set earlier in the code as you can see, check the original post to see how and where) the Blt code looks like this: ![](http://freemmorpgmaker.com/uploadfiles/d810cec2f079610ddccdfb6f8fd3fa4f.png) Now - when I press the process button it goes from this: ![](http://freemmorpgmaker.com/uploadfiles/8c569011532c4f12a76188ca279677d8.png) To this: ![](http://freemmorpgmaker.com/uploadfiles/8c569011532c4f12a76188ca279677d8.png) Without returning a single error or anything. I can't for the life of me figure out what exactly I'm doing wrong. Unless anyone can find a solution maybe a last resort is someone to write a code to od the exact same thing and if it works - provide me with it. Then I should be able to see exactly where I'm going wrong, as it may be small and difficult to find without writing it yourself. It's going to be something so small and silly, isn't it? ![:(](http://www.touchofdeathforums.com/community/public/style_emoticons//sad.png) Thanks to all for helping once again.
  5. Nope, nothing. Thank you for trying, didn't even get an error - I just get nothing. ![:(](http://www.touchofdeathforums.com/community/public/style_emoticons//sad.png)
  6. Thank you for trying to help, it should be simple, incredibly simple. As they say though - "It's always the simple things.." ![
  7. I have done. I'm having no luck though, I can't seem to understand why either. If I was getting an error then I would be happy as I'd know where I was going wrong, but I get get nothing. With DDBLT_KEYSRC there nothing renders at all, yet without DDBLT_KEYSRC it renders fine, but I want transparency. =/ I've been developing at a wicked pace recently, yet something so simple seems to stump me lol.
  8. I've been there many times already. I've also been to countless forums and other resources. I'm relatively new to DX7, most of the examples use full screen - which is difficult for me to set back to window in order to get the code to work. Simple all I want to do. Is with DX7 draw a bitmap to a picture box and remove the background, in a window. No fullscreen applications or dodgy masking techniques and such, it should be such a simple procedure, yet I really seem to be missing something? Thank you for the reply, urgh. D:
  9. This is REALLY grating on me. I can't for the life of me figure out what I'm missing here. It's a simple program where a picture is blitted into a picturebox with the black background removed. When I remove: ``` Or DDBLT_KEYSRC ``` from: ``` DDRVAL = DDS_Primary.Blt(r1, DDS_Buffer, r2, DDBLT_WAIT Or DDBLT_KEYSRC) ``` It then works fine, but that defeats the object as ALL I want to do is simply blit a bmp, to a picturebox, with the background removed. Here is the source, PLEASE HELP. ![:(](http://www.touchofdeathforums.com/community/public/style_emoticons//sad.png) ``` Option Explicit Dim DX As New DirectX7 Dim DD As DirectDraw7 Dim DDS_Primary As DirectDrawSurface7 Dim DDS_Buffer As DirectDrawSurface7 Dim DDSD_Primary As DDSURFACEDESC2 Dim DDSD_Buffer As DDSURFACEDESC2 Dim DD_Clipper As DirectDrawClipper Dim ColorKey As Integer Dim CKey As DDCOLORKEY Dim PixelFormat As DDPIXELFORMAT Dim bInit As Boolean Private Sub cmdProcess_Click() Call Blt End Sub Private Sub Form_Load() Init End Sub Private Sub Init() Set DD = DX.DirectDrawCreate("") Call DD.SetCooperativeLevel(Me.hWnd, DDSCL_NORMAL) DDSD_Primary.lFlags = DDSD_CAPS DDSD_Primary.ddsCaps.lCaps = DDSCAPS_PRIMARYSURFACE Set DDS_Primary = DD.CreateSurface(DDSD_Primary) DDSD_Buffer.lFlags = DDSD_CAPS DDSD_Buffer.ddsCaps.lCaps = DDSCAPS_OFFSCREENPLAIN Set DDS_Buffer = DD.CreateSurfaceFromFile(App.Path & "image.bmp", DDSD_Buffer) ColorKey = vbBlack CKey.high = ColorKey CKey.low = ColorKey Call DDS_Buffer.SetColorKey(DDCKEY_SRCBLT, CKey) Set DD_Clipper = DD.CreateClipper(0) Call DD_Clipper.SetHWnd(picScreen.hWnd) Call DDS_Primary.SetClipper(DD_Clipper) bInit = True End Sub Private Sub Blt() If bInit = False Then Call MsgBox("DirectDraw has not been initialized yet!", vbInformation, "Application Error") Exit Sub End If picScreen.Cls Dim DDRVAL As Long Dim r1 As RECT ' Screen Dim r2 As RECT ' Buffer Call DX.GetWindowRect(picScreen.hWnd, r1) With r2 .Bottom = DDSD_Buffer.lHeight .Right = DDSD_Buffer.lWidth End With DDRVAL = DDS_Primary.Blt(r1, DDS_Buffer, r2, DDBLT_WAIT Or DDBLT_KEYSRC) End Sub Private Sub picScreen_Paint() DD.RestoreAllSurfaces Init End Sub ```
  10. Sorry for the necro, but if anyone's worrying about this. This might bring some reassurance. http://www.crn.com/news/applications-os/240001689/windows-8-will-favor-ipv6-but-continue-ipv4-support.htm
  11. Nvm.. I forgot to remove the layer I orginally wanted to add but couldn't, over-reacted, freaked.. (I've done 2 all nighters in the past 3 days working on my project).. I'm shattered, sorry for the hassle.. But omg, did I REALLY just do that.. LOOOOOOOOOOOOOOOOOOOOOOOOOOOOL!!!!1 ![:D](http://www.touchofdeathforums.com/community/public/style_emoticons//biggrin.png)
  12. It happens to me each and every time I add a new map layer, literally if I just add one more line under Fringe2 in enumerations I get it ![-_-](http://www.touchofdeathforums.com/community/public/style_emoticons//sleep.png) Humbug.. ![](http://i50.tinypic.com/14av0v4.png)
  13. I am and have always been a lover of 2D games, I love the atmosphere of a 2D game, I also love Ultima IV. Ultima IV…... It's like virtual crack.
  14. Could you please upload it to a post or pm it to me? :] - It's only bubblechat.bmp I want ![^_^](http://www.touchofdeathforums.com/community/public/style_emoticons//happy.png)
×
×
  • Create New...