Skip to content
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

Doolys branch #101

Merged
merged 30 commits into from
Jan 7, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
302d440
made it so players can be spawned straight away
dooly123 Jan 4, 2025
542ceb9
has updated
dooly123 Jan 4, 2025
51bce35
fixed up temp location
dooly123 Jan 4, 2025
2b2b6e9
Merge branch 'main' into doolys-branch
dooly123 Jan 4, 2025
e1b3946
updated world in use
dooly123 Jan 4, 2025
59b4f86
fixed addressables
dooly123 Jan 5, 2025
ca1df63
update package directory
dooly123 Jan 5, 2025
c57ef8e
ready to merge
dooly123 Jan 5, 2025
86c3a2d
fixed controller visibility
dooly123 Jan 5, 2025
a256eb5
cleaned up a debug log and a addressable link for gizmos
dooly123 Jan 5, 2025
6c5404f
added toggle example
dooly123 Jan 5, 2025
e60c9a3
updated packages
dooly123 Jan 5, 2025
c001aae
corrected ip
dooly123 Jan 5, 2025
3e8a549
improved error logging
dooly123 Jan 5, 2025
7da8a29
moved back interval rates
dooly123 Jan 5, 2025
0cf19c3
fixes long standing issue with movement borking
dooly123 Jan 6, 2025
8acaf87
improved server code
dooly123 Jan 6, 2025
c3fe2a2
early work on client console for connecting to servers
dooly123 Jan 6, 2025
d6726cc
ton more work in the right direction reduced gc pressure
dooly123 Jan 6, 2025
d12a825
corrected a recycle missing
dooly123 Jan 6, 2025
19505d9
corrected a bunch of mistakes
dooly123 Jan 6, 2025
30adefd
more performance improvements
dooly123 Jan 7, 2025
09e405e
corrected array size
dooly123 Jan 7, 2025
10866aa
seperate server from message handles
dooly123 Jan 7, 2025
3b41470
testing and correcting memory leaks
dooly123 Jan 7, 2025
b48b60f
improved
dooly123 Jan 7, 2025
5f6850b
ready to merge into lts
dooly123 Jan 7, 2025
46793e2
Merge branch 'main' into doolys-branch
dooly123 Jan 7, 2025
df67925
server upgrades complete
dooly123 Jan 7, 2025
633c17d
Merge branch 'main' into doolys-branch
dooly123 Jan 7, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
using Basis.Network.Core;
using BasisNetworkCore;
using LiteNetLib;
using LiteNetLib.Utils;
using System;
using System.Threading;
using System.Threading.Tasks;
using static Basis.Network.Core.Serializable.SerializableBasis;
using static SerializableBasis;

Expand Down Expand Up @@ -40,12 +38,13 @@ public static NetPeer StartClient(string IP, int port, ReadyMessage ReadyMessage
UnsyncedEvents = true,
};
client.Start();
NetDataWriter Writer = new NetDataWriter();
NetDataWriter Writer = NetDataWriterPool.GetWriter();
//this is the only time we dont put key!
Writer.Put(BasisNetworkVersion.ServerVersion);
AuthenticationMessage.Serialize(Writer);
ReadyMessage.Serialize(Writer);
peer = client.Connect(IP, port, Writer);
NetDataWriterPool.ReturnWriter(Writer);
return peer;
}
else
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading