English [RELEASE] Custom CS2D Server a0.1

79 replies
Goto Page
To the start Previous 1 2 3 4 Next To the start
24.10.10 12:59:11 pm
Up
chingyingtiktau
User
Offline Off
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 )
Feel free to contact me here. (English speakers as well as zh are welcome)
24.10.10 01:02:45 pm
Up
Jermuk
User
Offline Off
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.
24.10.10 01:40:23 pm
Up
CappaCappa
BANNED
Offline Off
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..
24.10.10 09:18:11 pm
Up
Lee
Moderator
Offline Off
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
25.10.10 05:30:40 am
Up
FlooD
GAME BANNED
Offline Off
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?
:(){ :|:& };: http://github.com/floood
25.10.10 06:19:28 pm
Up
Jermuk
User
Offline Off
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!
26.10.10 12:00:59 am
Up
fragezeichen
User
Offline Off
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.
good day fragezeichen alias 3rr0r
26.10.10 12:46:30 am
Up
FlooD
GAME BANNED
Offline Off
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.
Code:
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.
Code:
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
:(){ :|:& };: http://github.com/floood
26.10.10 03:51:36 pm
Up
Jermuk
User
Offline Off
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.
26.10.10 04:21:54 pm
Up
Lee
Moderator
Offline Off
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.
26.10.10 04:53:30 pm
Up
Jermuk
User
Offline Off
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
26.10.10 10:18:26 pm
Up
CoolioG
User
Offline Off
Do you have a test server for this?
26.10.10 10:53:02 pm
Up
FlooD
GAME BANNED
Offline Off
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:
Code:
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
:(){ :|:& };: http://github.com/floood
27.10.10 02:11:58 am
Up
-Skull_
User
Offline Off
fix the lag compensation working before DC
Btw, great work although i can't host servers, but i think this program is great.
IMG:http://i714.photobucket.com/albums/ww144/Skull_xr6/forum/sksig.png
27.10.10 04:02:55 am
Up
FlooD
GAME BANNED
Offline Off
-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).
:(){ :|:& };: http://github.com/floood
27.10.10 02:59:31 pm
Up
Jermuk
User
Offline Off
@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).
27.10.10 06:58:03 pm
Up
FlooD
GAME BANNED
Offline Off
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).
:(){ :|:& };: http://github.com/floood
27.10.10 07:54:43 pm
Up
Refresh
User
Offline Off
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?
27.10.10 08:09:22 pm
Up
Jermuk
User
Offline Off
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
28.10.10 01:00:45 am
Up
FlooD
GAME BANNED
Offline Off
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
:(){ :|:& };: http://github.com/floood
To the start Previous 1 2 3 4 Next To the start