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

Server crashes if client sends OBJACTION <invalid_id> #2

Open
p-blomberg opened this issue Dec 28, 2011 · 0 comments
Open

Server crashes if client sends OBJACTION <invalid_id> #2

p-blomberg opened this issue Dec 28, 2011 · 0 comments

Comments

@p-blomberg
Copy link
Owner

Reported by project member Slaaafs, May 18, 2010
Traceback (most recent call last):
File "yamosgd.py", line 6, in
s.main()
File "/Users/slafs/yamosg_google/trunk/server/serversocket.py", line 91, in main
if lines: self.readCall(socket_, lines)
File "/Users/slafs/yamosg_google/trunk/server/server.py", line 25, in readCall
response=self.game.clients[clientsocket].command(line)+self._split
File "/Users/slafs/yamosg_google/trunk/server/server.py", line 58, in command
response=commands[command](self, parts)
File "/Users/slafs/yamosg_google/trunk/server/server.py", line 150, in ObjAction
obj=self.objects[obj_id]
IndexError: list index out of range

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

1 participant