Skip to content

Commit 0d6f69a

Browse files
authored
update(core): v1.6.6 (#95)
This is an automatically generated pull request which implements the new Counter Strike 2 SDK changes.
2 parents 10e801d + d0691b8 commit 0d6f69a

File tree

17 files changed

+555
-571
lines changed

17 files changed

+555
-571
lines changed

CHANGELOG.md

+30
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,36 @@
22

33
Over here will be noted all the update change logs.
44

5+
## v1.6.6 - [Release](https://github.com/swiftly-solution/swiftly/releases/tag/v1.6.6)
6+
7+
### Database
8+
9+
- Add optional argument to skip connecting to `default_connection`
10+
11+
### Crash Reporter
12+
13+
- Add file location of the function from Call Stack
14+
15+
### Utils
16+
17+
- Added: GetPluginsList
18+
19+
### Menus
20+
21+
- Remove screen menus on windows as they crash without a dump
22+
23+
### CCheckTransmitInfo
24+
25+
- Fix self casting
26+
27+
### Events
28+
29+
- Fix event return values
30+
31+
### SDK
32+
33+
- Fix FollowServerRules check not working
34+
535
## v1.6.5 - [Release](https://github.com/swiftly-solution/swiftly/releases/tag/v1.6.5)
636

737
### HTTP

plugin_files/gamedata/cs2/sdk.json

+22-147
Original file line numberDiff line numberDiff line change
@@ -5598,18 +5598,6 @@
55985598
"type": 11
55995599
}
56005600
},
5601-
"CBreachCharge": {
5602-
"Parent": {
5603-
"field": "CCSWeaponBase",
5604-
"type": 11
5605-
}
5606-
},
5607-
"CBreachChargeProjectile": {
5608-
"Parent": {
5609-
"field": "CBaseGrenade",
5610-
"type": 11
5611-
}
5612-
},
56135601
"CBreakableStageHelper": {
56145602
"CurrentStage": {
56155603
"field": "m_nCurrentStage",
@@ -5620,18 +5608,6 @@
56205608
"type": 2
56215609
}
56225610
},
5623-
"CBumpMine": {
5624-
"Parent": {
5625-
"field": "CCSWeaponBase",
5626-
"type": 11
5627-
}
5628-
},
5629-
"CBumpMineProjectile": {
5630-
"Parent": {
5631-
"field": "CBaseGrenade",
5632-
"type": 11
5633-
}
5634-
},
56355611
"CBuoyancyHelper": {
56365612
"FluidType": {
56375613
"field": "m_nFluidType",
@@ -5821,6 +5797,10 @@
58215797
"field": "m_bHasCommunicationAbuseMute",
58225798
"type": 10
58235799
},
5800+
"UiCommunicationMuteFlags": {
5801+
"field": "m_uiCommunicationMuteFlags",
5802+
"type": 6
5803+
},
58245804
"CrosshairCodes": {
58255805
"field": "m_szCrosshairCodes",
58265806
"type": 13
@@ -5930,6 +5910,10 @@
59305910
"field": "m_unActiveQuestId",
59315911
"type": 5
59325912
},
5913+
"RtActiveMissionPeriod": {
5914+
"field": "m_rtActiveMissionPeriod",
5915+
"type": 6
5916+
},
59335917
"PlayerTvControlFlags": {
59345918
"field": "m_unPlayerTvControlFlags",
59355919
"type": 6
@@ -5946,6 +5930,10 @@
59465930
"field": "m_uiAbandonRecordedReason",
59475931
"type": 6
59485932
},
5933+
"NetworkDisconnectionReason": {
5934+
"field": "m_eNetworkDisconnectionReason",
5935+
"type": 6
5936+
},
59495937
"CannotBeKicked": {
59505938
"field": "m_bCannotBeKicked",
59515939
"type": 10
@@ -7026,6 +7014,12 @@
70267014
"type": 11
70277015
}
70287016
},
7017+
"CCS_PortraitWorldCallbackHandler": {
7018+
"Parent": {
7019+
"field": "C_BaseEntity",
7020+
"type": 11
7021+
}
7022+
},
70297023
"CCitadelSoundOpvarSetOBB": {
70307024
"StackName": {
70317025
"field": "m_iszStackName",
@@ -9827,12 +9821,6 @@
98279821
"type": 11
98289822
}
98299823
},
9830-
"CTablet": {
9831-
"Parent": {
9832-
"field": "CCSWeaponBase",
9833-
"type": 11
9834-
}
9835-
},
98369824
"CTakeDamageInfo": {
98379825
"DamageForce": {
98389826
"field": "m_vecDamageForce",
@@ -9987,30 +9975,12 @@
99879975
"type": 11
99889976
}
99899977
},
9990-
"CTripWireFire": {
9991-
"Parent": {
9992-
"field": "CBaseCSGrenade",
9993-
"type": 11
9994-
}
9995-
},
9996-
"CTripWireFireProjectile": {
9997-
"Parent": {
9998-
"field": "CBaseGrenade",
9999-
"type": 11
10000-
}
10001-
},
100029978
"CWaterSplasher": {
100039979
"Parent": {
100049980
"field": "C_BaseModelEntity",
100059981
"type": 11
100069982
}
100079983
},
10008-
"CWeaponZoneRepulsor": {
10009-
"Parent": {
10010-
"field": "CCSWeaponBaseGun",
10011-
"type": 11
10012-
}
10013-
},
100149984
"CWorldCompositionChunkReferenceElement_t": {
100159985
"StrMapToLoad": {
100169986
"field": "m_strMapToLoad",
@@ -21862,10 +21832,6 @@
2186221832
"type": 37,
2186321833
"size": 32
2186421834
},
21865-
"ServerQuestID": {
21866-
"field": "m_nServerQuestID",
21867-
"type": 2
21868-
},
2186921835
"MinimapMins": {
2187021836
"field": "m_vMinimapMins",
2187121837
"type": 21
@@ -21883,6 +21849,10 @@
2188321849
"field": "m_bSpawnedTerrorHuntHeavy",
2188421850
"type": 10
2188521851
},
21852+
"UllLocalMatchID": {
21853+
"field": "m_ullLocalMatchID",
21854+
"type": 7
21855+
},
2188621856
"EndMatchMapGroupVoteTypes": {
2188721857
"field": "m_nEndMatchMapGroupVoteTypes",
2188821858
"type": 31,
@@ -23193,10 +23163,6 @@
2319323163
"field": "m_flLastTimeInAir",
2319423164
"type": 8
2319523165
},
23196-
"LastDeployTime": {
23197-
"field": "m_flLastDeployTime",
23198-
"type": 8
23199-
},
2320023166
"LastEmptySoundCmdNum": {
2320123167
"field": "m_nLastEmptySoundCmdNum",
2320223168
"type": 2
@@ -26292,42 +26258,6 @@
2629226258
"type": 11
2629326259
}
2629426260
},
26295-
"CFists": {
26296-
"PlayingUninterruptableAct": {
26297-
"field": "m_bPlayingUninterruptableAct",
26298-
"type": 10
26299-
},
26300-
"UninterruptableActivity": {
26301-
"field": "m_nUninterruptableActivity",
26302-
"type": 6
26303-
},
26304-
"RestorePrevWep": {
26305-
"field": "m_bRestorePrevWep",
26306-
"type": 10
26307-
},
26308-
"WeaponBeforePrevious": {
26309-
"field": "m_hWeaponBeforePrevious",
26310-
"type": 17,
26311-
"classname": "CBasePlayerWeapon"
26312-
},
26313-
"WeaponPrevious": {
26314-
"field": "m_hWeaponPrevious",
26315-
"type": 17,
26316-
"classname": "CBasePlayerWeapon"
26317-
},
26318-
"DelayedHardPunchIncoming": {
26319-
"field": "m_bDelayedHardPunchIncoming",
26320-
"type": 10
26321-
},
26322-
"DestroyAfterTaunt": {
26323-
"field": "m_bDestroyAfterTaunt",
26324-
"type": 10
26325-
},
26326-
"Parent": {
26327-
"field": "CCSWeaponBase",
26328-
"type": 11
26329-
}
26330-
},
2633126261
"CFlashbang": {
2633226262
"Parent": {
2633326263
"field": "CBaseCSGrenade",
@@ -29729,12 +29659,6 @@
2972929659
"type": 11
2973029660
}
2973129661
},
29732-
"CMelee": {
29733-
"Parent": {
29734-
"field": "CCSWeaponBase",
29735-
"type": 11
29736-
}
29737-
},
2973829662
"CMessage": {
2973929663
"Message": {
2974029664
"field": "m_iszMessage",
@@ -33824,31 +33748,6 @@
3382433748
"type": 11
3382533749
}
3382633750
},
33827-
"CSensorGrenade": {
33828-
"Parent": {
33829-
"field": "CBaseCSGrenade",
33830-
"type": 11
33831-
}
33832-
},
33833-
"CSensorGrenadeProjectile": {
33834-
"ExpireTime": {
33835-
"field": "m_fExpireTime",
33836-
"type": 8
33837-
},
33838-
"NextDetectPlayerSound": {
33839-
"field": "m_fNextDetectPlayerSound",
33840-
"type": 8
33841-
},
33842-
"DisplayGrenade": {
33843-
"field": "m_hDisplayGrenade",
33844-
"type": 17,
33845-
"classname": "CBaseEntity"
33846-
},
33847-
"Parent": {
33848-
"field": "CBaseCSGrenadeProjectile",
33849-
"type": 11
33850-
}
33851-
},
3385233751
"CServerOnlyEntity": {
3385333752
"Parent": {
3385433753
"field": "CBaseEntity",
@@ -35794,12 +35693,6 @@
3579435693
"type": 11
3579535694
}
3579635695
},
35797-
"CTriggerTripWire": {
35798-
"Parent": {
35799-
"field": "CBaseTrigger",
35800-
"type": 11
35801-
}
35802-
},
3580335696
"CTriggerVolume": {
3580435697
"FilterName": {
3580535698
"field": "m_iFilterName",
@@ -36004,24 +35897,6 @@
3600435897
"type": 11
3600535898
}
3600635899
},
36007-
"CWeaponShield": {
36008-
"BulletDamageAbsorbed": {
36009-
"field": "m_flBulletDamageAbsorbed",
36010-
"type": 8
36011-
},
36012-
"LastBulletHitSoundTime": {
36013-
"field": "m_flLastBulletHitSoundTime",
36014-
"type": 8
36015-
},
36016-
"DisplayHealth": {
36017-
"field": "m_flDisplayHealth",
36018-
"type": 8
36019-
},
36020-
"Parent": {
36021-
"field": "CCSWeaponBaseGun",
36022-
"type": 11
36023-
}
36024-
},
3602535900
"CWeaponTaser": {
3602635901
"FireTime": {
3602735902
"field": "m_fFireTime",

plugin_files/gamedata/cs2/sdk_types.json

+7-24
Original file line numberDiff line numberDiff line change
@@ -605,19 +605,11 @@
605605
"k_CSPlayerBlockingUseAction_DefusingWithKit": 2,
606606
"k_CSPlayerBlockingUseAction_HostageGrabbing": 3,
607607
"k_CSPlayerBlockingUseAction_HostageDropping": 4,
608-
"k_CSPlayerBlockingUseAction_OpeningSafe": 5,
609-
"k_CSPlayerBlockingUseAction_EquippingParachute": 6,
610-
"k_CSPlayerBlockingUseAction_EquippingHeavyArmor": 7,
611-
"k_CSPlayerBlockingUseAction_EquippingContract": 8,
612-
"k_CSPlayerBlockingUseAction_EquippingTabletUpgrade": 9,
613-
"k_CSPlayerBlockingUseAction_TakingOffHeavyArmor": 10,
614-
"k_CSPlayerBlockingUseAction_PayingToOpenDoor": 11,
615-
"k_CSPlayerBlockingUseAction_CancelingSpawnRappelling": 12,
616-
"k_CSPlayerBlockingUseAction_EquippingExoJump": 13,
617-
"k_CSPlayerBlockingUseAction_PickingUpBumpMine": 14,
618-
"k_CSPlayerBlockingUseAction_MapLongUseEntity_Pickup": 15,
619-
"k_CSPlayerBlockingUseAction_MapLongUseEntity_Place": 16,
620-
"k_CSPlayerBlockingUseAction_MaxCount": 17
608+
"k_CSPlayerBlockingUseAction_EquippingHeavyArmor": 5,
609+
"k_CSPlayerBlockingUseAction_TakingOffHeavyArmor": 6,
610+
"k_CSPlayerBlockingUseAction_MapLongUseEntity_Pickup": 7,
611+
"k_CSPlayerBlockingUseAction_MapLongUseEntity_Place": 8,
612+
"k_CSPlayerBlockingUseAction_MaxCount": 9
621613
},
622614
"CSPlayerState": {
623615
"STATE_ACTIVE": 0,
@@ -668,14 +660,7 @@
668660
"WEAPONTYPE_GRENADE": 9,
669661
"WEAPONTYPE_EQUIPMENT": 10,
670662
"WEAPONTYPE_STACKABLEITEM": 11,
671-
"WEAPONTYPE_FISTS": 12,
672-
"WEAPONTYPE_BREACHCHARGE": 13,
673-
"WEAPONTYPE_BUMPMINE": 14,
674-
"WEAPONTYPE_TABLET": 15,
675-
"WEAPONTYPE_MELEE": 16,
676-
"WEAPONTYPE_SHIELD": 17,
677-
"WEAPONTYPE_ZONE_REPULSOR": 18,
678-
"WEAPONTYPE_UNKNOWN": 19
663+
"WEAPONTYPE_UNKNOWN": 12
679664
},
680665
"CanPlaySequence_t": {
681666
"CANNOT_PLAY": 0,
@@ -988,9 +973,7 @@
988973
"GRENADE_TYPE_FIRE": 2,
989974
"GRENADE_TYPE_DECOY": 3,
990975
"GRENADE_TYPE_SMOKE": 4,
991-
"GRENADE_TYPE_SENSOR": 5,
992-
"GRENADE_TYPE_SNOWBALL": 6,
993-
"GRENADE_TYPE_TOTAL": 7
976+
"GRENADE_TYPE_TOTAL": 5
994977
},
995978
"HierarchyType_t": {
996979
"HIERARCHY_NONE": 0,

0 commit comments

Comments
 (0)