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

Error when calling Color from C/C++ #10

Closed
FrezZyyyx opened this issue Jan 11, 2020 · 3 comments
Closed

Error when calling Color from C/C++ #10

FrezZyyyx opened this issue Jan 11, 2020 · 3 comments
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@FrezZyyyx
Copy link

[ERROR] addons/[gmodstore]_badcoderz/lua/badcoderz/sh_luajit_decompiler.lua:21: bad argument #1 to 'funcuvname' (function expected, got function)

  1. funcuvname - [C]:-1
  2. disassemble_function - addons/[gmodstore]_badcoderz/lua/badcoderz/sh_luajit_decompiler.lua:21
    3. find_color_call_static_args - addons/[gmodstore]_badcoderz/lua/badcoderz/sh_luajit_decompiler.lua:81
    4. unknown - addons/[gmodstore]_badcoderz/lua/badcoderz/sh_work.lua:68
    5. unknown - lua/includes/util/color.lua:14
    6. unknown - [C]:-1

what does this mean

@ExtReMLapin
Copy link
Owner

It means a C function is calling Color for some reasons and It should not happen.

@ExtReMLapin
Copy link
Owner

I'm already working on another update so this fix will have to wait.

@ExtReMLapin ExtReMLapin changed the title Error when scanning Error when calling Color from C/C++ Jan 11, 2020
@ExtReMLapin ExtReMLapin added bug Something isn't working good first issue Good for newcomers labels Jan 11, 2020
@ExtReMLapin
Copy link
Owner

Fixed in 42c0354

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants