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

/gbuff is sending message to wrong user #2954

Closed
Arthri opened this issue Jun 11, 2023 · 1 comment · Fixed by #2955
Closed

/gbuff is sending message to wrong user #2954

Arthri opened this issue Jun 11, 2023 · 1 comment · Fixed by #2955

Comments

@Arthri
Copy link
Contributor

Arthri commented Jun 11, 2023

  • TShock version: 5.2.0
  • TShock build number (if known): N/A

Reproduction steps (if applicable)?

  1. /gbuff otherplayer Honey
  2. No success message is sent to the user

Any stack traces or error messages (if known)?

N/A

Any screenshots?

a.mp4

target.SendSuccessMessage(GetString($"You have buffed {user.Name} with {TShock.Utils.GetBuffName(id)} ({TShock.Utils.GetBuffDescription(id)}) for {time} seconds!"));

Any log messages from files that end in .log or .txt? What are the last 100 log messages from the server console?

[06/11/23 06:42:20] [Server API] Verbose: TerrariaApi - Server v2.1.0.0 started.
[06/11/23 06:42:20] [Server API] Verbose: 	Command line: "D:\TShock.Server.exe" -config serverconfig.txt
[06/11/23 06:42:20] [Server API] Verbose: 	OS: Microsoft Windows NT 10.0.0.0 (64bit: True)
[06/11/23 06:42:20] [Server API] Verbose: 	Mono: False
[06/11/23 06:42:20] [TShock] Verbose: Loading dedicated config file: serverconfig.txt
[06/11/23 06:42:20] [Server API] Info: Plugin TShock v5.2.0.0 (by The TShock Team) initiated.
2023-06-11 06:42:20 - TShock: INFO: TShock 5.2.0.0 (Intensity) now running.
2023-06-11 06:42:20 - TShock: INFO: AutoSave Enabled
2023-06-11 06:42:20 - TShock: INFO: Backups Enabled
2023-06-11 06:42:20 - TShock: INFO: Welcome to TShock for Terraria!
2023-06-11 06:42:20 - TShock: INFO: TShock comes with no warranty & is free software.
2023-06-11 06:42:20 - TShock: INFO: You can modify & distribute it under the terms of the GNU GPLv3.
2023-06-11 06:42:25 - TShock: INFO: Login before join enabled. Users may be prompted for an account specific password instead of a server password on connect.
2023-06-11 06:42:25 - TShock: INFO: Login using UUID enabled. Users automatically login via UUID.
2023-06-11 06:42:25 - TShock: INFO: A malicious server can easily steal a user's UUID. You may consider turning this option off if you run a public server.
2023-06-11 06:42:26 - GetDataHandlers: INFO: Test1 authenticated successfully as user Test1.
2023-06-11 06:42:27 - TShock: INFO: Test1 (127.0.0.1) from 'superadmin' group joined. (1/8)
2023-06-11 06:42:27 - Utils: INFO: Broadcast: Test1 has joined.
2023-06-11 06:42:28 - TShock: INFO: Test2 (127.0.0.1) from 'guest' group joined. (2/8)
2023-06-11 06:42:28 - Utils: INFO: Broadcast: Test2 has joined.
2023-06-11 06:43:20 - Utils: INFO: Test1 executed: /gbuff test2 Honey.
2023-06-11 06:43:29 - Utils: INFO: Broadcast: Test1 has left.
2023-06-11 06:43:29 - TShock: INFO: Test1 disconnected.
2023-06-11 06:43:32 - Utils: INFO: Broadcast: Test2 has left.
2023-06-11 06:43:32 - TShock: INFO: Test2 disconnected.
2023-06-11 06:43:32 - Utils: INFO: Broadcast: Saving world...
2023-06-11 06:43:33 - Utils: INFO: Broadcast: World saved.
2023-06-11 06:43:33 - SaveManager: INFO: World saved at (C:\Users\USER\Documents\My Games\Terraria\Worlds\PluginTestWorld.wld)
2023-06-11 06:43:35 - Utils: INFO: Server executed: /exit.
2023-06-11 06:43:35 - Utils: INFO: Broadcast: Saving world...
2023-06-11 06:43:35 - Utils: INFO: Broadcast: World saved.
2023-06-11 06:43:35 - SaveManager: INFO: World saved at (C:\Users\USER\Documents\My Games\Terraria\Worlds\PluginTestWorld.wld)
2023-06-11 06:43:35 - Utils: INFO: Broadcast: Server shutting down!
2023-06-11 06:43:35 - Utils: INFO: Broadcast: Saving world...

What plugins and what versions of those plugins are you running?

TShockAPI

@sgkoishi
Copy link
Contributor

git blame shows...
well

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

Successfully merging a pull request may close this issue.

2 participants