Alright. I'm thinking back about 20 years now when computer games were textual and multiplayer and the server would use a flat database file.
I'm theorizing at the moment and wondering if my idea might work:
1) Use the TCP/IP plugin for AGS to make the network connections between the server written in AGS.
2) Using the File Functions and Properties functions within AGS to generate a database file for logins and passwords and player coords and room numbers, as well as inventory items and possibly scores.
Does anyone think that this might work?
I'm having trouble trying to fill some deatails in:
Code: AGS
I can't figure out if input.ReadStringBack(); will accept anything like cell identifiers in the database? I know that
Code: AGS
will allow me to write specific things, however.
I'll try researching a little more into my idea, haven't even tried to experiment with the code in my head yet for this vague idea, but just wanted to know if anyone thought it was feasible and how I might go about implementing it.
Thanks.
I'm theorizing at the moment and wondering if my idea might work:
1) Use the TCP/IP plugin for AGS to make the network connections between the server written in AGS.
2) Using the File Functions and Properties functions within AGS to generate a database file for logins and passwords and player coords and room numbers, as well as inventory items and possibly scores.
Does anyone think that this might work?
I'm having trouble trying to fill some deatails in:
File *input = File.Open("test.dat", eFileRead);
String buffer = input.ReadStringBack();
input.Close();
I can't figure out if input.ReadStringBack(); will accept anything like cell identifiers in the database? I know that
File *output = File.Open("temp.tmp", eFileWrite);
if (output == null) Display("Error opening file.");
else {
output.WriteString("test string");
output.Close();
}
will allow me to write specific things, however.
I'll try researching a little more into my idea, haven't even tried to experiment with the code in my head yet for this vague idea, but just wanted to know if anyone thought it was feasible and how I might go about implementing it.
Thanks.