[Help]How to load a character with its ID?

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
kariolis
Posts: 19
Joined: Sat Feb 16, 2013 2:58 am

[Help]How to load a character with its ID?

Post by kariolis »

If you want to receive support we need this info to help you properly.
» Find Revision
L2J Revision Number:
L2JDP Revision Number:

As title says, i got a database statement like "SELECT charId from characters". How i could take now L2PcInstance with this ID?
xban1x
L2j Veteran
L2j Veteran
Posts: 1228
Joined: Thu Jan 17, 2013 9:46 am

Re: [Help]How to load a character with its ID?

Post by xban1x »

L2World.getInstance().getPlayer.... You will find it there, cant give exact method since im on my phone, i hope i helped
kariolis
Posts: 19
Joined: Sat Feb 16, 2013 2:58 am

Re: [Help]How to load a character with its ID?

Post by kariolis »

thanks
Post Reply