Raised This Month: $19 Target: $400
 4% 

Swiftly - a framework for CS2


Post New Thread Reply   
 
Thread Tools Display Modes
PStar
Veteran Member
Join Date: Mar 2008
Old 12-27-2024 , 09:10   Re: Swiftly - a framework for CS2
Reply With Quote #11

Quote:
Originally Posted by blu1337 View Post
I can provide you with a database if needed! I have a small VPS set up for tasks like this, so feel free to use it if you're just looking to test the framework and its functionalities. However, if this is for a public server, I completely understand why you'd prefer to use your own database.
We tought about it a litte, and if its ok for you we would accept the acces for a databes for testing usage.
I would suggest to continue the conversation about it by PM
PStar is offline
blu1337
Junior Member
Join Date: Jun 2022
Old 02-01-2025 , 11:49   Re: Swiftly - a framework for CS2
Reply With Quote #12

We’re thrilled to announce the re-release of Swiftly v1.4.0! This refined update introduces powerful new tools and features while addressing issues from previous versions (v1.3.x). This ensures a smoother, more robust experience for all developers.

What’s new in Swiftly v1.4.0?

Extensions:

The extensions are addons for Swiftly so that you can implement your own Scripting API in each plugin. It supports classes, functions, tables for types, and many more!

Why did we need this?

From the beginning, our goal was to empower developers to create more complex ideas without being limited by Lua.
Now, with Extensions, you can also create your plugin in C++, but also implement it's Scripting API in each Lua plugin.

For example, you can create your own class to add your own utility functions, or create your own function to kill someone.

How can I create an extension?

To create an extension, you can fork our own Base Extension to start your journey with extensions!

Does this modification affect me?

Some core functionalities have been moved out of Swiftly’s core and are now provided as standalone extensions. The following features were removed from the core and made available as extensions:

Addons
HTTP API
IP Address API
Console Filter
MySQL Database Extension
Utils Extension (includes SetBunnyhop and IsListeningToGameEvent)

(Make sure to install these extensions if your plugins depend on them. (and most of them depend))

Addition of QueryBuilder:

This version introduces QueryBuilder, a powerful tool to simplify and standardize database interactions. Say goodbye to tedious and error-prone manual queries. With QueryBuilder, you can construct dynamic, efficient queries with ease and consistency.

Deprecation of Query and QueryParams:

To streamline development, we’ve removed Query and QueryParams from the framework. All of our plugins have been rewritten to use QueryBuilder, making database interactions more efficient.

Important: You will need to update every plugin that uses database functionalities, all of the plugins made by us were updated with new releases on GitHub, make sure to download them. Below is a list of plugins that need to be updated.

Admins Core
Admins Base Bans
Admins Base Comms
VIP Core
Shop Core
Tags
Deathmatch
Ranks
Mostactive
Cookies
Connection-Filters (dependent on Utils Extension)
Shop-BHop (dependent on Utils Extension)
VIP-BHop (dependent on Utils Extension)
blu1337 is offline
blu1337
Junior Member
Join Date: Jun 2022
Old 02-01-2025 , 11:54   Re: Swiftly - a framework for CS2
Reply With Quote #13

Hello everyone!

We're happy to announce that Swiftly has implemented it's own screen texts and menus!

We've also added support for selecting options in menu via commands! (!1, !2 and so on).

What did we add?

We've added an implementation of the old CS:GO VGUI based on point_worldtext entities. With those, we were able to create texts on the screen and menus! Those can be seen in a screenshot attached below.

How can we change the menu kind?

Simple, you can change the kind from addons/swiftly/configs/core.json via core.menu.kind. Inside the configuration file there are also the available menu kinds for Swiftly.

Do we need to register the commands for selecting options?

No, you don't need to do that if you're selecting your input mode to be chat. Otherwise, you can create your own plugin to do that and use PerformMenuAction.

We're thanking everyone for the support provided to Swiftly and we're glad to have you guys as a community!
Useful Links
Roadmap: https://roadmap.swiftlycs2.net/
Discord: https://swiftlycs2.net/discord
Website: https://swiftlycs2.net/

blu1337 is offline
blu1337
Junior Member
Join Date: Jun 2022
Old 03-01-2025 , 12:07   Re: Swiftly - a framework for CS2
Reply With Quote #14

Announcement - JavaScript/TypeScript Release - v1.5.0
Hello everyone!

We're happy to announce that Swiftly has implemented JavaScript/TypeScript support for plugins!

What did we add?

We've added JavaScript support for plugins, allowing you to also make the plugins in TypeScript using our TypeScript Plugin Guide. We've also added the following:

