Forum

> > CS2D > General > CS2D Dedicated Server Software
Forums overviewCS2D overviewGeneral overviewLog in to reply

English CS2D Dedicated Server Software

317 replies
Page
To the start Previous 1 212 13 14 15 16 Next To the start

old Re: CS2D Dedicated Server Software

Lee
Moderator Off Offline

Quote
Try this

Go into options>network>port>2000

Next go into your forwarding area and forward port 2000 on UDP only to your lan address assigned by your router.

old Re: CS2D Dedicated Server Software

ilovemyself
User Off Offline

Quote
Hey DC, look to this.

Currently my ip is 85.110.226.133.

And guess what?

My dedicated is opened right now.

My port in config file

1
sv_hostport 36963

And look to this its sets my port to 21483 then 36963. WTF?!
IMG:https://i28.tinypic.com/25f12qb.gif


Your list can't even update a IP. (my port is 36963)
IMG:https://i27.tinypic.com/2di34nk.gif


I have never used port 25251 in my ENTIRE life.

As i said before YOUR LIST IS THE PROBLEM!!!

Your list can't update...

http://i32.tinypic.com/5luzat.gif

Even though dedicated software dont say this.
Dedicated server says "im updating your ip, so stfu".

Now again i putting the server list once more.

http://i26.tinypic.com/k4jn5s.gif

LOLWUT? Still same...

Yeah yeah... Software is updating the IP very good (sarcasm)....
edited 1×, last 29.07.09 07:42:51 pm

old Re: CS2D Dedicated Server Software

DC
Admin Off Offline

Quote
your server is also reachable over the port you specified. it's related with the network library I'm using. It uses another port but also the specified port or something. I don't know.

try to forward the port cs2d displays as well.
edited 1×, last 29.07.09 07:45:56 pm

old Re: CS2D Dedicated Server Software

DC
Admin Off Offline

Quote
because of the network library. it's actually using another port or something. weird shit. normally it should work with both. the specified port and the listed port. as I wrote before.

old Re: CS2D Dedicated Server Software

ilovemyself
User Off Offline

Quote
DC has written
because of the network library. it's actually using another port or something. weird shit. normally it should work with both. the specified port and the listed port. as I wrote before.


DC, In prior versions I Could open my servers and people were coming. Something you did in 0.1.1.5, destroyed my dreams of being cs2d host.

If it's weird you should do something.

OMG LOL UPDATE:
What the f*?

Look to this one.
IMG:https://i26.tinypic.com/2hn2es9.gif


Your software says "your ip is 85.214.77.150 with port binded to 36963" which is completely a LIE!

My IP is 85.110.226.50 right now!!!

Your software have 2 problems.

1 -Dedicated Software cant detect my REAL IP!!!

2 - Lets say

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
a = software's randomly generated udp port number at startup

b = port number in my server config file

c = port number but not same with "a" and "b".

d = my real ip (cmyip.com)

e = my fake ip (cs2d_dedicated.exe)

I start the software

"a" creates itself?

With my config file i change it to "b"!

Some time passes.

Software send update request to serverlist with "e"

But my ip is "d"

and i look to server list (usgn.de/servers.php) i see:

"d" + "c"

and "e" + some random port number again!!
edited 3×, last 30.07.09 12:52:08 am

old Re: CS2D Dedicated Server Software

DC
Admin Off Offline

Quote
calm down please...

• there were no changes on the relevant network code for version 0.1.1.5.!
so that code is the same as in 0.1.1.4. nothing is destroyed.

• the "sending update-request"-message does never show your own address and that's intended. it shows the IP and Port of the USGN masterserver.

old Re: CS2D Dedicated Server Software

Zune5
COMMUNITY BANNED Off Offline

Quote
What?
Update Request is the IP from USGN.de I thought...


C:\Users\1337admin\Desktop>ping usgn.de -n 15000000

Pinging usgn.de [85.214.77.150] with 32 bytes of data:
Reply from 85.214.77.150: bytes=32 time=144ms TTL=54
edited 1×, last 30.07.09 01:16:49 am

