Comments (9)
Fixed in latest commit!
from ts3j.
What server version are you connecting to? This may be related to the Init1 step TS3J is missing
from ts3j.
1.2.17-beta-7
from ts3j.
[DEBUG] [NETWORK] WRITE ACK id=2 len=15 to /178.32.109.167:11079
[DEBUG] [PROTOCOL] REASSEMBLE COMMAND id=1 len=65
[DEBUG] [COMMAND] error id=521 msg=too\smany\sclones\salready\sconnected
[DEBUG] State changing: DISCONNECTED
[DEBUG] State changed: DISCONNECTED
LocalIdentity identity = LocalIdentity.generateNew(8);
identity.improveSecurity(8);
String nickname = "Java";
String address = "178.32.109.167";
int port = 11079;
TSClient.setHWID("Windows");
String password = "";
TSClient.setIdentity(identity);
TSClient.setNickname(nickname);
from ts3j.
I added support for Init step 127 and notifypermissionlist, but:
error id=521 msg=too\smany\sclones\salready\sconnected
This indicates your server only allows a certain number of clients, and your bot has exceeded that count. You may be reconnecting too soon on the same identity. I was able to establish two consecutive connections in a brief period of time. I would make sure you are not creating two connections too soon.
EDIT:
Furthermore, one thing I do on my server is create a static identity (saved in configuration), and use that for my bot. Then, I assign that identity to a specific server group, which has the "maximum connected clients" at least 2, or more. That way, the bot may "crash" and safely reconnect.
from ts3j.
If on the server no users, the bot connected normal. Otherwise, this error occurs.
After connecting the bot, I connect to the server and see it.
from ts3j.
That sounds like an issue with the server. Given I was able to construct connections to the IP/port in the source, tear down (disconnect), and reconnect w/o issue, I would start with server configuration and look into that -- try changing HWID as well, you can randomize that to any string you like.
from ts3j.
Thanks for reply. I try it.
from ts3j.
Uhm i'm trying to connect as the wiki says
client.connect(new InetSocketAddress(
InetAddress.getByName(address),
port // UDP client port, Teamspeak3 client uses 9987
), null, 10000L);
but its not working
from ts3j.
Related Issues (20)
- Channel Commander HOT 2
- Is this legal? HOT 1
- mac check in EAX failed HOT 3
- client is modified error HOT 4
- Can't connected to passworded server HOT 1
- Cant connect to TeamSpeak Server - INIT1 Reading Problem
- Unable to send long Cyrillic messages to chat HOT 2
- Initializing bot HOT 7
- Cannot get clients on server HOT 1
- AudioSender not working
- Error in the getServerGroups() method of the Client class
- How to send Audio? HOT 1
- Can't connect to ts server HOT 2
- Check Bans/Kicks
- Problem with packet size
- Step 127 and Timeout
- Init 1 Step 3 Error
- Repository error HOT 2
- AudioChannel
- 2 questions
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ts3j.