English 中文(简体)
连接不透的台服务器
原标题:Connect to a server in UnrealScript

I ve在Lisp为我的UDK游戏创建了一个习俗配对服务器,使用TcpLink的无声成像前端。 这一过程非常简单,只是一个名字和一些灯塔被送至Lisp服务器,一个港口号码被送回。 我的问题是:鉴于上述港口号码,我如何能够在运行时间与奥基克服务器连接? 我的地址是,我都需要与科索沃团结联盟的运行情况联系起来。 服务器在运行时间占用了客户的执行。 如果其中任何内容不明确,请说是这样,我要说一下。

最佳回答

If you re just talking about just connecting a UDK client to a UDK server, an easy way to do it is to simulate a console command using PlayerController.ConsoleCommand("open <ip>:<port>"). I think the official way to do it is to use PlayerController.ClientTravel("<ip>:<port>", TRAVEL_Absolute) (there s a little documentation on Beyond Unreal)

请注意,在IP和港口之后,您可能最终想要或需要像参与者这样的东西,即希望的名称或团队(例如:<ip>:<port>?name=<username>?team=<team#>)。

问题回答

暂无回答




相关问题
C# Networking API s [closed]

Lately I ve been looking for a good networking API i could possibly use and/or reference some of the code within, but i have mere luck searching for some on Google/Bing. Hopefully somebody here has ...

Listen to a port that is in use [duplicate]

Possible Duplicate: Get connecting IP from specified ports that using by other program. If a port is used by a program, is there any way I can listen that port and get the connected IP on that ...

Twisted Spread suitable for multiplayer racing sim?

Do you think that Twisted Spread may be suitable (in terms of performance) for a multiplayer racing simulator? The rest of the application is based on Python-Ogre. Can Perspective Broker run upon (...

Optimizing a LAN server for a game

I m the network programmer on a school game project. We want to have up to 16 players at once on a LAN. I am using the Server-Client model and am creating a new thread per client that joins. ...

multicast ip address - blocked in call to recvfrom

i am writing a simple multicast application. i intend to run it on localhost. i have done the following: char *maddr; . . . sendfd = socket(...); struct sockaddr_in sasend; sasend.sin_family = ...

Java HTTPAUTH

我试图把桌面应用程序连接起来,我是同D.icio.us api @ Delicious Alan书写的,简单地向他们提供我的用户名和密码,并请他把书记上写给我......。

热门标签