More guilds, check my GitHub
Well, hello everybody. I've been banging my own head trying to display the guild name and rank ingame, and finally I've understood what I was doing wrong. It was so simple, lol. In Player.cs, in the ImportStats method I think (around there anyways) there are the Guild and GuildRank properties, which were set to null. Just edit them to that:
Code:
Guild = psr.Account.Guild.Name;
GuildRank = -1;
if(Guild != null || "")
{
GuildRank = psr.Account.Guild.Rank;
}
That's it. Of course there needs to be the previous edits I made to get the guild information.
Hope you found that useful someway. Soon I'll upload a new commit with more guild things: fully working guild board (I hope), guild hall and upgrades, guild chat, maybe (MAYBE) guild chronicle (not sure if I can code it fast, I have no idea of how the client should receive the data, will check how it is on prod).