English Port 36964

8 replies
Goto Page
To the start Previous 1 Next To the start
24.06.12 11:14:26 pm
Up
Marcell
Super User
Offline Off
Hi... i started my server but when i see cs2d.com/servers.php
and my server use 36964.. but anyway my server port is 36963
whats the problem?
24.06.12 11:40:02 pm
Up
PyKemis
User
Offline Off
Can people connect onto the server using port 36964?
24.06.12 11:54:54 pm
Up
Marcell
Super User
Offline Off
Peoples join from 36963
25.06.12 12:08:37 am
Up
Fossil
User
Offline Off
It's really just the same bro. The only difference in using anothedr port is that you won't see it in the LAN part of your server list. But as long as your forwarded your port that you are using, it will still show up on the server list.
IMG:http://i42.tinypic.com/14t8pvm.png
25.06.12 12:10:56 am
Up
PyKemis
User
Offline Off
Weird how the server.php page shows a different number than from the masterserver's list. I wonder what DC has to say about this.
25.06.12 12:26:26 am
Up
DC
Admin
Offline Off
Those two lists never show different ports. The port displayed at cs2d.com/servers.php is always the same as the port displayed in the in-game list because both lists are created from one and the same data source (the masterserver itself).

It happens that another port is displayed in the list than you actually specified in the settings though. This can be ignored in 99,99% of all cases because the listed port normally works as well. If it leads to problems anyway start your server with the commandline parameter -realport (this is not necessary in most cases! Try the steps at www.cs2d.com/faq first if people can't connect!)
www.UnrealSoftware.de | www.CS2D.com | www.CarnageContest.com | Use the forum & avoid PMs!
25.06.12 12:41:14 am
Up
Marcell
Super User
Offline Off
they can connect with 36963... but why show 36964?:O
25.06.12 12:42:36 am
Up
DC
Admin
Offline Off
It's weird router internet magic. I actually don't know. The library I use does it for whatever reason. I'm not responsible Are you sure that they can't join with 36964 which is displayed in the serverlist? Then use -realport!
www.UnrealSoftware.de | www.CS2D.com | www.CarnageContest.com | Use the forum & avoid PMs!
25.06.12 01:20:38 pm
Up
Marcell
Super User
Offline Off
i get work with this command ./######/cs2d_dedicated -realport
and now show myip:36963 in cs2d.com/servers.php

but when i start this. /etc/init.d/cs2d start
in serverlist show 36964

it is my script for cs2d

Code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
# The user that will run the server
user=marci

# Leave this alone.
NAME=cs2d

PATH=/bin:/usr/bin:/sbin:/usr/sbin

# DON'T FORGET TO CHANGE THE PATH TO YOUR NEEDS!
DIR=/cs2dhungary

# Leave this alone.
DAEMON=cs2d_dedicated

# Internet-server:
PARAMS=""

# Leave this alone.
DESC="Server"

case "$1" in
 start)
    if [[ `su $user -c "screen -ls |grep $NAME"` ]]
       then
       echo "Server is already running!"
    else 
       echo "Starting $DESC"
       su $user -c "cd $DIR; screen -m -d -S cs2d ./$DAEMON"
    fi
    ;;

 stop)
    if [[ `su $user -c "screen -ls |grep $NAME"` ]]
       then
       echo -n "Stopping $DESC"
       kill `ps aux | grep -v grep | grep -i $user | grep -i screen | grep -i $NAME | awk '{print $2}'`
       echo " ... done."
    else
       echo "Coulnd't find a running $DESC"
    fi
    ;;

 restart)
    if [[ `su $user -c "screen -ls |grep $NAME"` ]]
       then
       echo -n "Stopping $DESC"
       kill `ps aux | grep -v grep | grep -i $user | grep -i screen | grep -i $NAME | awk '{print $2}'`
       echo " ... done."
    else
       echo "Coulnd't find a running $DESC"
    fi
   
    echo -n "Starting $DESC"
    su $user -c "cd $DIR; screen -m -d -S cs2d ./$DAEMON $PARAMS"
    echo " ... done."
    ;;

 status)
    ps aux | grep -v grep | grep cs2d > /dev/null
    CHECK=$?
    [ $CHECK -eq 0 ] && echo "Server is online" || echo "Server is offline"
    ;; 
 *)
    echo "Usage: $0 {start|stop|status|restart}"
    exit 1
    ;;
esac

exit 0
To the start Previous 1 Next To the start