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.

  • Thanks 1
  • 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

    • I genuinely admire your bravery - in an age where AI can whip up something better in under a minute, you still stubbornly try to sell these "projects" of yours on a forum that’s been clinically dead for years. That’s no longer determination, that’s digital archaeology. I just can’t tell whether you’re actually trying to make money, or simply testing how much we can endure before we ask an AI to generate you some actual talent.   And ofc AI will make it for free, $220 saved.
    • I’m glad I’m not the only one who appreciates Maxthor’s involvement in group gay orgies, he can’t be bothered to reply to messages, but covering the entire forum in gay lights is absolutely no issue for him. As for the project - the forum is packed with feedback from the testers, the lads are spending every spare moment fixing even the tiniest typo in an NPC’s text. I’ll share the links as soon as I get the green light. Edit: I forgot to add that the GM recruitment will begin once the links are released. Three people will be accepted, and they’ll work in a three-shift rotation so that there’s always a GM available online.
    • 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
    • One of best project i play last few years
    • for me no  😕   https://files.fm/f/jewqgu9fkb
  • 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