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

Exvayate

Members
  • Posts

    185
  • Joined

  • Last visited

    Never

Everything posted by Exvayate

  1. Hmm I've been searching via Google And they say you have to set their key previews to true so KeyPreview = True [insert technical stuff here] But I did that and inserted it to each individual hotkey command and nothing was different.
  2. Damn I ask a bunch of questions. But it's okay because this can help the community as well! So here I have created a command which toggles the window on picInventory: ``` Private Sub picInvButton_Click() If picInventory.Visible = False Then ' show the window picInventory.Visible = True BltInventory ' play sound PlaySound Sound_ButtonClick Else picInventory.Visible = False ' play sound PlaySound Sound_ButtonClick End If End Sub ``` Here I have set the hotkey in which executes the previous window toggling command: ``` Private Sub picInvButton_KeyDown(KeyCode As Integer, Shift As Integer) If KeyCode = vbKeyI Then picInvButton_Click End If End Sub ``` But when I login to my game and immediately press the hotkey, I, it does NOT open picInventory like I told the program to. However when I click on the button to open picInventory AND THEN press the hotkey, I, only then will the hotkey toggle the Inventory window. I have also created hotkeys for the other buttons for the other windows (Spells/Options/Character/Equipment) But the same situation occurs, where those windows cannot be toggled unless they've been previously clicked. ALSO! After clicking all of the windows to be able to "set" the hotkeys, will NOT allow you to press hotkey I and then S to toggle both windows. So the ONLY way the window can be toggle is clicking it first, then press the key. Then if you wanted to toggle another window, you HAVE to do the same process. I could use some help on how I can be able to press the keys and have all of them toggle as SOON as I enter the game.
  3. I wanted to figure this out on my own after you gave me this information and I did! I have found out how to dim the buffer: Dim Buffer As clsBuffer Dim i As Long Thanks Robin!
  4. Yeah, thanks peeps, I forgot to mention that I have discovered all of this last night. But yes, Yumi, .png's will not work for a stock version of EO for the fact that it runs off of DX7 which cannot support .png image files.
  5. Go towards myself my fellow brethren! >:C
  6. @NamelessSoul: > That would be some days of coding with a glass of coke and a Pizza at your side. > Or, download CrystalShire Developer's Edition. LOL F*ck it :P I'll just stick to good ole' .bmp's. (They're higher in resolution in my opinion…
  7. Thanks, both of you. Haha. However. For future reference, if I wanted to change it from DX7 to DX8, how would I be able to do that? :P
  8. All I've done was go under ModGeneral to change what file the program should read to open as a GUI for a bar. ``` ' main - bars frmMain.imgHPBar.Picture = LoadPicture(App.Path & "\data files\graphics\gui\main\bars\health.jpg") frmMain.imgMPBar.Picture = LoadPicture(App.Path & "\data files\graphics\gui\main\bars\spirit.jpg") frmMain.imgEXPBar.Picture = LoadPicture(App.Path & "\data files\graphics\gui\main\bars\experience.jpg") ``` ``` ' main - bars frmMain.imgHPBar.Picture = LoadPicture(App.Path & "\data files\graphics\gui\main\bars\health.png") frmMain.imgMPBar.Picture = LoadPicture(App.Path & "\data files\graphics\gui\main\bars\spirit.png") frmMain.imgEXPBar.Picture = LoadPicture(App.Path & "\data files\graphics\gui\main\bars\experience.png") ``` And I get the error: Cannot find one or more interface changes. If they exist then you have not extracted to project properly. Please follow the installation instructions carefully. Pretty much all I did was just changed the file extension it should obtain for the image. Also I made new bars in Photoshop and saved it as a .png file so the program could read it and show it after editing ModGeneral. I like .png's or .bmp's because let's face it, the quality of them compared to a .jpg is SOOO much better.
  9. Will the certain type of image quality or file extension cause a lag or slower running time? Let's say in Photoshop you create a GUI for your game and you set the resolution to like 200 pixels/sq in and saved it as a .bmp and you've programmed eclipse to read .bmps for the gui. Would that create a lag in running EO?
  10. Yes you can program Eclipse to have a character creation, as well as letting it open custom image file formats. Let's say you wanted Eclipse to open a character sprite as a .spt, which is not a common file type, but you can make it so that Eclipse can open .spt's. :P Or that's what a good friend of mine says.
  11. We have a Quest System that can be found in the source tutorials section of these forums. Take a look at that. I'm sure it'll be what you're looking for. Please note that in order to install the quest system, you will need your own copy of vb6 to test/debug/compile your game in.
  12. First time dealing with buffers :P Situation: I've made individual buttons to click for the 5 windows (ie:Inventory/Options/Spells/Char/Party) and I haven't tampered with any of the code besides the stock code for it to open a window then closing a previous one that was open. And for the reason for individual buttons is because I've created hotkeys and I don't know how to assign hotkeys to a case in an array and such. Trying to keep is as simple as possible for myself. So here's the code for the button to open the spells list: Private Sub picSpellButton_Click() If picSpells.Visible = False Then ' send packet Set Buffer = New clsBuffer Buffer.WriteLong CSpells SendData Buffer.ToArray() Set Buffer = Nothing ' show the window picSpells.Visible = True ' play sound PlaySound Sound_ButtonClick Else picSpells.Visible = False ' play sound PlaySound Sound_ButtonClick End If End Sub I have changed the color highlighted problem in vb6. I get the message: Error: Variable not defined. At first I thought it was because the code was no longer in the array, but I honestly don't know how to troubleshoot a problem that has to deal with an array. Thanks in advance! :]
  13. If I wanted to render a image somewhere. Would I have to write the code under ModDirectDraw7?
  14. @Sealbreaker: > no. Care to help me out? haha How can you make it so the picturebox will be semi-transparent? :P
  15. If I tell a picture box to open an image file (png/jpeg/bmp) but the file is supposed to be transparent. Will the picture box be transparent when you run the program?
  16. @Frostyy: > Are you sure that it isn't your CPU lagging? I can't see how FL studios with some plug ins can need more than three gigs of ram. Err.. Hell if I knew. I've never had anything better than the current laptop I have. Which is a hand-me-down from my technology-illiterate dad.
  17. @Jungle: > Uh… you know that you don't need a good audio card for that, right? You're supposed to buy an audio interface which costs $200, but is better than getting some audio card that will never produce near the quality that an audio interface does. > > The one thing you should get is a good sound system. That should be purchased completely separate from your computer because an exceptional one will usually range from $500 - $2000\. Of course, there's always Ebay. > > tl;dr Music production is expensive so don't go and waste your money and time on it til you know you're dedicated. Well a system isn't really the case. Sometimes with the extra plugins and modifiers, they take up a LOT of a ram, so just previewing some sounds you've created can really lag your PC. As of now I have 3GB of RAM and have like 3 plugins lag me a bit. And yes I know you don't need anything special just to play sound. :P
  18. @Jungle: > It really depends what you're using it for exactly. Can you tell us what you plan to do with it? Purely made for gaming (being able to play games on the highest quality graphics), a little bit of 3D rendering. I have a copy of FL Studios 9 for music production and I plan on making videos on this pc as well. EDIT: I'm considering on making it an AMD based PC, since AMD is like $100+ less than an Intel bases PC. But hey, with an Intel PC you get a lot for what you've paid for from what I've heard.
  19. @Toshiro: > >Asus motherboard. > >Intel core. > > No. What's wrong with it? Can't just tell me no without giving me a reason haha, otherwise I'll just have to disagree. xD
  20. I plan on doing some 3D rendering. I just wanna try it out, it looks like fun. Also I make videos for projects and presentations.
  21. Here's the link: http://secure.newegg.com/Shopping/ShoppingCartPrintVersion.aspx Not sure if it works lol. If not check out the attachment below This is my first time building a PC and I'd like to know if can there are anyways I can build it for cheaper. My limit is $600 USD. Maybe $650 USD. Right now I have $300 and I'm definately getting the monitor, case, speakers, and a keyboard/mouse. (The motherboard is a MUST have for me.) Stuff like the hard drive, graphics card, power supply, is what I'll need help with getting the right part and ways to get them cheaper. Other than that, let me know if I should get something different or if there is anything wrong with the build. Thanks in advance! :D
  22. Ahh thanks haha. I'me still learning the syntax and commands in vb6\. Thanks for the help guys, MUCH appreciated! :]
  23. Is there a way or command in vb6 that will allow me to make a button to allow a picture to appear and then click it again for it to dissapear? Here's what I've gotten to make the button show the picture: ``` Private Sub Command1_Click() If Picture1.Visible = False Then Picture1.Visible = True End If End Sub ```What is the code to make it so if I click it again it will hide the picture?
  24. Hi, it's me again asking for a slight bit of help! :D I need help getting my player to player messaging system to work. So far I only have the forms done and assigned commands to all the buttons. I've looked for many tutorials on messaging programs but each one came up with IMing clients which is not what I wanted. The messaging system in Eclipse Stable is pretty much what I am aiming for. So I tried copying it (Not by copying and pasting code, but by seeing how the components worked and tried replicating most of the features) But that failed. A few friends of mine are true programmers but they don't work with vb6 however they did give me a tips: 1) Be able to send strings of data to server 2) Server relays/sends off strings to client of [get name of player here] 3) If the player is on then notify else wait for log on and then notify But the thing is is that I've barely touched the server program only to adjust class HP/MP. Pic attached
  25. … Yes... :3 Well I ended making a new img and named it imgMail and made it do the following: ``` Private Sub imgMail_Click() Dim Buffer As clsBuffer Dim i As Long ' If debug mode, handle error then exit out If Options.Debug = 1 Then On Error GoTo errorhandler ' play sound PlaySound Sound_ButtonClick PlaySound LastButtonSound_Main ' open frmMail.Show ' Error handler Exit Sub errorhandler: HandleError "imgButton_Click", "frmMenu", Err.Number, Err.Description, Err.Source, Err.HelpContext Err.Clear Exit Sub End Sub ``` However, everytime I move my mouse even the slightest, it ends up play the sounds over and over until the cursor is moved out of the image. :/ How do I stop it from replaying after every movement. Also, how are all the buttons loading images from the folders?
×
×
  • Create New...