Skip to main content
gamedev.net
🔒 Locked

VB help

Started by micon 0 replies 100+ views
Original Post
micon
micon
Im working on a new game much like the game "uplink". A hacking simulator. I chose VB as the language because theres no 3d or real heavy graphics involved in the game. I have a few variables such as Server,Running etc. To show the status of the server. I created a new Module, and set up some variables for a basic server.. such as "Running" "Platform" "Infected" and "Passwords". I have the server set up like this: Sub Servername() run: terminal.additem "Pass?" if pass=pw.text then terminal.additem "******************" terminal.additem "Welcome to June! " terminal.additem "******************" else terminal.additem "incorrect pass" : goto run end sub im somewhat lost on where to go after this. But i need a system that will allow me to browse files/delete files and what not. I just cant seem to figure out how to accomplish this. Please help. Thanks.
Themonkster
Themonkster
I think it''s just a case of modelling the the way fie system works.

create your own server type.

public type server
isRunning as Boolean
serverName as String
driveName as char
fileSystem[25] as fileType ''this would be a type that models a drive.
end type

public type fileType
fileextn as string '' example .txt or bmp
fileSize as integer
fileDate as Date
fileProtection as char
end type


the fileSystem would be an array of files names.

you could store information on these files in a textfile and then parse them in when you create a file system.

I hope this is helpful.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.