-
-
Notifications
You must be signed in to change notification settings - Fork 193
Update CS2 09-17-25 #1037
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update CS2 09-17-25 #1037
Conversation
|
I made my own branch for build testing with latest sdk here. https://github.com/oylsister/CounterStrikeSharp/actions/runs/17786668246 |
|
I'm currently down with illness so can't verify much of this, is it good to go? |
|
yeah, I think this good to go. |
Co-Authored-By: Alex <[email protected]>
|
Need to find offset for |
|
|
The signature you gave |
"CCSPlayer_ItemServices_DropActivePlayerWeapon": {
"offsets": {
"windows": 21,
"linux": 22
}
}It works fine on Windows. |
oylsister
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I couldn't find offset for AddResource so I think implement the method like cs2f, might just better than finding signature every time when something break.
Add 1 usually work |
|
Getting crashes on this version, so it's not quite ready. No error messages though, just crashing on player join team
|
|
hi |
|
FYI still get a segfault using |
Are we sure this is the culprit? |
Not 100% but I get a segfault when executing Using this command: [ConsoleCommand("spawn_entity", "Spawn an entity")]
[CommandHelper(minArgs: 1, usage: "[entity_name]", whoCanExecute: CommandUsage.SERVER_ONLY)]
public void OnSpawnEntity(CCSPlayerController? player, CommandInfo command)
{
if (command.ArgCount < 2)
{
command.ReplyToCommand("Please provide an entity name");
return;
}
var entityName = command.GetArg(1);
var entity = Utilities.CreateEntityByName<CBaseEntity>(entityName);
if (entity is null)
{
command.ReplyToCommand($"Failed to create entity '{entityName}'");
return;
}
command.ReplyToCommand("Setting entity position...");
entity.Teleport(Vector.Zero, QAngle.Zero, Vector.Zero);
command.ReplyToCommand("Dispatching entity spawn...");
entity.DispatchSpawn();
command.ReplyToCommand($"Entity '{entityName}' spawned");
} |
@stefanx111 mentioned that
GetCSWeaponDataFromKeygot new 5 parameters for this function in discord.https://discord.com/channels/1160907911501991946/1160907912445710479/1417655472512827392