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

Teleport command is broken #199

Open
SinusStudios opened this issue Nov 1, 2017 · 2 comments
Open

Teleport command is broken #199

SinusStudios opened this issue Nov 1, 2017 · 2 comments
Assignees

Comments

@SinusStudios
Copy link

When logging in and entering /teleport waffeln otto (valid player names, online)
Output in console:
Traceback (most recent call last): File "/home/user/cuwo/cuwo/script.py", line 361, in call_command ret = command(user, *args) or '' File "/home/user/cuwo/cuwo/script.py", line 82, in __call__ return self.func(*arg, **kw) File "/home/user/cuwo/cuwo/script.py", line 158, in new_func return func(script, *arg, **kw) File "/home/user/cuwo/scripts/commands.py", line 284, in teleport pos = qvec3(int(a), int(b), 0) * constants.CHUNK_SCALE ValueError: invalid literal for int() with base 10: 'waffeln'
System: Debian Linux 8, x64 (VPS)

@matpow2
Copy link
Owner

matpow2 commented Nov 7, 2017

/teleport does not allow you to teleport someone else, only yourself, but this could probably be added.

@matpow2 matpow2 self-assigned this Nov 7, 2017
@SinusStudios
Copy link
Author

I tried to teleport myself (waffeln) to the player "otto".

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

No branches or pull requests

2 participants