I'm limiting players from the same IP in a zone, but I'm not having much success, I'm using AntiFeed to do this action.
Code:
if ((_maxPlayers > 0) && !AntiFeedManager.getInstance().tryAddPlayer(getId(), player, _maxPlayers))
{
player.sendPacket(new ExShowScreenMessage(player.getName() + " maximum "+ AntiFeedManager.getInstance().getLimit(player, _maxPlayers) +" connection(s) per IP address allowed.", 5000, SMPOS.TOP_CENTER, true));
player.teleportTo(TeleportType.TOWN);
return;
}
on the first try when I go to the zone I am moved out with no (Boot) inside the zone. On the second attempt I remain and if I log a boot the same procedure happens and I am allowed to keep 2. What is an ideal solution to block multiple players with the same IP?
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.
Hello @Hitcher. Could you please clarify the scenario in which this happened?
Was it on GF server?
The drops that were on the ground were from the same character? These fell with autoloot off, then you activated autoloot and tried to pick? Please provide more details so we can replicate it.
Quality service,
I hired him as driver, and whole time while it lasted, I was notified every detail what he was doing. Really quality.
I recommend these services.
🔥 DISCOUNT UNTIL THE END OF THE MONTH!
» From 21.11.2024 to 24.11.2024 - 20% Discount!
Price: 500$ - 400$.
»From 25.11.2024 to 30.11.2024 - 10% Discount!
Price: 500$ - 450$.
Hello, I tried to implement it, but for some reason it doesn't work, I edited the npcgrp.dat and lazed textures, but it doesn't work, it doesn't appear when summoning, nor when starting the mount action.
Question
Williams
I'm limiting players from the same IP in a zone, but I'm not having much success, I'm using AntiFeed to do this action.
Code:
if ((_maxPlayers > 0) && !AntiFeedManager.getInstance().tryAddPlayer(getId(), player, _maxPlayers)) { player.sendPacket(new ExShowScreenMessage(player.getName() + " maximum "+ AntiFeedManager.getInstance().getLimit(player, _maxPlayers) +" connection(s) per IP address allowed.", 5000, SMPOS.TOP_CENTER, true)); player.teleportTo(TeleportType.TOWN); return; }
on the first try when I go to the zone I am moved out with no (Boot) inside the zone. On the second attempt I remain and if I log a boot the same procedure happens and I am allowed to keep 2. What is an ideal solution to block multiple players with the same IP?
Edited by Vision8 answers 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.