What does this do?
This will login any amount of players you desire into any server.
Code:
JAR
https://mega.co.nz/#!SBJSSQbB!e0gXvjrHzk_8gTkpdd79oAVnOLEmscpc0YXlVxeMKTg
SRC
https://mega.co.nz/#!ScIXFRzY!Q8y-oRRoiQrmi4Gf-nd_9jzJJ9xMn_54r50I3LdfF4U
Credits to Martin for the Login class.
You may need to make some changes if you want your server to allow a large amount of logins from the same address.
Spoiler for Enabling a large amount of connections:
On PI/Emu/Riot that can be done in HostList.java.
Code:
final int MAX_CONNECTIONS = 10000;
public synchronized boolean add(IoSession session) {
String addr = ((InetSocketAddress) session.getRemoteAddress())
.getAddress().getHostAddress();
Integer amt = connections.get(addr);
if (amt == null) {
amt = 1;
} else {
amt += 1;
}
if (amt > MAX_CONNECTIONS | Connection.isIpBanned(addr)) {
return false;
} else {
connections.put(addr, amt);
return true;
}
}
Code:
Coming Soon
Able to control the bots, making them walk and talk.
Option to add proxys from which the bots can connect to the server via.
Completely customize the login protocol to suit the server, save and load different protocols.
testing it, hope it works perfectly for my server, need to check my stability with some players.
I guess they do nothing tho? no walking/clicking etc.?
EDIT: lol, didn't work for me. my server just kicks 'em off