Jump to content
  • 0

[help] Antifeed same ip in not party


Question

Posted

Hello

 

There's not a problem because the solution will contact.

If a party is a party to the same IP will attempt to avoid.

In addition, one of the party, the party entering the same IP if you would like to unsubscribe automatically.

The conclusion is the same IP each character so it's necessary to be a party to.

Perhaps, l2jserver/gameserver/network/clientpackets/RequestJoinParty.java to need to define in

I tried to use Antifeedmanager, is not easy.

If you know how to tell us would be appreciated too.

Does not speak English well. Please understand that even if the article I just wrote over.

 

Thank you.

5 answers to this question

Recommended Posts

  • 0
Posted

try to make it this way

 

 

final L2GameClient target1 = target.getClient();

final L2GameClient target2 = requestor.getClient();

if (

target1.getConnection().getSocketChannel().socket().getInetAddress().equals(target2.getConnection().getSocketChannel().socket().getInetAddress()));

{

requestor.sendPacket(new SystemMessage(SystemMessageId.INCORRECT_TARGET));

requestor.sendPacket(new ActionFailed());

}

 

 

 

 

ps: atm i am very tired, so if it does not work pm me tomorrow

  • 0
Posted

Thank you very much for answers.

 

One problem is still in testing but have tried it.

 

PC to another PC with the same IP when everyone is invited to the party.

 

Even if no one in your party, even if you have the same IP, so that the party would like to participate.

 

Once again, we will expect an answer.

Thank you.

  • 0
Posted

Thank you very much for answers.

 

One problem is still in testing but have tried it.

 

PC to another PC with the same IP when everyone is invited to the party.

 

Even if no one in your party, even if you have the same IP, so that the party would like to participate.

 

Once again, we will expect an answer.

Thank you.

could you explain this a little clearer please? Also, let me make a comment. You ask for a code that does not allow a player to request a party invite to a same ip player.

Question 1: What if the requestor does not have the same ip? What do i mean? there are 3 players: A,B and C. Player A and B have the same ip and player C invites them to the party, there will be no problem cause player C is playing from a different ip address, and he can change the party leader if he wants

Question 2: What about players who play from an internet cafe station? what if they want a party for a mass pvp, or a siege?

 

  • 0
Posted

could you explain this a little clearer please? Also, let me make a comment. You ask for a code that does not allow a player to request a party invite to a same ip player.

Question 1: What if the requestor does not have the same ip? What do i mean? there are 3 players: A,B and C. Player A and B have the same ip and player C invites them to the party, there will be no problem cause player C is playing from a different ip address, and he can change the party leader if he wants

Question 2: What about players who play from an internet cafe station? what if they want a party for a mass pvp, or a siege?

 

 

Sorry, do not clear the first question.

A and B and C of the players.

A and B are using the same IP.

C is using a different IP.

C is the first to create a party.

Then A has been invited to the party.

Now, A and C is part of the same party.

When invited to a party A to B due to the same IP is not a party invitation.

B and C, but if the party invitation party invitation can be due to a different IP.

Then C and B are part of the same party.

A to C are invited.

C and A have different IP to each other.

I can be invited, and finally A, B, C are part of the same party together.

 

An end, A and B are identical but the IP will belong to the party.

 

I would like to resolve this issue.

 

A and B, let us know the code to request a party invitation will only be used.

 

PCcafe for each PC has a different IP. The problem is that there is nothing in the request.

 

Thank you very much for coming alone, I must answer.

My question is still not clear.

Does a lot of English. Please understand.

  • 0
Posted

Sorry, do not clear the first question.

A and B and C of the players.

A and B are using the same IP.

C is using a different IP.

C is the first to create a party.

Then A has been invited to the party.

Now, A and C is part of the same party.

When invited to a party A to B due to the same IP is not a party invitation.

B and C, but if the party invitation party invitation can be due to a different IP.

Then C and B are part of the same party.

A to C are invited.

C and A have different IP to each other.

I can be invited, and finally A, B, C are part of the same party together.

 

An end, A and B are identical but the IP will belong to the party.

 

I would like to resolve this issue.

 

A and B, let us know the code to request a party invitation will only be used.

 

PCcafe for each PC has a different IP. The problem is that there is nothing in the request.

 

Thank you very much for coming alone, I must answer.

My question is still not clear.

Does a lot of English. Please understand.

 

i am still trying to understand but it's a lot of unknown words, the only part that i got is there you write "PCcafe". Obviously, you mean that internet cafe stations provide a different ip for each computer. There are still many stations that do not.

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.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...