RegisterRegister    Log inLog in    SearchSearch   

Post new topic   Reply to topic
 
View previous topic :: View next topic  
Author Message
Donzi



PostPosted: Tue Jan 08, 2008 1:27 am    Post subject: UT3 Queryport Reply with quote

I set the Server Query on "Hosts" off, because the UT3 Servers i use have no StandardPorts. So, can u add these Queryports to Server Properties?

I didnt know, which Ports u query from the standard UT3 Server, because the ports are random, if not set in the Commandline

Code:
server Map?GameMode=1?Game=UTGameContent.UTCTFGame_Content?MinNetPlayers=0?MaxPlayers=10?bShouldAdvertise=True?bIsLanMatch=False?bUsesStats=True?bIsDedicated=True?PureServer=1?ForceRespawn=0?GoalScore=0?TimeLimit=20?bAllowJoinInProgress=True?bAllowInvites=True?bUsesPresence=True?Mutator=?AdminPassword=?GamePassword= -configsubdir= -login= -password= -port=7788 -queryport=6788 -multihome= -log= -nohomedir -unattended
Back to top
View user's profile Send private message
adbot



PostPosted: Thu Mar 31, 2011 3:57 am 

Andrew
Mammoth


PostPosted: Thu Jan 17, 2008 9:19 am    Post subject: Reply with quote

I don't know which query port UT3 uses when compared to its server port.

Do you have an example?
Back to top
View user's profile Send private message
Donzi



PostPosted: Thu Jan 17, 2008 7:13 pm    Post subject: Reply with quote

ut3 use random ports, up from 6500

so, if the ip have port 6500 used, the ut3 server moves to 6501 a.s.o automaticly, without an entry in the Log.

in patch 1.1 we can give the servers port directly, so the startline
Code:
-port=%server:port% -queryport=<gc:eval>%server:port%-1277</gc:eval>

can be set to
Code:
-port=%server:port% -queryport=%server:queryport%

everyone must set the queryport per hand, to know which queryport it is.

its not beautiful, but a hotfix from Epic.
Back to top
View user's profile Send private message
Andrew
Mammoth


PostPosted: Fri Jan 18, 2008 10:36 am    Post subject: Reply with quote

Is the port -1277 the ideal port to be used? Or can it be set to something else.

So that server queries perform correctly in the in-game browser.
Back to top
View user's profile Send private message
Donzi



PostPosted: Mon Feb 25, 2008 9:47 pm    Post subject: Reply with quote

sry that i post now


-1277, no.
the Queryport is set in UTEngine.ini to 6500
1st server 6500
2nd server 6501 automatic
3rd server 6502 automatic

so, if you start the 2nd server first, it gets the first clean port (6500) and gets a new uniqueID from GameSpy.
The Favorit-IngameBrowser saves not the IP, it saves the uniqueID from the Servers.

So, let us set the Queryport for UT3 ourself, if it can be set in your QueryMonitor
Back to top
View user's profile Send private message
Donzi



PostPosted: Tue Feb 26, 2008 2:11 am    Post subject: Reply with quote

Smile i had managed my old UT3 Servers, before i had your perfect script, to fake the port/querport

now it querys correctly :>
Back to top
View user's profile Send private message
Andrew
Mammoth


PostPosted: Thu Feb 28, 2008 4:22 pm    Post subject: Reply with quote

Is there a way to force the query port to something so its known ahead of time?
Back to top
View user's profile Send private message
Donzi



PostPosted: Thu Feb 28, 2008 5:43 pm    Post subject: Reply with quote

the startline for ut3 must have these settings in:

-login=xx -password=xx -port=xxxx -queryport=xxxx -multihome=x.x.x.x

without these settings, no ut3 will run correctly.

Example for windows:
Code:
ut3.exe server MapName?GameMode=?Game=?MaxPlayers=?bShouldAdvertise=?bIsLanMatch=?bUsesStats=?PureServer=?ForceRespawn=?GoalScore=?TimeLimit=?bAllowJoinInProgress=True?bAllowInvites=True?bUsesPresence=True?Mutator=?AdminPassword=?GamePassword= -configsubdir= -login= -password= -port= -queryport= -multihome= -log=UT3-Server.log -nohomedir -unattended


for linux:
Code:
./ut3 (or ut3-bin) server MapName?GameMode=?Game=?MaxPlayers=?bShouldAdvertise=?bIsLanMatch=?bUsesStats=?PureServer=?ForceRespawn=?GoalScore=?TimeLimit=?bAllowJoinInProgress=True?bAllowInvites=True?bUsesPresence=True?Mutator=?AdminPassword=?GamePassword= -configsubdir= -login= -password= -port= -queryport= -multihome= -log=UT3-Server.log -nohomedir -unattended


i´m working on my tutorial in german, to manage these settings in the ini´s, hope it works.
http://www.utzone.de/include.php?path=content/articles.php&contentid=6444
Back to top
View user's profile Send private message
Andrew
Mammoth


PostPosted: Fri Feb 29, 2008 8:33 am    Post subject: Reply with quote

Thanks, we already have the queryport set.

I've made an update to the UT3 query protocol on our end to better query the servers (reports correct map name in server xml output now).
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum powered by phpBB © 2001, 2005 phpBB Group
GameCreate Service Terms | Privacy Policy | © Copyright Mammoth Media 2001-2007
GameCreate™ is a trademark of Mammoth Media Pty Ltd. GameCreate® is a registered trademark in Australia.