FortressCraft Evolved

FortressCraft Evolved

Not enough ratings
Unique SteamID Fix
   
Award
Favorite
Favorited
Unfavorite
Tags: Utility, Server
File Size
Posted
Updated
142.069 KB
12 Jan, 2019 @ 4:37am
3 Feb, 2019 @ 12:59pm
12 Change Notes ( view )

Subscribe to download
Unique SteamID Fix

Description
This mod fixed the problem with hacked Steam IDs on servers.
The Steam AuthSessionTicket system is used to verify this.

Players with verified IDs are not affected, at least as long as the Steam servers are available.

Players that join the server with faked steam ids:
-get assigned their correct SteamID, both IDs are logged
-are demoted to visitior
-get a "X_" prefix on their name
-can be banned and whitelisted with their corrected steam id

Players that join the server without a valid ticket:
-will be kicked, unless it is allowed by settings (allowunknown)
-are demoted to visitior
-get 18446744073709551615 as ID
-get a "O_" prefix on their name
(be warned to give them building rights, they all share this one ID, so all of them have same permission. just dont do it)

Player with a duplicate name got a "_NUM" postfix.

In short, bad guys have no more options, except to run around and look dumbfounded.


Server Commands:
Input "usf help" for command list.
Input "usf status" to check all settings.
Input "usf allowunknown", for state of AllowUnknownID player to connect. default: false
Input "usf set allowunknown true/false(1/0)", to en- or disable AllowUnknownID player to connect.

Optional:
Input "usf allowvacbanned", for state of AllowVACBanned player to connect. default: true
Input "usf allowpubbanned", for state of AllowPublisherBanned player to connection. default: true
Input "usf set allowvacbanned true/false(1/0)", to en- or disable AllowVACBanned player to connect.
Input "usf set allowpubbanned true/false(1/0)", to en- or disable AllowPublisherBanned player to connect.

Disable AllowVACBanned and AllowPublisherBanned are untested. I dont know anyone with this kind of bans, sorry.
But should work theoretically.


I would simply recommend the default settings.


Server Guide:
https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=788739671 (Modding the Mods)

settings.xml found in:

Windows:
Users\<UserName>\AppData\Local\ProjectorGames\FortressCraft\Mods\ModSettings\deathangel1479.UniqueSteamIDFix\<WorldName>\

Linux:
/home/<UserName>/.config/unity3d/ProjectorGames/FortressCraft/Mods/ModSettings/deathangel1479.UniqueSteamIDFix/<WorldName>/

Mac:
/Users/<UserName>/Library/Application Support/ProjectorGames/FortressCraft/Mods/ModSettings/deathangel1479.UniqueSteamIDFix/<WorldName>/


I have tested it as well as I could, but bugs are not excluded. If you found a bug, post it in the "Bug Report" discussion, please.
I would be very pleased about feedback.

I am not responsible for anything. This is a mod, use at your own risk!

ModID: 1622378001
HarmonyPriority(680)
Popular Discussions View All (2)
2
24 Jan, 2019 @ 2:52am
Suggestions
blabla
0
13 Jan, 2019 @ 11:05pm
Bug Reports
blabla
5 Comments
Wariat117 14 Jan, 2019 @ 1:53am 
Oki, so server can't do it himself.

I know about the easy achievement stuff, I was curious if it's possible to make mod which let's you to unlock those achievements in legit way instead of messing with ingame hosting.
blabla  [author] 14 Jan, 2019 @ 1:33am 
As I said, you would have to write the ID in a file, the dedicadet server itself can not find his owner. You could easily unlock any archivment, but I would not participate in such mods.
Wariat117 14 Jan, 2019 @ 1:08am 
It was just my curiosity. "Did modder beat dev?"
Dev doesn't want us to unlock host achievements on dedicated server because he doesn't know how to check host.
That's why I wondered if it would be possible with simple mod.
blabla  [author] 14 Jan, 2019 @ 12:57am 
"so others can't fake his ID" thats exactly what the mod did.
"mark this player as "host"" i can make this possible so you can add your id to mod settings, but what should it bring except appearance?
Wariat117 14 Jan, 2019 @ 12:14am 
Would it be possible to distinquish which player hosts dedicated server with this? (after modifications)

Find steam ID of person who started dedicated server and check steam ID of people who join, if player who joined has the same steam ID as person who started server, then mark this player as "host" + remember that this player is a host so others can't fake his ID?