Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Discussion / Need More Help!

Author
Message
Zeus
19
Years of Service
User Offline
Joined: 8th Jul 2006
Location: Atop Mount Olympus
Posted: 20th Jul 2006 23:31
OK. when you save a file, I need it to where someone can type in the file name and it save it as that filename. This is what ive got,

Then i typed jj as the file name and wen i looked it called it ,filename$. How do I fix this? LOL.

Izzy545
22
Years of Service
User Offline
Joined: 18th Feb 2004
Location:
Posted: 20th Jul 2006 23:49
Oh wow...

Take out the quotations and leave only one comma in this line:

OPEN TO WRITE 1,",filename$"

It thinks you literally want it called ",filename$" take out the quotes and it will save it as the string.

Gil Galvanti
21
Years of Service
User Offline
Joined: 22nd Dec 2004
Location: Texas, United States
Posted: 21st Jul 2006 19:48
use f1

Pirates of Port Royale
Live the life of a pirate.
Captain America
21
Years of Service
User Offline
Joined: 8th Apr 2005
Location: Here
Posted: 26th Jul 2006 05:49
You would use this code:

input "Filename: ",filename$

OPEN TO WRITE 1,filename$


you needed to take out the quotes on the:

OPEN TO WRITE 1,",filename$"


in this case anything inside the quotes would be saved as the name of the file.

so your file would be called ,filename$


Does that help?

Cap'n


Cheers,
Capt. America
RUCCUS
21
Years of Service
User Offline
Joined: 11th Dec 2004
Location: Canada
Posted: 26th Jul 2006 15:58
And for the love of god jordan, stop using "I need help" as your thread titles. Put something atleast a bit relevant to the actual problem that you need help with.


Projects: Online CTF Game | Newcommer's Guide to FPS's
Zotoaster
21
Years of Service
User Offline
Joined: 20th Dec 2004
Location: Scotland
Posted: 26th Jul 2006 20:35
Chances are he wont even look at this thread again, and most probably wont reply, at least that's what usually happens.

Sixty Squares
20
Years of Service
User Offline
Joined: 7th Jun 2006
Location: Somewhere in the world
Posted: 27th Jul 2006 02:33
yeah I know I don't reply to people who don't respond with a "thank you" when their questions are answered. That's rude.

Zeus
19
Years of Service
User Offline
Joined: 8th Jul 2006
Location: Atop Mount Olympus
Posted: 30th Jul 2006 16:03
Quote: "And for the love of god"


Thout Shalt Not Use God's Name in Vain

Zeus
19
Years of Service
User Offline
Joined: 8th Jul 2006
Location: Atop Mount Olympus
Posted: 30th Jul 2006 16:05
Thanks Gil Gavanti,Captain America,and Izzy545.
Sixty Squares
Zotoaster
and
RUCCUS
What Are You Guys my Parents?

Zotoaster
21
Years of Service
User Offline
Joined: 20th Dec 2004
Location: Scotland
Posted: 30th Jul 2006 16:05 Edited at: 30th Jul 2006 16:07
For the love of god?

[edit]
Quote: "What Are You Guys my Parents?"

I am after last night with your mother

Joke lol

Zeus
19
Years of Service
User Offline
Joined: 8th Jul 2006
Location: Atop Mount Olympus
Posted: 30th Jul 2006 16:19
Pretty Funny ZOTOASTER!

Zotoaster
21
Years of Service
User Offline
Joined: 20th Dec 2004
Location: Scotland
Posted: 30th Jul 2006 16:33 Edited at: 30th Jul 2006 16:38
You bet it is

[edit]
I also noticed you finally took the time to say thanks for most of your threads. Good on you, please do it more.

flock
20
Years of Service
User Offline
Joined: 10th Mar 2006
Location: Earth
Posted: 30th Jul 2006 16:44
After it was brought to his attention, mind you...

a.k.a. "flockhound"
Lucifer
20
Years of Service
User Offline
Joined: 26th Dec 2005
Location:
Posted: 30th Jul 2006 17:45
For The love of GOD, i mean Jebus! no! jesus christ!!!

