Forum

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

English CS2D Bug Reports

2,057 replies
Page
To the start Previous 1 266 67 68102 103 Next To the start

old Re: CS2D Bug Reports

Yates
Reviewer Off Offline

Quote
For now you can get around it by checking if cs2d lua hook select triggers on weapon ID 50 (knife), setting it to 69 (machete) and stripping the knife.

You shouldn't notice it happening.

Edit: Select apparently does not trigger if your selection is forced by the game. Here is another solution:

1
2
3
4
5
6
7
8
9
10
11
12
13
function drop(id)
    timer(0, "checkWeapon", id)
end
addhook("drop", "drop")

function checkWeapon(id)
    id = tonumber(id)

    if player(id, "weapontype") == 50 then
        parse("setweapon "..id.." 69")
        parse("strip "..id.." 50")
    end
end
edited 1×, last 23.11.17 12:03:44 pm

old Re: CS2D Bug Reports

Mora
User Off Offline

Quote
@user Yates: I fixed it already with another way, it required some code but still the game set our weapons incorrectly.

old Re: CS2D Bug Reports

Yates
Reviewer Off Offline

Quote
True. But what did you do to fix it? I see no other logical way to take.

old Re: CS2D Bug Reports

SQ
Moderator Off Offline

Quote
@user Hajt: That score issue appeared before 1.0.0.5p3?
Also no one used setscore command?

old Re: CS2D Bug Reports

Yates
Reviewer Off Offline

Quote
@user SQ: Last time I checked the cs2d cmd setscore command only added to your score. It never was actually able to set a score correctly.

old Re: CS2D Bug Reports

The_Admiral
User Off Offline

Quote
Hey, stop ignoring my bug report, why dosen't anyone reply to me and reply to Mora instead?

Hello there, i wanted to report a thing that i've just encountered, while firing a Pistol like a Glock or an USP, i've noticed somtheing strange, when tapping mouse button to try and fire the pistol continiously (Rapid Fire) with the "Recoil Influences Accuarcy" setting, it just allows me to fire single-shot only, can somebody help me?

P.S
Of course, i mean the firedelay thingy.

old Re: CS2D Bug Reports

mrc
User Off Offline

Quote
user SQ has written
@user Hajt: That score issue appeared before 1.0.0.5p3?
Also no one used setscore command?

This score bug happens since it was added to the game. This happens randomly when the bomb explodes.

old Re: CS2D Bug Reports

Cure Pikachu
User Off Offline

Quote
@user The_Admiral:
IMG:https://i.imgur.com/zdnnXIf.png

I mentioned this in that other thread of yours.
user Cure Pikachu has written
Mess with the firedelay variables (marked in screenshot above) - lower means faster RoF.
Just know it's server-sided - it only affects weapons in your own server.

old Re: CS2D Bug Reports

VADemon
User Off Offline

Quote
Surprisingly, this code works with utf-8 sequences:
1
lua "print(string.len('приветäß'))"
However, printing the exact same text back to console is broken:
1
lua "print('приветäß')"
>
?@825äß


Also Windows still doesn't treat CS2D as a Unicode application and does weird things whenever UTF-8 text is copied to/extracted from clipboard based on the current keyboard layout.

old Re: CS2D Bug Reports

Promaster
User Off Offline

Quote
During a zombie mod, with 25 players+. this happens...

IMG:https://image.prntscr.com/image/cMrFITUeSqGpErOwFSz_aQ.png


IMG:https://image.prntscr.com/image/ga_7oYknSreQBbghk7y9pQ.png


As you can see, the players are too many in one side which even goes under the screen. Is this meant to be like that or just a bug?

old Re: CS2D Bug Reports

Devil-Thanh
GAME BANNED Off Offline

Quote
cs2d lua hook drop doesn't work as expected

I'm sure that cs2d cmd mp_deathdrop is 0, the only cs2d lua hook drop hook returns 2(drop and never fade), the only cs2d lua hook die hook returns 0(drop everything as setting)

But I can't drop any weapons but I can drop armor

Is this a bug or I missed something?

Edit: It occurs when I was using scripts, I still can drop weapons as setting when no scripts were used
To the start Previous 1 266 67 68102 103 Next To the start
Log in to replyGeneral overviewCS2D overviewForums overview