Hello I am adapting AntiFeed Manager for now but I have these errors. how would it be in place of these imports?
import gnu.trove.map.hash.TIntObjectHashMap;
import gnu.trove.procedure.TObjectProcedure;
private Map<Integer,Long> _lastDeathTimes;private TIntObjectHashMap<Map<Integer, Connections>> _eventIPs;
/**
* If number of all simultaneous connections from player's IP address lower than max
* then increment connection count and return true.
* Returns false if number of all simultaneous connections from player's IP address
* higher than max.
* @param eventId
* @param player
* @param max
* @return
*/
public final boolean tryAddPlayer(int eventId, L2PcInstance player, int max)
{
return tryAddClient(eventId, player.getClient(), max);
}
/**
* If number of all simultaneous connections from player's IP address lower than max
* then increment connection count and return true.
* Returns false if number of all simultaneous connections from player's IP address
* higher than max.
* @param eventId
* @param player
* @param max
* @return
*/
public final boolean tryAddClient(int eventId, L2GameClient client, int max)
{
if (client == null)
return false; // unable to determine IP address
final Map<Integer, Connections> event = _eventIPs.get(eventId);
if (event == null)
return false; // no such event registered
final Integer addrHash = Integer.valueOf(client.getConnectionAddress().hashCode());
int limit = Config.DUALBOX_CHECK_WHITELIST.get(addrHash);
limit = limit < 0 ? Integer.MAX_VALUE : limit + max;
Connections conns;
synchronized (event)
{
conns = event.get(addrHash);
if (conns == null)
{
conns = new Connections();
event.put(addrHash, conns);
}
}
return conns.testAndIncrement(limit);
}
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.
yeah ok, if you say what is fuctional 100% i can't say something different 😛
but if someone find hard to compile it or get vs and all that things i have here one more simple way here to put overlay in your own server or to change your window name with few money.
I've been using this for 2 years now with no issues from Discord. I don't use ogg.dll either. This one works with any l2.exe too; I don’t see any difference between them.
hmm.. ok i just see that, is different code first of all. My sources is totally different based in other way, with else libraries.
I have access to modify everything even to make the clock to stop show how many time users play in server.
1) so maybe keep some personal info more hide.
2) i dont use ogg.dll
3) i create it and give it ready + support to install it.
Plus what is mine can working with what ever .exe you want not just l2 with same simple method.
And i am sure if you try this source to compile it, after 3 hours discord will like shadowban your API too
thats my source
Question
l2jkain
Hello I am adapting AntiFeed Manager for now but I have these errors. how would it be in place of these imports?
1 answer 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.