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!

Getting the guild master from database

┌П┐(•_•)┌П┐
Joined
Dec 22, 2009
Messages
958
Reaction score
318
As title says, does anyone have an ideea or some tips how can i get the guild master character idx/name from a specific guild?

Update
I solved, so in case anyone needs something like that here is the query:

SELECT CharacterIndex FROM dbo.GuildMember A INNER JOIN GUILDGROUP B ON (A.GUILDNO = B.GUILDNO) AND (A.GROUPINDEX = B.GROUPINDEX) WHERE A.GUILDNO = 1 AND B.GROUPPERMISSION = 495

To get your Guild Master Character Idx you change that bold number in red, your guild number.
 
Last edited:
Back
Top