Sphereserver / Source-X

Ultima Online server emulator
Apache License 2.0
54 stars 40 forks source link

Follower list feature #737

Open Soulless-1 opened 2 years ago

Soulless-1 commented 2 years ago

Add follower list to hold UIDs of the followers added, this way we can find the uid of a follower in a given position, then reference it by UID

follower.0 follower.1 etc

maybe also delfollower to remove an npc from the list via UID

alexdan2 commented 2 years ago

Wow cool feature !

Direct access to follower like attackers is very very good!

LuxionUO commented 2 years ago

It's nice! This can save my resources on MySQL, I had to made it custom 👍

AtillaG1 commented 7 months ago

has been added, close?

Jhobean commented 7 months ago

True there a feature added on this Commit: https://github.com/Sphereserver/Source-X/commit/16d12810d746609a8826d594298145c6b2a982bd

cbnolok commented 6 months ago

Mmm why would someone not use that flag? Shouldn't be by default?

Jhobean commented 6 months ago

Mmm why would someone not use that flag? Shouldn't be by default?

We discuss about that with xwerswood. If an admin load the new server version on a live shard, I think all player will loose their pet.

xwerswoodx commented 2 months ago

Mmm why would someone not use that flag? Shouldn't be by default?

It's because some people did their own follower list in-game, and the problem is old system doesn't keep the followers uid, just increase and decrease the value of followers, honestly, at first I thought to make it default but some people wish to keep their own follower lists instead of using new system, so I put a switch