English CS2D Bug Reports

1,989 replies
Goto Page
To the start Previous 1 2 ... 99 100 Next To the start
02.12.22 01:03:55 pm
Up
Mami Tomoe
User
Offline Off
It appears that changing the bot skill from the bot menu does not affect the internal server variable (cs2d cmd bot_skill), yet the menu does retain the skill level as if it was changed.

So, you must change it throught the console for it to have an impact.

I used the listen client, and not on the dedicated server (with remote control), so I don't know how it'd work there (worth checking).

I'd like to note that cs2d cmd bot_weapons does work properly.
It's hard being the best girl in the whole wide world
02.12.22 01:32:17 pm
Up
DC
Admin
Offline Off
@user Mami Tomoe: How did you check the value? I can't reproduce the issue.
Code:
1
2
3
4
addhook("second","test")
function test()
     print(game("bot_skill"))
end

I used this script to verify. The printed value in the console changed as soon as another option was chosen.

p.s.: There is just one single variable holding the bot skill and this value is also used for displaying the skill in the menu. So if the menu shows it correctly the value did change correctly.
www.UnrealSoftware.de | www.CS2D.com | www.CarnageContest.com | Use the forum & avoid PMs!
02.12.22 01:39:39 pm
Up
Mami Tomoe
User
Offline Off
Ah, yes, my bad.
I had a wrapper for the game function that saved variables that aren't supposed to ever change (like map name), but I never added the cs2d cmd bot_skill command (likely because it's so forgettable).
It's hard being the best girl in the whole wide world
13.12.22 02:19:55 am
Up
Masea
Super User
Offline Off
cs2d lua cmd imageparam(id, "alpha") returns wrong values. I think it returns the rotation value instead of alpha.
Shit your pants: file cs2d Outlast II Mod (29) | Create your UI faster: CS2D UI Framework
15.12.22 04:17:11 pm
Up
Mami Tomoe
User
Offline Off
Whilst a map change is triggered, if a player happened to be joining to the server and is still downloading the transfer listed files, there won't be a leave trigger for the player, and it won't call any leave hook (that I'm aware of).

This also applies to some other ways that players can fail to connect to the server.
This is a known issue.

Do note that I'm listening to the cs2d lua hook disconnect hook.

Perhaps add cs2d lua hook disconnect_after_fail?
I'll leave the naming to you, if you do choose to approach it like that.

There should be a closed loop of hooks between a player's join attempt and their leave.
Currently it's only 98% effective, as there are still some gaps in the system, specifically when a player fails to join properly, or the server forgets about them during a map change.

Also, during a map change, a leave hook is not triggered for all players, I'm not sure if this is intentional.

Additionally, when the bomber leaves on the listen server, the bomb is dropped.
This does not happen on the dedicated server.

EDIT:
I think that failing to connect during cs2d lua hook connect_attempt will not call any leave hook because the player never got an ID, but it's a bit odd to not have a way to detect if the player finished connecting easily.
cs2d lua hook connect_failed?
edited 1×, last 16.12.22 03:10:41 pm
It's hard being the best girl in the whole wide world
17.12.22 01:23:38 pm
Up
197907
User
Offline Off
Hello us

@DC Will you make a christmas gift for cs2d players with a new game update?

Known that the ideas is closed but I needed to archive my suggestions:
Cannot add image to post
unrealsoftware.de/files_show.php?file=18163

Greetings
18.12.22 12:56:48 pm
Up
DC
Admin
Offline Off
@user 197907: It's unlikely because there are not enough changes to justify a full update and I won't be able to do enough changes in time.

Also please do not use the file archive to upload images. This violates our rules. I removed your upload. You can use free image hosting services instead (e.g. https://imgbb.com/, https://freeimage.host/ and many more, just do a quick search).

Furthermore if you link stuff make sure to paste the whole link so the stuff is actually clickable (and/or use the url tag with full url)
www.UnrealSoftware.de | www.CS2D.com | www.CarnageContest.com | Use the forum & avoid PMs!
03.01.23 10:06:45 am
Up
NanuPlayer
User
Offline Off
i am not sure about this but i don't think you can add more than 16 maps at mapcycle.cfg

Why is that?
Bad Life
08.01.23 09:35:54 pm
Up
197907
User
Offline Off
@user DC: Uploaded images had less than 100KB. As you know images uploaded on 3rd party sites could disappear forever.

There is problem with using [img] bb code:
Quote:
Sorry, you are not allowed to post links yet!



197907-1) [BUG] There is a bug with reload on xm1014 where we are playing as client. The last shoot start auto reload, on the client side the shooting cooldown is much longer than server side.
As server we can shoot immadietly, on client there is a fews seconds.

197907-2) [FEATURE] op_autoreload -turn on/off autoreload when we shooted last current reloaded ammo

197907-3) [FEATURE] - New checkbox option in entity env_breakable - Destroy by thrown grenade, it will be helpful for glasses

197907-4) [FEATURE] New Input range option in entity env_breakable - Decrease speed grenade after broken (required option Destroy by thrown), range for decrease speed 1-100%

197907-5) [FEATURE] Fix autoswitch option, the autoswitch should be cooldowned until we are stop shooting (keyup attack1 bind). Many new players have problem with that, especially with grenades.

197907-6) [FEATURE] Grenade throwing - new option (3),
ranged like in CS3D, longer hold attack1 then grenade will be throw away, could be stopped by click attack2 bind.
Could has a progressbar like reload to show how far will it be thrown.

The new option(3) could be mixed with option(1) - range by crosshair, attack1 bind crosshair; attack2 bind progressbar (without canceling option - needed change weapon to cancel)

197907-7) [FEATURE] New feature in editor, in map tiles options like tile blending.
Blocking or Allowing move from selected direction(multiple choice). It will help mapmakers.


197907-8) [FEATURE] New Tile properties -
a) Wall for shoots but grenades can be thrown
b) Bulletproof glass
To the start Previous 1 2 ... 99 100 Next To the start