Forum

> > CS2D > General > CS2D Bug Reports
Forums overviewCS2D overviewGeneral overviewLog in to reply

English CS2D Bug Reports

2,058 replies
Page
To the start Previous 1 256 57 58102 103 Next To the start

old Re: CS2D Bug Reports

DC
Admin Off Offline

Quote
@user Hajt: Regarding the path thing: You specify a static relative path there. CS2D's settings are not involved. So this is not a bug but expected behavior. I'll add a "sysfolder" parameter to cs2d lua cmd game so you can retrieve the sys folder path and use it in your scripts.

old Re: CS2D Bug Reports

VaiN
User Off Offline

Quote
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?

old Re: CS2D Bug Reports

united
User Off Offline

Quote
user VaiN has written
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

old Re: CS2D Bug Reports

DC
Admin Off Offline

Quote
I guess the problem is that nearly nobody uses Linux to play CS2D... And neither me nor user 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.

old Re: CS2D Bug Reports

SQ
Moderator Off Offline

Quote
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

old Re: CS2D Bug Reports

VaiN
User Off Offline

Quote
I'm also running Ubuntu 16.04

@user 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.

old Re: CS2D Bug Reports

Yunuu
User Off Offline

Quote
strip 1 0
command removes the bomb from terrorists, but cs2d still shows that I have the bomb

old Re: CS2D Bug Reports

Yashukiller
User Off Offline

Quote
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
IMG:https://i.imgur.com/VZ1HJbg.png

old Re: CS2D Bug Reports

VaiN
User Off Offline

Quote
@user 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.

old Re: CS2D Bug Reports

SQ
Moderator Off Offline

Quote
I know what exactly happens in this scenario, I can handle it, just I'm not working under Linux so I can fix it.

old "equip" command makes invisible armor

Amaguya
User Off Offline

Quote
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.)
IMG:https://i.giphy.com/media/l4FGy7B0nf3nMVdtK/giphy.gif

(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.

old Re: CS2D Bug Reports

DC
Admin Off Offline

Quote
@user Amaguya: You shouldn't use cs2d cmd equip for armors with the current version. Please use cs2d cmd setarmor instead.

I will write a fix for the next version so armors work properly with cs2d cmd equip as well.
edited 1×, last 17.07.17 09:01:14 pm

old Networking: Game State Update Freeze

VADemon
User Off Offline

Quote
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: thread cs2d 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 thread cs2d 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:
1
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
!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 thread cs2d 【東方】Bad Apple!! 【影絵】 in CS2D

old Re: CS2D Bug Reports

Mora
User Off Offline

Quote
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 -.-
To the start Previous 1 256 57 58102 103 Next To the start
Log in to replyGeneral overviewCS2D overviewForums overview