Forum

> > CS2D > General > [RELEASE] Custom CS2D Server a0.1
Forums overviewCS2D overviewGeneral overviewLog in to reply

English [RELEASE] Custom CS2D Server a0.1

79 replies
Page
To the start Previous 1 2 3 4 Next To the start

old Re: [RELEASE] Custom CS2D Server a0.1

chingyingtiktau
User Off Offline

Quote
i compiled the sources. no error nor virus detection. i started the server successfully but cannot connect to it......

suggestions
1. allow terminal arguments for different maps---most preferrable choosing from a list, okay for entering a map name as terminal parameter
2. add terminal arguments for "-h" and "--help"

i *may* be able to help on it, but i will learn c language only after christmas (i learned c++ by myself recently but university isn't offering c++ next semester )

old Re: [RELEASE] Custom CS2D Server a0.1

Jermuk
User Off Offline

Quote
chingyingtiktau has written
i compiled the sources. no error nor virus detection. i started the server successfully but cannot connect to it......


Try to connect to port 1994
The other ideas are good, but I planned to make like dc a server.cfg.

old Re: [RELEASE] Custom CS2D Server a0.1

CappaCappa
BANNED Off Offline

Quote
Couldn't compile it at first because it didn't find references to WSAStartup@8 etc,

After that i linked ws2_32.lib and it compiled fine. Just to let you know..

old Re: [RELEASE] Custom CS2D Server a0.1

Lee
Moderator Off Offline

Quote
CappaCappa has written
Couldn't compile it at first because it didn't find references to WSAStartup@8 etc,

After that i linked ws2_32.lib and it compiled fine. Just to let you know..


I'll try to normalize this with the official version of CS2D so that we can export directly from one to the other -> including lua support if possible

old Re: [RELEASE] Custom CS2D Server a0.1

FlooD
GAME BANNED Off Offline

Quote
i think this thread should be sticked

jermuk do you want any bug reports/suggestions right now or should we hold those off until later?

old Re: [RELEASE] Custom CS2D Server a0.1

Jermuk
User Off Offline

Quote
FlooD has written
i think this thread should be sticked

jermuk do you want any bug reports/suggestions right now or should we hold those off until later?


You can do it now!
But please just bugs!

btw: new version!

old Re: [RELEASE] Custom CS2D Server a0.1

fragezeichen
User Off Offline

Quote
nice that you got the courage to start something like that.

interesting how it's similar to the old cs2d (b 0.1.0.0-4)

i wonder whether this project will be seriously developped.

old Re: [RELEASE] Custom CS2D Server a0.1

FlooD
GAME BANNED Off Offline

Quote
bugs:
1.
More >


that's what happened to me (using a linux vps).
i just tried to join the server and bang that happened.
2.
1
2
sv_name asdf
mp_startmoney 10000
strangely, this makes a server with name " asdf" and 1000 startmoney. it seems that the last character of the last line is being removed...
3.
1
2
3
[20:15:13] Client 1 timed out!
[20:15:13] To All (Chat): This is an alpha version! Don't play at it!
[20:15:13] recvfrom() failed[20:15:13] ********** Server Shutdown! **********
this occurs whenever a player quits without disconnecting (i.e. kill cs2d process with task manager or type quit in console).
4. weapon reload animations do not finish if you don't move your pointer or do something like that.

other stuff (that you may or may not already know):
1. the hitbox for this is a circle with radius 16. in standard cs2d it is a square 24*24. i do not think this should be changed however, because i prefer a circular hit zone rather than a non-symmetric square.
2. weapons.c is incomplete/inaccurate.
3. if i force mp_gamemode to 0 (standard gamemode) in the source and compile, players never spawn in-game.
4. weapon frequency appears to be hard-coded into the cs2d client program. that means weapons[id].freq is pretty much useless.
5. if you can't buy a gun, the menu remains open.

features to be implemented (i.e. unrecognized packets):
*voting
*/kill
*rcon
*radio commands
edited 17×, last 26.10.10 06:46:15 am

old Re: [RELEASE] Custom CS2D Server a0.1

Jermuk
User Off Offline

Quote
Thank you for reporting bugs.
Many are already known.
I know also the malloc problem, but I haven't the time to fix it (because there are a lot of mallocs and this problem just appear in linux, windows hide the error).
Well, you have always to make a newline at the end of a line. I'm going to fix that.

old Re: [RELEASE] Custom CS2D Server a0.1

Lee
Moderator Off Offline

Quote
I can handle rcon: There are two current implementations of rcon, one encrypted and the other unencrypted. I'll expose a parse method where the arguments can be parsed.

old Re: [RELEASE] Custom CS2D Server a0.1

Jermuk
User Off Offline

Quote
Lee has written
I can handle rcon: There are two current implementations of rcon, one encrypted and the other unencrypted. I'll expose a parse method where the arguments can be parsed.


Ok, we will handle kill message + usgn.de support + too little money msg and some others

old Re: [RELEASE] Custom CS2D Server a0.1

FlooD
GAME BANNED Off Offline

Quote
i can do the weapons table if u want

new bugz
---buying bugs---
*buyzone radius is one tile smaller than what it should be
*you lose money if you try to buy a gun you already have.
*you don't drop your weapon if u buy a similar one. (like you have a usp and when you buy a deagle, you end up having both)
---weapon bugs---
*switching from silenced usp to knife removes the silencer. same goes with burst.
*the following are useless (i assume because they are hard-coded in the cs2d client):
weapons[id].freq
weapons[id].speed
weapons[id].slot
weapons[id].range (still testing)
weapons[id].accuracy (questionable. bullet spray doesn't show up for the client if you increase this value)
weapons[id].ammo1
weapons[id].ammo2
---not implemented---
*can't drop

something else that is very important:
1
To All (Chat): This is an alpha version! Don't play at it!
this message (designed to repeat every 5 seconds) only appears when you are playing and rotating/moving in the server OR when you click "find servers" in the cs2d client. i believe this is because the while(1) loop in main only runs when it receives packets. (or maybe runs once for each packet).
basically the server freezes if no packets are being received.
edited 5×, last 26.10.10 11:58:10 pm

old Re: [RELEASE] Custom CS2D Server a0.1

FlooD
GAME BANNED Off Offline

Quote
-Skull_ has written
fix the lag compensation working before DC
Btw, great work although i can't host servers, but i think this program is great.


i believe that would be difficult/inefficient/impossible if the server does not have a defined fps (which i kinda explained in the bottom of my previous post).

old Re: [RELEASE] Custom CS2D Server a0.1

Jermuk
User Off Offline

Quote
@FlooD:

Well, weapons[id].xx is not useless. I have done it so, that you can edit it later (remember: just an alpha).
Well, please don't post bugs, we already know. Your posted bugs are just not-implemented stuff. And the last bug is maybe an compiler-optimization bug. And of course you can make the weapon table. Just say it, before you do it.

@CollioG:
No, this alpha version is too unstable (crashes just after some minutes).

old Re: [RELEASE] Custom CS2D Server a0.1

FlooD
GAME BANNED Off Offline

Quote
Jermuk has written
@FlooD:

Well, weapons[id].xx is not useless. I have done it so, that you can edit it later (remember: just an alpha).
Well, please don't post bugs, we already know. Your posted bugs are just not-implemented stuff. And the last bug is maybe an compiler-optimization bug. And of course you can make the weapon table. Just say it, before you do it.

@CollioG:
No, this alpha version is too unstable (crashes just after some minutes).


note that i didn't mention all of the weapons[id].xx.

some of them actually have an effect (damage, reload time, price, and some others)

however what i mean is that a few of those are pointless because they are coded into the cs2d client...
for example you can't change the amount of ammo in a USP to 24... (i tried and recompiled it but nothing happened).

old Re: [RELEASE] Custom CS2D Server a0.1

Jermuk
User Off Offline

Quote
Levic has written
I cant run it
I start the server then I see a console for about 0.1 sec
I have Win7 64bit Professional.
What could I do?


Well:
1) the exe is outdated
2) the newer version has an log in wich you can see, wich error happened. In most cases thats because you didn't opened a port or the map couldn't be found.

@FlooD,

e.g. ammo1 and ammo2 are security checks so a hacker could not make reload hack.

btw: the reload bug and 'This is an alpha' bug are fixed!
edited 1×, last 27.10.10 09:11:57 pm

old Re: [RELEASE] Custom CS2D Server a0.1

FlooD
GAME BANNED Off Offline

Quote
Levic has written
I cant run it
I start the server then I see a console for about 0.1 sec
I have Win7 64bit Professional.
What could I do?


put de_cs2d.map in the same folder as the server exe and try again
To the start Previous 1 2 3 4 Next To the start
Log in to replyGeneral overviewCS2D overviewForums overview