Forum

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

English CS2D Bug Reports

2,059 replies
Page
To the start Previous 1 257 58 59102 103 Next To the start

old Re: CS2D Bug Reports

DC
Admin Off Offline

Quote
@user VADemon: Yes, exactly the same problem as with mass HUDTXT. This is a problem caused by CS2Ds very basic networking layer which does not do proper packet splitting at all
The problem can be forced in a ton of different ways.

I will add a fix to settile so it works for more tiles but be aware that setting so many tiles is still very expensive and causes a lot of traffic. So you shouldn't do it often.
edited 2×, last 18.07.17 08:46:32 pm

old Re: CS2D Bug Reports

xsiN
User Off Offline

Quote
I don't know if this is a bug or not.

Whenever I change my server's difficulty let's say 1000 damage each hit for example, the poisonous gas from the gas grenade and the leftovers of the Molotov won't damage me like the server damage factor shows.

Basically 1000 damage ≠ 1000 poisonous gas

old Re: CS2D Bug Reports

VaiN
User Off Offline

Quote
returning 1 in build hook when placing a mine breaks the player's inventory

how to reproduce:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
can_place = false

addhook("build","_build")
function _build(id,btype,x,y,mode,objid)
	if btype == 20 then
		if can_place then return 0 end
		can_place = true
		return 1
	end
end

addhook("spawn","_spawn")
function _spawn(id)
	timer(1000,"parse","equip "..id.." mine")
end

The mine remains in the player's inventory but CS2D doesn't recognize that it's there

Log spams this:
1
2
Error: player Player (#1) tries to select weapon which he does not own (wpn id 77)
ERROR: Player tries to setup a mine without having one!

So if you have a script that prevents building in certain circumstances, the player gets stuck with mines they can't place anywhere.

old Re: CS2D Bug Reports

Talented Doge
User Off Offline

Quote
I don't know if this is a bug of the game itself or the bug of my own script.

Reqcld 4 works on server, but does not work on clients:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
checkfile = "gfx/abc.txt"

addhook("join", "_join")
addhook("clientdata", "_clientdata")

function _join(p)
	reqcld(p, 4, checkfile)
end

function _clientdata(p, m, d1, d2)
	if m == 4 then
		if checksumfile(checkfile) == d2 then
			authplayer(p)
		end
	end
end

function authplayer(p)
	msg("HORRAY!"..player(p, "name").." is ADMIN!")
end

It displays the message for me while I host, but the client does not check the sums nor does it displays the message(the files are exactly the same, copied.)

Edit: It seems to be the bug of the game, when I change the hook to team, the script functions normally.

old Re: CS2D Bug Reports

Axel340
User Off Offline

Quote
A fairly noticeable bug, when using a flashlight, the light does not pass through the walls, but spreads over all walls.

IMG:https://psv4.userapi.com/c812433/u106345053/docs/4491f759fd81/ch_1_Fear_War_1_00000.jpg?extra=1gHJt079BSKR_OzHGvvihFNtkL1It62gWkyoef-zqs3W9VUZsDI8KtfnZMYYStuXKJ1B8f6dRUiOA9wGLwT1DNfq8FD9NpA1oAVpXFiKWV9f-PPNrjX3BUlfzA
edited 1×, last 02.08.17 10:26:57 am

old Re: CS2D Bug Reports

Axel340
User Off Offline

Quote
In addition, I would like to know why in earlier versions it was possible to use the Cyrillic in func_message, but now this is absolutely impossible.

old Re: CS2D Bug Reports

Gaios
Reviewer Off Offline

Quote
Please fix Tile Blender because it doesn't work properly for coloured tiles. Please add it to 1.0.0.4 because it's bugged to far already.

old Re: CS2D Bug Reports

LoaderFRA
User Off Offline

Quote
In version 0.2.2.2 the command "freeimage"{in my case for remove hats} works fine and since in 1.0.0.3 the command (see code below) no longer works.

PS : I show you the error, because the command to add a hat works very well.

1
2
3
4
5
6
addhook("say","say_hat")
function say_hat(id,txt)
	if (txt=="!nohat") then
		freeimage(id)
	end
end

old Re: CS2D Bug Reports

DC
Admin Off Offline

Quote
@user LoaderFRA: That's not a bug. You're calling freeimage with the player ID. What you need to pass in is the actual image ID which you have to save somewhere.

This can work if the IDs are equal but in most cases that won't be the case.
To the start Previous 1 257 58 59102 103 Next To the start
Log in to replyGeneral overviewCS2D overviewForums overview