{"id":14990019,"url":"https://github.com/iswenzz/gsclib","last_synced_at":"2025-07-13T20:08:01.576Z","repository":{"id":38012424,"uuid":"213737997","full_name":"Iswenzz/gsclib","owner":"Iswenzz","description":"gsclib acts as a standard library extension for the Call of Duty 4 scripting language.","archived":false,"fork":false,"pushed_at":"2024-09-22T20:32:13.000Z","size":8142,"stargazers_count":39,"open_issues_count":1,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-19T10:24:50.121Z","etag":null,"topics":["c","cgsc","cod4","gsc","libcurl","libzip","mysql","pcre2","standard"],"latest_commit_sha":null,"homepage":"https://iswenzz.com","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Iswenzz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"Iswenzz"}},"created_at":"2019-10-08T19:44:40.000Z","updated_at":"2024-09-22T20:32:17.000Z","dependencies_parsed_at":"2024-09-20T02:00:52.695Z","dependency_job_id":"ea82363a-a0f4-433f-b44e-e45ccc70ee81","html_url":"https://github.com/Iswenzz/gsclib","commit_stats":{"total_commits":288,"total_committers":2,"mean_commits":144.0,"dds":"0.10763888888888884","last_synced_commit":"c2291391839af02f0c424723f39eba043afbbb2d"},"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/Iswenzz/gsclib","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Iswenzz%2Fgsclib","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Iswenzz%2Fgsclib/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Iswenzz%2Fgsclib/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Iswenzz%2Fgsclib/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Iswenzz","download_url":"https://codeload.github.com/Iswenzz/gsclib/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Iswenzz%2Fgsclib/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265198361,"owners_count":23726449,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["c","cgsc","cod4","gsc","libcurl","libzip","mysql","pcre2","standard"],"created_at":"2024-09-24T14:19:20.649Z","updated_at":"2025-07-13T20:08:01.551Z","avatar_url":"https://github.com/Iswenzz.png","language":"C","funding_links":["https://github.com/sponsors/Iswenzz"],"categories":[],"sub_categories":[],"readme":"# gsclib\n\n[![Checks](https://img.shields.io/github/check-runs/Iswenzz/gsclib/master?logo=github)](https://github.com/Iswenzz/gsclib/actions)\n[![CodeFactor](https://img.shields.io/codefactor/grade/github/Iswenzz/gsclib?label=codefactor\u0026logo=codefactor)](https://www.codefactor.io/repository/github/iswenzz/gsclib)\n[![License](https://img.shields.io/github/license/Iswenzz/gsclib?color=blue\u0026logo=gitbook\u0026logoColor=white)](https://github.com/Iswenzz/gsclib/blob/master/LICENSE)\n\n`gsclib` acts as a standard library extension for the Call of Duty 4 scripting language. The features this library provides consists of an FTP/FTPS/SFTP client, an HTTP/HTTPS client, Regular Expression (PCRE2) support, Language Integrated Query (Linq) support, a MySQL connector for databases, casting/type conversion/fmt and other type utilities, ZIP files, async workers, and much more. More detailed information on each feature can be found in the documentation section.\n\n## Features \u0026 Documentation\n\n-   [HTTP/HTTPS Client](https://github.com/Iswenzz/gsclib/blob/master/docs/http.md)\n-   [FTP/FTPS/SFTP Client](https://github.com/Iswenzz/gsclib/blob/master/docs/ftp.md)\n-   [Regular Expression (PCRE2)](https://github.com/Iswenzz/gsclib/blob/master/docs/regex.md)\n-   [Language Integrated Query (Linq)](https://github.com/Iswenzz/gsclib/blob/master/docs/linq.md)\n-   [MySQL](https://github.com/Iswenzz/gsclib/blob/master/docs/mysql.md)\n-   [Critical Sections](https://github.com/Iswenzz/gsclib/blob/master/docs/critical.md)\n-   [Utilities](https://github.com/Iswenzz/gsclib/blob/master/docs/utility.md)\n-   [File](https://github.com/Iswenzz/gsclib/blob/master/docs/file.md)\n-   [System](https://github.com/Iswenzz/gsclib/blob/master/docs/system.md)\n-   [Zip](https://github.com/Iswenzz/gsclib/blob/master/docs/zip.md)\n-   [Player](https://github.com/Iswenzz/gsclib/blob/master/docs/player.md)\n-   [Math](https://github.com/Iswenzz/gsclib/blob/master/docs/math.md)\n\n## Instructions\n\nIn order to use this library, you'll need to compile the binary and place it to the CoD4 `plugins` directory.\nThen you can simply use `loadplugin gsclib` in your `server.cfg` or as CLI arguments.\n\nTo initialize gsclib library you need to call `GSCLIB_Init()` at the start of your mod entry point.\n\n```c\nmain()\n{\n\tGSCLIB_Init();\n}\n```\n\n## Server\n\n1. Edit plugin_handler.h then recompile the server with a clean obj directory:\n\n```c\n#define MAX_SCRIPTFUNCTIONS 256\n```\n\n## Building (Linux)\n\n_Pre-Requisites:_\n\n1. [CGSC](https://github.com/Iswenzz/CGSC) and it's pre-requisites.\n2. [CMake](https://cmake.org/) and [vcpkg](https://vcpkg.io/en/).\n\n_Build Command:_\n\n    mkdir build \u0026\u0026 cd build\n    cmake .. --preset linux\n    cmake --build .\n\n## Building (Windows)\n\n_Pre-Requisites:_\n\n1. [CGSC](https://github.com/Iswenzz/CGSC) and it's pre-requisites.\n2. [CMake](https://cmake.org/) and [vcpkg](https://vcpkg.io/en/).\n\n_Build Command:_\n\n    mkdir build \u0026\u0026 cd build\n    cmake .. --preset windows\n    cmake --build .\n\n## [Download](https://github.com/Iswenzz/gsclib/releases)\n\n## Troubleshouting\n\nFor resolving missing dependencies you can use the [ldd](https://man7.org/linux/man-pages/man1/ldd.1.html) command for Linux, and [Dependency Walker](https://www.dependencywalker.com/) for Windows.\n\n## Contributors:\n\n**_Note:_** If you would like to contribute to this repository, feel free to send a pull request, and I will review your code. Also feel free to post about any problems that may arise in the issues section of the repository.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiswenzz%2Fgsclib","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fiswenzz%2Fgsclib","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiswenzz%2Fgsclib/lists"}