Skip to content

Commit 3ec3e2b

Browse files
committed
Update offsets
1 parent dd3879f commit 3ec3e2b

1 file changed

Lines changed: 42 additions & 42 deletions

File tree

gamedata/cs2fixes.games.txt

Lines changed: 42 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -382,91 +382,91 @@
382382
{
383383
"CBaseEntity::Precache"
384384
{
385-
"windows" "4"
386-
"linux" "5"
385+
"windows" "6"
386+
"linux" "7"
387387
}
388388
"CBaseEntity::SetOwner"
389389
{
390-
"windows" "50"
391-
"linux" "49"
390+
"windows" "52"
391+
"linux" "51"
392392
}
393393
// String: "%s<%i><%s><%s>" ChangeTeam() CTMDBG..."
394394
"CCSPlayerController_ChangeTeam"
395395
{
396-
"windows" "109"
397-
"linux" "108"
396+
"windows" "102"
397+
"linux" "101"
398398
}
399399
"GetHammerUniqueId"
400400
{
401-
"windows" "118"
402-
"linux" "117"
401+
"windows" "111"
402+
"linux" "110"
403403
}
404404
"CBaseEntity::Use"
405405
{
406-
"windows" "150"
407-
"linux" "149"
406+
"windows" "144"
407+
"linux" "143"
408408
}
409409
"CBaseEntity::StartTouch"
410410
{
411-
"windows" "153"
412-
"linux" "152"
411+
"windows" "147"
412+
"linux" "146"
413413
}
414414
"CBaseEntity::Touch"
415415
{
416-
"windows" "154"
417-
"linux" "153"
416+
"windows" "148"
417+
"linux" "147"
418418
}
419419
"CBaseEntity::EndTouch"
420420
{
421-
"windows" "155"
422-
"linux" "154"
421+
"windows" "149"
422+
"linux" "148"
423423
}
424424
"Teleport"
425425
{
426-
"windows" "168"
427-
"linux" "167"
426+
"windows" "162"
427+
"linux" "161"
428428
}
429429
// For these two, look for the names, you'll find vscript bindings
430430
// Scroll down to where the var + 64 gets set to a function, that calls the offset we want
431431
"IsPlayerPawn"
432432
{
433-
"windows" "174"
434-
"linux" "173"
433+
"windows" "168"
434+
"linux" "167"
435435
}
436436
"IsPlayerController"
437437
{
438-
"windows" "175"
439-
"linux" "174"
438+
"windows" "169"
439+
"linux" "168"
440440
}
441441
"CollisionRulesChanged"
442442
{
443-
"windows" "191"
444-
"linux" "190"
443+
"windows" "185"
444+
"linux" "184"
445445
}
446446
"CCSPlayerController_Respawn"
447447
{
448-
"windows" "277"
449-
"linux" "279"
448+
"windows" "272"
449+
"linux" "274"
450450
}
451451
// CBaseTrigger
452452
"PassesTriggerFilters"
453453
{
454-
"windows" "271"
455-
"linux" "272"
454+
"windows" "266"
455+
"linux" "267"
456456
}
457457
// Actually a bit of a wrapper function now? Eventually calls a long function with "player_hurt" in the middle and then inserts userid, health, priority, attacker strings
458458
"CCSPlayerPawn::OnTakeDamage_Alive"
459459
{
460-
"windows" "254"
461-
"linux" "255"
460+
"windows" "249"
461+
"linux" "250"
462462
}
463463
// Look for the kill command, go through its callback and you should a find call like this, with v9 being a pawn pointer:
464464
// return (*(*v9 + 2976LL))(v9, v27, 0LL);
465465
// 2976 (372 * 8) is the offset
466466
"CBasePlayerPawn_CommitSuicide"
467467
{
468-
"windows" "408"
469-
"linux" "408"
468+
"windows" "400"
469+
"linux" "400"
470470
}
471471
"GameEntitySystem"
472472
{
@@ -493,8 +493,8 @@
493493
// "tried to sprint to a non-client", there will be a check above like this: if ( a2 >= *(v5 + 632) ), note that this is a CUtlVector
494494
"CNetworkGameServer_ClientList"
495495
{
496-
"windows" "78"
497-
"linux" "80"
496+
"windows" "74"
497+
"linux" "74"
498498
}
499499
// Right above "mapgroup workshop;" string there is a virtual call to this on g_pGameTypes using "workshop" string
500500
"IGameTypes_CreateWorkshopMapGroup"
@@ -505,24 +505,24 @@
505505
// There's no easy way to find this, but it's a function that checks entity flags (0x370) and ends by calling RemoveFlag with 0x800000 (FL_BASEVELOCITY)
506506
"CCSPlayer_MovementServices::CheckMovingGround"
507507
{
508-
"windows" "37"
509-
"linux" "38"
508+
"windows" "40"
509+
"linux" "41"
510510
}
511511
"CCSPlayer_WeaponServices::DropWeapon"
512512
{
513-
"windows" "23"
514-
"linux" "24"
513+
"windows" "24"
514+
"linux" "25"
515515
}
516516
"CCSPlayer_WeaponServices::SelectItem"
517517
{
518-
"windows" "25"
519-
"linux" "26"
518+
"windows" "26"
519+
"linux" "27"
520520
}
521521
// server.dll -> xref 'sv_phys_stop_at_collision' first __fastcall
522522
"CVPhys2World::GetTouchingList"
523523
{
524-
"windows" "120"
525-
"linux" "120"
524+
"windows" "121"
525+
"linux" "121"
526526
}
527527
}
528528
"Patches"

0 commit comments

Comments
 (0)