Register for your free account! | Forgot your password?

Go Back   elitepvpers > Shooter > Wolfteam
You last visited: Today at 14:20

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Wolfteam Server

Discussion on Wolfteam Server within the Wolfteam forum part of the Shooter category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Mar 2014
Posts: 18
Received Thanks: 3
Wolfteam Server

hello i am working on wolfteam server

But I never managed to open the channels





the files I use




those who want to help:
Discord:ꭺꭰꭼꮇ#4185

Quote:
Originally Posted by warss78 View Post
hello i am working on wolfteam server

But I never managed to open the channels





the files I use




those who want to help:
Discord:ꭺꭰꭼꮇ#4185
why nobody answers
warss78 is offline  
Old 04/21/2021, 14:48   #2
 
Lyneix's Avatar
 
elite*gold: 0
Join Date: Jul 2015
Posts: 21
Received Thanks: 4
I have never programmed for wolfteam, but generally each channel has a port , at booting the server sends to the client a list of active channels with names then the client calls a function which enables a button for it in the channel list

After checking the code,

From, /Mateo-M/wtserver/blob/master/database/DatabaseConnection.java, you can see that the origianl coder had some local server "http://localhost/wolfteam/"

From , Mateo-M/wtserver/blob/master/database/Channels.java , One of the files of this server is "channels.php" in this file it handles channels it gets them from a DB and sends them as a response , a function called getChannels() gets the available channels from this php response.

In this file, /Mateo-M/wtserver/blob/master/server/broker/WorldInfoAck.java, the channels you received is made into a packet in a function called getData()


Soln (1):

Create this page "http://localhost/wolfteam/channels.php" and make it respond with the channel name and port so that getChannels() function can get them

The format is:

Channel1Name;Channel1Port;Channel2Name;Channel2Por t;Channel3Name;Channel3Port ... and so on

Soln (2):

Easier solution , but not neat, Instead of making the PHP page, just hardcode the channel port and name.

This is the code:

replace getChannels() function with this one

public ArrayList<Channel> getChannels()
{
ArrayList<Channel> channels = new ArrayList<Channel>();

Channel channel = new Channel("Lyneix", 4444); //The second argument is the port:4444
channels.add(channel)

return channels;
}

EXTRA:

From, "/Mateo-M/wtserver/blob/master/database/Users.java", Another page of the local server was called: "users.php". It was used to access the database to get user related info (kill count ,death count, gold, etc...).



>>>>>Which client are you using ? send it to me i may help you.
>>>>>Update me with the results
Lyneix is offline  
Old 04/21/2021, 18:14   #3
 
elite*gold: 0
Join Date: Mar 2014
Posts: 18
Received Thanks: 3
Quote:
Originally Posted by Lyneix View Post
I have never programmed for wolfteam, but generally each channel has a port , at booting the server sends to the client a list of active channels with names then the client calls a function which enables a button for it in the channel list

After checking the code,

From, /Mateo-M/wtserver/blob/master/database/DatabaseConnection.java, you can see that the origianl coder had some local server "http://localhost/wolfteam/"

From , Mateo-M/wtserver/blob/master/database/Channels.java , One of the files of this server is "channels.php" in this file it handles channels it gets them from a DB and sends them as a response , a function called getChannels() gets the available channels from this php response.

In this file, /Mateo-M/wtserver/blob/master/server/broker/WorldInfoAck.java, the channels you received is made into a packet in a function called getData()


Soln (1):

Create this page "http://localhost/wolfteam/channels.php" and make it respond with the channel name and port so that getChannels() function can get them

The format is:

Channel1Name;Channel1Port;Channel2Name;Channel2Por t;Channel3Name;Channel3Port ... and so on

Soln (2):

Easier solution , but not neat, Instead of making the PHP page, just hardcode the channel port and name.

This is the code:

replace getChannels() function with this one

public ArrayList<Channel> getChannels()
{
ArrayList<Channel> channels = new ArrayList<Channel>();

Channel channel = new Channel("Lyneix", 4444); //The second argument is the port:4444
channels.add(channel)

return channels;
}

EXTRA:

From, "/Mateo-M/wtserver/blob/master/database/Users.java", Another page of the local server was called: "users.php". It was used to access the database to get user related info (kill count ,death count, gold, etc...).