Lcf - Lucifer, Ruler OF All Darkness...
Zeus
19
Years of Service
User Offline
Joined: 8th Jul 2006
Location: Atop Mount Olympus
Posted: 30th Jul 2006 18:25
You SHUT YOUR STUPID LITTLE MOUTH!

Izzy545
22
Years of Service
User Offline
Joined: 18th Feb 2004
Location:
Posted: 30th Jul 2006 19:16 Edited at: 30th Jul 2006 19:17
Jordan Stories Games. You're annoying dude. Learn to read the manual before asking all these questions. It's right there and answers every last one of these questions you've asked if you think about it.

Lucifer
20
Years of Service
User Offline
Joined: 26th Dec 2005
Location:
Posted: 30th Jul 2006 21:41
Yes! go read the bible.. uh?.. i mean manual...

Lcf - Lucifer, Ruler OF All Darkness...
Sixty Squares
20
Years of Service
User Offline
Joined: 7th Jun 2006
Location: Somewhere in the world
Posted: 1st Aug 2006 04:52
Quote: "What Are You Guys my Parents?"


Yes, now go to bed!

flock
20
Years of Service
User Offline
Joined: 10th Mar 2006
Location: Earth
Posted: 1st Aug 2006 04:57
Guys, for the love of Allah, don't make this religious! Friggin' heathen.

a.k.a. "flockhound"
Zeus
19
Years of Service
User Offline
Joined: 8th Jul 2006
Location: Atop Mount Olympus
Posted: 1st Aug 2006 05:01
If you guys don't understand the wisdom of Him, then I really am
NEVER coming here again!

flock
20
Years of Service
User Offline
Joined: 10th Mar 2006
Location: Earth
Posted: 1st Aug 2006 05:28
Don't do that. Just ignore the heathens. True, you may need to look at the manual before posting some questions, but that doesn't mean you should up and leave. Some of us will help.

a.k.a. "flockhound"
Zeus
19
Years of Service
User Offline
Joined: 8th Jul 2006
Location: Atop Mount Olympus
Posted: 1st Aug 2006 05:50
I have scanned the manual, have managed to put this together!
=Done Working On =Not Started

Full 3D Models All Textured
Overhead Inside View
Patient Alerts
Full Scenarios
Full Money System
Full File Opener (But FORGOT TO PUT SAVE!!!)
(When I handout the next version youcan save files)
Patient/Doctor Interaction
Floors
Skyboxes

There We Go!

Dark Eternity
21
Years of Service
User Offline
Joined: 10th Jul 2004
Location: Vana Diel
Posted: 1st Aug 2006 12:53
Quote: "If you guys don't understand the wisdom of Him, then I really am
NEVER coming here again!"


i dont understand...

Scorched Skies is waiting,can you help

AMDAthlonFX-62,NvidiaGeforce7900 512MB X2,RAM4GB
flock
20
Years of Service
User Offline
Joined: 10th Mar 2006
Location: Earth
Posted: 1st Aug 2006 23:47
So...tempted...to...reply! Arrgh!

a.k.a. "flockhound"
Lucifer
20
Years of Service
User Offline
Joined: 26th Dec 2005
Location:
Posted: 2nd Aug 2006 02:21 Edited at: 3rd Aug 2006 17:19


sorry.. coulnt resist... still a few bugs, but i tried to get it as close as it can get..

Lcf - Lucifer, Ruler OF All Darkness...
flock
20
Years of Service
User Offline
Joined: 10th Mar 2006
Location: Earth
Posted: 2nd Aug 2006 05:40
Mmm...touche... *wheeze*

a.k.a. "flockhound"
Lucifer
20
Years of Service
User Offline
Joined: 26th Dec 2005
Location:
Posted: 2nd Aug 2006 15:49
hehe

Lcf - Lucifer, Ruler OF All Darkness...
The Wilderbeast
20
Years of Service
User Offline
Joined: 14th Nov 2005
Location: UK
Posted: 3rd Aug 2006 16:51
for christs sake READ the manuals

