Forum
CS2D General 0104 on linux0104 on linux
18 Antworten 1
Maybe you would have to recompile the sourcecode and hope it works in linux without having to change it.
Help would be much appreciated.
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.
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?
Zitat
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
Here are a few in-game screenshots, which were played in dedicated servers:
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..
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.
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.
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.
Lee hat geschrieben
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.
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.
Lee hat geschrieben
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.
Zitat
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:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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.
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?
Also follow the steps from the post above in order to register your server onto a custom serverlist.
DC hat geschrieben
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:
1