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.

Newcomers DBPro Corner / External Script..How do i make code for it?or integrate it to DBPro.

Author
Message
Roses In Dreams
16
Years of Service
User Offline
Joined: 16th Jan 2008
Location: Somewhere outthere.
Posted: 16th Jan 2008 15:26
I saw many data being stored in .txt files in the compression files for many games...
How do i make this work?
How can i load data stored in compression files?
BMacZero
18
Years of Service
User Offline
Joined: 30th Dec 2005
Location: E:/ NA / USA
Posted: 17th Jan 2008 02:10
Your program can read and write txt files using OPEN TO WRITE and OPEN TO READ.

When you use OPEN TO WRITE, you can write stuff in the file with WRITE STRING and related.
When you use OPEN TO READ, you can retrieve the data using READ STRING and related commands.

See the 'File' commands in the DarkBASIC Pro help files for more info.


[i]"Grow food in dirt? Save time — eat dirt."[i]
Veron
18
Years of Service
User Offline
Joined: 22nd Nov 2006
Location:
Posted: 17th Jan 2008 08:07
Or, even better, read this tutorial - http://forum.thegamecreators.com/?m=forum_view&t=96084&b=7

Good luck!

Roses In Dreams
16
Years of Service
User Offline
Joined: 16th Jan 2008
Location: Somewhere outthere.
Posted: 18th Jan 2008 10:30
thanks....


wow..Nice..Finally, they got their GUIDE sticky updated..
It was annoying me actually seeing it (no offense)

Login to post a reply

Server time is: 2024-11-25 10:51:06
Your offset time is: 2024-11-25 10:51:06