Seven Signs status of offline players

Support for the latest build of L2J Server, get help here with installations, upgrades, problems.
Do not post bugs reports here, use viewforum.php?f=77 instead.
There is no support for other server builds than the official provided by l2jserver.com
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
BlinK_
Posts: 33
Joined: Sat Sep 26, 2009 10:37 am

Seven Signs status of offline players

Post 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.
Image
wasabi2k
Posts: 110
Joined: Sun Oct 08, 2006 4:22 pm

Re: Seven Signs status of offline players

Post 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
BlinK_
Posts: 33
Joined: Sat Sep 26, 2009 10:37 am

Re: Seven Signs status of offline players

Post by BlinK_ »

Thanks for answer. This was exactly what I did.
Image
Post Reply