old Re: CS2D Dedicated Server Software

DC
Admin Off Offline

Quote
I don't know why the serverlist entry doesn't work correctly for you. I know that the principle is correct and I don't know why this happens to you. sorry. that's all I can say for now.

your idea has been declined because I simply want ESC to be used to QUICKLY (!) quit the game and not to close all windows first. I think that most people would agree. that's totally off-topic though so no more posts on that in this thread please.

old Re: CS2D Dedicated Server Software

ilovemyself
User Off Offline

Quote
I have remove control over some pcs. so i tested this server today.

Heres the results...

1 - I open dedicated.
[http://i30.tinypic.com/o1x5x.jpg]
[first port is 60070 then port changes itself to 36963]

2 - I connect to remote pc. [√]

3 - I open cs2d on remote pc. [√]

4 - I look to server list on remote pc.
[http://i29.tinypic.com/1568xw9.gif]
[in server list my port is 27115 which is not true!]

5 - I enter to the server. [√]

6 - I exit from the server. [√]

7 - I look to the server list again.
[http://i29.tinypic.com/vf8ej8.gif]
[now it can see my server title]

When will you fix my problem? please i need to host so much

old Re: CS2D Dedicated Server Software

Lee
Moderator Off Offline

Quote
CS2D uses 2 simultaneous connections. The 60070 is your port on the interface to usgn.de, 36963 is the port which you specified. Those are two different ports for clarification.

old Re: CS2D Dedicated Server Software

ilovemyself
User Off Offline

Quote
leegao has written
CS2D uses 2 simultaneous connections. The 60070 is your port on the interface to usgn.de, 36963 is the port which you specified. Those are two different ports for clarification.


Can you explain the other port 27115 in server list?

WTF? I didnt choose anything about 27115.

I said million times... in my server config file, specified port is 36963.

old Re: CS2D Dedicated Server Software

Lee
Moderator Off Offline

Quote
No I can't, but I would find out for myself if I had an environment identical to yours and can reproduce that bug, but I can't. My suggestion is to use wireshark to trace out the flow of data and see where the 27115 came from.

Also make sure that 36963 really is the port that's opened up by cs2d and not 27115, cs2d often makes a random port assignment when one or more ports that it chooses are blocked.

And for the last time - networking level of programming is unpredictable at best, please try to debug it on your own first to see if anything's gone wrong outside of the box. And as I've said before - Wireshark is your best answer right now.

old Re: CS2D Dedicated Server Software

DC
Admin Off Offline

Quote
the connections are not simultaneous.

what exactly happens when you start a dedicated server:

1. CS2D Dedicated starts
2. it chooses a random port (or the local port you specified in the net settings cs2d cmd localport )
3. it connects to the USGN with this port and checks whether your version is up to date
4. it initiates hosting. on this step it will close the existing udp connection and open a new one with the defined server port (it will keep the current if it already uses the right port or if the serverport is set to 0)
5. the dedicated server sends and entry message to the USGN masterserver
6. the masterserver reads the IP and the port of your server directly from the UDP packet header and saves the data in the USGN serverlist.

that you get another port seems to be a problem of BNetEx (the network library I'm using). Normally the server is reachable on BOTH ports. the port you get in the list and the port you specified (the developer of BNetEx confirmed that when I asked) . however this doesn't seem to work in your case. I don't know why.

old Re: CS2D Dedicated Server Software

ilovemyself
User Off Offline

Quote
BNetEx reminded me Battle.net :D..

anyways @leegao i need some help, i choose my capture interface but i dont know what to do next. I see lots of incoming packets but they are all TCP and HTTP.

Can you help me?

old Re: CS2D Dedicated Server Software

Lee
Moderator Off Offline

Quote
add the following filter

udp

And connect to cs2d, the following commands will also help

ip.addr == xxx.xxx.xxx.xxx
udp.port == 36963
To the start Previous 1 212 13 14 15 16 Next To the start
Log in to replyGeneral overviewCS2D overviewForums overview