![]() |
![]() |
|
#41
|
|||
|
|||
|
Hey, thanks for all the information, however, i've run into some trouble. I did each of the steps, step by step, and got a server up, but it seems that no one can see my game. There was not a kf_server_launch.bat in either the system folder, or the folder i was going to use for the Server info, so i made one in Both. Neither of them do anything. Both of the commands are:
ucc server KF-BioticsLab.rom?game=KFmod.KFGameType?VACSecured=tr ue?MaxPlayers=6 I CAN get start a dedicated server from within the game, but once again, no one can see it. besides the people who are on my Lan. I've fowarded all the ports, I've made the Server folder, I've copied everything from the HLServer folder INto said folder. I've also tried just making a "Listening" server, to see if anyone could see it, but once again, only the people on my Lan could. I don't know if I'm missing something, or i did something incorrectly. I've joined a few games with the Server's Creators in them and asked how they did it, and some of them just told me that they Fowarded their ports and made a listening server, and Ta da! Anyway, any feedback or help would be much appreciated. Thanks. |
|
#42
|
||||
|
||||
|
A link to a LINUX tutorial will be great and I can add it to the first post area.
Can you check your link address again please as it's taking me to a dead link? |
|
#43
|
|||
|
|||
|
ah yes.. copy-paste fail on the link.. it is working now
I put a link to your thread on my tutorial too, I hope that is ok also? Last edited by Sekra; 05-15-2009 at 07:03 PM. |
|
#44
|
||||
|
||||
|
When i try to open up the port "20560 UDP/IP (Steam Port) " I get invailed. I tried almost everything double checking that i got the numbers , ect. correct.
Any idea? |
|
#45
|
||||
|
||||
|
thx. Added to the top.
|
|
#46
|
||||
|
||||
|
Quote:
At the very top section of the .ini under [URL] you can change the port from default 7707 to say 7710. Remember to also open this port and as per the tutorial open the requisite other ports to match the +3 increase. So the Master Server Port (28852) and the Steam Port (20560) would need to be changed to 28855 and 20563 respectively. |
|
#47
|
||||
|
||||
|
Quote:
|
|
#48
|
|||
|
|||
|
Unfortunatly, Yes. Ports are still fowarded, i ran the HLdsupdate.bat again, rechecked everything in the .ini, Tried changing the BehindNat=False to True, and Nothing. If it matters, the 2 Kf_Server_Launch.Bat's still don't do anything. I still have to go into the game and start a dedicated server that way in order for me to put one up. Am i supposed to be putting the Server Folder (Where the Dedicated server information is going to be stored) In a specific place? I just made a new folder on the desktop. that could be my problem, but i don't remember the location being specified. Thanks for the response Arramus. Any more help and/or suggestions will be appreciated.
|
|
#49
|
|||
|
|||
|
Same problem here, i made the tutorial and get a server, but just for lan
I tried everything with my firewall/router but nothing.... well i am ultra noob on this things but... i supose that my server ip is my public ip, isnt it? And its the same with listen servers.
|
|
#50
|
||||
|
||||
|
I suggest you both start again afresh. Make sure you add the server files to a main folder in your main drive just as in the tut.
Check that the KillingFloor.ini has the port number 7707 listed in the top section as this post presented it as errornously being added as 7757 in a previous build. It may have been resolved in recent patches. Once your server is launched give me your Public IP addresses so I can attempt to join. Last edited by arramus; 05-16-2009 at 06:32 AM. |
|
#52
|
||||
|
||||
|
As you saw im19208, I could join your server directly via IP and I could also add your server to my Favourites list and it appeared with the name 'richos'.
At the moment I'm unable to see your server in the main server browser window or in the Steam server list although based on the various numbers they're returning. KF = 650 ~ 850 depending on mood | Steam = 733 I'd say there are still issues that may be beyond your control. |
|
#53
|
|||
|
|||
|
Of course the server will show up in your own game browser as LAN game as it is propably under the same NAT as the computer you are playing from or maybe it is running in the same computer? The only thing is that can others join your server? If they can there is no problem.
|
|
#54
|
|||
|
|||
|
Yes, in my computer is on lan games, but works good for others via ip, now i tried with a guy from my country with 100 ping more or less, so great!!
Thanks!! Last edited by im19208; 05-16-2009 at 07:35 AM. |
|
#55
|
|||
|
|||
|
http://forums.tripwireinteractive.co...ad.php?t=31136
I want my dedi to work -.- Quote:
Edit: Nevermind! Zetsumei helped me fix it
__________________
![]() Last edited by Dragonshadow; 05-16-2009 at 08:36 AM. |
|
#57
|
||||
|
||||
|
Best tut ever. Pin it up.
__________________
|
|
#58
|
|||
|
|||
|
Quote:
|
|
|
||||
|
||||
|
Stuck for great justice.
__________________
![]() Pretty, what do we blow up first? - Myn Donos |
|
#60
|
|||
|
|||
|
Edit to admins: Sry I got the wrong thread thought this one was to both Linux and Windows. But i guess some things like -nohomedir ini=KillingFloor.ini log=server1.log also are needed with windows
------From here on original Post--------- First of all i would like to thank you for your work. Your tutorial helped me a lot setting up my server. By doing this I encountered some problems and found solutions everybody is asking here in the forum. But first this link: http://wiki.fragaholics.de/index.cod...l_Optimization It should help you running your linux gameserver more stable. For beginners i would not use a 1000Hz Kernel. The importand things are the realtime,the to your hardware fitted kernel, and mostly importand the rescheduler and idler scipts. If you dont want a kernel try out the scheduler and the idler. Using Source Server (CS:S DOD:S etc) it helped me a lot. You have to use another reschulder Code:
#!/bin/sh PIDS=`ps ax | grep sirq-hrtimer | grep -v grep | sed -e "s/^ *//" -e "s/ .*$//"` for p in $PIDS; do chrt -f -p 99 $p done PIDS=`ps ax | grep sirq-timer | grep -v grep | sed -e "s/^ *//" -e "s/ .*$//"` for p in $PIDS; do chrt -f -p 51 $p done PIDS=`pidof ucc-bin-real` for p in $PIDS; do chrt -f -p 98 $p done Everybody is telling, that they can not find die KillingFloor.ini or and it is not created. It is created. But everyone is looking in the wrong place. Enter your home directory and type: Code:
ls -la Code:
.killingfloor kfserver This happens because the existing HowTo´s forgot one important start parameter: Code:
-nohomedir Code:
ini=KillingFloor.ini log=server1.log Both will be created in the system folder I want to have order. so i created in the kfserver directory the folder "log" Code:
cd kfserver mkdir log Code:
./kfserver start|stop|restart Code:
#!/bin/sh
#clear
# An old hlds startscript found somewhere in the net changed by
# Terrorkarotte
# contact: ulblock@gmx.de
# to match a killing floor server
# Edit and uncomment it to your needs
KF_USER="yourusername"
PATH=/bin:/usr/bin:/sbin:/usr/sbin
# DON'T FORGET TO CHANGE THE PATHS TO YOUR NEEDS!
DIR=/path/to/kfserver/system
# you need to create the folder log first!
# If you do not no log will be written !
LOG=/path/to/kfserver/log
DAEMON=$DIR/ucc-bin
PARAMS="server KF-BioticsLab.rom?game=KFmod.KFGameType?VACSecured=true?MaxPlayers=6?AdminName=ADMIN?AdminPassword=PASSWORD -nohomedir ini=KillingFloor.ini log=$LOG/server1.log"
NAME=killingfloor
DESC="killingfloor"
case "$1" in
start)
echo "Starting $DESC: $NAME"
if [ -e $DIR ];
then
cd $DIR
screen -d -m -S $NAME $DAEMON $PARAMS
else echo "No such directory: $DIR!"
fi
;;
stop)
if [[ `screen -ls |grep $NAME` ]]
then
echo -n "Stopping $DESC: $NAME"
kill `screen -ls |grep $NAME |awk -F . '{print $1}'|awk '{print $1}'`
echo " ... done."
else
echo "Coulnd't find a running $DESC"
fi
;;
restart)
if [[ `screen -ls |grep $NAME` ]]
then
echo -n "Stopping $DESC: $NAME"
kill `screen -ls |grep $NAME |awk -F . '{print $1}'|awk '{print $1}'`
echo " ... done."
else
echo "Coulnd't find a running $DESC"
fi
echo -n "Starting $DESC: $NAME"
cd $DIR
screen -d -m -S $NAME $DAEMON $PARAMS
echo " ... done."
;;
*)
echo "Usage: $0 {start|stop|restart}"
exit 1
;;
esac
exit 0
Starting with this script will result in a KillingFloor.ini created in the system folder and a server1.log in the log folder. If you have created it. If you did not no log will be written. If you change the KillingFloor.ini now the changes take affekt now If you want to run a second server you have to copy the start script: Code:
cp kfserver kfserver2 Of course you have to change Code:
NAME=killingfloor DESC="killingfloor" Code:
NAME=2killingfloor DESC="2killingfloor" After you made the changes start the second server and the files will be created. Edit the Ports used in the KillingFloor2.ini restart the server and you have the second server running at the specified ports. The startscript: http://download.ostwestfront.de/karotte/kfserver Update: I forgot my update script, which i use to update my servers: Code:
#!/bin/sh #clear /home/username/kfserver/steam -command update -game killingfloor -dir /home/username/kfserver -verify_all -retry && /home/username/ Code:
#!/bin/sh #clear /home/username/kfserver/steam -command update -game killingfloor -dir /home/username/kfserver -verify_all -retry && /home/username/kfserver restart && /home/username/kfserver2/steam -command update -game killingfloor -dir /home/username/kfserver2 -verify_all -retry && /home/username/kfserver2 restart Code:
./kfupdate Code:
crontab -e Code:
0 5 * * * /home/username/kfupdate Here is the update script: http://download.ostwestfront.de/karotte/kfupdate Last edited by Terrorkarotte; 05-17-2009 at 07:01 AM. |
![]() |
| Thread Tools | |
| Display Modes | |
|
|