Jump to content

Question

Posted

*Hello , for those who wondering about tittle well , I HAVE NO F* IDEA how to call this ! XD
*I had seen inside all  brazil server , when you enter the world with a second(+) char, a message popup in showexscreen ,which says you not allowed to farm with a second char  or  a char is already in the world and you earn nothing with the 2nd window you enter, its like it prohibits dualbox from everything and only the 1st window per ip or hwid  can earn drops from monsters,rb & etc.

*I want to do the same for my server ,i use l2jfrozen last rev. Can someone help or suggest how or give me the entire code ?XD

 

Thanks in advance!
P.S: Suggestions for title of topic are welcome :D :D :D :D 

12 answers to this question

Recommended Posts

  • 0
Posted (edited)

any free shared brasil pack can have this simple download any pack that contains source and get it from there 99% of br packs use that thing

Edited by Celestine
  • 0
Posted
25 minutes ago, Celestine said:

any free shared brasil pack can have this simple download any pack that contains source and get it from there 99% of br packs use that thing

i though about it ,and i check for shared packs and most recently i found was from 2018 :/ so i am not sure if that was inserted back then

  • 0
Posted
1 hour ago, Irrelevant said:

*Hello , for those who wondering about tittle well , I HAVE NO F* IDEA how to call this ! XD
*I had seen inside all  brazil server , when you enter the world with a second(+) char, a message popup in showexscreen ,which says you not allowed to farm with a second char  or  a char is already in the world and you earn nothing with the 2nd window you enter, its like it prohibits dualbox from everything and only the 1st window per ip or hwid  can earn drops from monsters,rb & etc.

*I want to do the same for my server ,i use l2jfrozen last rev. Can someone help or suggest how or give me the entire code ?XD

 

Thanks in advance!
P.S: Suggestions for title of topic are welcome 😄 😄 😄 😄

 

Ln6s45k.gif

 

The idea is that you have to create a class file to hold/store the IP of all character that are logged-in the game (Preferable a ConcurrentHashMap that store the IP and a AtomicInteger or whatever you want as a counter).

 

Once you do this, you can check onPlayerEnter() or EnterWorld.java if in this map you just created exists or not the player's IP and if it does to retrieve the size.

 

An example of that line could be: 

 

final int size = MAP.computeIfAbsent("PLAYER_IP_HERE", k -> new AtomicInteger()).incrementAndGet();

 

After that you can control the maximum limit inside your server. Once you reach that limit with a simple check you can create a new method that accepts and return BOOLEAN in Player.java

 

This method can be like:

 

public void setRewardBlocked(final boolean val)
{
    _rewardBlocked = val;
}

public boolean isRewardBlocked()
{
   return _rewardBlocked;
}

 

Now you can do this check to any file you give drops/EXP e.t.c. and stop that player from receiving any reward. 

 

Obviously upon player log out you have to reduce the counter in your custom class. 

Preferable the method void cleanup() inside Player.java to place your check and reduce the counter or remove from MAP if it's less than 1 (to avoid having this map filled until the next server restart).

  • 0
Posted
10 minutes ago, Kara said:

 

Ln6s45k.gif

 

The idea is that you have to create a class file to hold/store the IP of all character that are logged-in the game (Preferable a ConcurrentHashMap that store the IP and a AtomicInteger or whatever you want as a counter).

 

Once you do this, you can check onPlayerEnter() or EnterWorld.java if in this map you just created exists or not the player's IP and if it does to retrieve the size.

 

An example of that line could be: 

 


final int size = MAP.computeIfAbsent("PLAYER_IP_HERE", k -> new AtomicInteger()).incrementAndGet();

 

After that you can control the maximum limit inside your server. Once you reach that limit with a simple check you can create a new method that accepts and return BOOLEAN in Player.java

 

This method can be like:

 


public void setRewardBlocked(final boolean val)
{
    _rewardBlocked = val;
}

public boolean isRewardBlocked()
{
   return _rewardBlocked;
}

 

Now you can do this check to any file you give drops/EXP e.t.c. and stop that player from receiving any reward. 

 

Obviously upon player log out you have to reduce the counter in your custom class. 

Preferable the method void cleanup() inside Player.java to place your check and reduce the counter or remove from MAP if it's less than 1 (to avoid having this map filled until the next server restart).

wow, thats really good as idea. 
To be honest i was thinking something much simplier like prohibit dualbox by drop a specific ID

like  " check player.ip.client and blablabla and if itemId=57  " .
But your idea seems much better,i will try that.

  • 0
Posted
Just now, Irrelevant said:

wow, thats really good as idea. 
To be honest i was thinking something much simplier like prohibit dualbox by drop a specific ID

like  " check player.ip.client and blablabla and if itemId=57  " .
But your idea seems much better,i will try that.

