The only other TC Auth plugins we use are Sam and ATs, incase they might conflict.
The only other TC Auth plugins we use are Sam and ATs, incase they might conflict.
Love the plugin idea, but it is not working.
I was thinking about this approach:
1) TC has a codelock with a code
2) All codelocks with the same code as TC, can be opened without enetering the code (if auth to TC)
3) Codelocks with different code then TC cannot be opened automatically (must know code)
4) On TC code change, all codelocks have to change their code manually
Fixed: Once someone raids a base, the TC will not change the door lock codes.
Downside: If you want to change the TC code for some reason, you have to do it on all codelocks in building. The TC will not change any codelock codes in building.
Conclusion: Without the plugin, the downside i mentioned is a normal thing in Rust, so it's not a big deal. As long as you are using the same code on all codelocks, the plugin will still work flawlessly.
The new feedback message should be something like this: "After auth on TC codelock, you do not have to enter code on each codelock in building, but their codes must be the same" (I guess someone could write it better)
I tried this (commenting these two lines) and it works:
CodeLock tcLock = GetCupboardLock(building);
if (tcLock != null)
{
if (tcLock.code == code && codeLock.code != code)
{
//COMMENTING THE LINE UNDERNEATH
//codeLock.code = code;
}
else if (tcLock.guestCode == code && codeLock.code != code)
{
//COMMENTING THE LINE UNDERNEATH
//codeLock.guestCode = code;
}
}
Please give feedback if you find any problems with this approach. I am using this on a server and I need to know it is bulletproof. Thanks
I'll look into applying the above today.tobipolar
@Wulf any update on this issue? I really wanna use CodeSync but this exploit is a deal breaker :(
probably not the right thread to ask but did this plugin just switch authors/developers?
tobipolar
probably not the right thread to ask but did this plugin just switch authors/developers?
Yes, I don't have a lot of time for plugins at the moment, so I passed it along to someone else that said they are willing.
Pushed what I had for now though.
Wulf
Yes, I don't have a lot of time for plugins at the moment, so I passed it along to someone else that said they are willing.
Pushed what I had for now though.
Fair enough 🙂👍🏻