Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

Checking count the party

Newbie Spellweaver
Joined
Jan 5, 2024
Messages
5
Reaction score
0
Can someone tell me how you can change the number of people at a party in lua
Using the example of DD, One Hundred Strikes, the Witch's Tower...
 
Joined
May 19, 2011
Messages
595
Reaction score
71
Can someone tell me how you can change the number of people at a party in lua
Using the example of DD, One Hundred Strikes, the Witch's Tower...
There are some library methods and hooks, exported by world server, which could be used in lua scripts to manipulate party creation and party state itself.
You can search examples of usage in lua scripts and then implement what you exactly need

Exported methods:
{"LetRoleLeaveTeam", SC_LetRoleLeaveTeam},
{"CreatANewTeam", SC_CreatANewTeam},
{"LetRoleJoinTeam", SC_LetRoleJoinTeam},

{"IsRoleHaveTeam", SC_IsRoleHaveTeam},
{"GetRoleTeamMemID", SC_GetRoleTeamMemID},

{"CreateTeam", SC_CreateTeam},
{"AddTeamMember", SC_AddTeamMember},
{"GetTeamLeaderID", SC_GetTeamLeaderID},

Exported hooks:
Map.CanInviteJoinTeam
Map.CanLeaveTeam
Map.CanChangeLeader
Map.CanKickMember
 
Back
Top