Jump to content

Teamspeak 3 Sync


ImportBot

Recommended Posts

Originally Posted by Dreddy*:

 

I made some output logs before reading your message :/ well it maybe however usefull so I post it here (I removed the debug options and some unnecessary plugins texts)

 

I made a test with a 2 map x 2 round each.

 

http://pastebin.com/2Yq3J2rH

 

and here is the test with two players

 

http://pastebin.com/QewSKwRP

* Restored post. It could be that the author is no longer active.
Link to comment
  • Replies 1.2k
  • Created
  • Last Reply

Top Posters In This Topic

  • ImportBot

    1233

Originally Posted by MorpheusX(AUT)*:

 

Dreddy, please use the [ CODE] or [ QUOTE] tags or post the logs on sites like pastebin or pastebay. 4 Posts with logs are horrible and mess up the thread pretty much.

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Dreddy*:

 

I need the output from when a server changes rounds (and it needs to be centered around the OnRoundEnded events [i'm looking for some sort of OnRoundStarted equivalent]) and when a server changes levels (OnRoundEnded -> OnLevelLoaded).

 

It's hard to say from the output, but it looks like changing maps should cause the plugin to work.

I found these events, hope this helps :

 

Code:

server.onLoadingLevel
server.onLevelStarted
server.onRoundOver
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Dreddy*:

 

Hi Imisnew2 !

 

thx for this update, it works! :smile:

 

...well except for one little thing, I don't know if it can be easely fixed :

 

- Entering round : switch from pickup chan -> Team chan = ok

- Ending round : switch from Team chan -> pickup chan = ok

- Starting round : switch from pickup chan -> Team chan = a little bit too early as I didn't choose to enter the new round yet

 

Is it possible to do the switch the moment I effectively enter the round and not when the round begins? maybe using player.onTeamChange instead of server.onLevelStarted (if it's the event you triggered).

 

One more question (I know I can be boring sometimes :smile: ) : I saw that my game IP adress is not retrieved, how can it be done properly? (if the in game name is not the same than the teamspeak name, the switchs won't succeed I guess)

Code:

Ts3 Sync (Debug): - TS Client [Ip: 88.163.124.250, Channel: 16515, Name: Dreddy] / GM Client [Ip: Null_IP, Team: 2, Name: DreddyJol]
anyway, even if all can't be fixed, thank you very much for this update :smile:

 

see you

Dreddy

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Imisnew2*:

 

...well except for one little thing, I don't know if it can be easely fixed :

 

- Entering round : switch from pickup chan -> Team chan = ok

- Ending round : switch from Team chan -> pickup chan = ok

- Starting round : switch from pickup chan -> Team chan = a little bit too early as I didn't choose to enter the new round yet

Sorry, I'm not going to mess with this any time soon. At worst, you're moved back a couple seconds too soon.

 

One more question (I know I can be boring sometimes :smile: ) : I saw that my game IP adress is not retrieved, how can it be done properly? (if the in game name is not the same than the teamspeak name, the switchs won't succeed I guess)

Code:

Ts3 Sync (Debug): - TS Client [Ip: 88.163.124.250, Channel: 16515, Name: Dreddy] / GM Client [Ip: Null_IP, Team: 2, Name: DreddyJol]
The plugin gets your ip via punkbuster info. Not sure what else to tell you here. The fix would be on your end, not mine.

 

Sent from my DROIDX using Tapatalk 2

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Dreddy*:

 

Ok, I understand no problem. anyway this fix helps a lot.

 

thx for the info about the IP@, we have shut down punkbuster (private server), so we'll get it up

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by TMiland*:

 

You'd be the first to report it.

Really? I have had the issue for a long time, and cannot use the plugin... I'm renting layer at gameservers.com, but am currently trying to host my own layer, to see if that makes a difference. :smile:

 

I got this error after running it for 1 hour:

Code:

[13:21:16] Ts3 Sync: [Error] Fatal Error:
[13:21:16] Ts3 Sync: [Error] An error occurred during sending and receiving data to the Teamspeak 3 Server.
[13:21:16] Ts3 Sync: [Error] -8: An error occurred when the response was received.
[13:21:16] Ts3 Sync: [Reconnect] Attempting to establish a new connection to the Teamspeak 3 Server.
[13:21:16] Ts3 Sync: [Connection] Establishing a connection to a Teamspeak 3 Server.
[13:21:20] Ts3 Sync: [Connection] Established a connection to ts1.nbfc.no:10011.
[13:21:20] Ts3 Sync: [Connection] Attempting to login as a Server Query Client.
[13:21:29] Ts3 Sync: [Error] Fatal Error:
[13:21:29] Ts3 Sync: [Error] An error occurred during sending and receiving data to the Teamspeak 3 Server.
[13:21:29] Ts3 Sync: [Error] -8: An error occurred when the response was received.
[13:21:29] Ts3 Sync: [Reconnect] Failed attempt 1 out of 5.
[13:21:29] Ts3 Sync: [Disabled] Requesting Teamspeak 3 Sync to stop...
[13:21:29] Ts3 Sync: [Closing] Shutting down Teamspeak 3 Sync.
[13:21:29] Ts3 Sync: [Closing] Cleaning up resources.
[13:21:29] Ts3 Sync: [Closing] Teamspeak 3 Sync stopped.
*edit

 

I was wondering, i have 2 gameservers connecting to the same TS3 server, but different channels,

is it a problem that they use the same ip : port?

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Dreddy*:

 

Hi again :ohmy:

 

I saw into your plugin that you use event like "OnPlayerJoin" whereas in my logs I see "player.onJoin" (BFBC2), di I miss something or should I have to rewrite those parts to use the BFBC2 events I saw?

in the same way, if I want to trigger the spawing player event, do I use "player.onSpawn" or something else?

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Imisnew2*:

 

Hi again :ohmy:

 

I saw into your plugin that you use event like "OnPlayerJoin" whereas in my logs I see "player.onJoin" (BFBC2), di I miss something or should I have to rewrite those parts to use the BFBC2 events I saw?

in the same way, if I want to trigger the spawing player event, do I use "player.onSpawn" or something else?

It should work already. No need to change it.

 

Sent from my DROIDX using Tapatalk 2

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Imisnew2*:

 

Really? I have had the issue for a long time, and cannot use the plugin... I'm renting layer at gameservers.com, but am currently trying to host my own layer, to see if that makes a difference. :smile:

 

I got this error after running it for 1 hour:

Code:

[13:21:16] Ts3 Sync: [Error] Fatal Error:
[13:21:16] Ts3 Sync: [Error] An error occurred during sending and receiving data to the Teamspeak 3 Server.
[13:21:16] Ts3 Sync: [Error] -8: An error occurred when the response was received.
[13:21:16] Ts3 Sync: [Reconnect] Attempting to establish a new connection to the Teamspeak 3 Server.
[13:21:16] Ts3 Sync: [Connection] Establishing a connection to a Teamspeak 3 Server.
[13:21:20] Ts3 Sync: [Connection] Established a connection to ts1.nbfc.no:10011.
[13:21:20] Ts3 Sync: [Connection] Attempting to login as a Server Query Client.
[13:21:29] Ts3 Sync: [Error] Fatal Error:
[13:21:29] Ts3 Sync: [Error] An error occurred during sending and receiving data to the Teamspeak 3 Server.
[13:21:29] Ts3 Sync: [Error] -8: An error occurred when the response was received.
[13:21:29] Ts3 Sync: [Reconnect] Failed attempt 1 out of 5.
[13:21:29] Ts3 Sync: [Disabled] Requesting Teamspeak 3 Sync to stop...
[13:21:29] Ts3 Sync: [Closing] Shutting down Teamspeak 3 Sync.
[13:21:29] Ts3 Sync: [Closing] Cleaning up resources.
[13:21:29] Ts3 Sync: [Closing] Teamspeak 3 Sync stopped.
*edit

 

I was wondering, i have 2 gameservers connecting to the same TS3 server, but different channels,

is it a problem that they use the same ip : port?

This is indeed a cryptic error. Try turning on debugging for send and receive data.

 

Sent from my DROIDX using Tapatalk 2

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Dreddy*:

 

thx for your fast reply :ohmy:

 

and about the spawning player event, what should I use? In fact I want to modify your plugin for our private use this way : only switching a player on the spawing event, this way as long as we stay out of the next round we aren't switched by the pugin (I saw where neutralizing the other parts of your code, so no problem)

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Imisnew2*:

 

thx for your fast reply :ohmy:

 

and about the spawning player event, what should I use? In fact I want to modify your plugin for our private use this way : only switching a player on the spawing event, this way as long as we stay out of the next round we aren't switched by the pugin (I saw where neutralizing the other parts of your code, so no problem)

You'll need to register for the OnPlayerSpawn(...) event in OnInitialized or something and add a method named that as well, but I'm not sure what the parameters are supposed to be. Then you can do something similar to how other events are set up.

 

Sent from my DROIDX using Tapatalk 2

* Restored post. It could be that the author is no longer active.
Link to comment
  • 2 weeks later...

Originally Posted by dyn*:

 

We're currently using your TeamSync plugin over at LevelBF for the pub night we do once a week and it works great!

 

The one issue we're having is that commands take quite some time to initiate. Delay queries is False and the update interval is 10000 MS. IP address is white listed. Sometimes we're seeing more than a 30-100 second delay in the squads being shuffled... especially at round end with ~40 people synced in TS and game. If intermission swapping is enabled the problem is even worse.

 

I also use this plugin on another server, from the same VPS (different layer) and don't see any type of delay. There are some differences between the installs. For LevelBF the TS is hosted another another server, for my other setup it's hosted on the same machine as the Procon / TeamSync. LevelBF also has TONS more channels (115 not including TS Sync channels, vs 35 on my other setup).

 

So, the question is: Do you see any reason why TS Sync would be lagging for one, but not the other and possible solutions to fix the delay (delete channels, maybe_)?

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Imisnew2*:

 

The number of clients on the server would be a larger cause of why it is slow, but that would have to be like several hundred clients.

 

I would like to check it out personally, but I'm busy until tuesday next week. Let me know a time I can reach you and we'll work something out.

 

Sent from my DROIDX using Tapatalk 2

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by dyn*:

 

The only problem I am having is the teamspeak sync is not removing the channels they are staying the perm. :sad:

There is a setting you have to enable which will remove the channels when empty. It could also be a permission problem. I've troubleshot problems before by using a query tool (forum.teamspeak.com/showthrea...ery-Admin-Tool*) to see if the permissions are setup correctly. Just use the same login that TSSync uses and see what you can do. Delete channels, move, create, etc etc.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by WarGasimXD*:

 

There is a setting you have to enable which will remove the channels when empty. It could also be a permission problem. I've troubleshot problems before by using a query tool (forum.teamspeak.com/showthrea...ery-Admin-Tool*) to see if the permissions are setup correctly. Just use the same login that TSSync uses and see what you can do. Delete channels, move, create, etc etc.

The problem is, in the plugin there is only a option to remove when empty in the squad names not team names
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Imisnew2*:

 

The problem is, in the plugin there is only a option to remove when empty in the squad names not team names

It should remove team channels if all sub channels are empty.

 

Sent from my DROIDX using Tapatalk 2

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by WarGasimXD*:

 

It should remove team channels if all sub channels are empty.

 

Sent from my DROIDX using Tapatalk 2

here is a pic:

 

Posted Image

 

you can see the teamsyn team 2 channel with a alpha squad still there and they left 2 hours ago

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by dyn*:

 

Just tested it and I can replicate what you're describing..

 

What is your setting for "Remove clients not playing"? If it's set to 'no' players will be able to stay in channels and they won't be moved out. Well, once the player leaves "Team 2" the channel will stay there until TS Sync moves someone back in and then out again (which would delete it).

 

If you want to ensure the channels are deleted, toggle 'remove clients not playing' to yes. Set a password for the channels, and make sure no one can get in there. If you, or your admins, still need to get in there you can add your database ID to the list.

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by WarGasimXD*:

 

Now the teamsync is grabbing anyone that connects to teamspeak not even in the bf3 server. We have 3 servers, BF2 BFbc2, BF3 and LFD2 and some play other games and when they come into teamspeak its grabbing them and putting them into the bf3 staging channel hahhahahha wtf!!! And also taking people out of other channels and also the away channel and putting them into the staging channel hahahhahahha

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Jaythegreat1*:

 

Now the teamsync is grabbing anyone that connects to teamspeak not even in the bf3 server. We have 3 servers, BF2 BFbc2, BF3 and LFD2 and some play other games and when they come into teamspeak its grabbing them and putting them into the bf3 staging channel hahhahahha wtf!!! And also taking people out of other channels and also the away channel and putting them into the staging channel hahahhahahha

I have noticed this behavior as well.. I turned off pick up channels and it seems to have helped.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by OMOH-a001mp_97ru*:

 

Hi all! I'm use Teamspeak 3 Sync plugin, but i have some questions.

I can't set permanent name of the channel on my server.

 

I want to my channels and subchannels named as "US Army", but not "TeamspeakSync Team 1"

 

Thanks!

* Restored post. It could be that the author is no longer active.
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.




×
×
  • Create New...

Important Information

Please review our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.