Skip to content

CSGO Traceback? help #429

Closed
Closed

Description

@Lolles1911

source python error or wcs error?

[SP] Caught an Exception:
Traceback (most recent call last):
File "../addons/source-python/packages/source-python/commands/typed.py", line 594, in on_command
result = cls.on_clean_command(info, command_node, args)
File "../addons/source-python/packages/source-python/commands/typed.py", line 612, in on_clean_command
return command_node.callback(command_info, *cleaned_args)
File "../addons/source-python/plugins/wcs/core/helpers/esc/commands.py", line 1927, in wcs_spawn_command
player.spawn(force)
File "../addons/source-python/packages/source-python/players/engines/csgo/init.py", line 166, in spawn
self._spawn()

ValueError: Number of passed arguments is not equal to the required number.

Activity

  1. jordanbriere commented on Oct 25, 2021

    @jordanbriere
    Contributor

    Update to v710 and you should be good.

  2. Lolles1911 commented on Oct 25, 2021

    @Lolles1911
    Author

    Now I get some other messages, after your update v710?

    corelib/refcount 310] es_getargc: The var '_rc_ac' could not be found
    [refcount] Syntax : refcount [command] [var] [silent]
    [corelib/repeat/repeat 43] es_getargv: The var '_repeat_arg1' could not be found
    [corelib/repeat/repeat 45] es_exists: The var '_exists' could not be found
    repeat : Invalid subcommand
    L 10/25/2021 - 09:03:58: "Crusher<4>" purchased "ak47"
    L 10/25/2021 - 09:03:58: "Crusher<4>" purchased "decoy"
    L 10/25/2021 - 09:03:58: "Cliffe<6>" purchased "sg556"
    L 10/25/2021 - 09:03:58: "Minh<10>" purchased "m4a1"
    L 10/25/2021 - 09:03:58: "Moe<3>" purchased "p90"
    L 10/25/2021 - 09:03:58: "Quintin<5>" purchased "famas"
    L 10/25/2021 - 09:03:58: "Gunner<9>" purchased "ak47"
    L 10/25/2021 - 09:03:58: "Brett<11>" purchased "galilar"
    L 10/25/2021 - 09:03:58: "Brett<11>" purchased "deagle"
    L 10/25/2021 - 09:03:58: "Quade<8>" purchased "ssg08"
    L 10/25/2021 - 09:03:58: "Quade<8>" purchased "flashbang"
    L 10/25/2021 - 09:04:00: World triggered "Round_Start"
    [corelib/playergetset/_playerget 237] es_getargc: The var '_playergetset_arg1' could not be found
    Type playerget 0
    [corelib/playergetset/_playerget 237] es_getargc: The var '_playergetset_arg1' could not be found
    Type playerget 0
    [wcs/tools/standard/night_elves/roots 156] es_getlivingplayercount: The var 'wcs_pcount' could not be found
    [wcs/tools/standard/night_elves/roots 161] es_getlivingplayercount: The var 'wcs_pcount' could not be found
    [corelib/playergetset/_playerget 237] es_getargc: The var '_playergetset_arg1' could not be found
    Type playerget 0
    [corelib/playergetset/_playerget 240] es_getargv: The var '_playergetset_cmd' could not be found
    [corelib/playergetset/_playerget 241] es_getargv: The var '_playergetset_userid' could not be found
    Player not found!
    [wcs/tools/standard/warden/health 408] es_math: math function called on a non-numeric value: server_var
    [wcs/tools/standard/night_elves/roots 161] es_getlivingplayercount: The var 'wcs_pcount' could not be found
    [wcs/tools/standard/night_elves/roots 161] es_getlivingplayercount: The var 'wcs_pcount' could not be found
    L 10/25/2021 - 09:04:05: "Kurt<7>" [1201 1623 12] killed other "func_breakable<267>" [1220 1624 60] with "m4a1" (penetrated)
    [wcs/tools/manifest/princess_moon/starfall 113] es_getlivingplayercount: The var 'wcs_pcount' could not be found
    [wcs/tools/standard/night_elves/roots 161] es_getlivingplayercount: The var 'wcs_pcount' could not be found
    [corelib/playergetset/_playerget 237] es_getargc: The var '_playergetset_arg1' could not be found
    Type playerget 0
    [wcs/tools/standard/night_elves/roots 161] es_getlivingplayercount: The var 'wcs_pcount' could not be found
    [wcs/tools/standard/night_elves/roots 156] es_getlivingplayercount: The var 'wcs_pcount' could not be found
    L 10/25/2021 - 09:04:10: "Moe<3>" [1309 276 64] killed other "func_breakable<315>" [1464 162 132] with "p90" (penetrated)
    [wcs/tools/manifest/princess_moon/starfall 113] es_getlivingplayercount: The var 'wcs_pcount' could not be found
    L 10/25/2021 - 09:04:12: "Moe<3>" [1410 -318 80] killed other "func_breakable<316>" [1324 -394 132] with "p90"
    [wcs/tools/manifest/princess_moon/starfall 113] es_getlivingplayercount: The var 'wcs_pcount' could not be found
    L 10/25/2021 - 09:04:13: "Minh<10>" threw hegrenade [-2096 1229 129]
    [wcs/tools/manifest/princess_moon/starfall 113] es_getlivingplayercount: The var 'wcs_pcount' could not be found
    [wcs/tools/standard/night_elves/roots 161] es_getlivingplayercount: The var 'wcs_pcount' could not be found
    [wcs/tools/standard/night_elves/roots 156] es_getlivingplayercount: The var 'wcs_pcount' could not be found
    [wcs/tools/standard/night_elves/roots 161] es_getlivingplayercount: The var 'wcs_pcount' could not be found
    [corelib/playergetset/_playerget 237] es_getargc: The var '_playergetset_arg1' could not be found
    Type playerget 0
    L 10/25/2021 - 09:04:19: "Moe<3>" [489 -834 9] killed "Brett<11>" [602 -450 74] with "p90"
    [wcs/tools/standard/night_elves/roots 156] es_getlivingplayercount: The var 'wcs_pcount' could not be found
    L 10/25/2021 - 09:04:25: "Quintin<5>" [-1772 1145 32] killed "Crusher<4>" [-1536 564 96] with "famas"
    [wcs/tools/standard/night_elves/roots 156] es_getlivingplayercount: The var 'wcs_pcount' could not be found
    L 10/25/2021 - 09:04:27: "Crusher<4>" threw decoy [-1060 1318 -110]
    Checking for commands to be executed...
    [wcs/tools/standard/night_elves/roots 156] es_getlivingplayercount: The var 'wcs_pcount' could not be found
    L 10/25/2021 - 09:04:29: "Cliffe<6>" [-1848 -19 2] killed "Minh<10>" [-1655 628 96] with "sg556"
    L 10/25/2021 - 09:04:30: "Quade<8>" [-1609 1057 32] killed "Cliffe<6>" [-1850 -171 84] with "ssg08"
    L 10/25/2021 - 09:04:30: "Minh<10>" assisted killing "Cliffe<6>"
    [wcs/tools/standard/night_elves/roots 161] es_getlivingplayercount: The var 'wcs_pcount' could not be found"
    [wcs/tools/standard/night_elves/roots 161] es_getlivingplayercount: The var 'wcs_pcount' could not be found
    [wcs/tools/manifest/princess_moon/starfall 113] es_getlivingplayercount: The var 'wcs_pcount' could not be found
    [wcs/tools/standard/night_elves/roots 161] es_getlivingplayercount: The var 'wcs_pcount' could not be found
    [wcs/tools/standard/night_elves/roots 156] es_getlivingplayercount: The var 'wcs_pcount' could not be found
    [wcs/tools/manifest/princess_moon/starfall 113] es_getlivingplayercount: The var 'wcs_pcount' could not be found
    [wcs/tools/standard/night_elves/roots 156] es_getlivingplayercount: The var 'wcs_pcount' could not be found
    [wcs/tools/standard/night_elves/roots 161] es_getlivingplayercount: The var 'wcs_pcount' could not be found
    [wcs/tools/standard/night_elves/roots 156] es_getlivingplayercount: The var 'wcs_pcount' could not be found
    [wcs/tools/manifest/princess_moon/starfall 113] es_getlivingplayercount: The var 'wcs_pcount' could not be found
    L 10/25/2021 - 09:04:56: "Brett<11>" assisted killing "Moe<3>"
    [wcs/tools/manifest/princess_moon/starfall 113] es_getlivingplayercount: The var 'wcs_pcount' could not be found
    [wcs/tools/manifest/princess_moon/starfall 113] es_getlivingplayercount: The var 'wcs_pcount' could not be found
    [wcs/tools/standard/night_elves/roots 161] es_getlivingplayercount: The var 'wcs_pcount' could not be found
    [wcs/tools/standard/night_elves/roots 156] es_getlivingplayercount: The var 'wcs_pcount' could not be found
    [wcs/tools/standard/night_elves/roots 156] es_getlivingplayercount: The var 'wcs_pcount' could not be found
    [wcs/tools/standard/night_elves/roots 156] es_getlivingplayercount: The var 'wcs_pcount' could not be found
    [wcs/tools/standard/night_elves/roots 161] es_getlivingplayercount: The var 'wcs_pcount' could not be found
    [wcs/tools/standard/night_elves/roots 156] es_getlivingplayercount: The var 'wcs_pcount' could not be found
    [wcs/tools/standard/night_elves/roots 161] es_getlivingplayercount: The var 'wcs_pcount' could not be found
    [wcs/tools/standard/night_elves/roots 161] es_getlivingplayercount: The var 'wcs_pcount' could not be found
    [wcs/tools/standard/night_elves/roots 156] es_getlivingplayercount: The var 'wcs_pcount' could not be found
    [wcs/tools/standard/night_elves/roots 156] es_getlivingplayercount: The var 'wcs_pcount' could not be found
    [wcs/tools/standard/night_elves/roots 161] es_getlivingplayercount: The var 'wcs_pcount' could not be found
    [wcs/tools/standard/night_elves/roots 156] es_getlivingplayercount: The var 'wcs_pcount' could not be found
    L 10/25/2021 - 09:05:29: "Quade<8>" [1572 2648 100] killed other "func_breakable<155>" [1459 -392 136] with "ssg08"
    Checking for commands to be executed...
    [wcs/tools/standard/night_elves/roots 156] es_getlivingplayercount: The var 'wcs_pcount' could not be found
    L 10/25/2021 - 09:05:34: "Quade<8>" [1572 2648 100] killed other "func_breakable<156>" [1437 -392 136] with "ssg08" (penetrated)
    [wcs/tools/standard/night_elves/roots 161] es_getlivingplayercount: The var 'wcs_pcount' could not be found
    [wcs/tools/standard/night_elves/roots 156] es_getlivingplayercount: The var 'wcs_pcount' could not be found

    [corelib/damage/command 59] es_getargc: The var '_core_dmg_args' could not be found
    usage:
    damage [ []]

  3. jordanbriere commented on Oct 25, 2021

    @jordanbriere
    Contributor

    To fix a memory leak, custom ConVar are now released when they go out of scope (when they are not referenced anymore) and seems like your plugins does not keep them alive. Ideally it should be handled by them, but I will think about it and see if there is a backward compatible solution that also addresses the leak. Though, for now you can replace your ../addons/source-python/bin/core.dll with this one: core.zip

  4. Lolles1911 commented on Oct 25, 2021

    @Lolles1911
    Author

    Thanks, I want to try it.

  5. Lolles1911 commented on Oct 25, 2021

    @Lolles1911
    Author

    But if I have to make the earlier version of source python work. can you make a fix for it?
    I have only one error that you can read in the first message.

  6. jordanbriere commented on Oct 25, 2021

    @jordanbriere
    Contributor

    No reason to use an older version. Though, I think I have an elegant solution. Please use v710 with its original core.dll (the one causing the errors here #429 (comment)) and patch the following files: 429.zip and let me know how it goes. The idea is quite simple; make ConVar inherit from AutoUnload which will keep the instances alive until the plugins that own them is unloaded.

  7. Lolles1911 commented on Oct 25, 2021

    @Lolles1911
    Author

    Cool! Looks like it works as it should, Without any error messages,
    And wcsmod also seems to work as well Thanks For Your help 🥇

  8. added a commit that references this issue on Jul 6, 2025
    aa6f457
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions