Code:
Problem description:
Im having a problem.....i made a game w/ this verb to make a "party" and when i logout and come bac i cant control the "party" or talk to the members
ID:164768
![]() Apr 17 2007, 7:21 am
|
|
i got the group thing in the library
"GuildSystem" by Mega fart cannon |
mob |
I personally would create partying arrangements with something like this:
#define MAX_PARTY 3 You must always be sure that inductee is placed in leader's party, and inductee's leader is seat to leader. (which is why I included the induct and reject procedures) I also suggest that these variables not be saved (make them temporary or something). Just for the reason that it may cause problems in the future. Party members logging off, the leader, heaven forbid. PS: Rickoshay, variables are null by default. There's no need to set their value to "". PPS: And after reading the other posts; if you're looking for a guild system, you will most likely be required to use savefiles or something of the sort, just for the sake of saving the game from unneccessary clutter of variables and such. |
If you're using a generic save system that just saves all your variables automatically, you could have a variable that you set as the same as everyone else in the party. This way, no matter who was or wasn't logged on, you'd all have that same variable.
I have a feeling you're using something like "usr.group" and just getting yourself into all sorts of trouble with it. If you try to save your group, what you'll be doing is saving the people who are in your group along with your character, and they'll be loaded (as copies) along with your character, probably just ending up in a null loc.
For your own sake, try the common variable method for now.
... and apparently one post about this wasn't enough...