OMG
gamebasic.bb
[...]
If e_sv_restart=0 Then
;Draw
If player_count_living(0)=0 Then game_startround(40,5000,1):Return 1
[...]
If e_sv_restart=0 Then
Select forceend
[...]
;9 - Game Connecting...
Case 9
game_startround(40,5000,1):Return 1
[...]
;Game Connecting...
Case 40
e_sv_score_t=0:e_sv_score_ct=0
e_sv_round=0
For player.player=Each player
player\frags=0
player\deads=0
player\sweapon[0]=0
player\sweapon[1]=0
player\sweapon[3]=0
player\sweapon[4]=0
player\sweapon[5]=0
player\sweapon[6]=0
player\sweapon[8]=0
player\sammo[slot]=0
player\sammoin[slot]=0
player\money=player\money$=0
player\money=player\money$+800
player\weaponmode2=0
player\armor=0
Next
[...]
HUD.bb
[...]
;2/3 - Look T/CT
Case 2,3
i=-1
If key=1 Then i=0
If key=2 Then i=1
If key=3 Then i=2
If key=4 Then i=3
If key=5 Then i=Rand(0,3)
If i<>-1 Then
player_look(e_player,i)
player_ini(e_player)
If e_player=e_server Then
If e_bot<>0 Then
game_roundend(9)
Else
game_roundend()
EndIf
EndIf
hud_men_set(0)
EndIf
[...]
;--------------------Sprite Muzzleflash adden (10)
Function e_add_sprite_muzzleflash(x,y,size,dir,parent=0)
[...]
	;If parent<>0 Then
	;	EntityParent sprite\h,parent
	;EndIf
[...]
End Function
@DC: I'm sorry, but your update still doesn't stop the map editor map wall hacking glitch, at all! As long as you still have the new beta editor, you can do the exact same procedures to hack the map, join a CS2D v.0.1.0.2 server, and wall hack, without any prevention method.
I was very excited about the new version, especially since I finally got some of my maps included. But after playing for a while, I remembered the wall-hack. I joined a server with a map that I had previously hacked just to test the wall-hack and provide you the information. And it still worked! The wall-hack was still in place! I figured maybe it was because that map had been hacked before the update. But then I did further testing by hacking another map that I hadn't yet and testing it online. To my dismay, this worked too!
Here is a screenshot taken on de_dust2 on a CS2D v.0.1.0.2 server:
(noobs, don't get mad at me for hacking. I didn't use it to my advantage at all. I only used it for testing.)
I don't know why your anti-wallhack doesn't work, but it still concerns me that others will still be able to implement it in CS2D and cheat.
I love every other part of this update, except the fact that its main purpose failed. All the other little changes are fine, but the big change doesn't work.
WallHack must be elimineted !!! I'm organizator of PCL ( Pro Clans League - www.pcl.webplus.net.pl ) third Edition and that hack is my big problem becuse i dont know how i can check that on server ;/
Ooops... thats weird (I should have tested it... ). At least shooting trough walls should not be possible because this is calculated at the server (of course on the client side it look like it works but it does not make any damage).
@=[DoD]=CaLiBRe[CL]PL: CS2D can not be used in a league. There are too many ways to hack and cheat. Hopefully the new cs2d will change this.
@guest who is posting source code: what the f...! You didn't listen to what I said, eh? There will be a NEW cs2d. I'm not going to fix everything. This would be a waste of time. so please stop posting this.
PCL is good polish league ( soon will be avalible rules on engilsh on forum pcl ) and this is Third Edition :* . PCL is going good But WH is may problem and i beagu do somethink whit this ...
@DC: Are you sure? Cuz I also tested it on de_cs2d (this was the first map I hacked/tested, which was edited prior to update), and I was able to shoot and kill players through walls, getting me banned (lol). I will do further testing and inform you of my results.
EDIT: The update changed absolutely nothing as far as stopping the wall hack goes:
Here's DE_DUST, hacked after the update (note: my nick is Sp@Rky and I have and edited tileset for de_dust):
and
I don't know why your update doesn't work, but the hack is still easily workable, without any change.
DC there is one think you should know about cs and im not sure is it bug or somethink.When you make a map or play a map and two wal boxes are near one is up and one is in down but 1 box in left and the people can shoot trought the corners