14-06-2006, 10:24 PM
Was wondering if someone can throw together a tutorial for some type of friends list or buddy system. I had it to the point where I could load a picbox which displayed the list of online users, then you could select the user and add them to the friends list. I used an array and saved it with the character file, something like so:
The problem I ran into was sending the list back to the client when the player logged back in. I know it's easy I'm just having one of my usual bran malfunctions lol..
I want to be able to add friends to a friends list using the whoonline list, which i know how to do. Then later load the back into the client from the server, and display them in a list so the character can PM them etc.
Any help is appreciated
*trods off to bed*
Code:
For n= 1 to MAX_FRIENDS
Call PutVar(FileName, "CHAR" & i, "Friend" & n, STR(Player(index).Char(i).FriendName(n)))
Next n
The problem I ran into was sending the list back to the client when the player logged back in. I know it's easy I'm just having one of my usual bran malfunctions lol..
I want to be able to add friends to a friends list using the whoonline list, which i know how to do. Then later load the back into the client from the server, and display them in a list so the character can PM them etc.
Any help is appreciated
