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

Slasheree

Members
  • Posts

    588
  • Joined

  • Last visited

    Never

Everything posted by Slasheree

  1. have you guys already checked the code on my game ? o: or will you only check after it ends ?
  2. Would Nintendo let you use pokemon silver sprites, since they are so outdated ? D:
  3. cause I was the first one to post XD
  4. I'm gonna lose then ![:(](http://www.touchofdeathforums.com/community/public/style_emoticons//sad.png)
  5. 2012 has already ended in some place XDD [EDIT] Australia :b [EDIT 2] China o:
  6. what's gonna be rated it's the code and not the graphics right ? o:
  7. the lens on the left seems bigger than the right one XP
  8. none of the variables was out of range, but don't worry anymore, I fixed it now after lunch XD
  9. Still haven't found a way to fix it s:
  10. My next try looks like the Nazguls XDD ![](http://img32.imageshack.us/img32/4324/nazgulhelmet.png)
  11. With this tutorial I'll show you the way I found to take screenshots of your game, this source with some modifications will surely work with any other version of Eclipse. First let's start by going to where the engine handles when a key goes up (HandleKeyUp in CS:DE) Add below If Not chatOn Then ``` If keyCode = vbKeySnapshot Then TakeScreenShot End If ``` Then in the form where the graphics are processed (frmMain in CS:DE) add a picturebox of any size (I made small) and name it Picture1 Then in the Form_Load() add this anywhere in it: ``` Picture1.height = 600 Picture1.Width = 800 Picture1.top = 0 Picture1.left = 0 ``` Then we will add the function to actually take the screenshot, go to modDirectX8 and add in the bottom ``` Public Function TakeScreenShot() Dim filename As String Dim i As Long Dim imX As Long Dim imY As Long 'align form, because it gets the screenshot wrong in some positions... With frmMain .top = (Screen.height - .height) / 2 .left = (Screen.Width - .Width) / 2 End With 'check for a "free" name Do i = i + 1 filename = App.path & "\screenshot_" & Format(i, "0000") & ".bmp" Loop Until Len(dir(filename)) = 0 'take and save uncropped screenshot keybd_event vbKeySnapshot, 0, 0, 0 'will pretend you pressed the Print Screen button DoEvents SavePicture Clipboard.GetData(vbCFBitmap), filename DoEvents 'load and edit the screenshot (crop) imX = (((Screen.Width + frmMain.left) - Screen.Width) / 15) + 3 imY = (((Screen.height + frmMain.top) - Screen.height) / 15) + 25 frmMain.Picture1.PaintPicture LoadPicture(filename), 0, 0, 800, 600, imX, imY, 800, 600 'save screenshot cropped Kill filename SavePicture frmMain.Picture1.Image, filename DoEvents 'send message so they know it worked AddText "Screenshot saved [" & Right$(filename, 16) & "]", BrightBlue End Function ``` And I guess we are done ![:)](http://www.touchofdeathforums.com/community/public/style_emoticons//smile.png) I hope this works for you, if it doesn't maybe it's because I edited the engine too much, but here is some important information 1- in imY = (((Screen.height + frmMain.top) - Screen.height) / 15) + 25 I divided by 15 because of a conversion needed for the twips and added 25 because it's the thickness of the part of the form that has the name and minimize maximize and close buttons, this might mess up the screenshot for people with a dpi different from 100% (96dpi I think) 2- I still haven't fully tested this with other monitor resolutions, gotta free up some space in my desktop to change and test, or maybe you could give me some feedback on what happens to you ![:)](http://www.touchofdeathforums.com/community/public/style_emoticons//smile.png) [EDIT] Forgot to say that to take a screenshot you use the Print Screen button ![:P](http://www.touchofdeathforums.com/community/public/style_emoticons//tongue.png)
  12. just gotta finish my common bank system, maybe I'll post it tomorrow
  13. I just made a function for my 'modded' version of CS:DE to save a screenshot of the game, is it worth making some sort of tutorial for it ? since many people don't use it. (It will surely work with the other versions, but it would need some code change, I could still post the base of it)
  14. Slasheree

    CPS Question

    I get 990[Locked] and 11700[Unlocked] , is that good or bad ? :s
  15. I think it is really easy to implement, I ripped from Eclipse (dunno which version, think it was Dawn) edited it to work in CS:DE (Dx8) and it's working well
  16. Cool, I made a similar system, but it's more of a whitelist style, on login it goes to a .txt get the name of the players allowed to enter. Gonna use it for the Closed-Beta of my game ![:)](http://www.touchofdeathforums.com/community/public/style_emoticons//smile.png)
  17. So, I need a website in which I can put my files for the auto-updater. Any suggestions ?
  18. I made this Swimming Cap Player with Cap: >! ![](http://imageshack.us/scaled/landing/651/72580101.png) Cap Only >! ![](http://imageshack.us/scaled/landing/525/74181841.png)
×
×
  • Create New...