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

Arena gamemode doesnt work #714

Closed
coalio opened this issue Feb 10, 2022 · 2 comments
Closed

Arena gamemode doesnt work #714

coalio opened this issue Feb 10, 2022 · 2 comments
Labels
bug This issue reports a bug in piqueserver code and/or docs

Comments

@coalio
Copy link

coalio commented Feb 10, 2022

   File "pyspades/player.py", line 1087, in _send_connection_data
      ctf_data.team1_score = blue.score
   File "pyspades/contained.pyx", line 462, in pyspades.contained.CTFState.team1_score.__set__
     unsigned int team1_score, team2_score, cap_limit
 TypeError: an integer is required

Very rarely, once in a couple of months this also happens.
Perhaps the players will connect before completing the initialization. I don’t know what could be more

Originally posted by @Jipok in #589 (comment)

I'm opening an issue because this error still happens. It seems like the original OP fixed it and didn't post the solution.

Everytime I attempt to connect to my server, the error happens:

2022-02-10T17:38:38-0600 [stderr#error]     ctf_data.team1_score = blue.score
2022-02-10T17:38:38-0600 [stderr#error]   File "pyspades/contained.pyx", line 462, in pyspades.contained.CTFState.team1_score.__set__
2022-02-10T17:38:38-0600 [stderr#error] TypeError: an integer is required
2022-02-10T17:38:44-0600 [piqueserver.player#info] 127.0.0.1 disconnected

I tried this with a compliant arena map, so I am certain it's fault of piqueserver.

If anyone can help, I'll appreciate it

@100best
Copy link

100best commented Feb 11, 2022

Stack Trace or logs arena.py change map error

I tried commenting this line out and it appears to have fixed it.

Line 484: return protocol.on_map_change(self, map) in arena.py

Duplicate of #630

@DryByte DryByte mentioned this issue Jun 18, 2022
@utf-4096 utf-4096 added the bug This issue reports a bug in piqueserver code and/or docs label May 19, 2024
@utf-4096
Copy link
Member

Should be fixed by #730. If not, feel free to reopen.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue reports a bug in piqueserver code and/or docs
Projects
None yet
Development

No branches or pull requests

3 participants