Page 1 of 1

Seven Signs status of offline players

Posted: Sun Feb 28, 2010 6:43 pm
by BlinK_
Hey everyone.

I'm trying to add such functionality to my custom server. I want a list of all players who have raid points and who are in one of the kabals.

I have found that RaidBossPointsManager.getRankList() returns a map of charObjIds of all the players with raid boss points. That is a nice start. However now I want to get Kabal according to charObjId.

SevenSigns.getInstance().getPlayerCabal() accepts L2PcInstance, so I am unable to get kabal of offline players. Should I maybe use L2PcInstance.createDummyPlayer() here? Is there a way to do that without using SQL query?

Thanks for help.

Re: Seven Signs status of offline players

Posted: Sun Feb 28, 2010 8:39 pm
by wasabi2k
you just need to make a new function to get the data using objid instead of player, since the list in which the player data gets stored is done by objectid and nothing else....


meaglin

Re: Seven Signs status of offline players

Posted: Sun Feb 28, 2010 9:46 pm
by BlinK_
Thanks for answer. This was exactly what I did.