Welcome to the Builder Academy

Question New Group System: Version 1.1

More
13 Jun 2012 13:02 #65 by Liko
It was pretty simple to upgrade from 1.0 to 1.1.

Randian(0.0.0)
Owner/Developer

Please Log in or Create an account to join the conversation.

More
13 Jun 2012 13:54 #66 by Halenbane
Yeah not sure how I overlooked that, but compiles fine. I'll test it thoroughly over the next few days and post any issues.

Please Log in or Create an account to join the conversation.

More
13 Jun 2012 14:03 #68 by Halenbane
Few issues I've seen.

It is my understanding you didn't want others to be able to join a group that included npc's.
If a player starts a group, and then summons a follower, the follower joins the group, but the group
is still listed as a normal group, and others are able to join.

Also I crashed the mud doing the following:

Start group -> Summon follower -> group leave -> (Follower becomes leader)

-> group join follower -> order follower group leave (Leaving only me)

-> group leave (Leave the group as the last person) = CRASH

Crashlog = Jun 13 06:59:20 :: SYSERR: Attempting to remove iterator from NULL list.

Please Log in or Create an account to join the conversation.

More
14 Jun 2012 00:40 #71 by Vatiken

It is my understanding you didn't want others to be able to join a group that included npc's.
If a player starts a group, and then summons a follower, the follower joins the group, but the group
is still listed as a normal group, and others are able to join.

Incorrect:
The point is that groups consisting purely of NPCs (like a band of npc patrols) would not appear on the group list. The sole purpose of this was just to cut down on clutter on the group list.

Also I crashed the mud doing the following:

Unfortunately Correct:
Another porting issue, I'm gonna need to find a more streamlined approach to releasing snippets.

In handler.c: leave_group()
Code:
- if (group->members->iSize) + if (group->members->iSize) { for (tch = (struct char_data *) merge_iterator(&Iterator, group->members); tch; tch = next_in_list(&Iterator)) if (!IS_NPC(tch)) found_pc = TRUE; remove_iterator(&Iterator); + }

tbaMUD developer/programmer

Please Log in or Create an account to join the conversation.

More
14 Jun 2012 00:42 #72 by Halenbane
Aha! I never even thought of grouping npc's. *Develops a sinister grin*

Please Log in or Create an account to join the conversation.

More
14 Jun 2012 00:49 - 14 Jun 2012 00:50 #73 by Halenbane
Something else ive noticed, and maybe you intended it this way.

When someone is in a group by themselves, it displays

(leader) Halenbane is standing here.(leader)

with leader being in red (I thought that was if the group was closed, as it is in group list)

When someone is leader of a group that consists of more than 1 person, then it toggles to green (leader).


Did you want it to show before and after their name?

It does the same thing for followers.

(group) Halenbane is standing here.(group)
Last edit: 14 Jun 2012 00:50 by Halenbane.

Please Log in or Create an account to join the conversation.

Time to create page: 0.433 seconds