I changed a few weapon skins and now CS2D closes itself without any error messages.
There are size limits for skins?
Why at start of game errors are not recorded in log?
@ Pagyra: Yes, the size is limited. I guess to 75x75 or something but exceeding the limit should throw an error. Maybe the file format you are using is malformed. Try saving with another program.
Bot with given ID instantly turns to certain direction/angle (from 0° to 360°).
ai_rotate() generally doesn't do what it says.
well it is instant if you call it every frame but if you just call it once, it attempts to rotate smoothly to the angle (and often fails at doing so).
@ brofist: I assume that you modified the default tiles (you shouldn't do that). Either on your server or on your client. Replace them with the original tiles and you won't have to download them all the time.
About tile blending (up-right): If (tile x pos) <= (map width) - 11 then tile blending works fine otherwise no. So if you have problems with that then you just need to add 11 tiles to the map width.
DC, you need to find 10 or 11, it's depends on condition (<width-10 or <= width-11).
@ Pagyra: Which other modes did you try? Not all of the game modes actually do have a regular round start. So it's intended and makes perfect sense that this hook is not executed in each game mode.
If you want to execute stuff at the "start" you can simply execute it directly from Lua without any hook. spawn might also be the right alternative (attention: hook is executed for each player which is spawned).
I agree that I could trigger the "startround" hook at the start. It's simply not happening because the start round function which triggers this hook is not even called at the beginning in those game modes. I actually never thought about it but it's this way because those game modes do not have classical rounds at all. They go on all the time. So the "start" in "startround" would make sense, but the "round" doesn't make sense.
Note that the commands (sv_) restart / restartround will trigger the startround anyway (with mode 5). Being a bit inconsistently there... (it's happening because the start round function is used to reset the game in all game modes)
I'll add this information to the online reference.
I think you can not download things very high on your counter-strike 2d, I down on all servers in all maximum 250kb,
try to change some game options maybe this should be the problem.
Since I updated to 1.2.3, after a day (maybe two), if I join to a server, it became laggy. Not my FPS drops, my connection is laggy. I'm kinda sure there isn't any problem with my internet, because I can simply play CoD 4 or anything, this stuff is only there if I play with CS2D. Btw, I can see everything what happens on that server ( [PL] Unlimited Construction at the moment), everybody moves like avarage player, enemy destroys a turret, everything. I reinstalled the game, but it still lagging, and it's not really good. So I hope somebody can help, thanks.
Nothing in the network code has been changed so it's actually technical impossible that this is caused by the update / CS2D itself and it's also not a bug in the game and therefore this problem doesn't belong into this thread. I don't know why you have these problems or what you could do.