CS2D Bug Reports
2,017 replies Sorry if this has already been mentioned. I've tried searching and reading through the thread, but it's a bit hard to follow.
I've seen mentions of issues caused by Alt+Tab in Windows, and using OpenGL as a work-around in a previous CS2D version. But my issue is that I can't Alt-Tab at all in-game in Linux. There's no way to get the focus out of the game while in fullscreen. It even blocks system keybindings and shortcuts for other apps.
This is a really bad thing, and if you'd like to know why, I'd be happy to elaborate.
Am I the only one with this issue? Is this something that will be considered for a future fix? Or is this intended?
I've seen mentions of issues caused by Alt+Tab in Windows, and using OpenGL as a work-around in a previous CS2D version. But my issue is that I can't Alt-Tab at all in-game in Linux. There's no way to get the focus out of the game while in fullscreen. It even blocks system keybindings and shortcuts for other apps.
This is a really bad thing, and if you'd like to know why, I'd be happy to elaborate.
Am I the only one with this issue? Is this something that will be considered for a future fix? Or is this intended?

Am I the only one with this issue? Is this something that will be considered for a future fix? Or is this intended?
Same happens to me with Ubuntu 16.04
I guess the problem is that nearly nobody uses Linux to play CS2D...
And neither me nor
SQ use Linux either so we don't really notice stuff which goes wrong on Linux...
...also personally I don't know how I could fix that, sorry.



I'll try to run linux in few days to check if I can reproduce and fix those issues. I spent major time working on mac to fix those issues though.
edited 1×, last 14.07.17 01:56:53 pm
I'm also running Ubuntu 16.04
@
SQ: Thanks. And if you need a Linux tester let me know and I'd be happy to help. I'd just been away from the game for a bit and had missed some major changes lol.
@

i was playing but i need to go somewhere so when i came back i logged in and saw that the game was like this i quit the server and rejoined and it fix.
i dont know that this was fix or not but i wanna know why this happened
i dont know that this was fix or not but i wanna know why this happened

Im in Top 5 joiners of usgn frm my country
@
Yashukiller: Windows notification caused it, CS2D lost it's canvas object for a while.

@
SQ: Disregard the alt+tab issue in Linux. I believe this is just a Linux quirk and not something you guys can do much about. Lots of games seem to have this issue. Most Steam games work fine though. Only fix I know of would be for BlitzMax to use SDL for window creation.
Workaround for those having this issue:
Set your desktop to the resolution you want the game to be, Use windowed mode at full resolution and make the window undecordated in your Window Manager. You could do this via script with xrandr.
If you use dual-monitors and don't want the mouse going out of the game window constantly: set up the position of the other monitor so it barely connects at one corner. Then the mouse will only leave the screen in that corner.

Workaround for those having this issue:
Set your desktop to the resolution you want the game to be, Use windowed mode at full resolution and make the window undecordated in your Window Manager. You could do this via script with xrandr.
If you use dual-monitors and don't want the mouse going out of the game window constantly: set up the position of the other monitor so it barely connects at one corner. Then the mouse will only leave the screen in that corner.
I know what exactly happens in this scenario, I can handle it, just I'm not working under Linux so I can fix it.
@
Yashukiller: You don't need to quit the game, you can just open options to fix it

17.07.17 03:45:46 pm
Hello there.
I found this problem while testing my lua script.
From client's view, the armor which is equipped by "equip" console command is invisible until the player gets first damage.
(Left is server side, Right is client side.)

(If gif image doesn't view: https://youtu.be/45VTo1taB0I)
This problem is fatal for the Stealth Suit.
So I wish the official fix this problem.
I found this problem while testing my lua script.
From client's view, the armor which is equipped by "equip" console command is invisible until the player gets first damage.
(Left is server side, Right is client side.)

(If gif image doesn't view: https://youtu.be/45VTo1taB0I)
This problem is fatal for the Stealth Suit.
So I wish the official fix this problem.
play VA-11 Hall-A
18.07.17 02:36:32 am
Setting more than 28^2=784 tiles (approximate limit 800/820 tiles) at once results in a timeout for all clients except the server. Dedicated server starts flooding Re-Send Attempts (20) EXCEEDED!CONNECTION PROBLEMS! MAX Re-Send Attempts (20) EXCEEDED!CONNECTION PROBLEMS! like there:
Is it doss?
The players don't really timeout like they normally would (not kicked by server etc.), this bug possibly has the same root as
Tibia causing connection issues that was attempted to be fixed with changes to hudtxt networking.
When a player tries to join, he will at best join a frozen game state.
Test it:
!settiles 28 - and less must work
!settiles 29 - only the host continues to see changes, all other players freeze
Affected versions: 1.0.0.2, 1.0.0.3, 1.0.0.4 pre-release
Found while developing
【東方】Bad Apple!! 【影絵】 in CS2D


The players don't really timeout like they normally would (not kicked by server etc.), this bug possibly has the same root as


When a player tries to join, he will at best join a frozen game state.
Test it:
Code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
function drawFill(posx, posy, sizex, sizey, tile)
local tile = tile or 0
local posx, posy = posx or 0, posy or 0
local sizex, sizey = sizex or 3, sizey or 3
for x = 0, sizex-1 do
for y = 0, sizey-1 do
parse("settile ".. x+posx .." ".. y+posy .." ".. tile)
end
end
end
addhook("say","timeout_test")
function timeout_test(id, txt)
if txt:sub(1, 9) == "!settiles" then
local num = txt:match("%d+") or 1
msg("Setting N tiles: " .. num)
drawFill(0, 0, num, num, math.random(1, map("tilecount")-1))
end
end
local tile = tile or 0
local posx, posy = posx or 0, posy or 0
local sizex, sizey = sizex or 3, sizey or 3
for x = 0, sizex-1 do
for y = 0, sizey-1 do
parse("settile ".. x+posx .." ".. y+posy .." ".. tile)
end
end
end
addhook("say","timeout_test")
function timeout_test(id, txt)
if txt:sub(1, 9) == "!settiles" then
local num = txt:match("%d+") or 1
msg("Setting N tiles: " .. num)
drawFill(0, 0, num, num, math.random(1, map("tilecount")-1))
end
end
!settiles 28 - and less must work

!settiles 29 - only the host continues to see changes, all other players freeze

Affected versions: 1.0.0.2, 1.0.0.3, 1.0.0.4 pre-release
Found while developing



xm' range is really short. ~2.8 tiles -.- change it(while m3's is ~4.6)! and it's damage. And it's accuracy(should be the same as m3', 10)
should not this shotgun have 70 damage in total. This is really bullshit. Return back it's damage! 110 in total would be good. No matter if it have nice fire rate, and that this weapon is useless -.-
Otherwise the cost of this weapon is not 3000 but 1000 -.-
should not this shotgun have 70 damage in total. This is really bullshit. Return back it's damage! 110 in total would be good. No matter if it have nice fire rate, and that this weapon is useless -.-
Otherwise the cost of this weapon is not 3000 but 1000 -.-
I'm love You - CS2D)