|
Post by cs]ÆRÔ© on Dec 31, 2005 7:50:35 GMT -5
I want to run multiple instances but i dont know how to change the server ports on a dedicated server
|
|
|
Post by §kelito on Dec 31, 2005 9:29:23 GMT -5
F. Running multiple instances
Halo Dedicated Server supports multiple instances running on one computer. Obviously, each of these instances must be using a different network port. See below for instructions on how to launch multiple instances of Halo Dedicated Server. The maximum number of instances that can be run on a server is 8.
When running multiple instances, each instance will use its own init.txt file.
Here is an example on how to run multiple instances, assuming Halo Dedicated Server is installed in the E:\HaloPC folder:
E:\HaloPC\haloded.exe -exec e:\halopc\init1.txt -cpu 0 -port 2301 E:\HaloPC\haloded.exe -exec e:\halopc\init2.txt -cpu 1 -port 2305 E:\HaloPC\haloded.exe -exec e:\halopc\init3.txt -cpu 0 -port 2307
Three command line arguments are specific to running Halo Dedicated Server with multiple instances:
-exec Specify which init.txt file to use for this instance of the dedicated server. The name of this file can be any name.
-cpu When using a multi-processor computer (SMP) server, it is possible to instruct Halo Dedicated Server to run on a specific CPU. To do so, use the –cpu n command line argument (where n is a given CPU, 0 being the first one).
-port Different instances must, obviously, use different ports. -port is used to specify the port for the instance being launched. If a port is not specified the server will automatically choose an open port though the chosen port is not reported.
|
|
|
Post by cs]ÆRÔ© on Dec 31, 2005 17:51:48 GMT -5
yea i tried that but i think i did it wrong its confusing
|
|
nc]innova
Dream Team Master htt
BLAH[x=innovacious]
Posts: 1,064
|
Post by nc]innova on Jan 1, 2006 6:28:37 GMT -5
hmm, does the -cpu thing work on normal halo (not a dedi)? cus i have 2 processors. if it does it could solve my fraps problem, i could run halo on one proccessor and fraps on the other.
edit: damn it didnt work
ow im going #offtopic#
i worked out how to chnage what processor thety work on via task manager, it made it worse. they both usually use both processors so when i assigned them to one they where like "what the hell where my power gone!"
halo was running like 10 fps slower and fraps made it go to 2 frp
anywho, back ontopic
i might try out running 2 dedi servers on the dif processors, see if that works
|
|
|
Post by cs]ÆRÔ© on Jan 1, 2006 8:15:28 GMT -5
E:\HaloPC\haloded.exe -exec e:\halopc\init1.txt -cpu 0 -port 2301 E:\HaloPC\haloded.exe -exec e:\halopc\init2.txt -cpu 1 -port 2305 E:\HaloPC\haloded.exe -exec e:\halopc\init3.txt -cpu 0 -port 2307
this is the thing i dont understand because i dont have 2 processors and i dont know how to set this up so it works for me
|
|
|
Post by §kelito on Jan 1, 2006 9:26:57 GMT -5
Check out BestYanks post on Port Forwarding. With a router, this might be helpful! Go Here!
|
|
|
Post by cs]ÆRÔ© on Jan 1, 2006 10:54:09 GMT -5
ok skelito i did that but i still cant run multiple instances because they still need there own init.txt files and i dont know how to do that without screwing it up
|
|
|
Post by §kelito on Jan 1, 2006 11:16:53 GMT -5
E:\HaloPC\haloded.exe -exec e:\halopc\init1.txt -cpu 0 -port 2301 E:\HaloPC\haloded.exe -exec e:\halopc\init2.txt -cpu 1 -port 2305 E:\HaloPC\haloded.exe -exec e:\halopc\init3.txt -cpu 0 -port 2307
Just copy your init.txt file and rename it to init1.txt. Then you will have 2.
init.txt init1.txt
Point to it like up above!
|
|
|
Post by cs]ÆRÔ© on Jan 1, 2006 12:57:00 GMT -5
ok it worked but it closed my other server because they r still on the same port
ill never do this right
|
|
Uze
Warthog Helldriver
[x=uzegonemad]
Posts: 254
|
Post by Uze on Jan 3, 2006 18:47:57 GMT -5
where do you put those targets at?
|
|
|
Post by cs]ÆRÔ© on Jan 21, 2006 16:47:56 GMT -5
ok im still scratching my head with these disabled personed directions for multiple instances. ive had it with web info and a great big step-by-step multiple instance for dummies(lol) explanation would be greatly appreciated Here's the link: www.halomaps.org/index.cfm?nid=317
|
|
|
Post by cs]ÆRÔ© on May 12, 2006 5:47:12 GMT -5
Sorry for the double post and bringing back an old topic, but there is a need to bring back this thread as i have been asked more and more lately! I will put this into english right before your eyes!
Ok, step-by-step
1. go to c:\program files\microsoft games\halo server and open your init, go to save as, and save it again in that directory as init2 2. still in c:\program files\microsoft games\halo server , make a shortcut to haloded.exe. 3. right click on the copy(shortcut), and select properties 4. In the target field, copy and paste this exactly:
"C:\Program Files\Microsoft Games\Halo Server\haloded.exe" -exec C:\Program Files\Microsoft Games\Halo Server\init2.txt -cpu 0 -path -port 2345
5. You may want to rename the copy(shortcut) Halo Ded 2 and right click on it, select send to , then desktop (Create Shortcut)
|
|