How to create a channel ?

ehthe

Retired Staff
Contributor
Joined
Apr 26, 2015
Messages
1,029
Reaction score
896
Points
216
Well today I wanted to create a channel with the sdk with a topic, a password and a description set at the creation of the channel. Couldn't filnd any way to do it. Only thing I found is this
Code:
    unsigned int (*setChannelVariableAsInt)(uint64 serverConnectionHandlerID, uint64 channelID, size_t flag, int value);
    unsigned int (*setChannelVariableAsUInt64)(uint64 serverConnectionHandlerID, uint64 channelID, size_t flag, uint64 value);
    unsigned int (*setChannelVariableAsString)(uint64 serverConnectionHandlerID, uint64 channelID, size_t flag, const char* value);
    unsigned int (*flushChannelUpdates)(uint64 serverConnectionHandlerID, uint64 channelID, const char* returnCode);
    unsigned int (*flushChannelCreation)(uint64 serverConnectionHandlerID, uint64 channelParentID, const char* returnCode);
Maybe I need to set everything with setchannelvariableasblah and then flush the creation ?
Does anyone know how to do it ?
 

ehthe

Retired Staff
Contributor
Joined
Apr 26, 2015
Messages
1,029
Reaction score
896
Points
216
Thanks :)
But then what about the channelid ?
 

ehthe

Retired Staff
Contributor
Joined
Apr 26, 2015
Messages
1,029
Reaction score
896
Points
216
Alright nevermind :)
I just put 0 in the channelid and it worked :D
 

JayJax

Active Member
Joined
Apr 28, 2015
Messages
204
Reaction score
109
Points
88
Now your busy with the teamspeak sdk.
Can you find out if there is any sql injection possible with the ts3 server mysql database?
 

ehthe

Retired Staff
Contributor
Joined
Apr 26, 2015
Messages
1,029
Reaction score
896
Points
216
Wow I'm way too lazy to do that :p
 
Top