Hi, does anyone know how to make that gm's appear in the top of the reputation in the game?
Is this real life? Someone who gave actual answers instead of "if you cant do this then just quit" ????Quote:
Opennos.GameObject -> Networking -> ServerManager.cs
find function "public void RefreshRanking()"
then add another Authority (like GM)
example:
account.Authority == AuthorityType.User & AuthorityType.GM etc
&& not &Quote:
Okey thanks, i’ll try it later and I tell you.
actually it's not working, what shall i do?
[Only registered and activated users can see links. Click Here To Register...]
here it is what i put on the "refreshranking"
TopComplimented = DAOFactory.CharacterDAO.Where(c => c.Account.Authority == AuthorityType.User && c.Account.Authority == AuthorityType.GameMaster).OrderByDescending(c => c.Compliment).Take(30).ToList(); TopPoints = DAOFactory.CharacterDAO.Where(c => c.Account.Authority == AuthorityType.User && c.Account.Authority == AuthorityType.GameMaster).OrderByDescending(c => c.Act4Points).Take(30).ToList(); TopReputation = DAOFactory.CharacterDAO.Where(c => c.Account.Authority == AuthorityType.User && c.Account.Authority == AuthorityType.GameMaster).OrderByDescending(c => c.Reput).Take(30).ToList();
No, it doesnt relate. Check out your Resources ;)Quote:
Also i've another problem: when i open noswolrd, it says #CARDS_LOADED#, is it related somehow to the fact that some of my skills (invisibility of sp6 arch, the "combos", etc) don't work? If so, how can i solve it?
No in fact it’s || and he need to copy the left part... but the best solution is just to use >= instead of ==Quote:
&& not &
Code:TopComplimented = DAOFactory.CharacterDAO.Where(c => c.Account.Authority == AuthorityType.User && c.Account.Authority == AuthorityType.GameMaster).OrderByDescending(c => c.Compliment).Take(30).ToList(); TopPoints = DAOFactory.CharacterDAO.Where(c => c.Account.Authority == AuthorityType.User && c.Account.Authority == AuthorityType.GameMaster).OrderByDescending(c => c.Act4Points).Take(30).ToList(); TopReputation = DAOFactory.CharacterDAO.Where(c => c.Account.Authority == AuthorityType.User && c.Account.Authority == AuthorityType.GameMaster).OrderByDescending(c => c.Reput).Take(30).ToList();
Quote:
i did it but not working yet... if it's impossible then, how can i make my reputation symbol looks like if I were the first of the ranking? because I can't add me in the ranking
public void RefreshRanking() { TopComplimented = DAOFactory.CharacterDAO.Where(c => c.Account.Authority >= AuthorityType.User).OrderByDescending(c => c.Compliment).Take(30).ToList(); TopPoints = DAOFactory.CharacterDAO.Where(c => c.Account.Authority >= AuthorityType.User).OrderByDescending(c => c.Act4Points).Take(30).ToList(); TopReputation = DAOFactory.CharacterDAO.Where(c => c.Account.Authority >= AuthorityType.User).OrderByDescending(c => c.Reput).Take(30).ToList(); }