Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Friend List
#1
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:

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 Smile *trods off to bed*
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)