Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Shaking the screen in screen mode thirteen
#11
megaman you know the thing.bas i got when you send me cobra it goes on forever
url=http://www.spreadfirefox.com/?q=affiliates&id=0&t=79][Image: safer.gif][/url]
Reply
#12
:???: Half the time now my RPG.BAS says "Out of Memory" when I try to run or edit it or read help when it's open. Is it just getting too big? I've tried deleting needless SUBs.

In several different subs, I have a "DIM Bac(1000)" for doing GET/PUTs now. That might be causing the problem, but shouldn't it go away when you get out of the SUB?

By the way, a new version has been uploaded. It skips the intro though, you might wanna go uncomment the calls to the introduction SUBs at the beginning if you want to see that whole story thing I did.

Is it possible to be able to still have save game files when I compile with QB 4.5?
----BEGIN GEEK CODE BLOCK-----
GZORK d? s a--- C++ U? P+ L? E? W++ N o? K? w++ O? M----- V? PS--- PE? Y? PGP? t+ 5? X? R+ tv? b+++ DI D+ G- e- h! !r y-
------END GEEK CODE BLOCK------
:red_marvin: Nerd42
Reply
#13
try using
'$DYNAMIC at the beggining of your code, i went and ran your code, and uh, i got tons of errors and stuff,uncompleted lines, anyways i went and fixed most of, and yeah, anyways i didnt get out of error or anything, but man 125KB, a tip: Dont hard code your graphics, the same thing can easily be done in half or even less code.

Quote:In several different subs, I have a "DIM Bac(1000)" for doing GET/PUTs now. That might be causing the problem, but shouldn't it go away when you get out of the SUB?
Yes but if you dont have memory to call it, your out of memory anyways right?


Also note, the ide eats 300KB of ram to run.

Quote:Is it possible to be able to still have save game files when I compile with QB 4.5?
How are you saving??????????? if your doing external files yeah it should, i mean it worked fine for my game, unless this is internal too. Wink
b]Hard Rock[/b]
[The Stars Dev Company] [Metal Qb flopped] [The Terror]
Stop Double Posts!
Whats better? HTML or Variables?
Reply
#14
Quote:megaman you know the thing.bas i got when you send me cobra it goes on forever

Huh?
Reply
#15
:roll: I can't seem to get it uploaded to Tripod right, and now whenever I try to run, it stops somewhere, and says "Out of Memory!" How do I fix that?

Oh, $Dynamic ? What does that do, and how do I use it?
----BEGIN GEEK CODE BLOCK-----
GZORK d? s a--- C++ U? P+ L? E? W++ N o? K? w++ O? M----- V? PS--- PE? Y? PGP? t+ 5? X? R+ tv? b+++ DI D+ G- e- h! !r y-
------END GEEK CODE BLOCK------
:red_marvin: Nerd42
Reply
#16
I'm writing like a million papers for my classes over the next few days but if you send me an email (jasmydae@hotmail.com) I'll get back to you when I have time.

I had the exact same kind of problems you're having when I tried to write a game in QBasic a month ago, and I can probably help you cut way down on the memory your game is using.

See if you can get the code online somewhere where I can download it, and zip an email over to me when you get a chance.

*peace*

Meg.
Reply
#17
:lol: OK, I'm trying Tripod again, hoping it will upload correctly this time. http://nerd_42.tripod.com/rpg.bas
----BEGIN GEEK CODE BLOCK-----
GZORK d? s a--- C++ U? P+ L? E? W++ N o? K? w++ O? M----- V? PS--- PE? Y? PGP? t+ 5? X? R+ tv? b+++ DI D+ G- e- h! !r y-
------END GEEK CODE BLOCK------
:red_marvin: Nerd42
Reply
#18
:roll: :barf: Tripod keeps skipping lines when I upload!
----BEGIN GEEK CODE BLOCK-----
GZORK d? s a--- C++ U? P+ L? E? W++ N o? K? w++ O? M----- V? PS--- PE? Y? PGP? t+ 5? X? R+ tv? b+++ DI D+ G- e- h! !r y-
------END GEEK CODE BLOCK------
:red_marvin: Nerd42
Reply
#19
Try putting it in a zip file, then uploading it.

and as for '$DYNAMIC

simply, put it at the TOP of your code with the single quotation mark, eg

Code:
'$DYNAMIC
'Like so
And itll take effect.
b]Hard Rock[/b]
[The Stars Dev Company] [Metal Qb flopped] [The Terror]
Stop Double Posts!
Whats better? HTML or Variables?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)