Search found 151 matches
- Fri Sep 14, 2007 5:22 am
- Forum: QBASIC and QB64 Questions & Answers
- Topic: getting ALL the data from a .exe file? Please Help Me
- Replies: 9
- Views: 12101
Right but what I want to know is after getting data form the begenning of the file to the middle of the file then gett the data from the middle of the file to the end of the file in binary. You probably didn't understand. You don't get blocks of data. You get one character at a time. Here is a simp...
- Thu Sep 13, 2007 4:47 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: Text Saving and Loading Help?
- Replies: 14
- Views: 18594
Loading data, text, and events to the program. Like couple of rooms would be stored to the QB program, while all else is in notepad. And when the person leaves, some data is saved, and everything else is loaded. Well, Mentat, I decided to write a game just for you: http://www.network54.com/Forum/19...
- Wed Sep 12, 2007 8:21 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: getting ALL the data from a .exe file? Please Help Me
- Replies: 9
- Views: 12101
No idea what you are talking about
DIM $$$
There is no such thing.
Who told you that EXE files consisted of three sections of 60000 each?
Simply read the file as binary. There are no sections to remove.
Mac
There is no such thing.
Who told you that EXE files consisted of three sections of 60000 each?
Simply read the file as binary. There are no sections to remove.
Mac
- Tue Sep 11, 2007 9:29 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: Text Saving and Loading Help?
- Replies: 14
- Views: 18594
classic?
But aren't genuine loading screens clasic? Sorry, I don't follow. (Bit slow at times) I don't know what a "loading screen" is, nor what "classic" implies in this context. If you are asking if there is a standard way to put data on the screen, the answer is "no". Each p...
- Tue Sep 11, 2007 9:18 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: RPG battle engine help
- Replies: 19
- Views: 27899
Mac, are you trying to hijack vkstylez' thread? I'm sure Mentat wasn't aware that it isn't 'courteous' to stray from the thread topic, which is a natural event for anyone on this forum. Just trying to help. This isn't the only forum in the universe. There are many such as www.CraigsList.org. They a...
- Tue Sep 11, 2007 9:04 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: Prog Help plz
- Replies: 10
- Views: 18843
Re: Prog Help plz
1)24,24,26,28,27,(predict the next number) 2)27,30,30,29,24,(predict the next number) 3)29,29,29,29,25,(predict the next number) 4)30,24,25,26,27,(predict the next number) 5)27,28,28,24,26,(predict the next number) Well, you say you are out of practice programming. Maybe so, but this is not a progr...
- Tue Sep 11, 2007 8:52 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: List of fancy little QuickBasic coding tricks
- Replies: 5
- Views: 12979
Well, if you are really serious about advanced techniques, see http://www.network54.com/Forum/178387/message/1069000429 Otherwise, as I said, just look at code. You can see a lot of my programs at http://www.network54.com/Forum/178387/message/1152556572 but you are better off looking at programs fro...
- Tue Sep 11, 2007 4:13 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: Text Saving and Loading Help?
- Replies: 14
- Views: 18594
I'm trying to save and load the vertices of cubes (3d) and lots of them. You might want to study this program http://www.network54.com/Forum/178387/message/1178554335 It is Pongg by Bob Seguin. It shows how to build an array in one phase and save the array as one IO command (BSAVE). Then, in anothe...
- Tue Sep 11, 2007 3:56 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: List of fancy little QuickBasic coding tricks
- Replies: 5
- Views: 12979
Re: List of fancy little QuickBasic quirks
{quote="ThemePark"}between a so-and-so programmer, and a show-off programmer.{/quote} "show-off"?? LOL! Anyway, I haven't seen any collection of coding tricks. Mostly, I pick them up from reading other people's code. Maybe someone like Solitaire brings my attention to INPUT$ whic...
- Tue Sep 11, 2007 3:29 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: RPG battle engine help
- Replies: 19
- Views: 27899
Just a note
I see you're just as egocentric as ever. My intent, should you choose to believe it or not, was to focus the OP on the model program I gave. Using that, he can develop the subroutines as required and make a nice RPG exactly according to his wishes. I am not familiar with you so I don't know where t...
- Mon Sep 10, 2007 7:38 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: RPG battle engine help
- Replies: 19
- Views: 27899
Wrong thread
Are you hijacking vkstylez' thread, Mentat? I suggest starting a new thread with your problem. Let's stick with vkstylez here, to be courteous.
vkstyles wants to know how to organize his code, not how to do the whole thing.
Mac
vkstyles wants to know how to organize his code, not how to do the whole thing.
Mac
- Mon Sep 10, 2007 1:44 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: Compiling
- Replies: 11
- Views: 24878
Right
Also note that it annoys the death out of people like me when I download something that isn't compiled. Sometimes there are unforseen problems that would have been fixed if they just compiled it. But there is also lot's of peoples who dont like to download/run .exe files so easily, like me ;) So if...
- Mon Sep 10, 2007 6:24 am
- Forum: QBASIC and QB64 Questions & Answers
- Topic: RPG battle engine help
- Replies: 19
- Views: 27899
- Sun Sep 09, 2007 7:52 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: RPG battle engine help
- Replies: 19
- Views: 27899
Good
n/t
- Sun Sep 09, 2007 7:11 am
- Forum: QBASIC and QB64 Questions & Answers
- Topic: RPG battle engine help
- Replies: 19
- Views: 27899
- Fri Sep 07, 2007 8:53 am
- Forum: QBASIC and QB64 Questions & Answers
- Topic: RPG battle engine help
- Replies: 19
- Views: 27899
Re: RPG battle engine help
What i need...a much better layout and set of codes. 'NOTE CLEAR UP THIS AND ADD COLOUR DAMMIT I advise to forget colour until everything else is working perfectly. Below is a "much better layout". DECLARE SUB demo (n$) CLS PRINT "The name of this game is blah-blah" PRINT : PRIN...
- Tue Sep 04, 2007 2:07 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: Large arrays
- Replies: 5
- Views: 8241
Good work
After reviewing my code, I see I only need approx 500*5 Good man!! Nearly every time someone needs more space or a faster computer, etc., it turns out that they really need to code better. In 1961, I managed a team that wrote an operating system for the Joint Chief's Command Center at the Pentagon....
- Mon Sep 03, 2007 8:13 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: Read/Data error!
- Replies: 7
- Views: 14414
The only way I know of adding remarks to the end of a DATA line is by putting a colon at the end of them Good point, Dav! I forgot about that. And I usually always use colon before remarks to keep the spacing. I hate it when x = 1 'First guy becomes x = 1'First guy so I do x = 1: ' First guy I shou...
- Sun Sep 02, 2007 6:00 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: Best iterating through all values for all elements in array
- Replies: 14
- Views: 20401
So 4x4x4 is 4,294,967,000 cases?
LOL! I stopped the program after a while and got 1 1 2 1 2 4 3 1 4 2 4 1 2 4 2 3 1 1 2 1 2 4 3 1 4 2 4 1 2 4 2 4 1 1 2 1 2 4 3 1 4 2 4 1 2 4 3 1 1 1 2 1 2 4 3 1 4 2 4 1 2 4 3 2 1 1 2 1 2 4 3 1 4 2 4 1 2 4 3 3 75029626 out of 4294967296 took 6929.242 Not much progress after nearly 2 hours. Would prob...
- Sun Sep 02, 2007 3:44 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: Best iterating through all values for all elements in array
- Replies: 14
- Views: 20401
Here
Here is the best generate-array/test-array algorithm I can do 'DEFSTR A-Z ' Remove after ensuring all variables are defined DIM a(3, 3) AS INTEGER, v AS INTEGER DIM i AS INTEGER, j AS INTEGER FOR i = 1 TO 3: FOR j = 1 TO 3: a(i, j) = 1: NEXT j: NEXT i DIM Cases AS INTEGER DO GOSUB TestArray Cases = ...