home home

downloads files

forum forum

docs docs

wiki wiki

faq faq

Cube & Cube 2 FORUM


Tutorial: How to host a Cube Server.

by {SSDS}Jero on 12/09/2005 19:50, 33 messages, last message: 02/05/2007 08:38, 15112 views, last view: 05/02/2024 23:34

Step 1:First you must figure out whether or not you are on a router. If you are not on a router then Skip to step 3. If you are on a router continue on to step 2. If you do not know whether or not you are on a router, just ask yourself these questions. Are there more than one computer on the internet? Is my computer wireless? If you said yes to one of these questions you are on a router.

Step 2: Now that you know you are on a router you must forward the following ports on your router: 28765 and 28766. They must both foward both UDP and TCP. If you are unsure how to foward ports in your router you can try going to the routers manufacturers website, and search for Port Fowarding in the support area.

Step 3: Now we must get your computer ready to host a server. Go to the Start menu and select Programs and then highlight cube. This should show you the folder where you start cube. Next place your cursor over the \"Cube\" shortcut, (the same thing you click to start cube) and right click. This will bring up a menu, on the menu click \"Copy\". Next go to you desktop and right click. Then Select \"Paste\". This should create an exact copy of your cube shortcut.

Step 4: Now that we have a new cube button on our desktop we need to change it in order to run a cube server. Right click your New cube shortcut and click on \"Properties\". A new window should appear. Look for the area labeled \"Target\". The following should already be entered in target, \"C:\\Program Files\\Cube\\cube.exe\". If it says something similar to that it is ok. Now click right after the cube.exe\" . Insert a space after the Quotation mark and type -d then press space again and type -c6 *note* this changes how many players can join your server, so you can change it whatever number you wish. But remember too many players and your server may lag alot. Next put in anther space and type -nSERVERNAME This is obviously the name that will appear on the server list. Next Click Ok on the properties window.

Step 5: Double Click on your new Cube Shortcut. This should bring up a black window simmilar to the command prompt we saw earlier. It should automattically try and start your server. If you recieve the message that your server was successfully added....Then Congratz! your server is up and running! If you unfortunatly get the message that \"your server does not respond to pings\", then you need to go back to step 2 and figure out what you did wrong on port fowarding.

Step 6: Remember that you must leave the window that came up open in order for your server to keep running. If you close the black window on your desktop your sever will shut down. Now you can start up Cube from the start menu (the way you normally do) and go to \"update server from master list\". Once you see your server on the list (it should be the very first seeing that you will have the best ping on it) double click it and FRAG AWAY!

I hope this will be helpful to someone. If you have any questions or see something that I missed please feel free to post.
Thanks. Jero.

Go to first 20 messagesGo to previous 20 messages    Board Index   

#14: a

by jimbbobob84 on 12/28/2005 07:52

i have a router and forwarded ports correctly

reply to this message

#15: ..

by idealbsd~~ on 12/28/2005 13:15

modify servers.cfg under cube folder to add your server address in clients computer like:
addserver 192.168.0.1

then clients will show the server

reply to this message

#16: ..

by lowwwman. on 12/28/2005 15:43

\\\"Step 2: Now that you know you are on a router you must forward the following ports on your router: 28765 and 28766. They must both foward both UDP and TCP.\\\"


how???i cant find it in the internet :\\\'(

reply to this message

#17: not working

by jimbbobob84 on 12/28/2005 20:55

I tryed adding my ip but still nothing

reply to this message

#18: LAN multiplayer windows XP

by Nc on 12/30/2005 17:01

How do i create a private LAN game under windows XP?

reply to this message

#19: Re: LAN multiplayer windows XP

by Passa on 01/09/2006 21:12, refers to #18

double click server.bat in the cube directory on one of the pcs. open cube and open the console. write "connect your.ip.address.here" minus the quotes and press enter. if you DONT know how to find your ip address, go start > run. type cmd and press enter. you should see a black window. type ipconfig and press enter. a bunch of stuff should come up. something should look like this: Ip Address. . . . . : 192.168.0.4. In my case i type "connect 192.168.0.4" on both my pc (with the server) and my little brothers. same applies if you have a net server. sometimes i run a server, name changes alot but is mostly {cX}Sydney , anyway it dosent show up in server browser. thats got to do with nat and networking and i dont noe jack shit about networking. anyway, to connect to a public net server you are running, you still have to put in the local ip address of the computer with the server. does that answer your question?

reply to this message

#20: Error: How I can do?

by Hoffa on 01/21/2006 19:22


C:\Programmi\Cube>bin\cube.exe -d -c4
init: sdl
init: net
dedicated server started, waiting for clients...
Ctrl-C to exit

