Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Sep 14 21:26
    rogermb commented #339
  • Sep 14 21:24
    sgebauer commented #339
  • Sep 14 20:11
    rogermb commented #339
  • Sep 14 20:07
    sgebauer commented #339
  • Aug 31 12:36
    rogermb commented #341
  • Aug 31 12:35
    NewJavaDeveloper closed #341
  • Aug 31 12:35
    NewJavaDeveloper commented #341
  • Aug 31 12:05
    rogermb commented #341
  • Aug 31 12:03
    rogermb commented #341
  • Aug 31 11:45
    NewJavaDeveloper edited #341
  • Aug 31 11:44
    NewJavaDeveloper opened #341
  • Aug 16 15:31
    akaJonas opened #340
  • Aug 16 04:04
    essemX commented #294
  • Aug 02 14:28
    Rindula edited #339
  • Aug 02 14:27
    Rindula opened #339
  • Aug 02 01:10
    rogermb commented #338
  • Aug 02 01:07
    rogermb commented #337
  • Aug 02 01:04
    rogermb commented #336
  • Aug 02 00:54
    rogermb commented #335
  • Aug 02 00:41
    rogermb commented #330
Roger Baumgartner
@rogermb
The onSuccess listener is called if it worked, the onFailure listener if it didn't work
The boolean argument is completely redundant if the command succeeds, as it would always be true. That's why it was removed / replaced with Void in 1.1-dev
LuconianCraft
@LuconianCraft
Does somebody know why the name of my bot changes to my name, as soon as I timeout and autoreconnect to the server?
LuconianCraft
@LuconianCraft
Screenshot at Dez. 26 15-41-40.png
Roger Baumgartner
@rogermb
Are you sure that isn't just the old chat bug @LuconianCraft ?
If you use the same identity for your server query and your regular client, TS3's private messaging sometimes gets confused
And instead of sending messages to your query, it'll send them to you (the regular client) instead
LuconianCraft
@LuconianCraft
How do you mean with "use the same identity"? And I don't think that's the issue, because otherwise all messages are sent correctly.
Roger Baumgartner
@rogermb
In your TS3 client, you're able to generate multiple "identities". Each of those has its own unique ID
LuconianCraft
@LuconianCraft
Thank you, I think I found the mistake I made.
Rabadaz
@Rabadaz
I´ve a qustion ... can I put the port on witch the server is running behind the ip adress like 0.0.0.0:200 or do i have to use any function ?
somefriggnidiot
@somefriggnidiot
I believe it must be set with the .setQueryPort method.
Rabadaz
@Rabadaz
ohh ok i´ll try it
somefriggnidiot
@somefriggnidiot
I feel I should also note that the query port is not the same port you normally use when connecting to your server as a user.
Rabadaz
@Rabadaz
ok thank you
can i connect to the port that normal users use in any way or do i have to use the quarry port?
Roger Baumgartner
@rogermb
You need to use the query port. Then you can select the virtual server by its voice port by using TS3Api#selectVirtualServerByPort(int)
Rabadaz
@Rabadaz
ok thank you
Apex
@4apex
hey
I'm getting "the server is not running" when connecting, but using the same login on some serverquery clients it works
Roger Baumgartner
@rogermb
Huh, interesting error message. Does that happen when connecting to the server, when logging in, or when selecting the virtual server?
somefriggnidiot
@somefriggnidiot
Are you able to initiate a query connection directly from a telnet client?
Roger Baumgartner
@rogermb
Completely off-topic: Reading the valhalla-spec-experts mailing list makes me so excited for the future of Java. Being able to have lists of ints and other value classes (for example: an x-y-z vector, a complex number, etc) and have that code run with acceptable performance will greatly expand what we'll be able to do with Java.
astrolamb-gaming
@astrolamb-gaming
@4apex I think I was having a similar issue awhile back - iirc I was trying to connect to the wrong virtual server
astrolamb-gaming
@astrolamb-gaming
Here's a link to that part of the conversation @4apex : https://gitter.im/TheHolyWaffle/TeamSpeak-3-Java-API?at=5a108707df09362e6725426a
Hope that helps
The virtual server id that ended up working for me was 987. Idk what your situation is, but the server I was working on was hosted commercially; sounds like you probably have a similar situation.
somefriggnidiot
@somefriggnidiot
It almost sounds as though Apex isn't using the correct port? This would be a lot easier to troubleshoot with some code or log snippet.
astrolamb-gaming
@astrolamb-gaming
I had an issue earlier because I was using the wrong port, see here:
https://gitter.im/TheHolyWaffle/TeamSpeak-3-Java-API?at=5a0e126bf257ad9109a475fc
Pretty sure he's using the right port but isn't using the right virtual server.
somefriggnidiot
@somefriggnidiot
Sorry, I forgot for a second that there are two possible ports that could've been referring to. I'm talking about the virtual server port (used in api.selectVirtualServerByPort).
TheMajster
@TheMajster
@rogermb Command {} was not answered in time.channellist in for List<Channel>
kaan y.
@devdarky_twitter
any1 who has a code for a musicbot?
Roger Baumgartner
@rogermb
@TheMajster That really doesn't tell me much except that there was probably a connection problem. I'd need to have more details
@devdarky_twitter You can't play music over the ServerQuery API. It's a text-only management interface
DecoderException
@DecoderException
Hey,
i have a little question.
Do you plan to support TeaSpeak's query futures? E.g. https://github.com/WolverinDEV/TeaSpeak/blob/master/ServerQueryNotify.md
TheMajster
@TheMajster
Roger Baumgartner
@rogermb
@DecoderException I'm not sure what you mean by "futures". Do you just mean the events? Because yes, we do support those
@TheMajster that doesn't really help, lol ^^
Does your command always time out? Does it only happen once? Are there exceptions when connecting to the server? Could you provide a log of the client-server-communications?
DecoderException
@DecoderException
@rogermb
Yes i mean (query) events.
The TeaSpeak software supports a lots of new server query events.
I need some for my own little project :)
Roger Baumgartner
@rogermb
@DecoderException Please keep in mind, though, that we only support the events available via the server query interface. There may be events that "TeaSpeak" supports that we don't support and vice-versa
DecoderException
@DecoderException
Hmm maybe can you add a API where i could maybe add "own" events?
This would me bring a littlebit foreward :)
Or i have to use another library... and i realy like your library
Roger Baumgartner
@rogermb
I don't know if that would really be worth it, for two reasons:
1) I've never heard anyone targeting a non-standard TS3 server up until now
2) It might mislead people into thinking that they could add "new events" to the official TS3 server.
DecoderException
@DecoderException
Well the TeaSpeak server software is verry new i think WolverinDEV released it 2 wacks ago or so :D (TeaSpeak.de)
Wenn may you start a new branch? I think this wouldnt harm?
Roger Baumgartner
@rogermb
If its API were documented more thoroughly, I might even consider it
But for now, there is very little in therms of documentation
Because he certainly changed the events, and he appears to have changed how certain commands work, as well
DecoderException
@DecoderException
well yes he changed the way how events work a littlebit.
We could get a lot more events (and some are really helpful e.g. the channel or chat events.
And yes i agree with you thats not the best doku, but i think its understandable :D
Well i hope you may add this in the near future :) And maybe TeaSpeak improve the doku
Roger Baumgartner
@rogermb
I mean, you could always maintain your own fork of the API if I'm too lazy :P
DecoderException
@DecoderException
Haha yeah,
but im not the best java developer :D Started a year ago :D
Roger Baumgartner
@rogermb
Alright, but the commands and events really aren't that complicated. Most of it really is just wrapper code.