splewis / get5

CS:GO Sourcemod plugin for competitive matches/scrims
GNU General Public License v3.0
557 stars 176 forks source link

can't edit sp file #950

Closed lugaamn closed 1 year ago

lugaamn commented 1 year ago

SourcePawn Compiler 1.11.0.6924 Copyright (c) 1997-2006 ITB CompuPhase Copyright (c) 2004-2021 AlliedModders LLC

get5/matchconfig.sp(635) : warning 230: symbol "SM_INT64_SUPPORTED" is not a preprocessor symbol; this behavior is undefined and will be removed in the future get5/matchconfig.sp(635) : error 017: undefined symbol "SM_INT64_SUPPORTED" include/get5.inc(6) : error 417: cannot read from file: "json" get5.sp(25) : error 417: cannot read from file: "json"

3 Errors.

Please note that "latest" is NOT a version! In order to get the version, please use get5_version in the server console, or get5_debuginfo and attach the file located at addons/sourcemod/logs/get5_debuginfo.txt.

nickdnk commented 1 year ago

Get5 does not compile with SM 1.11.

You also don't have your JSON dependency correct. You need version 4.x of sm-json as a git submodule.

We have no plugin version 2.0.7, so I don't know what that means.

lugaamn commented 1 year ago

Plugin version is mistaken, Version 0.11.0 sorry i installed json and

./include/SteamWorks.inc(273) : error 183: brackets after variable name indicates a fixed-size array, but size is missing or not constant ./include/SteamWorks.inc(274) : error 183: brackets after variable name indicates a fixed-size array, but size is missing or not constant ./include/SteamWorks.inc(275) : error 183: brackets after variable name indicates a fixed-size array, but size is missing or not constant include/get5.inc(1724) : warning 219: local variable "Get5Event" shadows a variable at a preceding level

3 Errors.

The same error occurs again

nickdnk commented 1 year ago

You have an older version of the SteamWorks include that does not compile with SM 1.11, and Get5 itself won't compile on 1.11 yet either. You have to use SM 1.10.

Why are you compiling the plugin yourself? It shouldn't be necessary.

lugaamn commented 1 year ago

Done. Just learning how to edit .sp thank you