looking up wouter.fov120.com...
sending request to wouter.fov120.com...
masterserver reply:

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<title>Object not found!</title>
<link rev="made" href="mailto:wouter@fov120.com" />
<style type="text/css"><!--/*--><![CDATA[/*><!--*/
body { color: #000000; background-color: #FFFFFF; }
a:link { color: #0000CC; }
p, address {margin-left: 3em;}
span {font-size: smaller;}
/*]]>*/--></style>
</head>

<body>
<h1>Object not found!</h1>
<p>

The requested URL was not found on this server.



The link on the
<a href="cubeserver">referring
page</a> seems to be wrong or outdated. Please inform the author of
<a href="cubeserver">that page</a>
about the error.



</p>
<p>
If you think this is a server error, please contact
the <a href="mailto:wouter@fov120.com">webmaster</a>.

</p>

<h2>Error 404</h2>
<address>
<a href="/">wouter.fov120.com</a><br />

<span>Sat Jan 21 19:19:36 2006<br />
Apache/2.0.49 (Linux/SuSE)</span>
</address>
</body>
</html>


reply to this message

#21: Re: Error: How I can do?

by Passa on 01/21/2006 22:01, refers to #20

i get the same error. the server is down. says on IRC that it will be fixed tuesday.

reply to this message

#22: ..

by UgaSofT on 01/21/2006 23:17

I get the same error too...

they'll fix on tuesday? Great!!!

reply to this message

#23: ..

by FrenchMax on 01/29/2006 13:30

Ok, i've Norton Firewall 2004, i will add this ports...

Do i disable the Windows Security Center ?

reply to this message

#24: ..

by FrenchMax on 02/15/2006 15:59

I WANT SET A PASSWORD

reply to this message

#25: ..

by makkE on 02/15/2006 16:17

-PPASSWORD !11!1!!

reply to this message

#26: ..

by CC_machine4 on 02/15/2006 16:42

is is possible to run a LAN server tht won't try to connect to the masterserver?

reply to this message

#27: ..

by makkE on 02/15/2006 19:18

CC_machine, you have been hanging around at least a year here, and in all that time you havenĀ“t read readme.html ?

reply to this message

#28: ..

by FrenchMax on 02/16/2006 13:24

... i've the firewall Kaspersky, only a PC and a router.
i've try your -d -c5 -nMAXSERVER

"masterserver [...] ping"

But i've open the ports 28765-UDP and 28766-TCP ?

I have not understand your notice, or what ?

reply to this message

#29: lan

by =RS=ROGUE1= on 02/25/2006 04:49

i am trying to with my dad in a lan game and its not working

firstly is it possible
secondly how do you do it
and i have read every thing and its not helping can some one help me please

reply to this message

#30: Re: lan

by CC_machine4 on 02/25/2006 09:54, refers to #29

-start a server on one of your machines. Let's call the server machine A.
-start cube on machines A and B.
-on both machines, go to the multiplayer menu and select connect to localhost
-u 2 should both be on the LAN server

P.S. make suer you dont have internet access on your LAN of unplug your internet cable, or people will start joining from the net

reply to this message

#31: ...

by Darkpatriot on 02/04/2007 21:29

dont we all wish that in the next release they have a server client thing in the program so we dont have to do all this stuff, seriously...

reply to this message

#32: Re: ...

by Passa on 02/05/2007 07:37, refers to #31

No not really.

Ever hosted a Quake III Arena, Unreal Tournament or Counter-Strike server? The serious server hosters dont use that GUI crap, wastes CPU and RAM. Command line based servers are the way to go.

Way to resurrect a two year old thread man :P

reply to this message

#33: Re: ...

by Drakas on 02/05/2007 08:38, refers to #31

Umm, you need to think again - something like Passa said.

Server and client should be kept separate! What do you mean by "all this stuff"?
It's really the newbies who are asking stupid questions by *NOT* reading the manual! Manual says everything - I don't see what's the problem on reading the manual myself!

./bin_unix/linux_server -c<clients> -p<password> -n'<name>' -m<masterserver> -i<ipToBindTo>

By the way, people who are behind routers and cannot see their server as active: Basically, you are unable to connect to your external IP; You will need to add your internal IP to the server list instead - to see the server; DOn't worry - other people will see your server though!

reply to this message

Go to first 20 messagesGo to previous 20 messages    Board Index   


Unvalidated accounts can only reply to the 'Permanent Threads' section!


content by Aardappel & eihrul © 2001-2024
website by SleepwalkR © 2001-2024
53864219 visitors requested 71639362 pages
page created in 0.024 seconds using 10 queries
hosted by Boost Digital