Gamestudio Links
Zorro Links
Newest Posts
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (AndrewAMD, TedMar), 1,007 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Database connections - DLL needed? #344471
10/17/10 18:00
10/17/10 18:00
Joined: Apr 2010
Posts: 38
D
deianthropus Offline OP
Newbie
deianthropus  Offline OP
Newbie
D

Joined: Apr 2010
Posts: 38
I'm looking for a better way to archive dialogue, NPC info, et cetera. Structs are good for organizing an object's data, but I would like to be able to store large single and multi-variable arrays as tables - and use structs for single instances, gathering data from the DBs. I did not find "database" anywhere in the manual, but I presume someone has written a DLL for DB connections. Has anyone used databases in their projects? Is this a quixotic idea?

Afterthought: it would be excellent if it were possible to include the database internally within the game's data structure (As opposed to setting up the DB on a webserver and connecting for each play) making it possible to run single-player/offline games.

Last edited by deianthropus; 10/17/10 18:04.
Re: Database connections - DLL needed? [Re: deianthropus] #344507
10/17/10 20:15
10/17/10 20:15
Joined: Oct 2007
Posts: 5,210
İstanbul, Turkey
Quad Offline
Senior Expert
Quad  Offline
Senior Expert

Joined: Oct 2007
Posts: 5,210
İstanbul, Turkey
you can use SQLITE which does not require a server or additional software to run and actually pefrect for your need.

You can either convert the sqlite header to lite-c yourself or search for GSTsqlite on the forums.

alternatively you can alsı use xml files.


3333333333
Re: Database connections - DLL needed? [Re: Quad] #344572
10/18/10 14:51
10/18/10 14:51
Joined: Apr 2010
Posts: 38
D
deianthropus Offline OP
Newbie
deianthropus  Offline OP
Newbie
D

Joined: Apr 2010
Posts: 38
Edit: Works great! thanks!

Last edited by deianthropus; 10/20/10 17:00.

Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1