English 0104 on linux

18 replies
Goto Page
To the start Previous 1 Next To the start
20.07.10 01:40:29 am
Up
FlooD
GAME BANNED
Offline Off
how do you run 0104 servers on linux?
:(){ :|:& };: http://github.com/floood
20.07.10 01:52:44 am
Up
Flacko
User
Offline Off
I guess you can't because DC introduced the Linux support in recent versions.

Maybe you would have to recompile the sourcecode and hope it works in linux without having to change it.
20.07.10 10:51:19 am
Up
Focus2D
User
Offline Off
I'd also like too know how to run beta 0104 dedicated servers via linux.

Help would be much appreciated.
20.07.10 11:18:23 am
Up
DC
Admin
Offline Off
in short:

× not possible


in detail:

× cs2d 0.1.0.4 is insecure and every part of it can be hacked with ease. DO NOT USE IT!

× there is no dedicated server for 0.1.0.4 because it has been programmed in blitz3d. you can't compile linux programs with blitz3d. cs2d 0.1.0.4 runs on windows only (maybe on linux using wine but not natively)

√ use the latest version instead. it is better by far and has dedicated server programs for windows and linux servers.
www.UnrealSoftware.de | www.CS2D.com | www.CarnageContest.com | Use the forum & avoid PMs!
20.07.10 04:33:53 pm
Up
Focus2D
User
Offline Off
I wish you'd stop repeating "Play the latest version".
And btw, yes, old cs2d could be hacked quite easily, but where not setting up this server, to play with fucken hackers. It'll be between professional players.

So anyway, if you can't run dedicated servers via linux. How can you run them?
20.07.10 04:35:27 pm
Up
ohaz
User
Offline Off
there isn't even an official dedicated server for cs2d 0104. So you can't run one.
https://ohaz.engineer - Software Engineering
20.07.10 04:38:18 pm
Up
DC
Admin
Offline Off
Quote:
I wish you'd stop repeating "Play the latest version".

and I wish you would play the latest version (which offers the required features!) instead of fucked up versions.

once again: the old version is crap. a real dedicated server does not even exist! you have to run the server with the cs2d client on windows!

> run the game
> net game
> create game
> optional: check the dedicated server checkbox. this is no real dedicated server anyway because it's still the game with visual output and console. it just doesn't let you join a team (you will be on the server at spectator) when this checkbox is enabled
> play
www.UnrealSoftware.de | www.CS2D.com | www.CarnageContest.com | Use the forum & avoid PMs!
20.07.10 04:54:06 pm
Up
Focus2D
User
Offline Off
You can run dedicated server(s) via beta 0.1.0.4.

Here are a few in-game screenshots, which were played in dedicated servers:

IMG:http://i216.photobucket.com/albums/cc81/diamond_xr6/th_225k-1.png


IMG:http://i216.photobucket.com/albums/cc81/diamond_xr6/th_150k-1.png


IMG:http://i216.photobucket.com/albums/cc81/diamond_xr6/th_fdfs-1.png



IMG:http://i216.photobucket.com/albums/cc81/diamond_xr6/de_inferno25313675-1.png


If it weren't a dedicated server, i wouldn't be able to see everyones ping. Also look at the last screeenshot, see when you type the word "top" you get the top3 highest ranked players in that server.

Now you cannot do that, via the steps you mentioned above, on how to run a dedicated. So explain that..

PS: I do play the latest version off cs2d. But from time to time, i like to play some real competitive CS:2D. Where latency, isn't a problem..
20.07.10 05:34:30 pm
Up
DC
Admin
Offline Off
latency is the same problem in 0.1.0.4. it has no techniques against high pings.

there is a spectator on this server (with empty name?) which is probably the server hoster.

it is possible that there are custom made, not official dedicated server programs. it might also be a modified version of the original source code. no idea.
www.UnrealSoftware.de | www.CS2D.com | www.CarnageContest.com | Use the forum & avoid PMs!
20.07.10 06:54:39 pm
Up
Flacko
User
Offline Off
Focus2D, you should stop being so imperative.

The old CS2D used some weird kind of P2P connection between the server and players, so it was easy to hack because you could change your health on the client side and then the server would change it too.
This way you would only get hurt if you see on your screen that a player shot you, which may get a bit frustrating for some players.
20.07.10 07:33:51 pm
Up
Lee
Moderator
Offline Off
3rr0r wrote a closed source implementation of the 0104 protocol (which I is essentially the same as the 0100 protocol that was open source) which he then entrusted to TMK to create a more feature abundant implementation:

http://failboat.me/dedi.zip (This is a near replica of our [TGV] Ranked server back in the summer of 2008 )

Note that this version requires Python 2.5 since the .pyc file only embeds the 2.5.4 magic.

I have hence written my own implementation of the 0104 protocol on top of 3rr0r's workflow, which should integrate seamlessly with his work:

http://github.com/leegao/Open2DServer

Again, as via the above suggestions, these versions are outdated.
20.07.10 08:59:45 pm
Up
Jermuk
User
Offline Off
Lee has written:
3rr0r wrote a closed source implementation of the 0104 protocol (which I is essentially the same as the 0100 protocol that was open source) which he then entrusted to TMK to create a more feature abundant implementation:

http://failboat.me/dedi.zip (This is a near replica of our [TGV] Ranked server back in the summer of 2008 )

Note that this version requires Python 2.5 since the .pyc file only embeds the 2.5.4 magic.

I have hence written my own implementation of the 0104 protocol on top of 3rr0r's workflow, which should integrate seamlessly with his work:

http://github.com/leegao/Open2DServer

Again, as via the above suggestions, these versions are outdated.


Anyone wrote a implementation for the actually version, but I think he won't release it.
21.07.10 03:57:46 am
Up
Focus2D
User
Offline Off
Lee has written:
Again, as via the above suggestions, these versions are outdated.


I've got a working serverlist, and over 20 players who are ready to play.

Thanks for your help anyway.

Oh and DC, you cannot see the server name in the screenshots, because i cut them out along time ago, so they can fit into my forum, without stretching the page.
21.07.10 01:31:29 pm
Up
DC
Admin
Offline Off
Focus2D: you probably got me wrong. I was never talking about the name of the server. I was talking about the name of the spectator (it says Spectators (1 Player) - but there is no name in the list below).
www.UnrealSoftware.de | www.CS2D.com | www.CarnageContest.com | Use the forum & avoid PMs!
21.07.10 02:38:48 pm
Up
Lee
Moderator
Offline Off
Quote:
I've got a working serverlist, and over 20 players who are ready to play.


TMK's server is closed sourced but can be hacked to be used with custom serverlists:

Here are the methods needed for setup and teardown+validation:

Code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
ip = ""
def key(ip = ip):
     add = ip.split(".")
     key = (((((int(add[0]) * 3) + (int(add[1]) * 8)) - int(add[2])) + (int(add[3]) * 5)) - 9346)
     return key

def register(port):
     global ip
     try:
          ip = urlopen(usgnhost + "sv_save.php?game=Counter-Strike%202D&port=" + str(port)).read()[2:]
          return 1
     except:
          return 0

def shutdown(ip = ip):
     try:
          urlopen(usgnhost + "sv_kill.php?game=Counter-Strike%202D&ip=" + ip + "&key=" + str(key(ip)))
          return 1
     except:
          return 0


You need to boot TMK's beta server alongside this script and set Svusgnregister at 1000 (1000 hours) (either as a different process or integrated as a parallel thread.
22.07.10 12:35:34 am
Up
FlooD
GAME BANNED
Offline Off
so lee... can u explain how to set up a 0104 server?
from what i see, the steps r:
1. install python
2. put the files on the server
3. run the server.pyc file

is that it?
:(){ :|:& };: http://github.com/floood
22.07.10 01:15:05 am
Up
Lee
Moderator
Offline Off
The python version has to be specific, you need to download 2.5.x in order to run the .pyc file (only 2.5 and 2.4 were ever released).

Also follow the steps from the post above in order to register your server onto a custom serverlist.
22.07.10 03:50:50 am
Up
Focus2D
User
Offline Off
DC has written:
Focus2D: you probably got me wrong. I was never talking about the name of the server. I was talking about the name of the spectator (it says Spectators (1 Player) - but there is no name in the list below).


Oh, i see what you mean.

In the older version, if you went into options>name and selected a special character without any numbers/letters, your name would show up completely blank as shown below:

IMG:http://i216.photobucket.com/albums/cc81/diamond_xr6/th_1-34.png


IMG:http://i216.photobucket.com/albums/cc81/diamond_xr6/th_2-27.jpg
05.08.10 06:22:34 pm
Up
Shiva
User
Offline Off
u can try run it thru wine...
To the start Previous 1 Next To the start