Uber_Soldiers | Worms 4 clan | http://www.freewebs.com/uber_soldiers
Captain America
21
Years of Service
User Offline
Joined: 8th Apr 2005
Location: Here
Posted: 4th Aug 2006 05:50
dude watch the language!

i dont like it when people say that, so as a curtasy to me could you refrain for using that wordage?

Thanks!

Cap'n


Cheers,
Capt. America
Lucifer
20
Years of Service
User Offline
Joined: 26th Dec 2005
Location:
Posted: 4th Aug 2006 07:24
what word? christ?

Lcf - Lucifer, Ruler OF All Darkness...
The Wilderbeast
20
Years of Service
User Offline
Joined: 14th Nov 2005
Location: UK
Posted: 4th Aug 2006 13:46
sorry for um.. auntie morris's sake, read the manual. oh yeah... here's a tip. try putting your projects in a .zip file. it makes the download quicker for people with dialup

Uber_Soldiers | Worms 4 clan | http://www.freewebs.com/uber_soldiers
The Wilderbeast
20
Years of Service
User Offline
Joined: 14th Nov 2005
Location: UK
Posted: 4th Aug 2006 13:50 Edited at: 4th Aug 2006 13:51
p.s

nice little game u got there. whe it says 'hiring staff..' instead of doing


you can...


the printc command prints whatever you typed in after the existing text.

hope that helped.

and get rid of some of the wait commands

Uber_Soldiers | Worms 4 clan | http://www.freewebs.com/uber_soldiers
Lucifer
20
Years of Service
User Offline
Joined: 26th Dec 2005
Location:
Posted: 4th Aug 2006 20:17
or make them shorter!!! the game is toooo sloowwww...

Lcf - Lucifer, Ruler OF All Darkness...
flock
20
Years of Service
User Offline
Joined: 10th Mar 2006
Location: Earth
Posted: 4th Aug 2006 23:01
Um, what is this supposed to do? I didn't see 3D models. I might go as far to say that...I didn't even see a game?

a.k.a. "flockhound"
SimSmall
21
Years of Service
User Offline
Joined: 7th Aug 2004
Location: United Kingdom
Posted: 4th Aug 2006 23:23
Quote: "the printc command prints whatever you typed in after the existing text."


Or you can stick a semicolon at the end of the previous statement...



I'm ashamed to admit that I didn't know printc either...
Lucifer
20
Years of Service
User Offline
Joined: 26th Dec 2005
Location:
Posted: 5th Aug 2006 00:30
Quote: " I didn't see 3D models."


Look at my "pirated" code i guess the "Cube" was supposed to be the 3d model?

Lcf - Lucifer, Ruler OF All Darkness...
Captain America
21
Years of Service
User Offline
Joined: 8th Apr 2005
Location: Here
Posted: 7th Aug 2006 21:13
Thanks guys!


Cheers,
Capt. America
The Wilderbeast
20
Years of Service
User Offline
Joined: 14th Nov 2005
Location: UK
Posted: 12th Aug 2006 13:37
the printc command isn't included in the db help file. i think i picked it up in the forums

Uber_Soldiers | Worms 4 clan | http://www.freewebs.com/uber_soldiers
The Wilderbeast
20
Years of Service
User Offline
Joined: 14th Nov 2005
Location: UK
Posted: 12th Aug 2006 15:09
it was included with patch 1.12 up

indi
23
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Earth, Brisbane, Australia
Posted: 15th Aug 2006 17:50
Jordan, you have to leave your religious hat at the door.
You cant tell people to shut up or something to the same extent.

Quote: "You SHUT YOUR STUPID LITTLE MOUTH!"


This is a border less area with many users from different belief systems.
This website has an acceptable usage policy as well you should familiar yourself with.

Christianity is only one of the religions on this planet.
Be respectful as best you can, people will see your trying, and cut you some slack.

Be more active with looking inside the manual.
You will learn faster and wont get frustrated.



I think you need to go back onto newb status if you cant control your own actions.

Login to post a reply

Server time is: 2026-07-07 11:47:20
Your offset time is: 2026-07-07 11:47:20