>>>>>Which client are you using ? send it to me i may help you.
>>>>>Update me with the results



Please add me on discord
warss78 is offline  
Old 04/23/2021, 13:32   #4
 
XByteX's Avatar
 
elite*gold: 0
Join Date: Feb 2021
Posts: 9
Received Thanks: 8
Quote:
Originally Posted by Lyneix View Post
I have never programmed for wolfteam, but generally each channel has a port , at booting the server sends to the client a list of active channels with names then the client calls a function which enables a button for it in the channel list

After checking the code,

From, /Mateo-M/wtserver/blob/master/database/DatabaseConnection.java, you can see that the origianl coder had some local server "http://localhost/wolfteam/"

From , Mateo-M/wtserver/blob/master/database/Channels.java , One of the files of this server is "channels.php" in this file it handles channels it gets them from a DB and sends them as a response , a function called getChannels() gets the available channels from this php response.

In this file, /Mateo-M/wtserver/blob/master/server/broker/WorldInfoAck.java, the channels you received is made into a packet in a function called getData()


Soln (1):

Create this page "http://localhost/wolfteam/channels.php" and make it respond with the channel name and port so that getChannels() function can get them

The format is:

Channel1Name;Channel1Port;Channel2Name;Channel2Por t;Channel3Name;Channel3Port ... and so on

Soln (2):

Easier solution , but not neat, Instead of making the PHP page, just hardcode the channel port and name.

This is the code:

replace getChannels() function with this one

public ArrayList<Channel> getChannels()
{
ArrayList<Channel> channels = new ArrayList<Channel>();

Channel channel = new Channel("Lyneix", 4444); //The second argument is the port:4444
channels.add(channel)

return channels;
}

EXTRA:

From, "/Mateo-M/wtserver/blob/master/database/Users.java", Another page of the local server was called: "users.php". It was used to access the database to get user related info (kill count ,death count, gold, etc...).



>>>>>Which client are you using ? send it to me i may help you.
>>>>>Update me with the results

Good infos, if you are interesed in it, we can try working developing it together.
XByteX is offline  
Old 04/24/2021, 18:09   #5
 
Lyneix's Avatar
 
elite*gold: 0
Join Date: Jul 2015
Posts: 21
Received Thanks: 4
Quote:
Originally Posted by XByteX View Post
Good infos, if you are interesed in it, we can try working developing it together.
Sent to you a PM on elitepvpers
Lyneix is offline  
Old 04/25/2021, 13:17   #6
 
elite*gold: 0
Join Date: Mar 2014
Posts: 18
Received Thanks: 3
Quote:
Originally Posted by Grid_ View Post
Hello everybody, I'm the guy who shared those files on GitHub.
If you plan on finishing those files, do not hesitate to create Pull Requests to add what you've coded into the Git repository.
We couldn't open the channels yet, even you help me (Google Translate)
warss78 is offline  
Old 09/10/2021, 16:12   #7
 
elite*gold: 0
Join Date: Dec 2019
Posts: 27
Received Thanks: 1
How exactly can I install it?
NosNight is offline  
Old 09/18/2021, 10:51   #8
 
elite*gold: 0
Join Date: Mar 2014
Posts: 18
Received Thanks: 3
Quote:
Originally Posted by NosNight View Post
How exactly can I install it?
Add Me Discord ꭺꭰꭼꮇ#4185
warss78 is offline  
Old 07/07/2023, 18:11   #9
 
elite*gold: 0
Join Date: Jun 2014
Posts: 79
Received Thanks: 5
can anyone help me discuss it even if 2 years later?
ipro491 is offline  
Old 09/21/2023, 02:57   #10
 
elite*gold: 0
Join Date: Sep 2018
Posts: 1
Received Thanks: 0
Quote:
Originally Posted by ipro491 View Post
can anyone help me discuss it even if 2 years later?
What do you mean?
r3sta is offline  
Old 12/18/2023, 21:13   #11
 
elite*gold: 0
Join Date: Jun 2014
Posts: 79
Received Thanks: 5
Can u help with wolfteam server u can add me on discord luciofurry
ipro491 is offline  
Reply




All times are GMT +1. The time now is 14:23.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.