❤️ 

  • 0
Posted (edited)
6 minutes ago, Rootware said:

CatGuard it's free for L2J Frozen and use HWID as you want.

u have a link for that?(for windows 8+) i think i tested once but was error in system/client files

Edited by Irrelevant
  • 0
Posted
27 minutes ago, Irrelevant said:

u have a link for that?(for windows 8+) i think i tested once but was error in system/client files

 

https://www.4shared.com/rar/73hiS1Aaba/CatsGuard.html

 

Inside client files and diff patch for L2J Frozen. All what you need is adapt HWID for your wishes.

  • 0
Posted (edited)
1 hour ago, Rootware said:

 

https://www.4shared.com/rar/73hiS1Aaba/CatsGuard.html

 

Inside client files and diff patch for L2J Frozen. All what you need is adapt HWID for your wishes.

windows block this .virus detected :/  

 

Edit: i managed to download , i will check it. thanks both of u for replies.

Edited by Irrelevant
  • 0
  • 0
Posted

As kara said, you can create your own conditions to catch double ips but it is something that i wouldn't suggest you. Use HWID or any other information from the player's PC to detect 2nd window (it requires client modification)

  • 0
Posted
8 hours ago, melron said:

As kara said, you can create your own conditions to catch double ips but it is something that i wouldn't suggest you. Use HWID or any other information from the player's PC to detect 2nd window (it requires client modification)

Yes i see what you mean. Thanks for suggest, i checked the catsguard code and it isnt that i am looking for, so i will go with karas way or i will just disabled dualbox in every farm/rb zone.

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

    • https://file.kiwi/85ded214#HP0EQ54upx_76JaA90zfOQ    
    • No complicated KYC, instant setup after purchase!  Boost your connection speed and secure your privacy today!  Official Website: https://novproxy.com?kwd=tt-max
    • Passa o conhecimento mano, só mercenários no mundo do l2.
    • I participate in "forum deal" in role middleman. I will advertise free your product with discounted from your "street store" on different forums. I know these forum addresses,i can post your advertisement on different forums.   Street store must be licensed(i will check license through website),store must pay taxes(i will check payment taxes through tax service website). Please note:seller(you) will decide "will like" to buyer or "not will like" total discount(total discount is price your product with discounted  plus my percentage above). Seller(you) decides what will be my percentage .   If you need free advertising,please write me in messenger for contact who are you by nationality and in which country you live. If you owner street store or you employee street store i will advertise free your product from your street store on different forums.   Country Location:i accept all countries except Ukraine. I will not conduct deals with buyers and sellers from Ukraine. I do not cooperate with country Ukraine. If you Ukrainian by nationality or live in Ukraine,ignore this topic.   Shoes,clothing,furniture,bags,televisions,music centers,telephones,laptops,tablets,refrigerators,washing machines,microwaves,fans.   Advertising process. Buyer sees product with discounted. To buyer likes price. Buyer pays my percentage on to payment details guarantor on forum,seller decides what will be my percentage. Buyer and seller through me decide what will be deadline in days for forum transaction(i will either receive money in specified deadline or i won't receive money).   Guarantor on forum notifies me that buyer paid money to payment details guarantor. I'm sending in "forum deal" address "street store" which ready to sell product with discount to buyer. Buyer arrives on given address,enters in street store,finds employee(seller) and asks "in stock?" this product with discount. If this product in stock employee(seller) shows buyer this product,which buyer saw on forum with discount. Buyer inspects product and if to buyer like product,buyer pays money seller and receives receipt for purchase. If buyer product doesn't like,buyer product doesn't purchase,according to clause in "forum questionnaire" seller must register on forum and write in "forum deal" that buyer has declined refused to purchase this product. Guarantor will return money to buyer(in full amount). If you in role seller don't want to register on forum,then advertising won't be(from me) on different forums. How it will be possible to prove that exactly this buyer,exactly from forum,on which this buyer saw my advertising topic,successfully purchased product. When buyer pays my percentage to guarantor on payment details guarantor,buyer writes to guarantor in private message "code word". When buyer meets with seller in store,buyer informs seller exactly same "code word". Then seller registers on forum and sends to guarantor in private message this "code word"(seller will have such right according to clause in "forum questionnaire"). Guarantor confirms to seller that "code word" is correct. If buyer purchases product,but buyer messages in "forum deal" that he not buy this product(buyer is lying in "forum deal"),then according to clause in "forum questionnaire" seller is connected to "forum deal"(i'll let you know via messenger when you need to connect to "forum deal"). Seller sends in "forum deal" "code word" and sends in "forum deal" screenshot receipt about successful sale product(seller will have such right according to clause "forum questionnaire"). On based "code word" and screenshot receipt about successful sale product guarantor makes decision:send money to middleman or return money to buyer.
  • Topics

×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..