OnPluginStart Error: Now if OnPluginStart throws an error, the plugin will not start and the reason will be shown in sw plugins list.
Configuration Example: Now you can't mistakenly overwrite your own configuration files when you're updating Swiflty.
Embedding Library: We've created an embedding library which allows extension developers to easily integrate their code with plugins. You write code once, and it integrates your code in all the embedder supported languages (currently JavaScript/Lua).

What's different from v1.4.0?

Since we've launched v1.4.0, we've developed a ton of very cool stuff, such as:

Virtual GUI: Create custom texts and panels on player screens with powerful VGUI tools.
Screen Menus: We've created screen menus which allows users have a more friendly interaction with the server.
Menu KInds: Now you can choose the flavor of menus your server should use, screen or center, and also choose how you want to interact with the menus, via buttons or chat.
OnUserMessageReceive: Now you can filter out player user messages to the server.
Map Chooser: A basic map chooser system which is shipped automatically with Swiftly.

Do we have examples?

Yes, we've created a GitHub repository for JavaScript & Lua Examples, check it out: Examples Repository.

What files we need to update?

You need to update the following files:

addons/swiftly/bin
addons/swiftly/extensions

We also want to announce that we're thankful for achieving over 300 members on our Discord Server and we hope to grow even more!

Thanks to everyone's support and contribution to Swiftly Community and we 're grateful to have you as our community.

Useful Links
Discord: https://swiftlycs2.net/discord
Website: https://swiftlycs2.net/
blu1337 is offline
CryWolf
Veteran Member
Join Date: Jul 2008
Location: Romania
Old 03-05-2025 , 06:12   Re: Swiftly - a framework for CS2
Reply With Quote #15

Nice One, Thank you, amazing work
__________________
I dont walk trough this world with fear in my heart.
www.dark-arena.com L4D, CS1.6, CZ Servers
CryWolf is offline
Send a message via MSN to CryWolf Send a message via Yahoo to CryWolf
blu1337
Junior Member
Join Date: Jun 2022
Old 03-05-2025 , 15:48   Re: Swiftly - a framework for CS2
Reply With Quote #16

Thanks a lot ��
blu1337 is offline
blu1337
Junior Member
Join Date: Jun 2022
Old 03-11-2025 , 16:09   Re: Swiftly - a framework for CS2
Reply With Quote #17

SDKTools (Touch Events, Use Event, RayTracing) was added: https://github.com/swiftly-solution/sdktools-extension (documentation is already updated)
Added: EmitSoundFromEntity
Added: TakeDamage
blu1337 is offline
blu1337
Junior Member
Join Date: Jun 2022
Old 04-23-2025 , 06:08   Re: Swiftly - a framework for CS2
Reply With Quote #18

v1.6.1 - Release

VGUI
  • + Fix Memory Leak
  • + Fix Entity Spawn

Exports
  • + Fix Return Value

Weapon
  • + Fix CBasePlayerWeapon
  • + Fix CCSWeaponBase
  • + Fix CBasePlayerWeaponVData
  • + Fix CCSWeaponBaseVData

Core Commands
  • + sw status
  • + sw list

Player
  • + Fix Buttons

v1.6.0 - Release

Memory
  • + memory:Dereferance()

CCheckTransmitInfo
  • + cchecktransmitinfo:AddEntityIndex(entityIndex)
  • + cchecktransmitinfo:RemoveEntityIndex(entityIndex)
  • + cchecktransmitinfo:Clear()

CHandle
  • + chandle:IsValid()
  • + chandle:GetEntryIndex()
  • + chandle:GetSerialNumber()

Player
  • player:Drop(reason, optional message)

VGUI
  • + vgui:SetColor(textID, color)

Convar
  • + convar:Create(name, description, type, flags, default_value, min_value, max_value)
  • + convar:Delete(name)

Crash Reporter
  • + Windows Support

Extensions
  • + Hooks via DynoHook being centralized into Swiftly's Core
  • + GetCurrentGame() -> cs2, unknown

Hooks
  • + AddVHook(library, vtable_name, offset, args_list, return_type)

Events
  • + OnEntityParentChanged(entity, newparent)

Game
  • + GetGameName() -> cs2, unknown

Addons System
  • + Multiple VPK Support

Fixes
  • + EmitSound volume

SDKTools
  • + ListenEntityTouchUse(class_name)
  • + RemoveListenEntityTouchUse(class_name)

Lua
  • + Error Stack Trace


Last edited by blu1337; 04-23-2025 at 06:14.
blu1337 is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 01:34.


Powered by vBulletin®
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Theme made by Freecode