mirror of
https://github.com/RaidMax/IW4M-Admin.git
synced 2025-06-10 15:20:48 -05:00
update GenerateGuidFromString to resolve to a stable hash code.
fix bots not showing up on live radar
This commit is contained in:
@ -1232,6 +1232,7 @@ namespace IW4MAdmin.Plugins.Stats.Helpers
|
||||
return 886229536;
|
||||
}
|
||||
|
||||
// todo: this is not stable and will need to be migrated again...
|
||||
long id = HashCode.Combine(server.IP, server.Port);
|
||||
id = id < 0 ? Math.Abs(id) : id;
|
||||
long? serverId;
|
||||
|
Reference in New Issue
Block a user