Added: a brand-new default dashboard template.
You can now add multiple game/login server builds.
Full support for running both PTS & L2J servers simultaneously, with switching between them.
Payment systems: added OmegaPay and Pally (new PayPal-style API).
Account history now stores everything: donations, items delivered to characters, referrals, transfers between game accounts, and coin transfers to another master account.
Personal Promo Code System: you can create a promo code and assign it to a user or promoter. When donating, a player can enter this promo code to receive bonus coins, and the promo code owner also receives a bonus — all fully configurable in the admin panel.
Look demo site: demo
MoMoProxy has updated more static residential proxies for USA location, anyone interested in can view: https://momoproxy.com/static-residential-proxies
Question
Solomun
Lets say i have an ArrayList list = new arraylist<l2pcInstance>. This list has about 1.000.000 l2pcinstance objects.
Do you think this would be a problem?
Lets say i want to create a method somewhere like:
getPlayersByLocation(String location)
{
ArrayList beta = new ArrayList<L2PcInstance>();
for (L2PcInstance pc : list)
{
if (pc.getLocation.equals(location)
beta.add(pc);
}
return beta;
}
Do you think this would cause a problem to servers memory? If this arraylist has about 1m items + i search in all of them frequntly?
I mean, it is better to search all time the database (SELECT from players where location = location)?
8 answers to this question
Recommended Posts