-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multiauth #3
Open
DEATHB4DEFEAT
wants to merge
31
commits into
Simple-Station:master
Choose a base branch
from
DEATHB4DEFEAT:multiauth
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+1,142
−294
Open
Multiauth #3
Changes from all commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
85fab17
check launcher data dir
DEATHB4DEFEAT 1bf0687
Fix poly pooling (#5645)
metalgearsloth bd69d51
Version: 242.0.1
metalgearsloth 2719b9f
Tweak grid state slightly (#5644)
metalgearsloth fc55c8e
Add saved BUI positions (#5650)
metalgearsloth 6a336d2
Version: 243.0.0
metalgearsloth c4a5752
Shared portion of PvsOverrideSystem to allow for usage in shared (#5651)
ScarKy0 d2aa8ec
Fixing guidebook not resizable from left and right (#5618)
PROG-MohamedDwidar 51971d0
Revert basewindow change (#5664)
metalgearsloth 1a7e490
Version: 243.0.1
metalgearsloth ae7725a
Add compreg methods to entitymanager (#5655)
metalgearsloth 6979a63
Add CreateWindowCenteredRight method (#5666)
metalgearsloth 9e9ac56
Bump physics speed cap (#5667)
metalgearsloth a734bc5
Avoid unnecessary UpdateState calls for BUIs (#5670)
metalgearsloth bb9517f
Check equatable on client-predicted BUI states (#5671)
metalgearsloth fea592e
Version: 244.0.0
metalgearsloth d442d90
no more (#5676)
MilonPL afaef64
Fix MappingDataNode.TryAddCopy() (#5677)
ElectroJr 55571ef
Version: 245.0.0
ElectroJr 0c41a04
Move `ParseObject` method into a public class for content to use (#5674)
Simyon264 7016fac
Tweak UserInterfaceComponent shutdown to prevent bugs (#5678)
ElectroJr fec81bc
Add more info to AnchorEntity debug assert (#5668)
Tayrtahn e163c49
fix: fixed EntityPrototypeView not reacting on SetPrototype when Ente…
Fildrance c011eff
Increase audio despawn buffer (#5665)
metalgearsloth bcb5c2d
Version: 245.1.0
metalgearsloth ea1cc5e
Planet lighting pre-reqs (#5490)
metalgearsloth 9d1b15a
Version: 246.0.0
metalgearsloth d418c66
allow connecting with multiple of whitelisted auth servers
DEATHB4DEFEAT fc63700
merge RT v246.0.0
DEATHB4DEFEAT 92d3470
readme
DEATHB4DEFEAT dcfc211
Merge branch 'master' of https://github.com/Simple-Station/Supermatte…
DEATHB4DEFEAT File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
<Project> | ||
<!-- This file automatically reset by Tools/version.py --> | ||
<PropertyGroup><Version>242.0.0</Version></PropertyGroup> | ||
</Project> | ||
<Project> | ||
<!-- This file automatically reset by Tools/version.py --> | ||
<PropertyGroup> | ||
<Version>0.0.1</Version> | ||
</PropertyGroup> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,23 @@ | ||
 | ||
Supermatter Engine is a game engine primarily being developed for [Space Station 14](https://github.com/Simple-Station/Einstein-Engines). | ||
|
||
Robust Toolbox is an engine primarily being developed for [Space Station 14](https://github.com/space-wizards/space-station-14), although we're working on making it usable for both [singleplayer](https://github.com/space-wizards/RobustToolboxTemplateSingleplayer) and [multiplayer](https://github.com/space-wizards/RobustToolboxTemplate) projects. | ||
|
||
Use the [content repo](https://github.com/space-wizards/space-station-14) for actual development, even if you're modifying the engine itself. | ||
Use the [content repo](https://github.com/Simple-Station/Einstein-Engines) for actual development, even if you're modifying the engine itself. | ||
|
||
## Project Links | ||
|
||
[Website](https://spacestation14.io/) | [Discord](https://discord.gg/t2jac3p) | [Forum](https://forum.spacestation14.io/) | [Steam](https://store.steampowered.com/app/1255460/Space_Station_14/) | [Standalone Download](https://spacestation14.io/about/nightlies/) | ||
[Website](https://simplestation.org/) | [Discord](https://discord.gg/X4QEXxUrsJ) | [Steam](https://store.steampowered.com/app/1255460/Space_Station_14/) | [Standalone Download](https://spacestation14.io/about/nightlies/) | ||
|
||
## Documentation/Wiki | ||
|
||
The [wiki](https://docs.spacestation14.io/) has documentation on SS14s content, engine, game design and more. We also have lots of resources for new contributors to the project. | ||
|
||
## Contributing | ||
|
||
We are happy to accept contributions from anybody. Get in Discord or IRC if you want to help. We've got a [list of issues](https://github.com/space-wizards/RobustToolbox/issues) that need to be done and anybody can pick them up. Don't be afraid to ask for help either! | ||
We are happy to accept contributions from anybody. It is recommended to join our Discord if you want to help. We've got a [list of issues](https://github.com/Simple-Station/SupermatterEngine/issues) that need to be done and anybody can pick them up. Don't be afraid to ask for help either! | ||
|
||
## Building | ||
|
||
This repository is the **engine** part of SS14. It's the base engine all SS14 servers will be built on. As such, it does not start on its own: it needs the [content repo](https://github.com/space-wizards/space-station-14). Think of Robust Toolbox as BYOND in the context of Space Station 13. | ||
This repository is the **engine** part of SS14. It's an engine SS14 servers are built on. As such, it does not start on its own: it needs the [content repo](https://github.com/Simple-Station/Einstein-Engines). Think of SME as BYOND in the context of Space Station 13. | ||
|
||
## Legal Info | ||
|
||
See [legal.md](https://github.com/space-wizards/RobustToolbox/blob/master/legal.md) for licenses and copyright. | ||
See [legal.md](https://github.com/Simple-Station/SupermatterEngine/blob/master/legal.md) for licenses and copyright. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,96 @@ | ||
using BenchmarkDotNet.Attributes; | ||
using BenchmarkDotNet.Engines; | ||
using JetBrains.Annotations; | ||
using Robust.Shared.Analyzers; | ||
using Robust.Shared.GameObjects; | ||
using Robust.Shared.Map; | ||
using Robust.UnitTesting.Server; | ||
|
||
namespace Robust.Benchmarks.EntityManager; | ||
|
||
[Virtual] | ||
public partial class HasComponentBenchmark | ||
{ | ||
private static readonly Consumer Consumer = new(); | ||
|
||
private ISimulation _simulation = default!; | ||
private IEntityManager _entityManager = default!; | ||
|
||
private ComponentRegistration _compReg = default!; | ||
|
||
private A _dummyA = new(); | ||
|
||
[UsedImplicitly] | ||
[Params(1, 10, 100, 1000)] | ||
public int N; | ||
|
||
[GlobalSetup] | ||
public void GlobalSetup() | ||
{ | ||
_simulation = RobustServerSimulation | ||
.NewSimulation() | ||
.RegisterComponents(f => f.RegisterClass<A>()) | ||
.InitializeInstance(); | ||
|
||
_entityManager = _simulation.Resolve<IEntityManager>(); | ||
var map = _simulation.CreateMap().Uid; | ||
var coords = new EntityCoordinates(map, default); | ||
_compReg = _entityManager.ComponentFactory.GetRegistration(typeof(A)); | ||
|
||
for (var i = 0; i < N; i++) | ||
{ | ||
var uid = _entityManager.SpawnEntity(null, coords); | ||
_entityManager.AddComponent<A>(uid); | ||
} | ||
} | ||
|
||
[Benchmark] | ||
public void HasComponentGeneric() | ||
{ | ||
for (var i = 2; i <= N+1; i++) | ||
{ | ||
var uid = new EntityUid(i); | ||
var result = _entityManager.HasComponent<A>(uid); | ||
Consumer.Consume(result); | ||
} | ||
} | ||
|
||
[Benchmark] | ||
public void HasComponentCompReg() | ||
{ | ||
for (var i = 2; i <= N+1; i++) | ||
{ | ||
var uid = new EntityUid(i); | ||
var result = _entityManager.HasComponent(uid, _compReg); | ||
Consumer.Consume(result); | ||
} | ||
} | ||
|
||
[Benchmark] | ||
public void HasComponentType() | ||
{ | ||
for (var i = 2; i <= N+1; i++) | ||
{ | ||
var uid = new EntityUid(i); | ||
var result = _entityManager.HasComponent(uid, typeof(A)); | ||
Consumer.Consume(result); | ||
} | ||
} | ||
|
||
[Benchmark] | ||
public void HasComponentGetType() | ||
{ | ||
for (var i = 2; i <= N+1; i++) | ||
{ | ||
var uid = new EntityUid(i); | ||
var type = _dummyA.GetType(); | ||
var result = _entityManager.HasComponent(uid, type); | ||
Consumer.Consume(result); | ||
} | ||
} | ||
|
||
[ComponentProtoName("A")] | ||
public sealed partial class A : Component | ||
{ | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hardcoding the column index when retrieving the serverUrl makes the code fragile if the query order ever changes. Consider using named columns or defined constants to ensure the correct value is extracted even if the SQL query is updated.
Copilot is powered by AI, so mistakes are possible. Review output carefully before use.