Jump to content
  • 0

acis have problem with packets


Question

Posted (edited)

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

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);
            
        }
    }

 

Edited by tazerman2

10 answers to this question

Recommended Posts

  • 0
Posted
1 minute ago, Tryskell said:

Recode your crap.

You should recode most of your crap instead of just renaming, just saying.

  • 0
Posted (edited)

leader.setParty(party);

player.setParty(party);

this don't needed on code 

 

on new Party(leader, _players.get(1), LootRule.ITEM_RANDOM);

they set leader.setParty(party);

and on  party.addPartyMember(player); has set for player.setParty(party);

 

this method can create max 1 party 

because new party is up of for 

try 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);
              
                _players.add(p);
            }
        }
        
		int i = 0;
		PcInstance leader = null;
		Party party = null;

		for (PcInstance player : _players)
		{
			if (i == 0)
				leader = player;
			else if (i == 1 || party == null)
				party = new Party(leader, player, LootRule.ITEM_RANDOM);
			else if (i < 9)
				party.addPartyMember(player);
			else
			{
				i = 0;
				leader = player;
			}
			
			i++;
		}
    }

 

Edited by pirama
  • 0
Posted (edited)
13 hours ago, `Son said:

You should recode most of your crap instead of just renaming, just saying.

 

Do you have an exemple or are you just barking ? When I rename, I generally cleanup in the same time, which mean fix issues / improve performance / improve readability. I never rename for the pleasure to rename.

 

Did you share anything for my pack ? Any fix, any rework ? If no, then stfu and stick inside your hole.

 

There are fixes on every single aCis revision. You should maybe take a look on changesets descriptions.

Edited by Tryskell
  • 0
Posted
19 hours ago, Tryskell said:

Did you share anything for my pack ? Any fix, any rework ? If no, then stfu and stick inside your hole.

Can't see any reason contributing in such a project. You're pretty much the same arrogant craphead as xxdem.

Also please change your signature. Your name combined with the word mature in the same paragraph just insults the meaning of the word.

  • 0
Posted (edited)
5 hours ago, `Son said:

Can't see any reason contributing in such a project. You're pretty much the same arrogant craphead as xxdem.

Also please change your signature. Your name combined with the word mature in the same paragraph just insults the meaning of the word.

 

Continue to bark then. No exemples or proofs, just words. Keep your opinion for yourself when you can't argue, randomer.

Edited by Tryskell
  • 0
Posted

Isnt this a public forum? You're the one barking when you get some negative feedback about your project. Acis used to be good yes sometime in the past. The last months theres no progress and useless commits in ur git/svn or w/e u use. You should just either deal with it or just commit something when theres some real rework which someone worths spending money on ur freemium system. 

  • 0
