This is a place for me to dump all my thoughts on how you could make aranock for group friendly.
Let's start with FK.
When you are in a group with others when something is killed, FK should be checked for everyone in the group.
Project Group Content
Moderators: Gods, Imps, Architect, Guardian
-
- Private First Class
- Posts: 7
- Joined: Tue Mar 06, 2018 1:50 am
-
- Private First Class
- Posts: 7
- Joined: Tue Mar 06, 2018 1:50 am
-
- Private First Class
- Posts: 7
- Joined: Tue Mar 06, 2018 1:50 am
I have implemented the first kill check for both group members and when a GC gets a kill. You can see the code below in the following gist. Feel free to use or not as you see fit. (The GC giving first kills to caster was a big deal for me, so i implemented it but I can see arguments for why it would not make sense)
First Kill for Group Members Implementation
Assuming the code hasn't changed that much in in svr_do.c just add
This validates that both characters have indeed grouped each other and if they have it just shows them if they are within render distance. This is essentially the same thing the game does when checking if a player can see themselves.
First Kill for Group Members Implementation
Assuming the code hasn't changed that much in
Code: Select all
int do_char_can_see(int cn,int co)
Code: Select all
if (isgroup(cn, co) && isgroup(co, cn)) return 1;