i know how to connect to a server through the command prompt but how do i do it through a menu?
how do i get the IP address of the servers?
i know how to connect to a server through the command prompt but how do i do it through a menu?
how do i get the IP address of the servers?
You server must have a static ip address and you can put it in the program. For test purpose you can use 127.0.0.1 ip address (server and client on the same computer) or a local network computer ip address .
You can use at FLCT (Script Wizard) - it generate code for multiplayer, including menu.
What about when the users create there own server?
How do i connect to a sever through unreal script?
numbers2
Server creates by running a program with keys: <udk dir>\Binaries\UDKLift.exe server mapdm2.udk?timelimit=1
mapdm2.- is a map and timelimit=1 is a timelimit
For connect you must do ConsoleCommand("open 127.0.0.1") . It is for local host, for other hosts you must change 127.0.0.1 to ip address of the server.
in my experience you need to write
you need to use the -nosteam because if you don't use it you will have some weird problem.Code:open 127.0.0.1:7777 -nosteam
you need to have the same copy of the program running on the server and client.
http://vincenzoravo.vrs.com.ve http://www.slaughtermaze.com
please don't fill my inbox with questions, ask in the forum, the answers will help you and others !!!
how would i get the ip address of servers created by users?
How would the master server get information on the current status of the game?
TCPLink periodically from the game server to the master server to update the game's details.
~Dulcius Ex Asperis~
what is TCPlink?
numbers2
http://udn.epicgames.com/Three/TcpLink.html
Class for TCP/IP connections, uses Windows sockets system. If you write master server on C++, then you can use C++ code+DLLBind for client too, without TCPLink (sometimes it is more simple, because reusing some code).
Last edited by rquester; 04-28-2012 at 04:50 PM.
Bookmarks