View Poll Results: You wanna help us?

Voters
2. You may not vote on this poll
  • Yes

    0 0%
  • No

    1 50.00%
  • Maybe

    0 0%
  • Nope, sorry!

    1 50.00%
Results 1 to 13 of 13

Thread: saving

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jul 2001
    Location
    Maine
    Posts
    214

    Angry saving

    My friend and i are making a game, and we have it all done except for the saving part. It is single player, and we need a programmer, ANYONE, who knows how to save. If you do then please post here. Thanks,
    Fellow Programmers

  2. #2
    Please post in Project Requests. There is nothing we can do unless we can see the source code for the entire game.

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Jul 2001
    Location
    Maine
    Posts
    214
    uh, first we need to know if anyone is willing to help us maybe
    but um, if u ask for it i can send u the source code or the game or i can attack it here

  4. #4
    Banished Cander's Avatar
    Join Date
    Dec 2000
    Location
    Why do you care?
    Posts
    6,913
    And dont post pointless polls.
    If you ha e a problem ask, there is no reason to post a poll saying Can You help Me?
    Stack Overflow
    See the features of Visual Studio 2010 and C# 4.0: The 10-4 show on Channel9

  5. #5
    Retired VBF Adm1nistrator plenderj's Avatar
    Join Date
    Jan 2001
    Location
    Dublin, Ireland
    Posts
    10,359
    Saving is just normal File I/O, and then figuring out what to do with the information.
    Microsoft MVP : Visual Developer - Visual Basic [2004-2005]

  6. #6
    Originally posted by jeb2022
    uh, first we need to know if anyone is willing to help us maybe
    Uh, that's what Project Requests is for...
    Looking for some developers for your next project? Looking for beta testers? This is the place to post. Please - no spamming though.
    http://www.vbforums.com/forumdisplay.php?s=&forumid=13

  7. #7

    Thread Starter
    Addicted Member
    Join Date
    Jul 2001
    Location
    Maine
    Posts
    214
    fine ill go post over there

  8. #8
    Retired VBF Adm1nistrator plenderj's Avatar
    Join Date
    Jan 2001
    Location
    Dublin, Ireland
    Posts
    10,359
    Jesus filburt, give him a break
    Microsoft MVP : Visual Developer - Visual Basic [2004-2005]

  9. #9
    Originally posted by plenderj
    Jesus filburt, give him a break
    Methinks I should be a moderator.

  10. #10

    Thread Starter
    Addicted Member
    Join Date
    Jul 2001
    Location
    Maine
    Posts
    214
    im just looking for someone who is willing to help

  11. #11
    Retired VBF Adm1nistrator plenderj's Avatar
    Join Date
    Jan 2001
    Location
    Dublin, Ireland
    Posts
    10,359
    Just post exactly what you want done in here.

    Eg.
    "
    If I'm using the following UDTs to store user information, how could I store/load the information to/from the drive ?
    "

    And here's some code for you :

    VB Code:
    1. Option Explicit
    2.  
    3. Private Type playerType
    4.     name As String
    5.     someVar As Long
    6. End Type
    7.  
    8. Private Sub Form_Load()
    9.     Dim myPlayer As playerType, otherPlayer As playerType
    10.     With myPlayer
    11.         .name = "Jamie"
    12.         .someVar = 128
    13.     End With
    14.    
    15.     'write to drive
    16.     Open "c:\something.txt" For Random As #1
    17.         Put #1, , myPlayer
    18.     Close #1
    19.    
    20.     'read from drive
    21.     Open "c:\something.txt" For Random As #1
    22.         Get #1, , otherPlayer
    23.     Close #1
    24.    
    25.     With otherPlayer
    26.         MsgBox "Name : " & .name & vbCrLf & "someVar : " & .someVar
    27.     End With
    28.    
    29. End Sub
    Microsoft MVP : Visual Developer - Visual Basic [2004-2005]

  12. #12

    Thread Starter
    Addicted Member
    Join Date
    Jul 2001
    Location
    Maine
    Posts
    214

    here goes *remember im not that good*

    okies,
    we are making a game, and it's like a single player RPG. so we have an internal clock, etc. every time you level up by getting expirience, you get to add points to your stats, such as hp and strength...so i would like to be able to save on something like an encrypted notepad file:
    how much strength, hp, and defense you have.
    how much gold (bank and your on hand) you have
    and i would like to save the time.
    any help appreciated, and there may be more things as i think of them thx again

  13. #13
    Retired VBF Adm1nistrator plenderj's Avatar
    Join Date
    Jan 2001
    Location
    Dublin, Ireland
    Posts
    10,359
    All you have to do is modify the "Private Type playerType" part and add/remove your bits and pieces.

    In relation to the encryption, there's hundreds of examples of simple encryption on the net.
    Microsoft MVP : Visual Developer - Visual Basic [2004-2005]

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width