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

juicebox360

Members
  • Posts

    18
  • Joined

  • Last visited

    Never

juicebox360's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. I know the basic NPC name retrieving function, and I know how to use it in the source, but I can't seem to remember how to use it this way: Let's say I talk to a friendly NPC. I want the Player's Text Box to display "You are talking to (character name)". Since the syntax of GetNPCName is ``` Trim$(Npc(Number).Name ``` but I don't know the number of the NPC (meaning I want this to work for all NPCs I talk to, not just one), how do I find the number? When I try to compile VB6 gives me "Variable Not Defined" and highlights Number in Trim$(Npc(Number).Name Thanks in advance.
  2. oops. Forgot to tell you I have Vista. However, the client + server run fine. It's just that I can't get the IP Configuration to work. Oh and thanks for the help - I'm not done yet though. No-one has answered my question,"Is the server IP supposed to be the private IP?"
  3. Ok what you have to do is open the server. Open the client. Login with your account. Go back to the server. Go to the "players" tab. Click your account. Then on the right-hand side there should be a button "Give Access" or "Change Access". Change the value to 5.
  4. Hmm well I have followed every single port forwarding tut on this site and beyond. Currently, I have port 4000 open when I check it on [canyouseeme.org](http://canyouseeme.org) with my public IP Address but my server has my private IP Address (192.168.1.64). Also, when I put in my public IP Address for the client, it says the server isn't online. I've been fiddling around with my router's configurations (BTW my router is a 2Wire Model 2701HG-B and please don't take me to portforward.com - I've tried pretty much everything there) but I still haven't gotten the IP part correct. Or is the server IP address supposed to the private IP address…? I've tried Hamachi too. Problem is, it works sometimes, and then it doesn't work sometimes. Maybe I'll just go back to using Hamachi instead... Thanks for helping!
  5. @Rage: > Please read a VB guide or something. Oh, all right…
  6. @Desiderium: > If you make a tileset 11 it is just wasting memory usage. I agree
  7. With source? Well, I believe there is a much simpler way - merely conglomerate one tileset to another, like this: Copy Tiles2.bmp's contents to the end of Tiles1.bmp's contents, and presto, you have a tileset available for use. However, I'm sure you should wait for a more professional answer… NP, juicebox360
  8. Ok what I need is a picturebox with text that scrolls from bottom to top and loops. I guessing that I need to use a timer and of course, a picturebox but I'm not so sure about the code I'm supposed to put in for it. Do I merely App.Path & "pictureboxscroll.txt" or do I do something else? TY
  9. I'm getting the hang of the mouseover function, but now I'm at a dead end with how to unload it. I tried Unload Image1.Picture, Image1.Picture = _ UnloadResPicture (etc, etc..) and plenty other strings. Can someone give me the function or property related to unloading LoadResPicture? TY! Like my sig, I GOOGLED but the only -good- site was that one site where you have to pay to see the replies to the question. EDIT: SOLVED! Just replaced the Form_Load Image with a transparent icon and then set the same properties on Form_Mouseover. Sure, it has a really weird blinking effect, but I can sacrifice a little aesthetic anomaly!
  10. Argh. I can't get this…. :confused: I wonder how you set a picture property to an Image? As in... ``` 'In the form's Load event procedure, load these variables with the control properties: Private Sub Form_Load() Image1.Picture = C \ Users \ Pickles \ Desktop \ u1.bmp End Sub ```The compiler merely returns the error 11 "division by zero" and highlights Image1.Picture = C \ Users \ Pickles \ Desktop \ u1.bmp and when I place my mouse over the yellow highlighted text it gives me somewhat of a ToolTipText that displays the value "-1174074972". EDIT: SOLVED! I had to utilize the Resource Editor (that one green cube thing). Then I had to call up the resource file (the bitmap) by using the function ``` LoadResPicture(index, format) ```[the index is just an ID assigned to the bitmap (or any other imported resource) when it is uploaded to the project] and also use the predefined constant ``` vbResBitmap ```and from there on I also made it possible to open a new form. Thanks for helping everyone!
  11. OK thanks Hyperion! I'll ask more questions if the need be. Ty
  12. So…sort of like this? ``` Private OrigColor As Long Private OrigSize As Integer Private Sub Form_Load() OrigColor = Command1.BackColor OrigSize = Command1.Font.Size End Sub Private Sub Command1_MouseMove(Button As Integer, Shift As Integer, _ X As Single, Y As Single) Command1.BackColor = vbRed Command1.Font.Size = 14 End Sub Private Sub Form_MouseMove(Button As Integer, Shift As Integer, X As Single, _ Y As Single) Command1.Font.Size = OrigSize Command1.BackColor = OrigColor End Sub ``` What it does is changes a command button on mouseover, then resets when the mouse is moving on the form. Of course, the command button is on Graphical for Style. Is this related to what I am supposed to do?
  13. ty Hyperion. Yeah I know some VB but of course there's always a time where I'll have to look something up! BTW my previous question hasn't been answered yet. Lulz. Thanks again!
  14. Can some please tell me how to use the mouseover, mouseleft, etc in VB6 so I can make some buttons that change colors or "glow" when the mouse is over the button? Also, how do I make buttons that have a picture with the text (sort of like [here](http://www.touchofdeathforums.com/smf/index.php/topic,29217.0.html)? Or is this different?) I have an idea, but it's rather weird when I think about it…in the background, there is a picture/text in the GUI, and when the mouseover event is activated, a new picture/color "replaces" (overlaps) the one in the GUI. However, I don't know how this would allow a smooth "fading" transition. Or is that impossible...
×
×
  • Create New...