Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ON=@FollowersUpdate not working as intended? #1251

Open
AtillaG1 opened this issue Jun 16, 2024 · 2 comments
Open

ON=@FollowersUpdate not working as intended? #1251

AtillaG1 opened this issue Jun 16, 2024 · 2 comments

Comments

@AtillaG1
Copy link

AtillaG1 commented Jun 16, 2024

Added @FollowersUpdate trigger called in any update of followers related to OF_PetSlots:
argn1 (R/W): 0 = Adding followers (taming, unshrinking, summoning, buying ...), 1 = sustracting followers (release, transfer ...)
argn2 (R/W): FollowerSlots used.
SRC: Pet causing the trigger to run, when buying in vendors there's no PET yet, so SRC will point to the vendor.
Return 1 will not allow following actions to occur: Transfer, Summon, UnShrinks from t_figurine, Buy from vendors. Any other actions (like release, set owner...) will not take in count returns.

Im using EF_FollowerList and OF_PetSlots. Im trying to use my own followerslots, since the default behaviour is not using more than 1.
Somehow, even tho i set ARGN2 to whatever amount, there is always only 1 slot used.

Is this suppose to be still linked to the maxfollowers and curfollowers, and slots? I feel like its working like half a way 😥

@AtillaG1
Copy link
Author

bool CChar::FollowersUpdate( CChar * pChar, short iFollowerSlots, bool fCheckOnly )

It will add correct follower slots only if EF_FollowerList is disabled.

@DavideRei
Copy link
Contributor

I think the new system work in a partial way, it should take into consideration the follower slots.

AtillaG1 added a commit to AtillaG1/Source-X that referenced this issue Jun 18, 2024
while using EF_FollowerList
Sphereserver#1251
@cbnolok cbnolok self-assigned this Jul 3, 2024
@cbnolok cbnolok added this to the X1 milestone Jul 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants