Jump to content

Not working when players are not in clan or team

Pending 1.3.2

Franx2Rust
Franx2Rust

Posted

Hi, i've a server, and there are two players, who aren't in the same team or clan, they are playing together. They built a base, both are authorized on the TC, and they share the door codes. However, when one of them is online, the base protection remains active, when it actually shouldn't be protected. Because both are the owners of the base.

HunterZ

Posted (edited)

Are you 100% sure they're both authed on the TC when the issue is occurring? Can you post a screenshot showing the auth list? Can you attach your ORP config?

Edited by HunterZ
Franx2Rust

Posted

Hi! Yes, I checked the tc auth list and they both where authorized, also when one  was sleeping, the other one was constructing and making the base bigger, and the base was protected. I was looking in the code and in various checks (if) the most important things was is the player is on team or clan, and then check the tc auth list and codelocks, I try changing it making first checking tc and codelocks , and after the team or clan, and now is working. I can't reproduce now the same situation cause the server is full of people. When I had the chance I will do it. But I think the problem is the priority of the checking in the code, is more important team and clan, than tc and codelocks , and changing it otherwise , making more important tc and codelocks make it work.

Thanks for you reply!! M

HunterZ

Posted

What happens if you set "Mitigate damage by the team-mate who was offline the longest" to false?

It doesn't generally make sense to set this to true, because usually you want protection to be based on the most recently online player.

Franx2Rust

Posted

Ahhh OK I'll try changing that! Thanks!!

About Us

Codefling is the largest marketplace for plugins, maps, tools, and more, making it easy for customers to discover new content and for creators to monetize their work.

Downloads
2.4m
Total downloads
Customers
10.8k
Customers served
Files Sold
155.7k
Marketplace sales
Payments
3.3m
Processed total
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.