Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Linux Server] Compile errors #176

Open
tinygrox opened this issue Aug 7, 2022 · 1 comment
Open

[Linux Server] Compile errors #176

tinygrox opened this issue Aug 7, 2022 · 1 comment

Comments

@tinygrox
Copy link

tinygrox commented Aug 7, 2022

Env: Ubuntu Server 20.04 LTS 64bit
Sourcemod version:1.12 dev build
Problem: I tried to compile a plugin made by others, and then I encountered this:

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

./include/kento_rankme/rankme.inc(49) : error 400: function "GetData" must return a value
./include/kento_rankme/rankme.inc(393) : error 400: function "GetData" must return a value

The function GetData in rankme.inc:

int GetData(int[] data) {
    data[0] = this.KNIFE;
    data[1] = this.GLOCK;
    .....
    data[41] = this.BREACHCHARGE;
}

the .sp file [ author by manicogaming ]
bot_inventory.zip

Don't know

@Risusama
Copy link

This issue is also present on Sourcemod 1.11 (which is now stable) and I just had to update to it from 1.10 since 21st of October 2022 CSGO update broke Sourcemod & Metamod.
Basically our servers are now without rankme.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants