Forum

> > CS2D > General > version 0.1.0.4 down when max releases?
Forums overviewCS2D overviewGeneral overviewLog in to reply

English version 0.1.0.4 down when max releases?

22 replies
Page
To the start Previous 1 2 Next To the start

old closed version 0.1.0.4 down when max releases?

NightHawk
User Off Offline

Quote
Hey,
First of all, DC you did a great job on Max regardless the bugs.
This might be a stupid question But i've seen people discussing about "i'd rather stay on version 0.1.0.4", so will the old cs2d still work when the final cs2d max is released?

old Re: version 0.1.0.4 down when max releases?

DC
Admin Off Offline

Quote
the usgn support for 0.1.0.4. will be stopped as soon as the new version is stable enough. this means you will just get an empty serverlist there. the only way to join a server would be the "join by ip" function.

why am I doing this? it's just because the new cs2d IS better! I don't want people to play the old one. of course everyone has to get used to the new version first but it's truly worth the change in my opinion.

old Re: version 0.1.0.4 down when max releases?

jeepohahyo
User Off Offline

Quote
Well, I think the decision to lock the old clients out is reasonable. DC has stated all the time, that CS2Dmax will substitute CS2Dold eventually.

I don't understand your concerns: After all, the new client is completely for free like the old one and I don't see that CS2Dmax lacks anything what CS2Dold had.

I would like to see that the players of CS2Dold are still able to play for some time after the stable release of CS2Dmax although in my opinion the old server list may shut down after a few months of coexistence of both versions, so that there is only the USGN message with upgrade instructions.

old Re: version 0.1.0.4 down when max releases?

ohaz
User Off Offline

Quote
what do you mean? another server which hosts the server list for the old cs2d? then you would have to have the source code to switch the server list in the game.

old Re: version 0.1.0.4 down when max releases?

DC
Admin Off Offline

Quote
it would be possible to host the serverlist of the old cs2d somewhere else.
all you need is a webserver and some php scripts.

don't ask me how these scripts have to look like. you can see it in the source code. its a pretty simple structure.

everyone could easily change the host by changing
temp/usgn_host.inf

old Re: version 0.1.0.4 down when max releases?

Lee
Moderator Off Offline

Quote
TheKilledDeath has written
what do you mean? another server which hosts the server list for the old cs2d? then you would have to have the source code to switch the server list in the game.


you don't have to change the sourcecode, the serverlist host is in the temp directory of the game. The script basically has 3 parts, a setserver, deleteserver, and get serverlist. And those who wishes to continue playing on the old game would only have to change their host.

old Re: version 0.1.0.4 down when max releases?

KimKat
GAME BANNED Off Offline

Quote
I have a site, it allows PHP luckily perhaps I can host the server list and all that. I could need some help with the PHP though. My account is on 10gbfreehost, as it says it has 10gb webspace my site is called 'kimkatproductions' so I think I can host a CS2D 0.1.0.4 serverlist with some PHP help from leegao or someone else.

I've already created a subfolder and tested if I could upload PHP files, which was successful. So I think I can host the serverlist.

I could store the serverlist here or something >> serverlist
Trying to learn some basic PHP.
edited 1×, last 30.07.08 11:50:35 am

old Re: version 0.1.0.4 down when max releases?

KimKat
GAME BANNED Off Offline

Quote
Lol, matter of fact is that people still like the v0.1.0.4 version of CS2D and I'm willing to host the serverlist somewhere.

Some people might want to play the old one sometime.

old Re: version 0.1.0.4 down when max releases?

Player
COMMUNITY BANNED Off Offline

Quote
KimKat has written
Lol, matter of fact is that people still like the v0.1.0.4 version of CS2D and I'm willing to host the serverlist somewhere.

Some people might want to play the old one sometime.


Your basically saying that ''people like CS2D 1.0.4 more then CS2D Max'' because why would you play the old CS2D if you think Max is better? Afcourse people play the game they think is better, and if any guy plays the old CS2D then he must think that that is better then Max right? Well Max isn't even finished yet, first of all..
Alot of people don't bother searching for all features of Max, they download and join a quick server and decide in 5 minutes whats better without even knowing that there are RPG Launchers, new commands, new options, molotov cocktails, CTF mode, maptransfer, spray transfer, etc.

So what ur saying is kind of incorrect, because Max isn't fully done yet so people cannot say ''CS2D is better then Max'' because its NOT even DONE YET! If Max is done, and the person knows every new feature of Max, THEN he can decide whats better and what he plays.
But since Max isn't even fully out yet so what ur saying is incorrect. It's not a fact.

