Game Development Community

Help with storing client httpObject data

by Paul Griffiths · in General Discussion · 05/23/2006 (4:51 am) · 9 replies

Hi, im building a yahoo messeger type system in to my game and i need to store clients messages.
Im using httpObject to dowload the message list.
for example a httpObject line is:

user=girl_next_door;hour=12;min=40;day=10;mon=20;year=06;message=hello, ill come up tonight!


I then extract the info and am then left with variables for example:

%user = "girl_next_door";
%hour = 12;
%min = 40;
%day = 10;
%month = 20;
%year = 6;
%message = "hello, ill come up tonight!";

how would i then go about storing this info for multiple messages to use in my game?

Thanks for any help , Paul.

#1
05/23/2006 (1:05 pm)
There is this resource which might help you out.
#2
05/23/2006 (9:26 pm)
Martin, thanks for the link but it's dead. Anyone willing to help?
I just need a way to store a group of variables in a sort of vector?
I need to be able to itterate through them and be able to remove them by index.
#3
05/23/2006 (10:34 pm)
You may want to try again. The link worked fine for me.
#4
05/24/2006 (1:16 am)
You need to be a SDK owner to see it.
#5
05/24/2006 (4:35 am)
>You need to be a SDK owner to see it.

I don't think you do, i can get as far as DARK RAVEN STUDIOS website, but their links are not ready yet.

I'm just surprised no one's answering my question? It is simple after all, basic building blocks.
#6
05/24/2006 (4:39 am)
You could either store it in memory or in a db. Though if it's like yahoo, you just want to store it locally and you could use file object to store the information in a file.
#7
05/24/2006 (5:38 am)
How would you store it in memory? that's what I'm after, storing in a file seems bit silly.
The members messages are stored on a main http web server, then members load up their messages in to their game locally.
I'm used to coding in java & c# so I'm looking to create objects and store them in a sort of vector? any help appreciated.
#8
05/24/2006 (7:00 am)
Simply use an array to store the information.
#9
05/24/2006 (8:52 am)
Martin thanks for your link, just what i'm looking for :). Seems strange this is not park of the sdk head?