Pryaxis / TShock

☕️⚡️TShock provides Terraria servers with server-side characters, anti-cheat, and community management tools.
GNU General Public License v3.0
2.43k stars 382 forks source link

Server-side Characters not working on latest TShock pre12 #2093

Closed LittleBigBug closed 4 years ago

LittleBigBug commented 4 years ago

TShock version: v4.4.0-pre12

Hi, my server is using the latest TShock build with Server-side Characters enabled, and they are not working, I still retain my character's inventory even after authentication.

I am using my own dedicated machine hosting a pterodactyl panel, it's in its own docker container.

Here is my console output: (Some info omitted)

Listening on port 7777
Type 'help' for a list of commands.
[Pterodactyl Daemon] Server marked as ON
]0;Terraria Server: world]0;0/22 on world @ 0.0.0.0:7777 (TShock for Terraria v4.4.0.0): Server started
*.*.*.*:49967 is connecting...
]0;0/22 on world @ 0.0.0.0:7777 (TShock for Terraria v4.4.0.0)]0;0/22 on world @ 0.0.0.0:7777 (TShock for Terraria v4.4.0.0)Debug: GetDataHandlers / HandlePlayerBuffList handled event and sent data User
User authenticated successfully as user User.
]0;0/22 on world @ 0.0.0.0:7777 (TShock for Terraria v4.4.0.0)Debug: GetDataHandlers / HandleSpawn force teleport 'vanilla spawn' User
User has joined.
Debug: GetDataHandlers / HandlePlayerBuffList handled event and sent data User
Debug: GetDataHandlers / HandlePlayerBuffList handled event and sent data User
Debug: Bouncer / OnNewProjectile please report to tshock about this! normally this is a reject from User 398
Debug: Bouncer / OnNewProjectile please report to tshock about this! normally this is a reject from User 492

I am using a couple of third-party plugins, they are: (also all the latest builds of each)

InfiniteChests TeleportRequest WorldEdit Chestroom

None of them were used or are reporting errors, but still if the info is useful. If you need any more info let me know I am happy to supply any more logs or databases etc (or if you would like to join & test). It's a pretty fresh server and map but this was after the second time joining.

If I have time I may look into helping with a PR!

tlworks commented 4 years ago

Are you logging in with a username under the superadmin group? There are specific permissions that can override SSC on a character.

LittleBigBug commented 4 years ago

Yes, we attempted to remove those permissions. (And then when revoking them didn't work we just removed their usergroup entirely) That is also pretty crazy timing because I just was coming back to report that it seems that it may be working but it set one of our character's inventories to the inventory the character had locally.. That is what made it seem like Server-side Characters weren't working, but that concerns me with players being able to exploit their inventories in