KimKat: Lol, matter of fact is that people still like the v0.1.0.4 version of CS2D

old Re: version 0.1.0.4 down when max releases?

T3rminator
User Off Offline

Quote
KimKat has written
I like CS2D 0.1.0.4 and I will probably like CS2D max even more, but what if you want to play the old one? that's why I'm willing to host a serverlist.
yea i still like old cs2d kimkat can perhaps help host servers?

old Re: version 0.1.0.4 down when max releases?

Lee
Moderator Off Offline

Quote
Player:
We're not saying max is better the cs2d. If an overview like the one you've provided applies universally, in this case it must to be logical, then why do people still play CS1.6? Why do people still play CoD1 and 2? Why do people still play older games when newers ones are out? Because they like the newer version, but believe that the old version still has some replay values. Would I play cs2d0.1.0.4 after max is out? Sure I would, in fact I'm currently developing an almost complete DM Server for 0.1.0.4 even in anticipation of Max.

And for anyone here interested, the scripting for the host comes in 3 parts. 2 of which takes arguments through the post method

The first of which is sv_save.php. The physical script on the usgn server is located at:
     http://usgn.unrealsoftware.de/game_cs2/sv_save.php

the post arguments would look something like this (replace the space with %20 since the correct URI format have no spaces.):
     game=Counter-Strike 2D&port=36963

The script then get the IP of the request. Processes it, and create a dynamically-linked list that links the ip to the port.

Then comes the sv_kill.php:
     http://usgn.unrealsoftware.de/game_cs2/sv_kill.php

the post arguments looks like:
     game=Counter-Strike%202D&ip='127.0.0.1'&key='*'

The function of sv_kill is somewhat more advanced. Not only does it require an ip, but it also requires a verification key.

To calculate this key, 3rr0r from Storm have written a handy python script in his dedicated server. I have disassembled the script and coded the following back together:

def key():
add = ip.split(".")
key = (((((int(add[0]) * 3) + (int(add[1]) * 8)) - int(add[2])) + (int(add[3]) * 5)) - 9346)
return key

since the syntax of this code may seem a bit messy, I'll give a brief explaination:

first of all you split the ip by the "." delimitor, which will return a list with 4 items [a,b,c,d] for simplicity's sake. The main calculation of the key is as follows:

(a*3 + b*8 -c + d*5) - 9346

After that, if the key provided by the post argument and the key calculated matches, do a check to see if the request is actually done by the said IP (this is what usually cause the dead IPs in game from dynamic hosts), after which delete the ip and port entry from the serverlist database.

The sv_load.php is used by the game to get the serverlist. It only has one argument game=Counter-Strike%202D and it'll return the following information:

status: Return 1 or 2

version: current version of the game, checked by the client

number: Returns the total number of entries in the server list

ip: Returns the ip location of one server. This value will be returned numerous times depending on the numbers of entries

port: Returns the port of one server. This value will be returned numerous times depending on the numbers of entries

msg: Returns the news to be displayed after the client connects to the serverlist

It would also be best if the sv_save could send out a packet that consists of 2 bytes, 250 and 0, which is the code to "ping" and retrieve the server information

And so that basically sums up the inner workings of the server list. Oh, and if you do finish, make sure you make the changes in your temp fold as well

old Re: version 0.1.0.4 down when max releases?

KimKat
GAME BANNED Off Offline

Quote
Isn't there anything more? how about the body code to output all those servers and how about the graphics and that like it's on here. Could I use custom graphics for the serverlist or does it have to be exactly like it's in CS2D's serverlist? I'd like to know more about that.

old Re: version 0.1.0.4 down when max releases?

Guest

Quote
I think "CS2D beta 0.1.0.5 version" is quite good so far.
I think it's really cool, how you reload and it shows, your "Players" hand movement.

What i dislike about "CS2D beta 0.1.0.5 version" would be the "Players" movement speed. He walks way too slow.
The AWP is way too easy, you can zoom in twice swap to Deagle then back to AWP scoped in, and kill someone really easy.

What pisses me off the most is when someone joins your game and "Game Commences" for example, I'll be on let's say 60 kills 2 deaths, then someone will join my server and it will reset everything.

I hope he releases a new beta version soon,
with these features added:

* Team Autobalance
* Warmode
* Working commands (sv_restart, sv_warmode etc... )
* Faster Movement
* Less Bugs
To the start Previous 1 2 Next To the start
Log in to replyGeneral overviewCS2D overviewForums overview