Posted (edited)
4 hours ago, `Son said:

Isnt this a public forum? You're the one barking when you get some negative feedback about your project. Acis used to be good yes sometime in the past. The last months theres no progress and useless commits in ur git/svn or w/e u use. You should just either deal with it or just commit something when theres some real rework which someone worths spending money on ur freemium system. 

 

"No progress" ? I would like to see your own project, over 6y. What, you don't have ? Ah ok.

"Used to be good" ? What makes it WORST than before ?

 

Barking = people who complains but aren't able to reproduce anything near what they complain from, or even wish to help. Like a helpless chihuahua.

 

A negative feedback must be constructive and based on facts. My useless commits dropped something like 40 reports those last months. So your arguments are invalid, and what you think pointless can be important for another people. Moreover, if you find it doesn't go fast, you can help. It's a collaborative project.

 

Stick to L2JFrozen/Hellas/Archid/vanilla  if you're unhappy. I don't force you to use my pack.

 

Ppl as you - who don't share, don't help, don't participate to communities, don't code but think they can have an opinion - are simply garbage.

 

Anyway I wasted enough time answering you. I leave you with your hatred, I continue to not moving on aCis.

Edited by Tryskell
  • 0
Posted
1 hour ago, Tryskell said:

 

"No progress" ? I would like to see your own project, over 6y. What, you don't have ? Ah ok.

"Used to be good" ? What makes it WORST than before ?

 

Barking = people who complains but aren't able to reproduce anything near what they complain from, or even wish to help. Like a helpless chihuahua.

 

A negative feedback must be constructive and based on facts. My useless commits dropped something like 40 reports those last months. So your arguments are invalid, and what you think pointless can be important for another people. Moreover, if you find it doesn't go fast, you can help. It's a collaborative project.

 

Stick to L2JFrozen/Hellas/Archid/vanilla  if you're unhappy. I don't force you to use my pack.

 

Ppl as you - who don't share, don't help, don't participate to communities, don't code but think they can have an opinion - are simply garbage.

 

Anyway I wasted enough time answering you. I leave you with your hatred, I continue to not moving on aCis.

First of all, im just comparing pretty simple stuff. The fact that you are selling 10 revisions per each period of aCis is just some garbage logic because as pretty much said any kind of customer expects to see innovative things plus some future plan on the project. Something that aCis lack for many reasons.

The last big rework you did was like hmm maybe a year ago or even more with Knownlists which could really make some difference affecting the game in total.

After that your project remained ALMOST the same ridiculizing urself and your big ego as the grand leader of THE grand project and you delivered almost nothing. 

 

"Used to be good" ? What makes it WORST than before ? --> 

Yes it used to be better when you've been active reworking core issues. There are million of things to start reworking but still u just stay commiting bullshit micro-optimizations which have minimal meaning in the end of the day.

 

Moreover, if you find it doesn't go fast, you can help. It's a collaborative project. -->

Being an ass in every single topic doesnt really help collaboration. Skill differs from coder to coder but still. Being the same kid as xxDem doesnt really help at all.

 

Stick to L2JFrozen/Hellas/Archid/vanilla  if you're unhappy. I don't force you to use my pack. -->

Im refering to aCis and not to any other garbage Greek or Russian project since they never really had any kind of potential in contradiction with aCis so get real.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Posts

    • Hello Everyone  I hope you missed Old nostalgia BNB , is time to come back and be ready for the new journey  L2 BnB C3 Website: https://l2bnb.eu/ Discord: https://discord.gg/jaCJKYXgYZ Max Level 75 Max Grade (A) Safe:3 , Max:16 Anti-Botting. Auto learning skills , Auto Loot , Auto Create Account Subclass (NO) quest. Retail Buffs/DS Time ,Need Buffer Char (NO NPC Buffer) OfflineShop,OfflineCraft,ChangePass No GM Shop,No Global Gk,No Donate,Free Teleport only LVL 1 commands: .offline , .changepassword 99+% Retail 1+1 Window Per Pc BASIC FEATURES: Exp/SP: x 3 Adena: x3 Drop: х3 Spoil: x3 Support 24/7 GLOBAL COMMUNITY
    • 亲爱的朋友们,我们很高兴向您介绍我们的全新服务 —— KYC 实名认证,适用于任何平台!️ 我们为加密货币交易所、在线市场、社交网络、主机服务商、赌场及其他合法网站提供实名认证服务。认证可通过护照或驾驶证完成。不支持任何涉及非法活动的网站。 可用国家: 东欧:俄罗斯、乌克兰、白俄罗斯、乌兹别克斯坦、亚美尼亚、吉尔吉斯斯坦、哈萨克斯坦 — $30–33 欧盟(西欧,通常为拉脱维亚和爱沙尼亚) — $80–88 非洲:尼日利亚、肯尼亚 — $30–33 如果您需要注册并验证您的账户,总金额将额外收取 10% 手续费。 如需申请 KYC 认证或咨询其他问题,请通过以下方式联系我们: ➡ Telegram: https://t.me/socnet_support ➡ WhatsApp: https://wa.me/79051904467 ➡ Discord: socnet_support ➡ ✉ 邮箱: solomonbog@socnet.store SOCNET 商店有效链接: 数字商品商店(网站):进入 商店 Telegram 机器人:进入 – 通过 Telegram 消息应用便捷访问商店。 Telegram 星星购买机器人:进入 – 快速且优惠地购买 Telegram 星星。 SMM 面板:进入 – 推广您的社交媒体账户。 我们为您准备了最新的促销与特别优惠,用于购买我们的产品与服务: 1. 使用优惠码 OCTOBER2025(8% 折扣)即可在 9 月于我们的商店(网站或机器人)购物享受优惠!首次购买还可使用优惠码 SOCNET(15% 折扣)。 2. 获得 $1 商店余额或 10–20% 折扣 —— 只需在网站注册后按照以下格式留言:"SEND ME BONUS, MY USERNAME IS..." – 在我们的论坛帖中发布即可! 3. 首次试用 SMM 面板可获得 $1 奖励 —— 只需在网站(支持)提交标题为 “Get Trial Bonus” 的工单。 4. 每周在我们的 Telegram 频道及星星购买机器人中举行 Telegram 星星赠送活动! 新闻资讯: ➡ Telegram 频道: https://t.me/accsforyou_shop ➡ WhatsApp 频道: https://chat.whatsapp.com/K8rBy500nA73z27PxgaJUw?mode=ems_copy_t ➡ Discord 服务器: https://discord.gg/y9AStFFsrh
    • 亲爱的朋友们,我们很高兴向您介绍我们的全新服务 —— KYC 实名认证,适用于任何平台!️ 我们为加密货币交易所、在线市场、社交网络、主机服务商、赌场及其他合法网站提供实名认证服务。认证可通过护照或驾驶证完成。不支持任何涉及非法活动的网站。 可用国家: 东欧:俄罗斯、乌克兰、白俄罗斯、乌兹别克斯坦、亚美尼亚、吉尔吉斯斯坦、哈萨克斯坦 — $30–33 欧盟(西欧,通常为拉脱维亚和爱沙尼亚) — $80–88 非洲:尼日利亚、肯尼亚 — $30–33 如果您需要注册并验证您的账户,总金额将额外收取 10% 手续费。 如需申请 KYC 认证或咨询其他问题,请通过以下方式联系我们: ➡ Telegram: https://t.me/socnet_support ➡ WhatsApp: https://wa.me/79051904467 ➡ Discord: socnet_support ➡ ✉ 邮箱: solomonbog@socnet.store SOCNET 商店有效链接: 数字商品商店(网站):进入 商店 Telegram 机器人:进入 – 通过 Telegram 消息应用便捷访问商店。 Telegram 星星购买机器人:进入 – 快速且优惠地购买 Telegram 星星。 SMM 面板:进入 – 推广您的社交媒体账户。 我们为您准备了最新的促销与特别优惠,用于购买我们的产品与服务: 1. 使用优惠码 OCTOBER2025(8% 折扣)即可在 9 月于我们的商店(网站或机器人)购物享受优惠!首次购买还可使用优惠码 SOCNET(15% 折扣)。 2. 获得 $1 商店余额或 10–20% 折扣 —— 只需在网站注册后按照以下格式留言:"SEND ME BONUS, MY USERNAME IS..." – 在我们的论坛帖中发布即可! 3. 首次试用 SMM 面板可获得 $1 奖励 —— 只需在网站(支持)提交标题为 “Get Trial Bonus” 的工单。 4. 每周在我们的 Telegram 频道及星星购买机器人中举行 Telegram 星星赠送活动! 新闻资讯: ➡ Telegram 频道: https://t.me/accsforyou_shop ➡ WhatsApp 频道: https://chat.whatsapp.com/K8rBy500nA73z27PxgaJUw?mode=ems_copy_t ➡ Discord 服务器: https://discord.gg/y9AStFFsrh
    • 亲爱的朋友们,我们很高兴向您介绍我们的全新服务 —— KYC 实名认证,适用于任何平台!️ 我们为加密货币交易所、在线市场、社交网络、主机服务商、赌场及其他合法网站提供实名认证服务。认证可通过护照或驾驶证完成。不支持任何涉及非法活动的网站。 可用国家: 东欧:俄罗斯、乌克兰、白俄罗斯、乌兹别克斯坦、亚美尼亚、吉尔吉斯斯坦、哈萨克斯坦 — $30–33 欧盟(西欧,通常为拉脱维亚和爱沙尼亚) — $80–88 非洲:尼日利亚、肯尼亚 — $30–33 如果您需要注册并验证您的账户,总金额将额外收取 10% 手续费。 如需申请 KYC 认证或咨询其他问题,请通过以下方式联系我们: ➡ Telegram: https://t.me/socnet_support ➡ WhatsApp: https://wa.me/79051904467 ➡ Discord: socnet_support ➡ ✉ 邮箱: solomonbog@socnet.store SOCNET 商店有效链接: 数字商品商店(网站):进入 商店 Telegram 机器人:进入 – 通过 Telegram 消息应用便捷访问商店。 Telegram 星星购买机器人:进入 – 快速且优惠地购买 Telegram 星星。 SMM 面板:进入 – 推广您的社交媒体账户。 我们为您准备了最新的促销与特别优惠,用于购买我们的产品与服务: 1. 使用优惠码 OCTOBER2025(8% 折扣)即可在 9 月于我们的商店(网站或机器人)购物享受优惠!首次购买还可使用优惠码 SOCNET(15% 折扣)。 2. 获得 $1 商店余额或 10–20% 折扣 —— 只需在网站注册后按照以下格式留言:"SEND ME BONUS, MY USERNAME IS..." – 在我们的论坛帖中发布即可! 3. 首次试用 SMM 面板可获得 $1 奖励 —— 只需在网站(支持)提交标题为 “Get Trial Bonus” 的工单。 4. 每周在我们的 Telegram 频道及星星购买机器人中举行 Telegram 星星赠送活动! 新闻资讯: ➡ Telegram 频道: https://t.me/accsforyou_shop ➡ WhatsApp 频道: https://chat.whatsapp.com/K8rBy500nA73z27PxgaJUw?mode=ems_copy_t ➡ Discord 服务器: https://discord.gg/y9AStFFsrh
    • 亲爱的朋友们,我们很高兴向您介绍我们的全新服务 —— KYC 实名认证,适用于任何平台!️ 我们为加密货币交易所、在线市场、社交网络、主机服务商、赌场及其他合法网站提供实名认证服务。认证可通过护照或驾驶证完成。不支持任何涉及非法活动的网站。 可用国家: 东欧:俄罗斯、乌克兰、白俄罗斯、乌兹别克斯坦、亚美尼亚、吉尔吉斯斯坦、哈萨克斯坦 — $30–33 欧盟(西欧,通常为拉脱维亚和爱沙尼亚) — $80–88 非洲:尼日利亚、肯尼亚 — $30–33 如果您需要注册并验证您的账户,总金额将额外收取 10% 手续费。 如需申请 KYC 认证或咨询其他问题,请通过以下方式联系我们: ➡ Telegram: https://t.me/socnet_support ➡ WhatsApp: https://wa.me/79051904467 ➡ Discord: socnet_support ➡ ✉ 邮箱: solomonbog@socnet.store SOCNET 商店有效链接: 数字商品商店(网站):进入 商店 Telegram 机器人:进入 – 通过 Telegram 消息应用便捷访问商店。 Telegram 星星购买机器人:进入 – 快速且优惠地购买 Telegram 星星。 SMM 面板:进入 – 推广您的社交媒体账户。 我们为您准备了最新的促销与特别优惠,用于购买我们的产品与服务: 1. 使用优惠码 OCTOBER2025(8% 折扣)即可在 9 月于我们的商店(网站或机器人)购物享受优惠!首次购买还可使用优惠码 SOCNET(15% 折扣)。 2. 获得 $1 商店余额或 10–20% 折扣 —— 只需在网站注册后按照以下格式留言:"SEND ME BONUS, MY USERNAME IS..." – 在我们的论坛帖中发布即可! 3. 首次试用 SMM 面板可获得 $1 奖励 —— 只需在网站(支持)提交标题为 “Get Trial Bonus” 的工单。 4. 每周在我们的 Telegram 频道及星星购买机器人中举行 Telegram 星星赠送活动! 新闻资讯: ➡ Telegram 频道: https://t.me/accsforyou_shop ➡ WhatsApp 频道: https://chat.whatsapp.com/K8rBy500nA73z27PxgaJUw?mode=ems_copy_t ➡ Discord 服务器: https://discord.gg/y9AStFFsrh
  • Topics

×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock