English CS2D Bug Reports

1,938 replies
Goto Page
To the start Previous 1 2 ... 96 97 Next To the start
05.10.21 02:11:47 pm
Up
MikuAuahDark
User
Offline Off
cs2d cmd sv_sound (and cs2d cmd sv_sound2) doesn't say anything if the sound file doesn't exist. It just, doesn't play.
file cs2d LuaJIT for Dedicated Server (13) JIT POWER! | Know your Lua errors! | Part of LÖVE development team since 11.3
05.10.21 09:58:00 pm
Up
Gaios
Security Supporter
Offline Off
Just make sure the sound file is downloaded.
06.10.21 08:58:46 am
Up
The Dark Shadow
User
Offline Off
@user Mami Tomoe: Can they log-in into their USGN accounts here or only in-game?
06.10.21 09:12:08 am
Up
Mami Tomoe
User
Offline Off
@user The Dark Shadow, the exploit only works in-game.
06.10.21 02:01:51 pm
Up
Kolia_rus
GAME BANNED
Offline Off
@user Mami Tomoe: can this exploit be used to bypass Game ban in USGN? I mean, is it possible to fake USGN accounts which are game banned?
You received a game ban because you seem to be a cheater. You are not able to log-in in-game anymore.
06.10.21 04:57:20 pm
Up
Steru
User
Offline Off
Yes 2 days ago i got banned in my server. Some new player join, in 1 minute change USGN ID to my USGN ID and ban me by Admin script... Idk how he do it but propably cheat engine? Can someone check it?
IMG:https://i.imgur.com/P2f0JJA.png?1
06.10.21 05:44:47 pm
Up
Mami Tomoe
User
Offline Off
@user Kolia_rus, no.
@user Steru, I don't think this is how it's done, and I suggest against trying anything weird.
07.10.21 02:35:20 am
Up
mrc
User
Offline Off
thats the beginning of the end
CS2DBR @ Comunidade Brasileira de CS2D | https://www.cs2dbr.com
07.10.21 03:57:46 am
Up
Kolia_rus
GAME BANNED
Offline Off
@user mrc: currently it can be fixed by simple Lua. On the previous page I told that I made a script which checks for users' IP if his USGN ID belongs to an admin. It's not so hard to create this Anti-Exploit script manually.

Also I plan to let all my server users use this kind of protection. In a conception, it can have web-interface. If user will send a HTTP GET request (means he will open a link in browser as regularly) and it will look like www.example.com/trust.php?uid=12345 the handler on server-side will record the UID and IP and will trust it. The solution to prevent HTTP GET requests from violators is a Basic authentication. It is so simply to be configured.

If you are the one admin and would like to write a script just for yourself, on the web-side you can use something like this:

Code:
1
2
3
4
5
6
7
8
<?php

// Makes your current IP as the one admin's IP should be trusted.
// Works with HTTP Basic Authentication. See for: https://www.php.net/manual/en/reserved.variables.server.php

file_put_contents("/usr/cs2d/sys/lua/data/ip-".$_GET['uid'].".txt", $_SERVER['REMOTE_ADDR']);
file_put_contents("/usr/logs.txt", "[".time()."]"." added for ".$_SERVER['PHP_AUTH_USER']." from ".$_SERVER['REMOTE_ADDR'].".");
die();


Not tested by the way, but this rewrite I did looks better than the first version of this script I made in before.

I think this is a good idea to use until the vulnerability will be fixed in CS2D and/or USGN code, so I suggest it to all server owners.
You received a game ban because you seem to be a cheater. You are not able to log-in in-game anymore.
07.10.21 11:30:24 am
Up
Gaios
Security Supporter
Offline Off
user The Dark Shadow has written:
@user Mami Tomoe: Can they log-in into their USGN accounts here or only in-game?

user Mami Tomoe has written:
@user The Dark Shadow, the exploit only works in-game.

user Steru has written:
Yes 2 days ago i got banned in my server. Some new player join, in 1 minute change USGN ID to my USGN ID and ban me by Admin script... Idk how he do it but propably cheat engine? Can someone check it?

user Mami Tomoe has written:
@user Steru, I don't think this is how it's done, and I suggest against trying anything weird.

I just cracked it yesterday with user Steru, and I can 100% confirm the exploit. Looks like USGN Master Server gets IP (and maybe some random hash) from CS2D Client. After some idle time in menu, the target/victim USGN is cracked, and you can play on any server. Also looks like I couldn't log into somebody's USGN that he wasn't currently playing on.
USGN in console was saying
U.S.G.N.: Ping/State 'not playing'
instead of
U.S.G.N.: Ping/State 'playing'
07.10.21 04:20:03 pm
Up
MikuAuahDark
User
Offline Off
Could it be caused by me requesting change to USGN server a year ago that user DC implemented to allow more relaxed IP address matching because my IP is "too dynamic"?
file cs2d LuaJIT for Dedicated Server (13) JIT POWER! | Know your Lua errors! | Part of LÖVE development team since 11.3
09.10.21 07:12:34 pm
Up
Mami Tomoe
User
Offline Off
On the cs2d lua hook shieldhit hook, the weapon paramter will return the source's currently held weapon.
This is not normal, because if the victim is being hit by a turret, the value will remain as the source's held weapon.

Example:
If CT gets hit by a T's turret, but the T is currently holding a knife, the weapon will be set as the knife, while the object will be set as the turret.
16.10.21 04:39:36 pm
Up
mrc
User
Offline Off
https://www.cs2d.com/help.php?hookcat=all&hook=hostagedamage#hook

LUA ERROR: Cannot add '_hostagedamage' to hook 'hostagedamage' (hook does not exist)!

hook doesn't exist ingame
CS2DBR @ Comunidade Brasileira de CS2D | https://www.cs2dbr.com
17.10.21 11:48:24 am
Up
DC
Admin
Offline Off
I'm aware that there are reports about USGN security issues but I didn't manage to find the problem yet. I'm on it.

@user Mami Tomoe: You are right. This seems to be wrong. Also in some other hooks maybe. Will check.

@user mrc: true, there's a typo in the code.
It should work when you use
hostedamage
. Will be fixed.
edited 3×, last 17.10.21 12:19:46 pm
www.UnrealSoftware.de | www.CS2D.com | www.CarnageContest.com | Use the forum & avoid PMs!
17.10.21 10:31:25 pm
Up
hello, i would like to know how to create a server in the game, can you help me?
19.10.21 08:48:59 pm
Up
please help me every time I'm on my server cs2d change map alone can someone help me
@user DC: plis bro
sad
20.10.21 01:11:23 pm
Up
Kolia_rus
GAME BANNED
Offline Off
@user thx set the cs2d cmd mp_roundlimit to 0 and cs2d cmd mp_timelimit to 0 too and the map will not be available to change automatically.
You received a game ban because you seem to be a cheater. You are not able to log-in in-game anymore.
20.10.21 08:19:59 pm
Up
@user Kolia_rus: thanks
can someone help me create an awp script like do for fun awp because i want to play with my friends with this script can someone help me

I just want to have fun with this script for fun # awp his script is very good

can someone also help me create an aim_shot style script please always wanted to play with this script plis


@user DC: what do you think about teaching people to script
sad
20.10.21 10:10:15 pm
Up
Kolia_rus
GAME BANNED
Offline Off
user thx has written:
@user DC: what do you think about teaching people to script


There's official guide to Lua scripting: https://www.cs2d.com/tut/tkdlua/luatut.html. It's not related to the AWP script you've mentioned, but the article would be helpful to start coding for CS2D.

I can't say Lua is so hard. I've made my first serious script for CS2D after few hours of studying it, but I already had experience in JS, Python and PHP (not related to this game directly). If you'll have any questions related to scripting in the future, you'll need to gently ask them here: https://www.unrealsoftware.de/forum_threads.php?forum=105&sub=2.

---
@user DC:, the smoke grenade sound has a clicky glitch noise on its end.
edited 2×, last 21.10.21 08:47:30 pm
You received a game ban because you seem to be a cheater. You are not able to log-in in-game anymore.
To the start Previous 1 2 ... 96 97 Next To the start