so how can help or tell me whare is the problem? i have test it all.
and code is this
Spoiler
// create party players
public void createPartyOfTeam(int teamId)
{
final List<PcInstance> _players = new ArrayList<>();
for (PcInstance p : players.keySet())
{
if (getTeam(p) == teamId)
{
if (p.isInParty())
{
p.getParty().removePartyMember(p, MessageType.EXPELLED);
}
System.out.println(p.getName() + " ");
_players.add(p);
}
}
if (_players.size() >= 2)
{
int i = 0;
PcInstance leader = _players.get(0);
Party party = new Party(leader, _players.get(1), LootRule.ITEM_RANDOM);
leader.setParty(party);
for (PcInstance player : _players)
{
if (i < 2)
{
i++;
}
else
{
party.addPartyMember(player);
player.setParty(party);
i++;
}
}
Announcement.announceToAll("i time run " + i);
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
I am selling the GVE Faction source code (Source code based on l2jmobis - Eigis) for 55000 EUR (Including geodata - interface)! 💧🔥
Overview
This is the source code that I have been working on for more than 1 year now. It includes many systems such as:
Custom Community Board
-Faction Zone
-Faction Leader
-Faction War
-Artifact Zone
-Battle Royale (Like Pubg)
- Event Engine (TvT - CTF - Domi, .....)
- Custom Stats (Face-hair like pride)
I have been doing business with this source in Vietnam for more than 1 year with very high stability. Then I used it to build this GVE Faction server.
Price & Contact
Price: 5000 EUR (negotiable for serious buyers).
Payment: USDT.
Contact:
Discord: redjohn6335
or PM me on this forum!
Demo: I have a server running, you can test it 24/7
Terms
Sold as is, with optional support (negotiable).
Buyer gets full ownership to use.
I only sell once to someone who is really serious about buying it. I can even integrate this GVE faction through any l2j source.
P/s: Here are some pictures of it.
image info
I used this one for my project last year, worked fine without bugs. Just make sure to check the configs, especially API settings—they gave me trouble at first.
Question
tazerman2
hello i have make a automatically party create for event's but i have big problem with
packets like i have open 6 box like 3vs3 in one team i see last player and have double add same player
like
1 tester
2 tester1
3 tester2
4 tester2
all is good on event he add 3 player pet party and in party.java use same 3 vs 3 add
i use threadpool if maybe have problem with fast add and with delay he make party good
as normal
image for hava a idea
so how can help or tell me whare is the problem? i have test it all.
and code is this
// create party players
public void createPartyOfTeam(int teamId)
{
final List<PcInstance> _players = new ArrayList<>();
for (PcInstance p : players.keySet())
{
if (getTeam(p) == teamId)
{
if (p.isInParty())
{
p.getParty().removePartyMember(p, MessageType.EXPELLED);
}
System.out.println(p.getName() + " ");
_players.add(p);
}
}
if (_players.size() >= 2)
{
int i = 0;
PcInstance leader = _players.get(0);
Party party = new Party(leader, _players.get(1), LootRule.ITEM_RANDOM);
leader.setParty(party);
for (PcInstance player : _players)
{
if (i < 2)
{
i++;
}
else
{
party.addPartyMember(player);
player.setParty(party);
i++;
}
}
Announcement.announceToAll("i time run " + i);
}
}
10 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.